From: Geert Uytterhoeven <geert@linux-m68k.org>
To: "Rafał Miłecki" <zajec5@gmail.com>
Cc: Linus Walleij <linus.walleij@linaro.org>,
Alexandre Courbot <gnurou@gmail.com>,
"linux-gpio@vger.kernel.org" <linux-gpio@vger.kernel.org>,
Hauke Mehrtens <hauke@hauke-m.de>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>
Subject: Re: [PATCH] gpio: sn54hc595: new driver for GPIO shift registers chipsets
Date: Mon, 8 Dec 2014 15:41:16 +0100 [thread overview]
Message-ID: <CAMuHMdUMDCeAt5oXtbJSRrw2ES36Szj5KuXEyyeMRS26i1Y97w@mail.gmail.com> (raw)
In-Reply-To: <1418048833-27658-1-git-send-email-zajec5@gmail.com>
Hi Rafał,
On Mon, Dec 8, 2014 at 3:27 PM, Rafał Miłecki <zajec5@gmail.com> wrote:
> SN54HC595 and SN74HC595 are devices based on shift registers controlled
> with 5 input signals (serial-in) and providing 8 outputs (parallel-out).
>
> They are present on some Broadcom home router boards where manufacturer
> needed few extra GPIOs.
>
> This driver simply uses specified GPIOs to control shift registers and
> registers another GPIO chip. So you can call it a GPIO extender.
>
> Due to the hardware design only output direction is supported. Reading
> values is handled using tiny internal cache.
>
> Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
> ---
> .../devicetree/bindings/gpio/gpio-sn54hc595.txt | 35 ++++
> drivers/gpio/Kconfig | 11 ++
> drivers/gpio/Makefile | 1 +
> drivers/gpio/gpio-sn54hc595.c | 219 +++++++++++++++++++++
The '595 is already handled by drivers/gpio/gpio-74x164.c.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2014-12-08 14:41 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-08 14:27 [PATCH] gpio: sn54hc595: new driver for GPIO shift registers chipsets Rafał Miłecki
2014-12-08 14:41 ` Geert Uytterhoeven [this message]
2014-12-08 14:47 ` Rafał Miłecki
2014-12-08 15:03 ` Geert Uytterhoeven
2014-12-08 15:23 ` Rafał Miłecki
2014-12-08 15:41 ` Arnd Bergmann
2014-12-08 16:31 ` Rafał Miłecki
2014-12-08 16:56 ` Arnd Bergmann
2014-12-09 9:09 ` Maxime Ripard
2014-12-08 16:59 ` Geert Uytterhoeven
2014-12-09 9:12 ` Maxime Ripard
2014-12-11 10:36 ` Rafał Miłecki
2014-12-11 11:03 ` Geert Uytterhoeven
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=CAMuHMdUMDCeAt5oXtbJSRrw2ES36Szj5KuXEyyeMRS26i1Y97w@mail.gmail.com \
--to=geert@linux-m68k.org \
--cc=devicetree@vger.kernel.org \
--cc=gnurou@gmail.com \
--cc=hauke@hauke-m.de \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=zajec5@gmail.com \
/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).