* [PATCH v2 1/2] dt-bindings: mmc: add DT bindings for Milbeaut SD controller
@ 2019-05-30 9:22 Takao Orito
2019-06-24 2:09 ` orito.takao
2019-07-08 21:26 ` Rob Herring
0 siblings, 2 replies; 4+ messages in thread
From: Takao Orito @ 2019-05-30 9:22 UTC (permalink / raw)
To: ulf.hansson, robh+dt, mark.rutland
Cc: linux-mmc, devicetree, linux-kernel, masami.hiramatsu,
jaswinder.singh, sugaya.taichi, kasai.kazuhiro, kanematsu.shinji,
orito.takao
Add the device-tree binding documentation for Milbeaut SDHCI driver.
Signed-off-by: Takao Orito <orito.takao@socionext.com>
---
.../devicetree/bindings/mmc/sdhci-milbeaut.txt | 32 ++++++++++++++++++++++
1 file changed, 32 insertions(+)
create mode 100644 Documentation/devicetree/bindings/mmc/sdhci-milbeaut.txt
diff --git a/Documentation/devicetree/bindings/mmc/sdhci-milbeaut.txt b/Documentation/devicetree/bindings/mmc/sdhci-milbeaut.txt
new file mode 100644
index 0000000..6063116
--- /dev/null
+++ b/Documentation/devicetree/bindings/mmc/sdhci-milbeaut.txt
@@ -0,0 +1,32 @@
+* SOCIONEXT Milbeaut SDHCI controller
+
+This file documents differences between the core properties in mmc.txt
+and the properties used by the sdhci_milbeaut driver.
+
+Required properties:
+- compatible: "socionext,milbeaut-m10v-sdhci-3.0"
+- clocks: Must contain an entry for each entry in clock-names. It is a
+ list of phandles and clock-specifier pairs.
+ See ../clocks/clock-bindings.txt for details.
+- clock-names: Should contain the following two entries:
+ "iface" - clock used for sdhci interface
+ "core" - core clock for sdhci controller
+- vmmc-supply: a phandle of a fixed GPIO regulator
+
+Optional properties:
+- fujitsu,cmd-dat-delay-select: boolean property indicating that this host
+ requires the CMD_DAT_DELAY control to be enabled.
+
+Example:
+ sdhci3: mmc@1b010000 {
+ compatible = "socionext,milbeaut-m10v-sdhci-3.0";
+ reg = <0x1b010000 0x10000>;
+ interrupts = <0 265 0x4>;
+ voltage-ranges = <3300 3300>;
+ bus-width = <4>;
+ clocks = <&clk 7>, <&ahb_clk>;
+ clock-names = "core", "iface";
+ cap-sdio-irq;
+ vmmc-supply = <&vcc_sdhci3>;
+ fujitsu,cmd-dat-delay-select;
+ };
--
1.9.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v2 1/2] dt-bindings: mmc: add DT bindings for Milbeaut SD controller
2019-05-30 9:22 [PATCH v2 1/2] dt-bindings: mmc: add DT bindings for Milbeaut SD controller Takao Orito
@ 2019-06-24 2:09 ` orito.takao
2019-07-08 21:26 ` Rob Herring
1 sibling, 0 replies; 4+ messages in thread
From: orito.takao @ 2019-06-24 2:09 UTC (permalink / raw)
To: ulf.hansson, robh+dt, mark.rutland
Cc: linux-mmc, devicetree, linux-kernel, masami.hiramatsu,
jaswinder.singh, sugaya.taichi, kasai.kazuhiro, kanematsu.shinji
Hello
Does anyone have any comments on this ?
> Add the device-tree binding documentation for Milbeaut SDHCI driver.
>
> Signed-off-by: Takao Orito <orito.takao@socionext.com>
> ---
> .../devicetree/bindings/mmc/sdhci-milbeaut.txt | 32 ++++++++++++++++++++++
> 1 file changed, 32 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/mmc/sdhci-milbeaut.txt
>
> diff --git a/Documentation/devicetree/bindings/mmc/sdhci-milbeaut.txt b/Documentation/devicetree/bindings/mmc/sdhci-milbeaut.txt
> new file mode 100644
> index 0000000..6063116
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/mmc/sdhci-milbeaut.txt
> @@ -0,0 +1,32 @@
> +* SOCIONEXT Milbeaut SDHCI controller
> +
> +This file documents differences between the core properties in mmc.txt
> +and the properties used by the sdhci_milbeaut driver.
> +
> +Required properties:
> +- compatible: "socionext,milbeaut-m10v-sdhci-3.0"
> +- clocks: Must contain an entry for each entry in clock-names. It is a
> + list of phandles and clock-specifier pairs.
> + See ../clocks/clock-bindings.txt for details.
> +- clock-names: Should contain the following two entries:
> + "iface" - clock used for sdhci interface
> + "core" - core clock for sdhci controller
> +- vmmc-supply: a phandle of a fixed GPIO regulator
> +
> +Optional properties:
> +- fujitsu,cmd-dat-delay-select: boolean property indicating that this host
> + requires the CMD_DAT_DELAY control to be enabled.
> +
> +Example:
> + sdhci3: mmc@1b010000 {
> + compatible = "socionext,milbeaut-m10v-sdhci-3.0";
> + reg = <0x1b010000 0x10000>;
> + interrupts = <0 265 0x4>;
> + voltage-ranges = <3300 3300>;
> + bus-width = <4>;
> + clocks = <&clk 7>, <&ahb_clk>;
> + clock-names = "core", "iface";
> + cap-sdio-irq;
> + vmmc-supply = <&vcc_sdhci3>;
> + fujitsu,cmd-dat-delay-select;
> + };
> --
> 1.9.1
>
Thanks
Orito
--
Takao Orito <orito.takao@socionext.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v2 1/2] dt-bindings: mmc: add DT bindings for Milbeaut SD controller
2019-05-30 9:22 [PATCH v2 1/2] dt-bindings: mmc: add DT bindings for Milbeaut SD controller Takao Orito
2019-06-24 2:09 ` orito.takao
@ 2019-07-08 21:26 ` Rob Herring
2019-07-11 1:28 ` orito.takao
1 sibling, 1 reply; 4+ messages in thread
From: Rob Herring @ 2019-07-08 21:26 UTC (permalink / raw)
To: Takao Orito
Cc: ulf.hansson, mark.rutland, linux-mmc, devicetree, linux-kernel,
masami.hiramatsu, jaswinder.singh, sugaya.taichi, kasai.kazuhiro,
kanematsu.shinji
On Thu, May 30, 2019 at 06:22:11PM +0900, Takao Orito wrote:
> Add the device-tree binding documentation for Milbeaut SDHCI driver.
>
> Signed-off-by: Takao Orito <orito.takao@socionext.com>
> ---
> .../devicetree/bindings/mmc/sdhci-milbeaut.txt | 32 ++++++++++++++++++++++
> 1 file changed, 32 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/mmc/sdhci-milbeaut.txt
>
> diff --git a/Documentation/devicetree/bindings/mmc/sdhci-milbeaut.txt b/Documentation/devicetree/bindings/mmc/sdhci-milbeaut.txt
> new file mode 100644
> index 0000000..6063116
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/mmc/sdhci-milbeaut.txt
> @@ -0,0 +1,32 @@
> +* SOCIONEXT Milbeaut SDHCI controller
> +
> +This file documents differences between the core properties in mmc.txt
> +and the properties used by the sdhci_milbeaut driver.
> +
> +Required properties:
> +- compatible: "socionext,milbeaut-m10v-sdhci-3.0"
> +- clocks: Must contain an entry for each entry in clock-names. It is a
> + list of phandles and clock-specifier pairs.
> + See ../clocks/clock-bindings.txt for details.
> +- clock-names: Should contain the following two entries:
> + "iface" - clock used for sdhci interface
> + "core" - core clock for sdhci controller
> +- vmmc-supply: a phandle of a fixed GPIO regulator
Being a fixed GPIO regulator is board specific and outside the scope of
the binding. Otherwise,
Reviewed-by: Rob Herring <robh@kernel.org>
> +
> +Optional properties:
> +- fujitsu,cmd-dat-delay-select: boolean property indicating that this host
> + requires the CMD_DAT_DELAY control to be enabled.
> +
> +Example:
> + sdhci3: mmc@1b010000 {
> + compatible = "socionext,milbeaut-m10v-sdhci-3.0";
> + reg = <0x1b010000 0x10000>;
> + interrupts = <0 265 0x4>;
> + voltage-ranges = <3300 3300>;
> + bus-width = <4>;
> + clocks = <&clk 7>, <&ahb_clk>;
> + clock-names = "core", "iface";
> + cap-sdio-irq;
> + vmmc-supply = <&vcc_sdhci3>;
> + fujitsu,cmd-dat-delay-select;
> + };
> --
> 1.9.1
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v2 1/2] dt-bindings: mmc: add DT bindings for Milbeaut SD controller
2019-07-08 21:26 ` Rob Herring
@ 2019-07-11 1:28 ` orito.takao
0 siblings, 0 replies; 4+ messages in thread
From: orito.takao @ 2019-07-11 1:28 UTC (permalink / raw)
To: robh
Cc: ulf.hansson, mark.rutland, linux-mmc, devicetree, linux-kernel,
masami.hiramatsu, jaswinder.singh, sugaya.taichi, kasai.kazuhiro,
kanematsu.shinji
Thanks for checking my patch.
> On Thu, May 30, 2019 at 06:22:11PM +0900, Takao Orito wrote:
> > Add the device-tree binding documentation for Milbeaut SDHCI driver.
> >
> > Signed-off-by: Takao Orito <orito.takao@socionext.com>
> > ---
> > .../devicetree/bindings/mmc/sdhci-milbeaut.txt | 32 ++++++++++++++++++++++
> > 1 file changed, 32 insertions(+)
> > create mode 100644 Documentation/devicetree/bindings/mmc/sdhci-milbeaut.txt
> >
> > diff --git a/Documentation/devicetree/bindings/mmc/sdhci-milbeaut.txt b/Documentation/devicetree/bindings/mmc/sdhci-milbeaut.txt
> > new file mode 100644
> > index 0000000..6063116
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/mmc/sdhci-milbeaut.txt
> > @@ -0,0 +1,32 @@
> > +* SOCIONEXT Milbeaut SDHCI controller
> > +
> > +This file documents differences between the core properties in mmc.txt
> > +and the properties used by the sdhci_milbeaut driver.
> > +
> > +Required properties:
> > +- compatible: "socionext,milbeaut-m10v-sdhci-3.0"
> > +- clocks: Must contain an entry for each entry in clock-names. It is a
> > + list of phandles and clock-specifier pairs.
> > + See ../clocks/clock-bindings.txt for details.
> > +- clock-names: Should contain the following two entries:
> > + "iface" - clock used for sdhci interface
> > + "core" - core clock for sdhci controller
> > +- vmmc-supply: a phandle of a fixed GPIO regulator
>
> Being a fixed GPIO regulator is board specific and outside the scope of
> the binding. Otherwise,
>
> Reviewed-by: Rob Herring <robh@kernel.org>
I see. I will remove vmmc-supply and send new patch.
Thanks
Orito
>
> > +
> > +Optional properties:
> > +- fujitsu,cmd-dat-delay-select: boolean property indicating that this host
> > + requires the CMD_DAT_DELAY control to be enabled.
> > +
> > +Example:
> > + sdhci3: mmc@1b010000 {
> > + compatible = "socionext,milbeaut-m10v-sdhci-3.0";
> > + reg = <0x1b010000 0x10000>;
> > + interrupts = <0 265 0x4>;
> > + voltage-ranges = <3300 3300>;
> > + bus-width = <4>;
> > + clocks = <&clk 7>, <&ahb_clk>;
> > + clock-names = "core", "iface";
> > + cap-sdio-irq;
> > + vmmc-supply = <&vcc_sdhci3>;
> > + fujitsu,cmd-dat-delay-select;
> > + };
> > --
> > 1.9.1
> >
> >
--
Takao Orito <orito.takao@socionext.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-07-11 1:28 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-30 9:22 [PATCH v2 1/2] dt-bindings: mmc: add DT bindings for Milbeaut SD controller Takao Orito
2019-06-24 2:09 ` orito.takao
2019-07-08 21:26 ` Rob Herring
2019-07-11 1:28 ` orito.takao
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).