aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2014-02-28 11:40:24 -0500
committerStephen Warren <swarren@nvidia.com>2014-02-28 12:23:45 -0500
commit40e231c770a4201febdf64f677862c9910e81946 (patch)
treed1faf1910c6dc095e2cfc16f2a7f5e325bf40fff
parentd72be031b3ceeae5a4761e400af1ac60ca313449 (diff)
ARM: tegra: Enable eDP for Venice2
Venice2 has a 12.9" (2560x1700) panel connected to the eDP output of the Tegra124. The panel has an EDID to describe the video timings but needs a few extra nodes to get the backlight to come up. Signed-off-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Stephen Warren <swarren@nvidia.com>
-rw-r--r--arch/arm/boot/dts/tegra124-venice2.dts32
1 files changed, 32 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/tegra124-venice2.dts b/arch/arm/boot/dts/tegra124-venice2.dts
index b0db6348827f..7ffef561d667 100644
--- a/arch/arm/boot/dts/tegra124-venice2.dts
+++ b/arch/arm/boot/dts/tegra124-venice2.dts
@@ -16,6 +16,20 @@
16 reg = <0x80000000 0x80000000>; 16 reg = <0x80000000 0x80000000>;
17 }; 17 };
18 18
19 host1x@50000000 {
20 sor@54540000 {
21 status = "okay";
22
23 nvidia,dpaux = <&dpaux>;
24 nvidia,panel = <&panel>;
25 };
26
27 dpaux: dpaux@545c0000 {
28 vdd-supply = <&vdd_3v3_panel>;
29 status = "okay";
30 };
31 };
32
19 pinmux: pinmux@70000868 { 33 pinmux: pinmux@70000868 {
20 pinctrl-names = "default"; 34 pinctrl-names = "default";
21 pinctrl-0 = <&pinmux_default>; 35 pinctrl-0 = <&pinmux_default>;
@@ -940,6 +954,17 @@
940 }; 954 };
941 }; 955 };
942 956
957 backlight: backlight {
958 compatible = "pwm-backlight";
959
960 enable-gpios = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_HIGH>;
961 power-supply = <&vdd_led>;
962 pwms = <&pwm 1 1000000>;
963
964 brightness-levels = <0 4 8 16 32 64 128 255>;
965 default-brightness-level = <6>;
966 };
967
943 clocks { 968 clocks {
944 compatible = "simple-bus"; 969 compatible = "simple-bus";
945 #address-cells = <1>; 970 #address-cells = <1>;
@@ -965,6 +990,13 @@
965 }; 990 };
966 }; 991 };
967 992
993 panel: panel {
994 compatible = "lg,lp129qe", "simple-panel";
995
996 backlight = <&backlight>;
997 ddc-i2c-bus = <&dpaux>;
998 };
999
968 regulators { 1000 regulators {
969 compatible = "simple-bus"; 1001 compatible = "simple-bus";
970 #address-cells = <1>; 1002 #address-cells = <1>;