rk3368 dts: add backlight node into lcdc

Signed-off-by: hjc <hjc@rock-chips.com>
This commit is contained in:
hjc
2015-03-24 19:00:36 +08:00
parent 13821b1828
commit fe446ccbbb
2 changed files with 4 additions and 2 deletions

View File

@@ -54,7 +54,7 @@
irq-gpio = <&gpio0 GPIO_C0 IRQ_TYPE_EDGE_BOTH>;
};
backlight {
backlight: backlight {
compatible = "pwm-backlight";
pwms = <&pwm0 0 25000>;
brightness-levels = <0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
@@ -395,6 +395,7 @@
&lcdc {
status = "okay";
backlight = <&backlight>;
rockchip,mirror = <NO_MIRROR>;
rockchip,cabc_mode = <0>;
rockchip,fb-win-map = <FB_DEFAULT_ORDER>;

3
arch/arm64/boot/dts/rk3368-tb_8846.dts Normal file → Executable file
View File

@@ -68,7 +68,7 @@
irq-gpio = <&gpio0 GPIO_C0 IRQ_TYPE_EDGE_BOTH>;
};
backlight {
backlight: backlight {
compatible = "pwm-backlight";
pwms = <&pwm0 0 25000>;
brightness-levels = <255 254 253 252 251 250 249 248 247 246 245 244 243 242 241 240
@@ -563,6 +563,7 @@
&lcdc {
status = "okay";
backlight = <&backlight>;
rockchip,mirror = <NO_MIRROR>;
rockchip,cabc_mode = <0>;
rockchip,fb-win-map = <FB_DEFAULT_ORDER>;