aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Reding <thierry.reding@gmail.com>2013-12-19 10:59:26 -0500
committerStephen Warren <swarren@nvidia.com>2013-12-19 15:07:38 -0500
commit02b1fea2e4afba9a9b0b088d46afa62c9ff904bd (patch)
treeed390fbc28e95a5ff84f99ac3a0573aa269ee9be
parent1d4e06894824514a2854b252d49c63b81779aec7 (diff)
ARM: tegra: Enable LVDS on Cardhu
Add backlight and panel nodes for the Cardhu 10.1" WXGA TFT LCD panel. Signed-off-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Stephen Warren <swarren@nvidia.com>
-rw-r--r--arch/arm/boot/dts/tegra30-cardhu.dtsi37
1 files changed, 36 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/tegra30-cardhu.dtsi b/arch/arm/boot/dts/tegra30-cardhu.dtsi
index dfcc18adcfd7..9104224124ee 100644
--- a/arch/arm/boot/dts/tegra30-cardhu.dtsi
+++ b/arch/arm/boot/dts/tegra30-cardhu.dtsi
@@ -56,6 +56,16 @@
56 }; 56 };
57 }; 57 };
58 58
59 host1x@50000000 {
60 dc@54200000 {
61 rgb {
62 status = "okay";
63
64 nvidia,panel = <&panel>;
65 };
66 };
67 };
68
59 pinmux@70000868 { 69 pinmux@70000868 {
60 pinctrl-names = "default"; 70 pinctrl-names = "default";
61 pinctrl-0 = <&state_default>; 71 pinctrl-0 = <&state_default>;
@@ -152,7 +162,11 @@
152 status = "okay"; 162 status = "okay";
153 }; 163 };
154 164
155 i2c@7000c000 { 165 pwm@7000a000 {
166 status = "okay";
167 };
168
169 panelddc: i2c@7000c000 {
156 status = "okay"; 170 status = "okay";
157 clock-frequency = <100000>; 171 clock-frequency = <100000>;
158 }; 172 };
@@ -372,6 +386,17 @@
372 status = "okay"; 386 status = "okay";
373 }; 387 };
374 388
389 backlight: backlight {
390 compatible = "pwm-backlight";
391
392 enable-gpios = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_HIGH>;
393 power-supply = <&vdd_bl_reg>;
394 pwms = <&pwm 0 5000000>;
395
396 brightness-levels = <0 4 8 16 32 64 128 255>;
397 default-brightness-level = <6>;
398 };
399
375 clocks { 400 clocks {
376 compatible = "simple-bus"; 401 compatible = "simple-bus";
377 #address-cells = <1>; 402 #address-cells = <1>;
@@ -385,6 +410,16 @@
385 }; 410 };
386 }; 411 };
387 412
413 panel: panel {
414 compatible = "chunghwa,claa101wb01", "simple-panel";
415 ddc-i2c-bus = <&panelddc>;
416
417 power-supply = <&vdd_pnl1_reg>;
418 enable-gpios = <&gpio TEGRA_GPIO(L, 2) GPIO_ACTIVE_HIGH>;
419
420 backlight = <&backlight>;
421 };
422
388 regulators { 423 regulators {
389 compatible = "simple-bus"; 424 compatible = "simple-bus";
390 #address-cells = <1>; 425 #address-cells = <1>;