Skip to content

Commit 40e231c

Browse files
thierryredingnvswarren
authored andcommitted
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 <[email protected]> Signed-off-by: Stephen Warren <[email protected]>
1 parent d72be03 commit 40e231c

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

arch/arm/boot/dts/tegra124-venice2.dts

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,20 @@
1616
reg = <0x80000000 0x80000000>;
1717
};
1818

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+
1933
pinmux: pinmux@70000868 {
2034
pinctrl-names = "default";
2135
pinctrl-0 = <&pinmux_default>;
@@ -940,6 +954,17 @@
940954
};
941955
};
942956

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+
943968
clocks {
944969
compatible = "simple-bus";
945970
#address-cells = <1>;
@@ -965,6 +990,13 @@
965990
};
966991
};
967992

993+
panel: panel {
994+
compatible = "lg,lp129qe", "simple-panel";
995+
996+
backlight = <&backlight>;
997+
ddc-i2c-bus = <&dpaux>;
998+
};
999+
9681000
regulators {
9691001
compatible = "simple-bus";
9701002
#address-cells = <1>;

0 commit comments

Comments
 (0)