[PATCH RESEND v4] spi/pl022: add devicetree support
Roland Stigge
stigge at antcom.de
Mon Aug 20 22:58:12 EST 2012
Hi all,
On 08/20/2012 01:39 PM, Alexandre Pereira da Silva wrote:
> Add the chipselect array and cur_cs properties to pl022 main structure
>
> Add a wrapper function to decide if the cs should be controlled by the
> cs_control callback or the chipselect gpio
>
> Populate chipselect property from cs-gpios
>
> Populate master->dev.of_node, so the spi bus can find child spi
> devices and register them
>
> At pl022 setup, fill chip_data structure from dt nodes, if not provided
> by platform.
>
> Signed-off-by: Alexandre Pereira da Silva <aletes.xgr at gmail.com>
> Acked-by: Roland Stigge <stigge at antcom.de>
We somehow missed 3.6 with this one. Would be nice to have it in 3.7 now
since it's useful for mach-lpc32xx when it's available.
If there are any open issues, I can assist Alexandre on this patch.
Thanks in advance,
Roland
More information about the devicetree-discuss
mailing list