[PATCH 1/6] spi: imx: specify spi base for device tree probe
Steffen Trumtrar
s.trumtrar at pengutronix.de
Sat Nov 10 06:00:15 EST 2012
On Fri, Nov 09, 2012 at 04:38:30PM +0000, Mark Brown wrote:
> On Fri, Nov 09, 2012 at 03:00:20PM +0100, Steffen Trumtrar wrote:
>
> > * This breaks compatibility with user space applications between non-DT and DT.
>
> > * On platforms that are in between DT and non-DT, it breaks registration of
> > devices via spi_board_info.
>
> > Use the same method as 7e6086d9e54a159a6257c02bb7fc5805c614aad2 does for gpios:
> > Use alias to identify the spi port, and then specify the base via the port id.
> > If alias is not defined in DT, allocate the base dynamically.
>
> This sounds like a fix userspace and/or complete your DT conversion
> problem...
Well, it may lead to problems in userspace and does lead to problems with an
incomplete DT support, but there are only so many hours in a day...
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the devicetree-discuss
mailing list