[PATCH 0/5] Touch Bar and ALS support for MacBook Pro's

From: Ronald Tschalär
Date: Sat Feb 27 2021 - 20:28:32 EST


This patch set provides Touch Bar and ALS support on MacBook Pro's
13,*, 14,*, and 15,*.

Some time a go an earlier version of these were posted to the list;
all code comments from there have been incorporated. In addition the
approach has been cleaned up, especially given that we now know how
the 15,* models are implemented, so that the ibridge driver is only
needed for the pre-15,* models and the ALS and Touch Bar drivers work
unchanged for all models.

Ronald Tschalär (5):
HID: Recognize sensors with application collections too.
iio: hid-sensor-als: Support change sensitivity in illuminance too.
HID: core: Export some report item parsing functions.
HID: apple-ibridge: Add Apple iBridge HID driver for T1 chip.
HID: apple-touchbar - Add driver for the Touch Bar on MacBook Pro's.

drivers/hid/Kconfig | 26 +
drivers/hid/Makefile | 2 +
drivers/hid/apple-ibridge.c | 682 +++++++++++++
drivers/hid/apple-ibridge.h | 15 +
drivers/hid/apple-touchbar.c | 1523 ++++++++++++++++++++++++++++
drivers/hid/hid-core.c | 57 +-
drivers/hid/hid-ids.h | 1 +
drivers/hid/hid-quirks.c | 3 +
drivers/hid/hid-sensor-hub.c | 6 +-
drivers/iio/light/hid-sensor-als.c | 8 +
include/linux/hid.h | 4 +
11 files changed, 2302 insertions(+), 25 deletions(-)
create mode 100644 drivers/hid/apple-ibridge.c
create mode 100644 drivers/hid/apple-ibridge.h
create mode 100644 drivers/hid/apple-touchbar.c

--
2.26.2