From: Bhuvanchandra DV Date: Mon, 22 Sep 2014 10:08:12 +0000 (+0530) Subject: ARM: dts: vf610-colibri: Add backlight support X-Git-Tag: firefly_0821_release~176^2~2766^2~10^2~29 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=bc20265a1420570c4d82038cb3ef4b155ac96b85;p=firefly-linux-kernel-4.4.55.git ARM: dts: vf610-colibri: Add backlight support Signed-off-by: Bhuvanchandra DV Acked-by: Stefan Agner Signed-off-by: Shawn Guo --- diff --git a/arch/arm/boot/dts/vf610-colibri-eval-v3.dts b/arch/arm/boot/dts/vf610-colibri-eval-v3.dts index 00f63d936aab..711cf823e794 100644 --- a/arch/arm/boot/dts/vf610-colibri-eval-v3.dts +++ b/arch/arm/boot/dts/vf610-colibri-eval-v3.dts @@ -19,6 +19,12 @@ }; }; +&bl { + brightness-levels = <0 4 8 16 32 64 128 255>; + default-brightness-level = <6>; + status = "okay"; +}; + &esdhc1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_esdhc1>; diff --git a/arch/arm/boot/dts/vf610-colibri.dtsi b/arch/arm/boot/dts/vf610-colibri.dtsi index 1f73c1c824e5..807953b5494a 100644 --- a/arch/arm/boot/dts/vf610-colibri.dtsi +++ b/arch/arm/boot/dts/vf610-colibri.dtsi @@ -25,6 +25,11 @@ }; }; + bl: backlight { + compatible = "pwm-backlight"; + pwms = <&pwm0 0 5000000 0>; + status = "disabled"; + }; }; &esdhc1 {