]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ARM: tegra: tf600t: Configure panel
authorSvyatoslav Ryhel <clamor95@gmail.com>
Mon, 11 May 2026 07:48:57 +0000 (10:48 +0300)
committerThierry Reding <treding@nvidia.com>
Fri, 29 May 2026 12:36:16 +0000 (14:36 +0200)
Configure DSI panel used in ASUS VivoTab TF600T.

Tested-by: Andreas Westman Dorcsak <hedmoo@yahoo.com>
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm/boot/dts/nvidia/tegra30-asus-tf600t.dts

index 9296e7970ce4ebf4163e391bb88ab1388a256e86..8b68bfef8dee8afd8270fb5cca69e1286b132b28 100644 (file)
@@ -23,6 +23,7 @@
                rtc0 = &pmic;
                rtc1 = "/rtc@7000e000";
 
+               display0 = &lcd;
                display1 = &hdmi;
 
                serial1 = &uartc; /* Bluetooth */
        };
 
        host1x@50000000 {
+               vi@54080000 {
+                       status = "okay";
+
+                       csi@800 {
+                               status = "okay";
+
+                               avdd-dsi-csi-supply = <&avdd_dsi_csi>;
+                       };
+
+                       ports {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+
+                               port@0 {
+                                       reg = <0>;
+
+                                       vi_ppa_input: endpoint {
+                                               /* Link to the rear camera */
+                                       };
+                               };
+
+                               port@1 {
+                                       reg = <1>;
+
+                                       vi_ppb_input: endpoint {
+                                               /* Link to the front camera */
+                                       };
+                               };
+                       };
+               };
+
                hdmi: hdmi@54280000 {
                        status = "okay";
 
                                };
                        };
                };
+
+               lcd: dsi@54300000 {
+                       status = "okay";
+
+                       avdd-dsi-csi-supply = <&avdd_dsi_csi>;
+
+                       panel@0 {
+                               compatible = "hydis,hv101hd1";
+                               reg = <0>;
+
+                               vdd-supply = <&vdd_panel>;
+                               vio-supply = <&vio_panel>;
+
+                               backlight = <&backlight>;
+                       };
+               };
        };
 
        vde@6001a000 {
                        };
 
                        regulators {
-                               vdd_lcd: vdd1 {
+                               vio_panel: vdd1 {
                                        regulator-name = "vddio_ddr_1v2";
                                        regulator-min-microvolt = <1200000>;
                                        regulator-max-microvolt = <1200000>;
-                                       regulator-always-on;
                                        regulator-boot-on;
                                        ti,regulator-ext-sleep-control = <8>;
                                };
                vin-supply = <&vdd_5v0_bat>;
        };
 
+       vdd_panel: regulator-panel {
+               compatible = "regulator-fixed";
+               regulator-name = "vdd_panel";
+               regulator-min-microvolt = <3300000>;
+               regulator-max-microvolt = <3300000>;
+               regulator-boot-on;
+               gpio = <&gpio TEGRA_GPIO(L, 4) GPIO_ACTIVE_HIGH>;
+               enable-active-high;
+               vin-supply = <&vdd_3v3_sys>;
+       };
+
        hdmi_5v0_sys: regulator-hdmi {
                compatible = "regulator-fixed";
                regulator-name = "hdmi_5v0_sys";