pmaports/device/testing/linux-postmarketos-exynos5/0022-ARM-dts-exynos-snow-add-atmel-mxt-touchpad.patch
Henrik Grimler bd7c8d15ad
linux-postmarketos-exynos5: re-generate patch headers (MR 3516)
Patch header for 0027 was not formatted correctly.  Fix that and
re-generate all other patches while we are at it.

[ci:skip-build] Already built successfuly on CI in MR
2022-10-11 18:39:46 +02:00

42 lines
1.2 KiB
Diff

From 4d14ea70fa35e70979afc11523e54dc106528f34 Mon Sep 17 00:00:00 2001
From: Anton Bambura <jenneron@protonmail.com>
Date: Wed, 5 Jan 2022 16:13:53 +0200
Subject: [PATCH 22/33] ARM: dts: exynos: snow: add atmel mxt touchpad
Add Atmel mXT touchpad (like peach chromebooks) as it is used in
some revisions (probably rev5 only).
Signed-off-by: Anton Bambura <jenneron@protonmail.com>
---
arch/arm/boot/dts/exynos5250-snow-common.dtsi | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/arch/arm/boot/dts/exynos5250-snow-common.dtsi b/arch/arm/boot/dts/exynos5250-snow-common.dtsi
index e3eac74f0572..47ab5a17d4f2 100644
--- a/arch/arm/boot/dts/exynos5250-snow-common.dtsi
+++ b/arch/arm/boot/dts/exynos5250-snow-common.dtsi
@@ -451,6 +451,21 @@ trackpad@67 {
interrupt-parent = <&gpx1>;
wakeup-source;
};
+
+ /* Atmel mXT which is used in some revisions */
+ trackpad@4b {
+ compatible = "atmel,maxtouch";
+ reg = <0x4b>;
+ interrupt-parent = <&gpx1>;
+ interrupts = <2 IRQ_TYPE_EDGE_FALLING>;
+ wakeup-source;
+ linux,gpio-keymap = <KEY_RESERVED
+ KEY_RESERVED
+ KEY_RESERVED /* GPIO0 */
+ KEY_RESERVED /* GPIO1 */
+ KEY_RESERVED /* GPIO2 */
+ BTN_LEFT>; /* GPIO3 */
+ };
};
/*
--
2.38.0