| From: |
| Sasha Finkelstein via B4 Relay <devnull+fnkl.kernel.gmail.com-AT-kernel.org> |
| To: |
| Hector Martin <marcan-AT-marcan.st>, Sven Peter <sven-AT-svenpeter.dev>, Alyssa Rosenzweig <alyssa-AT-rosenzweig.io>, Dmitry Torokhov <dmitry.torokhov-AT-gmail.com>, Rob Herring <robh-AT-kernel.org>, Krzysztof Kozlowski <krzk+dt-AT-kernel.org>, Conor Dooley <conor+dt-AT-kernel.org>, Henrik Rydberg <rydberg-AT-bitmath.org> |
| Subject: |
| [PATCH v2 0/4] Driver for Apple Z2 touchscreens. |
| Date: |
| Thu, 28 Nov 2024 23:29:15 +0100 |
| Message-ID: |
| <20241128-z2-v2-0-76cc59bbf117@gmail.com> |
| Cc: |
| asahi-AT-lists.linux.dev, linux-arm-kernel-AT-lists.infradead.org, linux-input-AT-vger.kernel.org, devicetree-AT-vger.kernel.org, linux-kernel-AT-vger.kernel.org, Sasha Finkelstein <fnkl.kernel-AT-gmail.com>, Janne Grunau <j-AT-jannau.net> |
| Archive-link: |
| Article |
Hi.
This series adds support for Apple touchscreens using the Z2 protocol.
Those are used as the primary touchscreen on mobile Apple devices, and for the
touchbar on laptops using the M-series chips. (T1/T2 laptops have a coprocessor
in charge of speaking Z2 to the touchbar).
Originally sent as a RFC at https://lore.kernel.org/all/20230223-z2-for-ml-v1-0-028f2...
The changes since then mostly address the review feedback, but also
add another machine that has this specific controller.
Signed-off-by: Sasha Finkelstein <fnkl.kernel@gmail.com>
---
Changes in v2:
- In a separate patch, fixed an issue that prevented the SPI controller
from using GPIO CS, and as such, moved the hardware quirk to there
- Went back to uploading the firmware in probe() instad of open()
- Other changes addressing the review feedback
- Link to v1: https://lore.kernel.org/r/20241126-z2-v1-0-c43c4cc6200d@g...
---
Sasha Finkelstein (4):
dt-bindings: input: touchscreen: Add Z2 controller
input: apple_z2: Add a driver for Apple Z2 touchscreens
arm64: dts: apple: Add touchbar digitizer nodes
MAINTAINERS: Add entries for Apple Z2 touchscreen driver
.../input/touchscreen/apple,z2-multitouch.yaml | 69 ++++
MAINTAINERS | 2 +
arch/arm64/boot/dts/apple/t8103-j293.dts | 26 ++
arch/arm64/boot/dts/apple/t8103.dtsi | 20 +
arch/arm64/boot/dts/apple/t8112-j493.dts | 24 ++
arch/arm64/boot/dts/apple/t8112.dtsi | 14 +
drivers/input/touchscreen/Kconfig | 13 +
drivers/input/touchscreen/Makefile | 1 +
drivers/input/touchscreen/apple_z2.c | 458 +++++++++++++++++++++
9 files changed, 627 insertions(+)
---
base-commit: 9f16d5e6f220661f73b36a4be1b21575651d8833
change-id: 20241124-z2-c012b528ea0d