[PATCH v2 0/4] Touch Bar driver for Apple Macs with T2 Security Chip

From: Aditya Garg
Date: Tue Dec 31 2024 - 12:33:40 EST


From: Aditya Garg <gargaditya08@xxxxxxxx>

This patch series adds support for Touch Bar on found on MacBook Pro
models with T2 Security Chip. These drivers support the mode found on
Windows Bootcamp drivers.

V2: Added checks to the keyboard driver to ensure backlight driver is
initialised first.

Aditya Garg (2):
HID: hid-appletb-kbd: add support for fn toggle between media and
function mode
HID: hid-appletb-kbd: add support for automatic brightness control
while using the touchbar

Kerem Karabay (2):
HID: hid-appletb-bl: add driver for the backlight of Apple Touch Bars
HID: hid-appletb-kbd: add driver for the keyboard mode of Apple Touch
Bars

.../ABI/testing/sysfs-driver-hid-appletb-kbd | 13 +
drivers/hid/Kconfig | 25 +
drivers/hid/Makefile | 2 +
drivers/hid/hid-appletb-bl.c | 207 +++++++
drivers/hid/hid-appletb-kbd.c | 506 ++++++++++++++++++
drivers/hid/hid-quirks.c | 8 +-
6 files changed, 759 insertions(+), 2 deletions(-)
create mode 100644 Documentation/ABI/testing/sysfs-driver-hid-appletb-kbd
create mode 100644 drivers/hid/hid-appletb-bl.c
create mode 100644 drivers/hid/hid-appletb-kbd.c

--
2.43.0