[PATCH 0/2] Support ON Semi CAT9532

Alban Bedel posted 2 patches 1 week, 2 days ago
.../bindings/gpio/onnn,cat9532.yaml           |  52 ++++++
drivers/gpio/Kconfig                          |  10 +
drivers/gpio/Makefile                         |   1 +
drivers/gpio/gpio-cat9532.c                   | 173 ++++++++++++++++++
4 files changed, 236 insertions(+)
create mode 100644 Documentation/devicetree/bindings/gpio/onnn,cat9532.yaml
create mode 100644 drivers/gpio/gpio-cat9532.c
[PATCH 0/2] Support ON Semi CAT9532
Posted by Alban Bedel 1 week, 2 days ago
Hi,

this small series add support for the CAT9532 LED dimmer from On
Semiconductor. Altought marketed as an LED dimmer it is a bit limited
in this regard as it only has 2 PWM for 16 pins. As explained in the
datasheet it can also be used as an open-drain GPIO controller, and
that's how it is used on the hardware I have at hand. This chip
doesn't really map to what the gpio-regmap driver expect so it is
implemented as it own driver. This approch also allow to later add
support for the LED dimmer if desired.

Alban Bedel (2):
  dt-bindings: gpio: Add CAT9532 GPIO
  gpio: Support ON Semi CAT9532

 .../bindings/gpio/onnn,cat9532.yaml           |  52 ++++++
 drivers/gpio/Kconfig                          |  10 +
 drivers/gpio/Makefile                         |   1 +
 drivers/gpio/gpio-cat9532.c                   | 173 ++++++++++++++++++
 4 files changed, 236 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/gpio/onnn,cat9532.yaml
 create mode 100644 drivers/gpio/gpio-cat9532.c

-- 
2.39.5