Skip to contentSkip to conversation

Adding second source touchscreen used by some mt8183 devices

PATCH Applied Hsin-Te Yuan 2 participants 4 messages Dec 13, 2024 – Dec 19, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

v3 cover Adding second source touchscreen used by some mt8183 devices

---
Changes in v3:
- Split from the v2 series
- Link to v2: https://lore.kernel.org/r/[email protected]
Changes in v2:
- Add second source touchscreen patches since they should based on the first patch of this series.
- Link to v1: https://lore.kernel.org/r/[email protected]

---
Hsin-Te Yuan (2):
arm64: dts: mediatek: mt8183: kenzo: Support second source touchscreen
arm64: dts: mediatek: mt8183: willow: Support second source touchscreen

 .../boot/dts/mediatek/mt8183-kukui-jacuzzi-kenzo.dts      | 15 +++++++++++++++
 .../boot/dts/mediatek/mt8183-kukui-jacuzzi-willow.dtsi    | 15 +++++++++++++++
 2 files changed, 30 insertions(+)

---
base-commit: eefa7a9c069908412f8f5d15833901d1b46ae1b2
change-id: 20241213-touchscreen-fca4a52bff58

Best regards,

Signature · 1 line
Hsin-Te Yuan <[email protected]>
#1 lore raw

PATCH v3 1/2 arm64: dts: mediatek: mt8183: kenzo: Support second source touchscreen

Some kenzo devices use second source touchscreen.

Fixes 0a9cefe21aec ("arm64: dts: mt8183: Add kukui-jacuzzi-kenzo board")
---
 .../boot/dts/mediatek/mt8183-kukui-jacuzzi-kenzo.dts      | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-kenzo.dts +15 -0
index e8241587949b2bc238ffa85f8fa6b6ca78b1d6f5..561770fcf69e66341c080687e2efaa6e98c550a8 100644
@@ -12,3 +12,18 @@ / {
 	chassis-type = "laptop";
 	compatible = "google,juniper-sku17", "google,juniper", "mediatek,mt8183";
 };
+
+&i2c0 {
+	touchscreen@40 {
+		compatible = "hid-over-i2c";
+		reg = <0x40>;
+
+		pinctrl-names = "default";
+		pinctrl-0 = <&touchscreen_pins>;
+
+		interrupts-extended = <&pio 155 IRQ_TYPE_LEVEL_LOW>;
+
+		post-power-on-delay-ms = <70>;
+		hid-descr-addr = <0x0001>;
+	};
+};
Signature · 1 line
2.47.1.613.gc27f4b7a9f-goog
#2 lore raw

PATCH v3 2/2 arm64: dts: mediatek: mt8183: willow: Support second source touchscreen

In reply to Hsin-Te Yuan

Some willow devices use second source touchscreen.

Fixes f006bcf1c972 ("arm64: dts: mt8183: Add kukui-jacuzzi-willow board")
---
 .../boot/dts/mediatek/mt8183-kukui-jacuzzi-willow.dtsi    | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-willow.dtsi +15 -0
index 76d33540166f900c99c419c4f97ca0a56cf658f5..c942e461a177efe1e711a978c3bfb9f852f1b0ee 100644
@@ -6,6 +6,21 @@
 /dts-v1/;
 #include "mt8183-kukui-jacuzzi.dtsi"
 
+&i2c0 {
+	touchscreen@40 {
+		compatible = "hid-over-i2c";
+		reg = <0x40>;
+
+		pinctrl-names = "default";
+		pinctrl-0 = <&touchscreen_pins>;
+
+		interrupts-extended = <&pio 155 IRQ_TYPE_LEVEL_LOW>;
+
+		post-power-on-delay-ms = <70>;
+		hid-descr-addr = <0x0001>;
+	};
+};
+
 &i2c2 {
 	trackpad@2c {
 		compatible = "hid-over-i2c";
Signature · 1 line
2.47.1.613.gc27f4b7a9f-goog
maintainer Applied
#3 lore raw
In reply to Hsin-Te Yuan
Quoted 2 lines · Hsin-Te Yuan

Applied to v6.13-next/dts64, thanks!

[1/2] arm64: dts: mediatek: mt8183: kenzo: Support second source touchscreen

      commit: 5ec5dc73c5ac0c6e06803dc3b5aea4493e856568
[2/2] arm64: dts: mediatek: mt8183: willow: Support second source touchscreen
      commit: 9594935260d76bffe200bea6cfab6ba0752e70d9

Cheers,
Angelo