1Device-Tree bindings for Rockchip framebuffer. 2 3Required properties: 4- compatible: value should be "rockchip,rk-fb". 5- rockchip,disp-mode: DUAL :for dual lcdc and dual display; 6 ONE_DUAL : for one lcdc and dual display. 7 8Example: 9 10DT entry: 11 fb: fb{ 12 compatible = "rockchip,rk-fb"; 13 rockchip,disp-mode = <DUAL>; 14 }; 15 16Device-Tree bindings for RockChip screen driver 17 18Required properties: 19- compatible: value should be "rockchip,screen" 20- display-timings: value should be disp_timings, which defined in 21 lcd-xxx.dtsi file,the file should include by your board dts 22 23Example: 24 creen: rk_screen{ 25 compatible = "rockchip,screen"; 26 display-timings = <&disp_timings>; 27 }; 28 29/* 30 * RockChip. LCD_B101ew05 lcd-b101ew05.dtsi 31 * 32 */ 33 34/ { 35 36 disp_timings: display-timings { 37 native-mode = <&timing0>; 38 timing0: timing0 { 39 screen-type = <SCREEN_LVDS>; 40 lvds-format = <LVDS_8BIT_2>; 41 out-face = <OUT_D888_P666>; 42 clock-frequency = <71000000>; 43 hactive = <1280>; 44 vactive = <800>; 45 hback-porch = <100>; 46 hfront-porch = <18>; 47 vback-porch = <8>; 48 vfront-porch = <6>; 49 hsync-len = <10>; 50 vsync-len = <2>; 51 hsync-active = <0>; 52 vsync-active = <0>; 53 de-active = <0>; 54 pixelclk-active = <0>; 55 swap-rb = <0>; 56 swap-rg = <0>; 57 swap-gb = <0>; 58 }; 59 }; 60}; 61 62 63 64 65note: reference for display-timing.txt for display-timing bindings 66