Skip to content

Commit

Permalink
ARM: tegra: Move panels to AUX bus
Browse files Browse the repository at this point in the history
[ Upstream commit 8d3b01e ]

Move the eDP panel on Venice 2 and Nyan boards into the corresponding
AUX bus device tree node. This allows us to avoid a nasty circular
dependency that would otherwise be created between the DPAUX and panel
nodes via the DDC/I2C phandle.

Fixes: eb481f9 ("ARM: tegra: add Acer Chromebook 13 device tree")
Fixes: 59fe02c ("ARM: tegra: Add DTS for the nyan-blaze board")
Fixes: 40e231c ("ARM: tegra: Enable eDP for Venice2")
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
thierryreding authored and gregkh committed Mar 8, 2022
1 parent 9920d99 commit 04746db
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 19 deletions.
15 changes: 9 additions & 6 deletions arch/arm/boot/dts/tegra124-nyan-big.dts
Expand Up @@ -13,12 +13,15 @@
"google,nyan-big-rev1", "google,nyan-big-rev0",
"google,nyan-big", "google,nyan", "nvidia,tegra124";

panel: panel {
compatible = "auo,b133xtn01";

power-supply = <&vdd_3v3_panel>;
backlight = <&backlight>;
ddc-i2c-bus = <&dpaux>;
host1x@50000000 {
dpaux@545c0000 {
aux-bus {
panel: panel {
compatible = "auo,b133xtn01";
backlight = <&backlight>;
};
};
};
};

mmc@700b0400 { /* SD Card on this bus */
Expand Down
15 changes: 9 additions & 6 deletions arch/arm/boot/dts/tegra124-nyan-blaze.dts
Expand Up @@ -15,12 +15,15 @@
"google,nyan-blaze-rev0", "google,nyan-blaze",
"google,nyan", "nvidia,tegra124";

panel: panel {
compatible = "samsung,ltn140at29-301";

power-supply = <&vdd_3v3_panel>;
backlight = <&backlight>;
ddc-i2c-bus = <&dpaux>;
host1x@50000000 {
dpaux@545c0000 {
aux-bus {
panel: panel {
compatible = "samsung,ltn140at29-301";
backlight = <&backlight>;
};
};
};
};

sound {
Expand Down
14 changes: 7 additions & 7 deletions arch/arm/boot/dts/tegra124-venice2.dts
Expand Up @@ -48,6 +48,13 @@
dpaux@545c0000 {
vdd-supply = <&vdd_3v3_panel>;
status = "okay";

aux-bus {
panel: panel {
compatible = "lg,lp129qe";
backlight = <&backlight>;
};
};
};
};

Expand Down Expand Up @@ -1079,13 +1086,6 @@
};
};

panel: panel {
compatible = "lg,lp129qe";
power-supply = <&vdd_3v3_panel>;
backlight = <&backlight>;
ddc-i2c-bus = <&dpaux>;
};

vdd_mux: regulator@0 {
compatible = "regulator-fixed";
regulator-name = "+VDD_MUX";
Expand Down

0 comments on commit 04746db

Please sign in to comment.