Re: [PATCH V2 1/2] mmc: sdhci-spear: add device tree bindings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
> ---
> 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@xxxxxxxxxx>   <http://printf.net/>
One Laptop Per Child
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux