From: Florian Fainelli <florian@openwrt.org>
To: Bastien ROUCARIES <roucaries.bastien@gmail.com>,
Juhos Gabor <juhosg@openwrt.org>
Cc: Willy Tarreau <w@1wt.eu>,
linux-kernel@vger.kernel.org, akpm@linux-foundation.org,
Samuel Ortiz <sameo@linux.intel.com>,
Miguel Gaio <miguel.gaio@efixo.com>
Subject: Re: [PATCH v5] GPIO: add support for 74x164 serial-in/parallel-out 8-bit shift register
Date: Wed, 20 Oct 2010 19:06:40 +0200 [thread overview]
Message-ID: <201010201906.41047.florian@openwrt.org> (raw)
In-Reply-To: <AANLkTi=zj0Bns6eo40ksr52YKScarVvhMPNpxdT=Fjp7@mail.gmail.com>
On Wednesday 20 October 2010 14:51:42 Bastien ROUCARIES wrote:
> On Mon, Oct 18, 2010 at 9:35 PM, Florian Fainelli <florian@openwrt.org>
wrote:
> > From: Miguel Gaio <miguel.gaio@efixo.com>
> >
> > This patch adds support for generic 74x164 serial-in/parallel-out 8-bits
> > shift register. This driver can be used as a GPIO output expander.
>
> Could you add some documentation ? how to wire it both in soft and hard
> part?
This is just an example of course, and I will add a subsequent patch adding an
entry for it in Documentation/
static struct spi_board_info board_spi_devices[] = {
{
.modalias = "74x164",
.max_speed_hz = 781000,
.bus_num = 1,
.controller_data = (void *) SPI_GPIO_NO_CHIPSELECT,
.mode = SPI_MODE_0,
.platform_data = &nb4_74x164_platform_data
}
};
and then registering your board_spi_devices with:
spi_register_board_info(board_spi_devices, ARRAY_SIZE(board_spi_devices);
--
Florian
prev parent reply other threads:[~2010-10-20 17:05 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-18 19:35 [PATCH v5] GPIO: add support for 74x164 serial-in/parallel-out 8-bit shift register Florian Fainelli
2010-10-19 7:26 ` Miguel Ojeda
2010-10-19 23:00 ` Andrew Morton
2010-10-20 7:52 ` Miguel Ojeda
2010-10-20 8:17 ` Miguel Ojeda
2010-10-20 12:42 ` Florian Fainelli
2010-10-20 13:26 ` Miguel Ojeda
2010-10-20 14:28 ` David Brownell
2010-10-20 12:51 ` Bastien ROUCARIES
2010-10-20 17:06 ` Florian Fainelli [this message]
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=201010201906.41047.florian@openwrt.org \
--to=florian@openwrt.org \
--cc=akpm@linux-foundation.org \
--cc=juhosg@openwrt.org \
--cc=linux-kernel@vger.kernel.org \
--cc=miguel.gaio@efixo.com \
--cc=roucaries.bastien@gmail.com \
--cc=sameo@linux.intel.com \
--cc=w@1wt.eu \
/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