Commit 8d3b01e0 authored by Thierry Reding's avatar Thierry Reding
Browse files

ARM: tegra: Move panels to AUX bus



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: eb481f9a ("ARM: tegra: add Acer Chromebook 13 device tree")
Fixes: 59fe02cb ("ARM: tegra: Add DTS for the nyan-blaze board")
Fixes: 40e231c7 ("ARM: tegra: Enable eDP for Venice2")
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent bd048487
Loading
Loading
Loading
Loading
+9 −6
Original line number Diff line number Diff line
@@ -13,12 +13,15 @@
		     "google,nyan-big-rev1", "google,nyan-big-rev0",
		     "google,nyan-big", "google,nyan", "nvidia,tegra124";

	host1x@50000000 {
		dpaux@545c0000 {
			aux-bus {
				panel: panel {
					compatible = "auo,b133xtn01";

		power-supply = <&vdd_3v3_panel>;
					backlight = <&backlight>;
		ddc-i2c-bus = <&dpaux>;
				};
			};
		};
	};

	mmc@700b0400 { /* SD Card on this bus */
+9 −6
Original line number Diff line number Diff line
@@ -15,12 +15,15 @@
		     "google,nyan-blaze-rev0", "google,nyan-blaze",
		     "google,nyan", "nvidia,tegra124";

	host1x@50000000 {
		dpaux@545c0000 {
			aux-bus {
				panel: panel {
					compatible = "samsung,ltn140at29-301";

		power-supply = <&vdd_3v3_panel>;
					backlight = <&backlight>;
		ddc-i2c-bus = <&dpaux>;
				};
			};
		};
	};

	sound {
+7 −7
Original line number Diff line number Diff line
@@ -48,6 +48,13 @@
		dpaux@545c0000 {
			vdd-supply = <&vdd_3v3_panel>;
			status = "okay";

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

@@ -1080,13 +1087,6 @@
		};
	};

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

	vdd_mux: regulator-mux {
		compatible = "regulator-fixed";
		regulator-name = "+VDD_MUX";