From: Pavel Machek <pavel-+ZI9xUNit7I@public.gmane.org>
To: "Cédric Le Goater" <clg-Bxea+6Xhats@public.gmane.org>
Cc: Richard Purdie <rpurdie-Fm38FmjxZ/leoWH0uzbU5w@public.gmane.org>,
Jacek Anaszewski
<jacek.anaszewski-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>,
linux-leds-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Joel Stanley <joel-U3u1mxZcP9KHXe+LvDLADg@public.gmane.org>
Subject: Re: [PATCH] leds: pca955x: add GPIO support
Date: Sat, 13 May 2017 13:26:01 +0200 [thread overview]
Message-ID: <20170513112601.GA21785@amd> (raw)
In-Reply-To: <1494311772-21872-1-git-send-email-clg-Bxea+6Xhats@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 840 bytes --]
On Tue 2017-05-09 08:36:12, Cédric Le Goater wrote:
> The PCA955x family of chips are I2C LED blinkers whose pins not used
> to control LEDs can be used as general purpose I/Os (GPIOs).
>
> The following adds support for device tree and Open Firmware to be
> able do define different operation modes for each pin. See bindings
> documentation for more details. The pca955x driver is then extended
> with a gpio_chip when pins are operating in GPIO mode.
Actually.. maybe better solution would be to turn this into GPIO
driver, and then use gpio-leds on top...?
What is the difference between pin in GPIO mode and pin in LED mode?
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
next prev parent reply other threads:[~2017-05-13 11:26 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-09 6:36 [PATCH] leds: pca955x: add GPIO support Cédric Le Goater
2017-05-11 20:23 ` Jacek Anaszewski
2017-05-12 6:24 ` Cédric Le Goater
[not found] ` <7d30134c-c8c6-3475-1a7a-534199167b5c-Bxea+6Xhats@public.gmane.org>
2017-05-15 19:23 ` Jacek Anaszewski
2017-06-09 11:13 ` Cédric Le Goater
[not found] ` <24ff150b-0c12-3b5c-fbcd-5b8bedce3139-Bxea+6Xhats@public.gmane.org>
2017-06-09 20:56 ` Jacek Anaszewski
[not found] ` <0c738e3d-4c13-9ba2-d1ef-50e471019756-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-06-10 6:00 ` Cédric Le Goater
[not found] ` <20b94199-a154-53cd-96d1-910ae3de1085-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-05-23 8:18 ` Linus Walleij
2017-05-23 10:58 ` Cédric Le Goater
[not found] ` <1494311772-21872-1-git-send-email-clg-Bxea+6Xhats@public.gmane.org>
2017-05-13 11:26 ` Pavel Machek [this message]
2017-05-15 6:29 ` Cédric Le Goater
2017-05-22 19:53 ` Pavel Machek
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=20170513112601.GA21785@amd \
--to=pavel-+zi9xunit7i@public.gmane.org \
--cc=clg-Bxea+6Xhats@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=jacek.anaszewski-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=joel-U3u1mxZcP9KHXe+LvDLADg@public.gmane.org \
--cc=linux-leds-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \
--cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=rpurdie-Fm38FmjxZ/leoWH0uzbU5w@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.