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

ARM: tegra: nexus7: Use common LVDS display device-tree

Make Nexus 7 device-tree to use common LVDS bridge description. This makes
device-trees more consistent.

[digetx@gmail.com: factored Nexus7 change into separate patch and wrote commit message]

Signed-off-by: Maxim Schwalm <maxim.schwalm@gmail.com>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>

authored by

Maxim Schwalm and committed by
Thierry Reding
a28c1b4f 7525c2a3

+3 -51
+3 -51
arch/arm/boot/dts/tegra30-asus-nexus7-grouper-common.dtsi
··· 8 8 #include "tegra30.dtsi" 9 9 #include "tegra30-cpu-opp.dtsi" 10 10 #include "tegra30-cpu-opp-microvolt.dtsi" 11 + #include "tegra30-asus-lvds-display.dtsi" 11 12 12 13 / { 13 14 aliases { ··· 57 56 trustzone@bfe00000 { 58 57 reg = <0xbfe00000 0x200000>; 59 58 no-map; 60 - }; 61 - }; 62 - 63 - host1x@50000000 { 64 - dc@54200000 { 65 - rgb { 66 - status = "okay"; 67 - 68 - port@0 { 69 - lcd_output: endpoint { 70 - remote-endpoint = <&lvds_encoder_input>; 71 - bus-width = <24>; 72 - }; 73 - }; 74 - }; 75 59 }; 76 60 }; 77 61 ··· 1102 1116 */ 1103 1117 compatible = "panel-lvds"; 1104 1118 1105 - power-supply = <&vdd_pnl>; 1106 - backlight = <&backlight>; 1107 - 1108 1119 width-mm = <94>; 1109 1120 height-mm = <150>; 1110 1121 rotation = <180>; 1111 1122 1112 1123 data-mapping = "jeida-24"; 1113 1124 1114 - port { 1115 - panel_input: endpoint { 1116 - remote-endpoint = <&lvds_encoder_output>; 1117 - }; 1118 - }; 1125 + /* DDC unconnected on Nexus 7 */ 1126 + /delete-property/ ddc-i2c-bus; 1119 1127 }; 1120 1128 1121 1129 firmware { ··· 1158 1178 debounce-interval = <10>; 1159 1179 wakeup-event-action = <EV_ACT_ASSERTED>; 1160 1180 wakeup-source; 1161 - }; 1162 - }; 1163 - 1164 - lvds-encoder { 1165 - compatible = "ti,sn75lvds83", "lvds-encoder"; 1166 - 1167 - powerdown-gpios = <&gpio TEGRA_GPIO(N, 6) GPIO_ACTIVE_LOW>; 1168 - power-supply = <&vdd_3v3_sys>; 1169 - 1170 - ports { 1171 - #address-cells = <1>; 1172 - #size-cells = <0>; 1173 - 1174 - port@0 { 1175 - reg = <0>; 1176 - 1177 - lvds_encoder_input: endpoint { 1178 - remote-endpoint = <&lcd_output>; 1179 - }; 1180 - }; 1181 - 1182 - port@1 { 1183 - reg = <1>; 1184 - 1185 - lvds_encoder_output: endpoint { 1186 - remote-endpoint = <&panel_input>; 1187 - }; 1188 - }; 1189 1181 }; 1190 1182 }; 1191 1183