arm64: tegra: Add display panel node on Smaug
authorDiogo Ivo <diogo.ivo@tecnico.ulisboa.pt>
Mon, 7 Aug 2023 13:33:05 +0000 (14:33 +0100)
committerThierry Reding <treding@nvidia.com>
Tue, 10 Oct 2023 15:37:35 +0000 (17:37 +0200)
The Google Pixel C has a JDI LPM102A188A display panel, so add a
DT node for it.

Signed-off-by: Diogo Ivo <diogo.ivo@tecnico.ulisboa.pt>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra210-smaug.dts

index 9c8ffbf8ef65486857bde097534e8c728c241d50..9ebb7369256e02aa28ff75c8f608f7409b07a437 100644 (file)
        };
 
        host1x@50000000 {
+               dsia: dsi@54300000 {
+                       avdd-dsi-csi-supply = <&vdd_dsi_csi>;
+                       status = "okay";
+
+                       link2: panel@0 {
+                               compatible = "jdi,lpm102a188a";
+                               reg = <0>;
+                       };
+               };
+
+               dsib: dsi@54400000 {
+                       avdd-dsi-csi-supply = <&vdd_dsi_csi>;
+                       nvidia,ganged-mode = <&dsia>;
+                       status = "okay";
+
+                       link1: panel@0 {
+                               compatible = "jdi,lpm102a188a";
+                               reg = <0>;
+                               power-supply = <&pplcd_vdd>;
+                               ddi-supply = <&pp1800_lcdio>;
+                               enable-gpios = <&gpio TEGRA_GPIO(V, 1) GPIO_ACTIVE_HIGH>;
+                               reset-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_LOW>;
+                               link2 = <&link2>;
+                               backlight = <&backlight>;
+                       };
+               };
+
                dpaux: dpaux@545c0000 {
                        status = "okay";
                };