mbox series

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

Message ID 20210228012643.69944-1-ronald@innovation.ch (mailing list archive)
Headers show
Series Touch Bar and ALS support for MacBook Pro's | expand

Message

Life is hard, and then you die Feb. 28, 2021, 1:26 a.m. UTC
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

Comments

Jonathan Cameron Feb. 28, 2021, 2:38 p.m. UTC | #1
On Sat, 27 Feb 2021 17:26:38 -0800
Ronald Tschalär <ronald@innovation.ch> wrote:

> 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.

Please keep the version numbering increasing (even if the series has been
restructured like here) or at very least include a link to the archive
on lore.kernel.org (I think this is the latest earlier version)

https://lore.kernel.org/linux-iio/20190612083400.1015-1-ronald@innovation.ch/

Thanks,

Jonathan

> 
> 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
>