* [PATCH] arm: tegra: add Ventana backlight device
@ 2012-06-29 13:24 Alexandre Courbot
2012-06-29 16:06 ` Stephen Warren
0 siblings, 1 reply; 3+ messages in thread
From: Alexandre Courbot @ 2012-06-29 13:24 UTC (permalink / raw)
To: Stephen Warren; +Cc: linux-tegra, linux-kernel, Alexandre Courbot
Add the backlight device to the Ventana device tree.
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
---
arch/arm/boot/dts/tegra20-ventana.dts | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/arch/arm/boot/dts/tegra20-ventana.dts b/arch/arm/boot/dts/tegra20-ventana.dts
index be90544..27616f7 100644
--- a/arch/arm/boot/dts/tegra20-ventana.dts
+++ b/arch/arm/boot/dts/tegra20-ventana.dts
@@ -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";
--
1.7.11.1
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] arm: tegra: add Ventana backlight device
2012-06-29 13:24 [PATCH] arm: tegra: add Ventana backlight device Alexandre Courbot
@ 2012-06-29 16:06 ` Stephen Warren
2012-06-30 3:52 ` Alex Courbot
0 siblings, 1 reply; 3+ messages in thread
From: Stephen Warren @ 2012-06-29 16:06 UTC (permalink / raw)
To: Alexandre Courbot; +Cc: Stephen Warren, linux-tegra, linux-kernel
On 06/29/2012 07:24 AM, Alexandre Courbot wrote:
> 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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] arm: tegra: add Ventana backlight device
2012-06-29 16:06 ` Stephen Warren
@ 2012-06-30 3:52 ` Alex Courbot
0 siblings, 0 replies; 3+ messages in thread
From: Alex Courbot @ 2012-06-30 3:52 UTC (permalink / raw)
To: Stephen Warren
Cc: Stephen Warren, linux-tegra@vger.kernel.org,
linux-kernel@vger.kernel.org
On Sat 30 Jun 2012 01:06:37 AM JST, Stephen Warren wrote:
> 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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-06-30 3:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-29 13:24 [PATCH] arm: tegra: add Ventana backlight device Alexandre Courbot
2012-06-29 16:06 ` Stephen Warren
2012-06-30 3:52 ` Alex Courbot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).