[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140906135308.GC2601@sirena.org.uk>
Date: Sat, 6 Sep 2014 14:53:08 +0100
From: Mark Brown <broonie@...nel.org>
To: Anders Berg <anders.berg@...gotech.com>
Cc: Linus Walleij <linus.walleij@...aro.org>,
"linux-spi@...r.kernel.org" <linux-spi@...r.kernel.org>,
Alexandre Courbot <gnurou@...il.com>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"linux-gpio@...r.kernel.org" <linux-gpio@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/2] gpio: Add driver for AXM55xx SSP chip selects
On Fri, Sep 05, 2014 at 11:05:37AM +0200, Anders Berg wrote:
> 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.
Download attachment "signature.asc" of type "application/pgp-signature" (474 bytes)
Powered by blists - more mailing lists