Thread (13 messages) 13 messages, 4 authors, 2014-09-08

Re: [PATCH 1/2] gpio: Add driver for AXM55xx SSP chip selects

From: Anders Berg <hidden>
Date: 2014-09-08 11:02:45
Also in: linux-arm-kernel, linux-gpio, linux-spi, lkml

On Sat, Sep 6, 2014 at 3:53 PM, Mark Brown [off-list ref] wrote:
On Fri, Sep 05, 2014 at 11:05:37AM +0200, Anders Berg wrote:
quoted
Well, the problem with adding this to the spi-pl022 driver (as a
vendor specific extension) is that this IP block unfortunately isn't
distinguishable from the standard ARM PL022 implementation (same
values in the PrimeCell identification registers). That's why I went
down the GPIO path...
Would it not be more straightforward to just register it as a platform
device in this case, or use a separate OF ID in the DT?  We appear to
specify a compatible string when registering AMBA devices even if we are
capable of identifying using the ID registers.
I'll drop this gpio patch for now and submit a patch on the pl022
driver instead. I read the arm,primecell binding and learned that
there is a property (arm,primecell-periphid) that can be used to
override the HW PrimeCell ID. Seems like something to use here, right?

/Anders
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help