Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 072c3d7e authored by Hans de Goede's avatar Hans de Goede Committed by Maxime Ripard
Browse files

ARM: dts: sun8i: Add touchscreen node for sun8i-a23-polaroid-mid2407pxe03



Add a node enabling the gsl1680 touchscreen controller found on
sun8i-a23-polaroid-mid2407pxe03 tablets.

Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: default avatarChen-Yu Tsai <wens@csie.org>
parent 9fae0a1c
Loading
Loading
Loading
Loading
+19 −0
Original line number Diff line number Diff line
@@ -90,3 +90,22 @@
		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
	};
};

&reg_ldo_io1 {
	regulator-min-microvolt = <3300000>;
	regulator-max-microvolt = <3300000>;
	regulator-name = "vcc-touchscreen";
	status = "okay";
};

&touchscreen {
	reg = <0x40>;
	compatible = "silead,gsl1680";
	firmware-name = "gsl1680-polaroid-mid2407pxe03.fw";
	touchscreen-size-x = <960>;
	touchscreen-size-y = <640>;
	touchscreen-inverted-x;
	touchscreen-inverted-y;
	vddio-supply = <&reg_ldo_io1>;
	status = "okay";
};