build/patch/kernel/sunxi64-dev/fix-pinebook-backlight.patch
zador-blood-stained 695290f761 Fix backlight activation on Pinebook
Label in the backlight node forces dtc to add a phandle even if nothing
is referencing this node, and PWM backlight node with a phandle is
assumed as externally controlled
2017-10-14 23:50:08 +03:00

13 lines
433 B
Diff

diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinebook.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinebook.dts
index 19bfbf3f..6189d428 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinebook.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinebook.dts
@@ -57,7 +57,7 @@
ethernet0 = &rtl8723cs;
};
- backlight: backlight {
+ backlight {
compatible = "pwm-backlight";
pwms = <&pwm 0 50000 0>;
/*