arm: tegra: add Ventana backlight device
Subsystems (2)
PATCH 1/1 arm: tegra: add Ventana backlight device
Add the backlight device to the Ventana device tree.
--- arch/arm/boot/dts/tegra20-ventana.dts | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+)
arch/arm/boot/dts/tegra20-ventana.dts +21 -0
@@ -317,6 +317,27 @@ bus-width = <8>; }; + backlight { + compatible = "pwm-backlight"; + pwms = <&pwm 2 5000000>; + + brightness-levels = <0 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 255>; + default-brightness-level = <12>; + power-supply = <&backlight_reg>; + enable-gpios = <&gpio 28 0>; + }; + + backlight_reg: fixedregulator@176 { + compatible = "regulator-fixed"; + regulator-name = "backlight_regulator"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + gpio = <&gpio 176 0>; + startup-delay-us = <0>; + enable-active-high; + regulator-boot-off; + }; + sound { compatible = "nvidia,tegra-audio-wm8903-ventana", "nvidia,tegra-audio-wm8903";
Signature · 1 line
1.7.11.1
Quoted 1 line · Alexandre Courbot
Add the backlight device to the Ventana device tree.
As I mentioned downstream, I have a patch to add all the regulators for Ventana to DT. This patch should be rebased on top of that, since it adds the backlight regulator node too, but co-locates it with a bunch of other regulators, so won't merge with this patch.
I hope I'll be able to publish an updated version of the Ventana patch today.
But aside from that, this patch looks reasonable.
Quoted 4 lines · Stephen Warren
As I mentioned downstream, I have a patch to add all the regulators for Ventana to DT. This patch should be rebased on top of that, since it adds the backlight regulator node too, but co-locates it with a bunch of other regulators, so won't merge with this patch.
Ok, better wait for your patch then. No need to hurry, this depends on other stuff anyway.
Alex.