mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: <Oleg.Karfich@wago.com>
To: barebox@lists.infradead.org
Cc: Oleg.Karfich@wago.com
Subject: [PATCH 0/2] add support for pca955x i2c led drivers
Date: Wed, 5 Sep 2018 06:20:38 +0000	[thread overview]
Message-ID: <1536128432-21031-1-git-send-email-oleg.karfich@wago.com> (raw)

Hi,

this series adds support for the pca955x i2c-bus led drivers. The driver is
ported from the linux kernel and is reduced for locking and gpio support (could
not be tested by us, so we leave it out). Documentation is already there [1].

We tested this driver on our board with the led driver in [2].

[1] dts/Bindings/leds/leds-pca955x.txt
[2] https://www.nxp.com/docs/en/data-sheet/PCA9552.pdf

Oleg Karfich (2):
  led: add pca955x led support
  led: use max led value in case of led trigger

 drivers/led/Kconfig       |   9 +
 drivers/led/Makefile      |   1 +
 drivers/led/core.c        |   4 +-
 drivers/led/led-pca955x.c | 421 ++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 434 insertions(+), 1 deletion(-)
 create mode 100644 drivers/led/led-pca955x.c

-- 
2.7.4

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

             reply	other threads:[~2018-09-05  6:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-05  6:20 Oleg.Karfich [this message]
2018-09-05  6:20 ` [PATCH 1/2] led: add pca955x led support Oleg.Karfich
2018-09-05  6:20 ` [PATCH 2/2] led: use max led value in case of led trigger Oleg.Karfich
2018-09-07  6:21 ` [PATCH 0/2] add support for pca955x i2c led drivers Sascha Hauer

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=1536128432-21031-1-git-send-email-oleg.karfich@wago.com \
    --to=oleg.karfich@wago.com \
    --cc=barebox@lists.infradead.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