[PATCH 0/8] Add support for MAX7360 multifunction device

From: Mathieu Dubois-Briand
Date: Thu Dec 19 2024 - 11:22:37 EST


This series implements a set of drivers allowing to support the Maxim
Integrated MAX7360 device.

The MAX7360 is an I2C key-switch and led controller, with following
functionalities:
- Keypad controller for a key matrix of up to 8 rows and 8 columns.
- Rotary encoder support, for a single rotary encoder.
- Up to 8 PWM outputs.
- Up to 8 GPIOs with support for interrupts and 6 GPOs.

Chipset pins are shared between all functionalities, so all cannot be
used at the same time.

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@xxxxxxxxxxx>
---
Kamel Bouhara (2):
mfd: Add max7360 support
pwm: max7360: Add MAX7360 PWM support

Mathieu Dubois-Briand (6):
dt-bindings: Add MAX7360 MFD device
dt-bindings: Add MAX7360 subdevices
gpio: max7360: Add MAX7360 gpio support
input: keyboard: Add support for MAX7360 keypad
input: misc: Add support for MAX7360 rotary
MAINTAINERS: Add entry on MAX7360 driver

.../devicetree/bindings/gpio/max7360-gpio.yaml | 96 +++++
.../devicetree/bindings/input/max7360-keypad.yaml | 67 +++
.../devicetree/bindings/input/max7360-rotary.yaml | 52 +++
Documentation/devicetree/bindings/mfd/max7360.yaml | 56 +++
.../devicetree/bindings/pwm/max7360-pwm.yaml | 35 ++
MAINTAINERS | 12 +
drivers/gpio/Kconfig | 11 +
drivers/gpio/Makefile | 1 +
drivers/gpio/gpio-max7360.c | 453 +++++++++++++++++++++
drivers/input/keyboard/Kconfig | 12 +
drivers/input/keyboard/Makefile | 1 +
drivers/input/keyboard/max7360-keypad.c | 297 ++++++++++++++
drivers/input/misc/Kconfig | 11 +
drivers/input/misc/Makefile | 1 +
drivers/input/misc/max7360-rotary.c | 194 +++++++++
drivers/mfd/Kconfig | 12 +
drivers/mfd/Makefile | 1 +
drivers/mfd/max7360.c | 302 ++++++++++++++
drivers/pwm/Kconfig | 11 +
drivers/pwm/Makefile | 1 +
drivers/pwm/pwm-max7360.c | 173 ++++++++
include/linux/mfd/max7360.h | 103 +++++
22 files changed, 1902 insertions(+)
---
base-commit: 78d4f34e2115b517bcbfe7ec0d018bbbb6f9b0b8
change-id: 20241219-mdb-max7360-support-223a8ce45ba3

Best regards,
--
Mathieu Dubois-Briand <mathieu.dubois-briand@xxxxxxxxxxx>