* AT91: SPI: On implementing peripheral chip select decoding
@ 2011-05-15 13:56 Christian Gagneraud
2011-05-16 12:44 ` Jean-Christophe PLAGNIOL-VILLARD
0 siblings, 1 reply; 2+ messages in thread
From: Christian Gagneraud @ 2011-05-15 13:56 UTC (permalink / raw)
To: linux-arm-kernel
Hi there,
The AT91SAM9G20 SPI controller (and possibly other SAM9 or other SoC)
has the ability to work with CS decoding, thus allowing up to 15
peripherals with only 4 CS lines (CS[0:3]=0xF meaning no peripheral
selected).
I would like to know if anyone has experimented with this feature, or if
anyone has advices/ideas on how to add support for this feature in the
linux kernel.
Before starting to work on this, I would like to know if this feature is
common on other platforms or if it's AT91 specific.
In the former case, it might be wise to include it in the SPI subsystem,
and in the latter case keep it inside AT91 code.
Chris
^ permalink raw reply [flat|nested] 2+ messages in thread
* AT91: SPI: On implementing peripheral chip select decoding
2011-05-15 13:56 AT91: SPI: On implementing peripheral chip select decoding Christian Gagneraud
@ 2011-05-16 12:44 ` Jean-Christophe PLAGNIOL-VILLARD
0 siblings, 0 replies; 2+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2011-05-16 12:44 UTC (permalink / raw)
To: linux-arm-kernel
On 14:56 Sun 15 May , Christian Gagneraud wrote:
> Hi there,
>
> The AT91SAM9G20 SPI controller (and possibly other SAM9 or other
> SoC) has the ability to work with CS decoding, thus allowing up to
> 15 peripherals with only 4 CS lines (CS[0:3]=0xF meaning no
> peripheral selected).
> I would like to know if anyone has experimented with this feature,
> or if anyone has advices/ideas on how to add support for this
> feature in the linux kernel.
As far as I remenber all at91 and avr32 have this
>
> Before starting to work on this, I would like to know if this
> feature is common on other platforms or if it's AT91 specific.
> In the former case, it might be wise to include it in the SPI
> subsystem, and in the latter case keep it inside AT91 code.
Make it generic is always good but this can be extended to external Cs
extender as you can use any gpio to manage the Cs or a gpio extender on i2c
Best Regards,
J.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-05-16 12:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-15 13:56 AT91: SPI: On implementing peripheral chip select decoding Christian Gagneraud
2011-05-16 12:44 ` Jean-Christophe PLAGNIOL-VILLARD
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).