Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: eb481f9ac95c ("ARM: tegra: add Acer Chromebook 13 device tree")
Fixes: 59fe02cb079f ("ARM: tegra: Add DTS for the nyan-blaze board")
Fixes: 40e231c770a4 ("ARM: tegra: Enable eDP for Venice2")
Signed-off-by: Thierry Reding <treding@nvidia.com>

+25 -19
+9 -6
arch/arm/boot/dts/tegra124-nyan-big.dts
··· 13 13 "google,nyan-big-rev1", "google,nyan-big-rev0", 14 14 "google,nyan-big", "google,nyan", "nvidia,tegra124"; 15 15 16 - panel: panel { 17 - compatible = "auo,b133xtn01"; 18 - 19 - power-supply = <&vdd_3v3_panel>; 20 - backlight = <&backlight>; 21 - ddc-i2c-bus = <&dpaux>; 16 + host1x@50000000 { 17 + dpaux@545c0000 { 18 + aux-bus { 19 + panel: panel { 20 + compatible = "auo,b133xtn01"; 21 + backlight = <&backlight>; 22 + }; 23 + }; 24 + }; 22 25 }; 23 26 24 27 mmc@700b0400 { /* SD Card on this bus */
+9 -6
arch/arm/boot/dts/tegra124-nyan-blaze.dts
··· 15 15 "google,nyan-blaze-rev0", "google,nyan-blaze", 16 16 "google,nyan", "nvidia,tegra124"; 17 17 18 - panel: panel { 19 - compatible = "samsung,ltn140at29-301"; 20 - 21 - power-supply = <&vdd_3v3_panel>; 22 - backlight = <&backlight>; 23 - ddc-i2c-bus = <&dpaux>; 18 + host1x@50000000 { 19 + dpaux@545c0000 { 20 + aux-bus { 21 + panel: panel { 22 + compatible = "samsung,ltn140at29-301"; 23 + backlight = <&backlight>; 24 + }; 25 + }; 26 + }; 24 27 }; 25 28 26 29 sound {
+7 -7
arch/arm/boot/dts/tegra124-venice2.dts
··· 48 48 dpaux@545c0000 { 49 49 vdd-supply = <&vdd_3v3_panel>; 50 50 status = "okay"; 51 + 52 + aux-bus { 53 + panel: panel { 54 + compatible = "lg,lp129qe"; 55 + backlight = <&backlight>; 56 + }; 57 + }; 51 58 }; 52 59 }; 53 60 ··· 1085 1078 debounce-interval = <10>; 1086 1079 wakeup-source; 1087 1080 }; 1088 - }; 1089 - 1090 - panel: panel { 1091 - compatible = "lg,lp129qe"; 1092 - power-supply = <&vdd_3v3_panel>; 1093 - backlight = <&backlight>; 1094 - ddc-i2c-bus = <&dpaux>; 1095 1081 }; 1096 1082 1097 1083 vdd_mux: regulator-mux {