Input: apple_z2 - add a driver for Apple Z2 touchscreens

Adds a driver for Apple touchscreens using the Z2 protocol.

Signed-off-by: Janne Grunau <j@jannau.net>
Reviewed-by: Neal Gompa <neal@gompa.dev>
Signed-off-by: Sasha Finkelstein <fnkl.kernel@gmail.com>
Link: https://lore.kernel.org/r/20250217-z2-v6-2-c2115d6e5a8f@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
Sasha Finkelstein
2025-02-19 09:24:56 -08:00
committed by Dmitry Torokhov
parent ed872cea14
commit 471a92f8a2
3 changed files with 491 additions and 0 deletions

View File

@@ -103,6 +103,19 @@ config TOUCHSCREEN_ADC
To compile this driver as a module, choose M here: the
module will be called resistive-adc-touch.ko.
config TOUCHSCREEN_APPLE_Z2
tristate "Apple Z2 touchscreens"
default ARCH_APPLE
depends on SPI
help
Say Y here if you have an Apple device with
a touchscreen or a touchbar.
If unsure, say N.
To compile this driver as a module, choose M here: the
module will be called apple_z2.
config TOUCHSCREEN_AR1021_I2C
tristate "Microchip AR1020/1021 i2c touchscreen"
depends on I2C && OF