On 04.08.2012 13:12, Mark Brown wrote: > On Wed, Aug 01, 2012 at 10:57:17PM +0200, Daniel Mack wrote: >> The spi-gpio driver currently assumes the chipselect gpio number is >> stored in ->controller_data of the device's static board information. > > Applied both, thanks. It's a bit sad that we need an explict property > for num-chipselects though. >
We don't need that, and a patch to change it would be trivial. IIRC, there was just no agreement on deriving that information implicitly via the count of given GPIOs, and I don't know what should be considered more important - resemblance between drivers bindings or simplicity. We could of course change that for all SPI master drivers at once. Daniel _______________________________________________ devicetree-discuss mailing list [email protected] https://lists.ozlabs.org/listinfo/devicetree-discuss
