[U-Boot] [PATCH 2/3] LaCie/common: add support for the GPIO extension bus

Simon Guinot simon.guinot at sequanux.org
Tue Jun 18 12:28:53 CEST 2013


On Mon, Jun 17, 2013 at 11:53:53PM -0700, Prafulla Wadaskar wrote:
> 
> 
> > -----Original Message-----
> > From: Simon Guinot [mailto:simon.guinot at sequanux.org]
> > Sent: 18 June 2013 02:28
> > To: Prafulla Wadaskar
> > Cc: Albert ARIBAUD; u-boot at lists.denx.de
> > Subject: [PATCH 2/3] LaCie/common: add support for the
> > GPIO extension bus
> > 
> > This patch adds support for the GPIO extension bus
> > found on some LaCie
> > boards (as the 2Big/5Big Network v2 and the 2Big NAS).
> > This bus allows
> > to configure the devices (mostly the LEDs) connected to
> > a CPLD via two
> > GPIO-based registers (address and data).
> 
> Hi Simon

Hi Prafulla,

Thanks for your quick answer.

> The name given here for the patch as well as files "gpio-ext" is confusing for me.
> 
> As you stated here those are the IOs generated by CPLD on your board which can be programmed using bit-banging on two GPIOs.

Not really bit-banging. Here we have 3 GPIOs used as a kind of address
register and 3 other GPIOs used as a kind of data register. An another
GPIO is used to notify the CPLD than the registers have been updated.
I will update the patch description to make clear that a register may
include several GPIOs.

At LaCie, this kind of bus is called a "GPIO extension bus". It is like
a cheap GPIO expander.

> 
> So to me it those are "cpld_ios".

I am not sure that behind this kind of bus we always have a CPLD. I will
check this. If it is the case, what do you think about cpld-gpio-bus ?

Moreover as this "bus" is really a lacie specific stuff, should I
prepend a "lacie-" prefix ?

Regards,

Simon

> 
> May you please rename these files accordingly and resend the patch series for better understanding?
> 
> To me "gpio-ext" is generic term application for "General purpose IOs"
> 
> Regards...
> Prafulla . . .
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130618/5b026a30/attachment.pgp>


More information about the U-Boot mailing list