devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] leds: leds-pca995x: Add support for NXP PCA9956B
@ 2024-07-10 14:32 Pieterjan Camerlynck via B4 Relay
  2024-07-10 14:32 ` [PATCH v2 1/2] dt-bindings: leds: pca995x: Add new nxp,pca9956b compatible Pieterjan Camerlynck via B4 Relay
  2024-07-10 14:32 ` [PATCH v2 2/2] leds: leds-pca995x: Add support for NXP PCA9956B Pieterjan Camerlynck via B4 Relay
  0 siblings, 2 replies; 4+ messages in thread
From: Pieterjan Camerlynck via B4 Relay @ 2024-07-10 14:32 UTC (permalink / raw)
  To: Pavel Machek, Lee Jones, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Isai Gaspar, Marek Vasut
  Cc: linux-leds, devicetree, linux-kernel, Pieterjan Camerlynck,
	Conor Dooley

This series adds support for NXP PCA9956B to the pca995x driver. This
chip is similar to the others but has 24 instead of 16 outputs and a
slightly different register layout. Datasheet available at [1].

[1]: https://www.nxp.com/docs/en/data-sheet/PCA9956B.pdf

Signed-off-by: Pieterjan Camerlynck <pieterjanca@gmail.com>
---
Changes in v2:
- define seperate const struct pca995x_chipdef for each chip
- remove chip enum
- Link to v1: https://lore.kernel.org/r/20240710-pca995x-v1-0-545015603000@gmail.com

---
Pieterjan Camerlynck (2):
      dt-bindings: leds: pca995x: Add new nxp,pca9956b compatible
      leds: leds-pca995x: Add support for NXP PCA9956B

 .../devicetree/bindings/leds/nxp,pca995x.yaml      |  6 +-
 drivers/leds/leds-pca995x.c                        | 82 ++++++++++++----------
 2 files changed, 50 insertions(+), 38 deletions(-)
---
base-commit: 82d01fe6ee52086035b201cfa1410a3b04384257
change-id: 20240709-pca995x-d7c5f97f6ebc

Best regards,
-- 
Pieterjan Camerlynck <pieterjanca@gmail.com>



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

end of thread, other threads:[~2024-07-11  1:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-10 14:32 [PATCH v2 0/2] leds: leds-pca995x: Add support for NXP PCA9956B Pieterjan Camerlynck via B4 Relay
2024-07-10 14:32 ` [PATCH v2 1/2] dt-bindings: leds: pca995x: Add new nxp,pca9956b compatible Pieterjan Camerlynck via B4 Relay
2024-07-10 14:32 ` [PATCH v2 2/2] leds: leds-pca995x: Add support for NXP PCA9956B Pieterjan Camerlynck via B4 Relay
2024-07-11  1:29   ` Marek Vasut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).