[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240520195942.11582-1-laurent.pinchart@ideasonboard.com>
Date: Mon, 20 May 2024 22:59:36 +0300
From: Laurent Pinchart <laurent.pinchart@...asonboard.com>
To: linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org,
linux-gpio@...r.kernel.org,
linux-pwm@...r.kernel.org
Cc: Alexandru Ardelean <alexandru.ardelean@...log.com>,
Bartosz Golaszewski <brgl@...ev.pl>,
Conor Dooley <conor+dt@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Lee Jones <lee@...nel.org>,
Linus Walleij <linus.walleij@...aro.org>,
Rob Herring <robh@...nel.org>,
Uwe Kleine-König <ukleinek@...nel.org>
Subject: [PATCH 0/5] ADP5585 GPIO expander, PWM and keypad controller support
Hello,
This patch series introduces support for the Analog Devices ADP5585, a
GPIO expander, PWM and keyboard controller. It models the chip as an MFD
device, and includes DT bindings (2/5), an MFD driver (3/5) and drivers
for the GPIO (4/5) and PWM (5/5) functions.
Support for the keypad controller is left out, as I have no means to
test it at the moment. The chip also includes a tiny reset controller,
as well as a 3-bit input programmable logic block, which I haven't tried
to support (and also have no means to test).
The driver is based on an initial version from the NXP BSP kernel, then
extensively and nearly completely rewritten, with added DT bindings. I
have nonetheless retained original authorship. Clark, Haibo, if you
would prefer not being credited and/or listed as authors, please let me
know.
Clark Wang (1):
pwm: adp5585: Add Analog Devices ADP5585 support
Haibo Chen (2):
mfd: adp5585: Add Analog Devices ADP5585 core support
gpio: adp5585: Add Analog Devices ADP5585 support
Laurent Pinchart (2):
dt-bindings: trivial-devices: Drop adi,adp5585 and adi,adp5585-02
dt-bindings: Add bindings for the Analog Devices ADP5585
.../bindings/gpio/adi,adp5585-gpio.yaml | 36 +++
.../devicetree/bindings/mfd/adi,adp5585.yaml | 117 +++++++++
.../bindings/pwm/adi,adp5585-pwm.yaml | 35 +++
.../devicetree/bindings/trivial-devices.yaml | 4 -
MAINTAINERS | 11 +
drivers/gpio/Kconfig | 7 +
drivers/gpio/Makefile | 1 +
drivers/gpio/gpio-adp5585.c | 232 ++++++++++++++++++
drivers/mfd/Kconfig | 11 +
drivers/mfd/Makefile | 1 +
drivers/mfd/adp5585.c | 207 ++++++++++++++++
drivers/pwm/Kconfig | 7 +
drivers/pwm/Makefile | 1 +
drivers/pwm/pwm-adp5585.c | 230 +++++++++++++++++
include/linux/mfd/adp5585.h | 120 +++++++++
15 files changed, 1016 insertions(+), 4 deletions(-)
create mode 100644 Documentation/devicetree/bindings/gpio/adi,adp5585-gpio.yaml
create mode 100644 Documentation/devicetree/bindings/mfd/adi,adp5585.yaml
create mode 100644 Documentation/devicetree/bindings/pwm/adi,adp5585-pwm.yaml
create mode 100644 drivers/gpio/gpio-adp5585.c
create mode 100644 drivers/mfd/adp5585.c
create mode 100644 drivers/pwm/pwm-adp5585.c
create mode 100644 include/linux/mfd/adp5585.h
base-commit: a38297e3fb012ddfa7ce0321a7e5a8daeb1872b6
--
Regards,
Laurent Pinchart
Powered by blists - more mailing lists