mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] Support ON Semi CAT9532
@ 2026-09-15  9:20 Alban Bedel
  2026-09-15  9:20 ` [PATCH 1/2] dt-bindings: gpio: Add CAT9532 GPIO Alban Bedel
  2026-09-15  9:20 ` [PATCH 2/2] gpio: Support ON Semi CAT9532 Alban Bedel
  0 siblings, 2 replies; 11+ messages in thread
From: Alban Bedel @ 2026-09-15  9:20 UTC (permalink / raw)
  To: linux-gpio, devicetree, linux-kernel
  Cc: Linus Walleij, Bartosz Golaszewski, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Alban Bedel

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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2026-09-16  9:07 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-15  9:20 [PATCH 0/2] Support ON Semi CAT9532 Alban Bedel
2026-09-15  9:20 ` [PATCH 1/2] dt-bindings: gpio: Add CAT9532 GPIO Alban Bedel
2026-09-15  9:43   ` Linus Walleij
2026-09-15  9:47   ` Linus Walleij
2026-09-15 16:42   ` Conor Dooley
2026-09-15  9:20 ` [PATCH 2/2] gpio: Support ON Semi CAT9532 Alban Bedel
2026-09-15  9:51   ` Bartosz Golaszewski
2026-09-15  9:57     ` Bartosz Golaszewski
2026-09-15 13:48       ` Alban Bedel
2026-09-16  9:07         ` Bartosz Golaszewski
2026-09-15  9:59   ` Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®