mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
rk3368 dts: add backlight node into lcdc
Signed-off-by: hjc <hjc@rock-chips.com>
This commit is contained in:
@@ -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
3
arch/arm64/boot/dts/rk3368-tb_8846.dts
Normal file → Executable 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>;
|
||||
|
||||
Reference in New Issue
Block a user