[U-Boot] [PATCH v2 6/6] mmc: arm_pl180_mmci: Add "cd_inverted" DT property read

Tuomas Tynkkynen tuomas.tynkkynen at iki.fi
Tue Jul 24 11:22:59 UTC 2018


Hi Patrice,


On 07/24/2018 12:39 PM, Patrice Chotard wrote:
> Add missing read of "cd_inverted" property in DT.
> 

If your platform uses GPIOs for card detection, it's
simpler and more readable to use GPIO_ACTIVE_(LOW|HIGH)
in the gpio flags instead of using the cd-inverted
property. See Linux commit 45e01f401a2a16a8d7 where this
was done for sunxi). Then this commit isn't needed.

- Tuomas


More information about the U-Boot mailing list