From: Pieterjan Camerlynck via B4 Relay <devnull+pieterjanca.gmail.com@kernel.org>
To: Pavel Machek <pavel@ucw.cz>, Lee Jones <lee@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Isai Gaspar <isaiezequiel.gaspar@nxp.com>,
Marek Vasut <marex@denx.de>
Cc: linux-leds@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
Pieterjan Camerlynck <pieterjanca@gmail.com>,
Conor Dooley <conor.dooley@microchip.com>
Subject: [PATCH v3 0/2] leds: leds-pca995x: Add support for NXP PCA9956B
Date: Thu, 11 Jul 2024 09:52:21 +0200 [thread overview]
Message-ID: <20240711-pca995x-v3-0-a1bf1f3c3f5a@gmail.com> (raw)
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 v3:
- restore PCA995X_MAX_OUTPUTS and increase to 24
- restore secondary for loop in pca995x_probe()
- remove parenthesis around (chipdef->pwm_base)
- Link to v2: https://lore.kernel.org/r/20240710-pca995x-v2-0-8fafb6e4b7d5@gmail.com
Thank you for the review Marek Vasut.
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 | 59 ++++++++++++++--------
2 files changed, 43 insertions(+), 22 deletions(-)
---
base-commit: 82d01fe6ee52086035b201cfa1410a3b04384257
change-id: 20240709-pca995x-d7c5f97f6ebc
Best regards,
--
Pieterjan Camerlynck <pieterjanca@gmail.com>
next reply other threads:[~2024-07-11 7:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-11 7:52 Pieterjan Camerlynck via B4 Relay [this message]
2024-07-11 7:52 ` [PATCH v3 1/2] dt-bindings: leds: pca995x: Add new nxp,pca9956b compatible Pieterjan Camerlynck via B4 Relay
2024-07-11 7:52 ` [PATCH v3 2/2] leds: leds-pca995x: Add support for NXP PCA9956B Pieterjan Camerlynck via B4 Relay
2024-07-11 11:47 ` Marek Vasut
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240711-pca995x-v3-0-a1bf1f3c3f5a@gmail.com \
--to=devnull+pieterjanca.gmail.com@kernel.org \
--cc=conor+dt@kernel.org \
--cc=conor.dooley@microchip.com \
--cc=devicetree@vger.kernel.org \
--cc=isaiezequiel.gaspar@nxp.com \
--cc=krzk+dt@kernel.org \
--cc=lee@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=marex@denx.de \
--cc=pavel@ucw.cz \
--cc=pieterjanca@gmail.com \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).