Message ID | 20170822133907.21549-1-kishon@ti.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
* Kishon Vijay Abraham I <kishon@ti.com> [170822 06:39]: > Add binding for the TI's sdhci-omap controller. This now includes only > a subset of properties documented in ti-omap-hsmmc.txt but will eventually > include all the properties. > > Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> > --- > Changes from v1: > *) Create a new sdhci-omap.txt document for TI's sdhci-omap controller instead > of using the ti-omap-hsmmc.txt as suggested by Tony Works for me thanks, just one typo below.. > .../devicetree/bindings/mmc/sdhci-omap.txt | 22 ++++++++++++++++++++++ > 1 file changed, 22 insertions(+) > create mode 100644 Documentation/devicetree/bindings/mmc/sdhci-omap.txt > > diff --git a/Documentation/devicetree/bindings/mmc/sdhci-omap.txt b/Documentation/devicetree/bindings/mmc/sdhci-omap.txt > new file mode 100644 > index 000000000000..139695ad2d58 > --- /dev/null > +++ b/Documentation/devicetree/bindings/mmc/sdhci-omap.txt > @@ -0,0 +1,22 @@ > +* TI OMAP SDHCI Controller > + > +Refer to mmc.txt for standard MMC bindings. > + > +Required properties: > +- compatible: Should be "ti,dra7-sdhci" for DRA7 and DRA72 controllers > +- ti,hwmods: Must be "mmc<n>", <n> is controller instance starting 1 > + > +Optional properties: > +- ti,dual-volt: boolean, supports dual voltage cards > +- ti,non-removable: non-removable slot (like eMMC) > + > +Example: > + mmc1: mmc@0x4809c000 { > + compatible = "ti,omap4-hsmmc"; The compatible in the example here is still using hsmmc :) Tony -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/Documentation/devicetree/bindings/mmc/sdhci-omap.txt b/Documentation/devicetree/bindings/mmc/sdhci-omap.txt new file mode 100644 index 000000000000..139695ad2d58 --- /dev/null +++ b/Documentation/devicetree/bindings/mmc/sdhci-omap.txt @@ -0,0 +1,22 @@ +* TI OMAP SDHCI Controller + +Refer to mmc.txt for standard MMC bindings. + +Required properties: +- compatible: Should be "ti,dra7-sdhci" for DRA7 and DRA72 controllers +- ti,hwmods: Must be "mmc<n>", <n> is controller instance starting 1 + +Optional properties: +- ti,dual-volt: boolean, supports dual voltage cards +- ti,non-removable: non-removable slot (like eMMC) + +Example: + mmc1: mmc@0x4809c000 { + compatible = "ti,omap4-hsmmc"; + reg = <0x4809c000 0x400>; + ti,hwmods = "mmc1"; + ti,dual-volt; + bus-width = <4>; + vmmc-supply = <&vmmc>; /* phandle to regulator node */ + ti,non-removable; + };
Add binding for the TI's sdhci-omap controller. This now includes only a subset of properties documented in ti-omap-hsmmc.txt but will eventually include all the properties. Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> --- Changes from v1: *) Create a new sdhci-omap.txt document for TI's sdhci-omap controller instead of using the ti-omap-hsmmc.txt as suggested by Tony .../devicetree/bindings/mmc/sdhci-omap.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/mmc/sdhci-omap.txt