]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: rockchip: drop touch panel display from rockpro64
authorPeter Robinson <pbrobinson@gmail.com>
Sun, 18 May 2025 21:59:33 +0000 (22:59 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 9 Jun 2025 09:41:56 +0000 (11:41 +0200)
The touch panel display is an optional add on for the RockPro64
so this should be an DT overlay, drop the panel options in
preparation to add this as an overlay.

This effectively reverts commit b65155c786c4 so as to add an
overlay for it.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Link: https://lore.kernel.org/r/20250518215944.178582-1-pbrobinson@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi

index a7e4adf87e7a12945097d09715c373d8f5a15b3e..8b72ae6449c91ae1e63cefb8c9de2f27a5e1042c 100644 (file)
                stdout-path = "serial2:1500000n8";
        };
 
-       /* enable for panel backlight support */
-       backlight: backlight {
-               compatible = "pwm-backlight";
-               brightness-levels = <0 4 8 16 32 64 128 255>;
-               default-brightness-level = <5>;
-               pwms = <&pwm0 0 1000000 0>;
-               status = "disabled";
-       };
-
        clkin_gmac: external-gmac-clock {
                compatible = "fixed-clock";
                clock-frequency = <125000000>;
                };
        };
 
-       avdd: regulator-avdd {
-               compatible = "regulator-fixed";
-               regulator-name = "avdd";
-               regulator-min-microvolt = <11000000>;
-               regulator-max-microvolt = <11000000>;
-               vin-supply = <&vcc3v3_s0>;
-       };
-
        vcc12v_dcin: regulator-vcc12v-dcin {
                compatible = "regulator-fixed";
                regulator-name = "vcc12v_dcin";
                vbus-supply = <&vcc5v0_typec>;
                status = "okay";
        };
-
-       /* enable for pine64 touch screen support */
-       touch: touchscreen@5d {
-               compatible = "goodix,gt911";
-               reg = <0x5d>;
-               interrupt-parent = <&gpio4>;
-               interrupts = <RK_PD5 IRQ_TYPE_EDGE_FALLING>;
-               AVDD28-supply = <&vcc3v0_touch>;
-               VDDIO-supply = <&vcc3v0_touch>;
-               irq-gpios = <&gpio4 RK_PD5 GPIO_ACTIVE_HIGH>;
-               reset-gpios = <&gpio4 RK_PD6 GPIO_ACTIVE_HIGH>;
-               status = "disabled";
-       };
 };
 
 &i2s0 {
        gpio1830-supply = <&vcc_3v0>;
 };
 
-/* enable for pine64 panel display support */
-&mipi_dsi {
-       clock-master;
-       status = "disabled";
-
-       ports {
-               mipi_out: port@1 {
-                       reg = <1>;
-
-                       mipi_out_panel: endpoint {
-                               remote-endpoint = <&mipi_in_panel>;
-                       };
-               };
-       };
-
-       mipi_panel: panel@0 {
-               compatible = "feiyang,fy07024di26a30d";
-               reg = <0>;
-               avdd-supply = <&avdd>;
-               backlight = <&backlight>;
-               dvdd-supply = <&vcc3v3_s0>;
-
-               port {
-                       mipi_in_panel: endpoint {
-                               remote-endpoint = <&mipi_out_panel>;
-                       };
-               };
-       };
-};
-
 &pcie0 {
        ep-gpios = <&gpio2 RK_PD4 GPIO_ACTIVE_HIGH>;
        num-lanes = <4>;
        };
 };
 
-&pwm0 {
-       status = "okay";
-};
-
 &pwm1 {
        status = "okay";
 };