66 lines
2.0 KiB
Plaintext
Executable File
66 lines
2.0 KiB
Plaintext
Executable File
Device-Tree bindings for Rockchip framebuffer.
|
|
|
|
Required properties:
|
|
- compatible: value should be "rockchip,rk-fb".
|
|
- rockchip,disp-mode: DUAL :for dual lcdc and dual display;
|
|
ONE_DUAL : for one lcdc and dual display.
|
|
|
|
Example:
|
|
|
|
DT entry:
|
|
fb: fb{
|
|
compatible = "rockchip,rk-fb";
|
|
rockchip,disp-mode = <DUAL>;
|
|
};
|
|
|
|
Device-Tree bindings for RockChip screen driver
|
|
|
|
Required properties:
|
|
- compatible: value should be "rockchip,screen"
|
|
- display-timings: value should be disp_timings, which defined in
|
|
lcd-xxx.dtsi file,the file should include by your board dts
|
|
|
|
Example:
|
|
creen: rk_screen{
|
|
compatible = "rockchip,screen";
|
|
display-timings = <&disp_timings>;
|
|
};
|
|
|
|
/*
|
|
* RockChip. LCD_B101ew05 lcd-b101ew05.dtsi
|
|
*
|
|
*/
|
|
|
|
/ {
|
|
|
|
disp_timings: display-timings {
|
|
native-mode = <&timing0>;
|
|
timing0: timing0 {
|
|
screen-type = <SCREEN_LVDS>;
|
|
lvds-format = <LVDS_8BIT_2>;
|
|
out-face = <OUT_D888_P666>;
|
|
clock-frequency = <71000000>;
|
|
hactive = <1280>;
|
|
vactive = <800>;
|
|
hback-porch = <100>;
|
|
hfront-porch = <18>;
|
|
vback-porch = <8>;
|
|
vfront-porch = <6>;
|
|
hsync-len = <10>;
|
|
vsync-len = <2>;
|
|
hsync-active = <0>;
|
|
vsync-active = <0>;
|
|
de-active = <0>;
|
|
pixelclk-active = <0>;
|
|
swap-rb = <0>;
|
|
swap-rg = <0>;
|
|
swap-gb = <0>;
|
|
};
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|
|
note: reference for display-timing.txt for display-timing bindings
|