[PATCH V2 1/2] mmc: sdhci-spear: add device tree bindings
Chris Ball
cjb at laptop.org
Fri Sep 28 20:58:15 EST 2012
Hi,
On Fri, Sep 28 2012, Viresh Kumar wrote:
> This adds simple DT bindings for SDHCI SPEAr controller. It uses cd-gpios from
> common mmc bindings.
>
> This also fixes spear300-evb.dts with correct name for card detect binding.
>
> Signed-off-by: Viresh Kumar <viresh.kumar at linaro.org>
> ---
> V1->V2:
> - Use cd-gpios instead of int-gpio as binding for card detect gpio.
> - Fix spear300-evb.dts binding name for cd-gpios
> - Removed power-gpio from DT bindings and code, must be handled via regulators
>
> .../devicetree/bindings/mmc/sdhci-spear.txt | 18 +++++++
> arch/arm/boot/dts/spear300-evb.dts | 3 +-
> arch/arm/boot/dts/spear320-evb.dts | 2 -
> drivers/mmc/host/sdhci-spear.c | 57 +++++++++++++++++++++-
> 4 files changed, 74 insertions(+), 6 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/mmc/sdhci-spear.txt
Thanks, pushed to mmc-next for 3.7.
It might be possible to remove sdhci-spear.c in the future -- all it's
doing at the moment is the card_power_gpio handling (which should be a
regulator) and cd-gpio handling (which can be done by core/slot-gpio.c).
So perhaps sdhci-pltfm can handle SPEAr hosts directly, once we move the
platdata users away from card_power_gpio.
- Chris.
--
Chris Ball <cjb at laptop.org> <http://printf.net/>
One Laptop Per Child
More information about the devicetree-discuss
mailing list