On 02/14/2013 05:02 PM, Linus Walleij wrote: > On Thu, Feb 14, 2013 at 6:05 PM, Doug Anderson <[email protected]> wrote: ... >> One argument for keeping "cd-inverted" too is >> for controllers that don't use a GPIO for card detect. >> In this case >> you could imagine a MMC controller that has a "card detect" on >> special-purpose pin and accessible via a status register. > > This is actually the case with Integrator/CP and Versatile/AB.
In this case, I assume that the driver for the HW has custom code to read the MMC controller's CD register bit, and hence it knows whether the HW inverts it, and hence we don't need a property in DT to say so; the driver will simply read the bit, invert it, and return it all transparently? After all, the inversion isn't board-specific but IP block specific. _______________________________________________ devicetree-discuss mailing list [email protected] https://lists.ozlabs.org/listinfo/devicetree-discuss
