Message ID | 1364260913-25490-8-git-send-email-achew@nvidia.com |
---|---|
State | Not Applicable, archived |
Headers | show |
diff --git a/arch/arm/boot/dts/wm8850-w70v2.dts b/arch/arm/boot/dts/wm8850-w70v2.dts index fcc660c..25c96d0 100644 --- a/arch/arm/boot/dts/wm8850-w70v2.dts +++ b/arch/arm/boot/dts/wm8850-w70v2.dts @@ -37,11 +37,20 @@ }; }; + backlight_power: fixed-regulator { + compatible = "regulator-fixed"; + regulator-name = "backlight-power"; + enable-active-high; + regulator-boot-on; + gpio = <&gpio 0 7 0>; + }; + backlight { compatible = "pwm-backlight"; pwms = <&pwm 0 50000 1>; /* duty inverted */ brightness-levels = <0 40 60 80 100 130 190 255>; default-brightness-level = <5>; + power-supply = <&backlight_power>; }; };