From ec958b5b18c8f6abb1588f70b4bbb47894f5d116 Mon Sep 17 00:00:00 2001 From: Karel Balej Date: Thu, 28 Aug 2025 11:49:03 +0200 Subject: [PATCH] arm64: dts: samsung,coreprimevelte: add touchscreen MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Bind touchscreen for the samsung,coreprimevelte smartphone. The downstream code sets the VDD voltage to the exact value of 3.1 V, however it's been empirically verified that the lower bound used here sufficies for the proper operation of the chip and is thus used for power-saving purposes. Signed-off-by: Karel Balej Reviewed-by: Duje Mihanović Signed-off-by: Duje Mihanović --- .../mmp/pxa1908-samsung-coreprimevelte.dts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/marvell/mmp/pxa1908-samsung-coreprimevelte.dts b/arch/arm64/boot/dts/marvell/mmp/pxa1908-samsung-coreprimevelte.dts index 54131b0e5617e..0ac1a24dc410e 100644 --- a/arch/arm64/boot/dts/marvell/mmp/pxa1908-samsung-coreprimevelte.dts +++ b/arch/arm64/boot/dts/marvell/mmp/pxa1908-samsung-coreprimevelte.dts @@ -311,6 +311,11 @@ wakeup-source; regulators { + ldo2: ldo2 { + regulator-min-microvolt = <1900000>; + regulator-max-microvolt = <3100000>; + }; + ldo6: ldo6 { regulator-boot-on; regulator-min-microvolt = <1200000>; @@ -328,6 +333,16 @@ &twsi3 { status = "okay"; + + touchscreen@50 { + compatible = "imagis,ist3032c"; + reg = <0x50>; + interrupt-parent = <&gpio>; + interrupts = <72 IRQ_TYPE_EDGE_FALLING>; + vdd-supply = <&ldo2>; + touchscreen-size-x = <480>; + touchscreen-size-y = <800>; + }; }; &usb { -- 2.47.3