From: Jaehoon Chung <jh80.chung@samsung.com>
To: "Andreas Färber" <afaerber@suse.de>,
"Jaehoon Chung" <jh80.chung@samsung.com>,
linux-mmc <linux-mmc@vger.kernel.org>
Cc: Chris Ball <chris@printf.net>,
Ulf Hansson <ulf.hansson@linaro.org>,
tgih.jun@samsung.com, devicetree@vger.kernel.org,
heiko@sntech.de, dinguyen@altera.com,
Mark Rutland <mark.rutland@arm.com>,
kgene.kim@samsung.com, linux-samsung-soc@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCHv6 1/5] mmc: dw_mmc: modify the dt-binding for removing slot-node and supports-highspeed
Date: Mon, 28 Jul 2014 11:11:17 +0900 [thread overview]
Message-ID: <53D5B145.6020807@samsung.com> (raw)
In-Reply-To: <53D24988.9010208@suse.de>
Hi, Andreas,
On 07/25/2014 09:11 PM, Andreas Färber wrote:
> Hi Jaehoon,
>
> Am 25.07.2014 03:11, schrieb Jaehoon Chung:
>> Almost Soc is used the slot per a host.
>
> Something's very wrong with this sentence. What are you trying to say?
> Almost all SoCs use one slot only per host controller device?
If you are confusion for this sentence, sorry.
It means that we recommend only one slot per host controller.
Some controller can be supported the multiple slot per a host controller.
But i didn't find anywhere it used the multiple slot per a host controller.
Best Regards,
Jaehoon Chung
>
>> Don't use the slot-node and deprecated the "supports-highsped" property.
>
> s/deprecated/deprecate/ ?
> s/highsped/highspeed/
>
>> Instead, use the cap-mmc/sd-highspeed.
>>
>> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
>> Reviewed-by: Tushar Behera <trblinux@gmail.com>
>> Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
>> Tested-by: Sachin Kamat <sachin.kamat@samsung.com>
>> Acked-by: Seungwon Jeon <tgih.jun@samsung.com>
>> ---
>> .../devicetree/bindings/mmc/exynos-dw-mshc.txt | 17 +++++------------
>> .../devicetree/bindings/mmc/k3-dw-mshc.txt | 12 +++++-------
>> .../devicetree/bindings/mmc/synopsys-dw-mshc.txt | 12 +++++-------
>> 3 files changed, 15 insertions(+), 26 deletions(-)
>>
>> diff --git a/Documentation/devicetree/bindings/mmc/exynos-dw-mshc.txt b/Documentation/devicetree/bindings/mmc/exynos-dw-mshc.txt
>> index 532b1d4..9308325 100644
>> --- a/Documentation/devicetree/bindings/mmc/exynos-dw-mshc.txt
>> +++ b/Documentation/devicetree/bindings/mmc/exynos-dw-mshc.txt
>> @@ -46,13 +46,14 @@ Required Properties:
>> - if CIU clock divider value is 0 (that is divide by 1), both tx and rx
>> phase shift clocks should be 0.
>>
>> -Required properties for a slot:
>> +Required properties for a slot (Deprecated - Recommend to use one slot per a host):
>
> "per host"
>
>>
>> * gpios: specifies a list of gpios used for command, clock and data bus. The
>> first gpio is the command line and the second gpio is the clock line. The
>> rest of the gpios (depending on the bus-width property) are the data lines in
>> no particular order. The format of the gpio specifier depends on the gpio
>> controller.
>> + (Deprecated - Refer to Documentaion/devicetree/binding/pinctrl/samsung-pinctrl.txt)
>
> "Documentation/"
>
> Nit: Is the indentation intentional? (parenthesis not aligned with text)
>
>>
>> Example:
>>
>> @@ -69,21 +70,13 @@ Example:
>>
>> dwmmc0@12200000 {
>> num-slots = <1>;
>> - supports-highspeed;
>> + cap-mmc-highspeed;
>> + cap-sd-highspeed;
>> broken-cd;
>> fifo-depth = <0x80>;
>> card-detect-delay = <200>;
>> samsung,dw-mshc-ciu-div = <3>;
>> samsung,dw-mshc-sdr-timing = <2 3>;
>> samsung,dw-mshc-ddr-timing = <1 2>;
>> -
>> - slot@0 {
>> - reg = <0>;
>> - bus-width = <8>;
>> - gpios = <&gpc0 0 2 0 3>, <&gpc0 1 2 0 3>,
>> - <&gpc1 0 2 3 3>, <&gpc1 1 2 3 3>,
>> - <&gpc1 2 2 3 3>, <&gpc1 3 2 3 3>,
>> - <&gpc0 3 2 3 3>, <&gpc0 4 2 3 3>,
>> - <&gpc0 5 2 3 3>, <&gpc0 6 2 3 3>;
>> - };
>> + bus-width = <8>;
>> };
>> diff --git a/Documentation/devicetree/bindings/mmc/k3-dw-mshc.txt b/Documentation/devicetree/bindings/mmc/k3-dw-mshc.txt
>> index e5bc49f..3b35449 100644
>> --- a/Documentation/devicetree/bindings/mmc/k3-dw-mshc.txt
>> +++ b/Documentation/devicetree/bindings/mmc/k3-dw-mshc.txt
>> @@ -34,13 +34,11 @@ Example:
>> num-slots = <1>;
>> vmmc-supply = <&ldo12>;
>> fifo-depth = <0x100>;
>> - supports-highspeed;
>> pinctrl-names = "default";
>> pinctrl-0 = <&sd_pmx_pins &sd_cfg_func1 &sd_cfg_func2>;
>> - slot@0 {
>> - reg = <0>;
>> - bus-width = <4>;
>> - disable-wp;
>> - cd-gpios = <&gpio10 3 0>;
>> - };
>> + bus-width = <4>;
>> + disable-wp;
>> + cd-gpios = <&gpio10 3 0>;
>> + cap-mmc-highspeed;
>> + cap-sd-highspeed;
>> };
>> diff --git a/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt b/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt
>> index 2d4a725..346c609 100644
>> --- a/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt
>> +++ b/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt
>> @@ -67,7 +67,8 @@ Optional properties:
>> * card-detect-delay: Delay in milli-seconds before detecting card after card
>> insert event. The default value is 0.
>>
>> -* supports-highspeed: Enables support for high speed cards (up to 50MHz)
>> +* supports-highspeed (DEPRECATED): Enables support for high speed cards (up to 50MHz)
>> + (use "cap-mmc-highspeed" or "cap-sd-highspeed" instead)
>>
>> * broken-cd: as documented in mmc core bindings.
>>
>> @@ -98,14 +99,11 @@ board specific portions as listed below.
>> clock-frequency = <400000000>;
>> clock-freq-min-max = <400000 200000000>;
>> num-slots = <1>;
>> - supports-highspeed;
>> broken-cd;
>> fifo-depth = <0x80>;
>> card-detect-delay = <200>;
>> vmmc-supply = <&buck8>;
>> -
>> - slot@0 {
>> - reg = <0>;
>> - bus-width = <8>;
>> - };
>> + bus-width = <8>;
>> + cap-mmc-highspeed;
>> + cap-sd-highspeed;
>> };
>
> Regards,
> Andreas
>
WARNING: multiple messages have this Message-ID (diff)
From: jh80.chung@samsung.com (Jaehoon Chung)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCHv6 1/5] mmc: dw_mmc: modify the dt-binding for removing slot-node and supports-highspeed
Date: Mon, 28 Jul 2014 11:11:17 +0900 [thread overview]
Message-ID: <53D5B145.6020807@samsung.com> (raw)
In-Reply-To: <53D24988.9010208@suse.de>
Hi, Andreas,
On 07/25/2014 09:11 PM, Andreas F?rber wrote:
> Hi Jaehoon,
>
> Am 25.07.2014 03:11, schrieb Jaehoon Chung:
>> Almost Soc is used the slot per a host.
>
> Something's very wrong with this sentence. What are you trying to say?
> Almost all SoCs use one slot only per host controller device?
If you are confusion for this sentence, sorry.
It means that we recommend only one slot per host controller.
Some controller can be supported the multiple slot per a host controller.
But i didn't find anywhere it used the multiple slot per a host controller.
Best Regards,
Jaehoon Chung
>
>> Don't use the slot-node and deprecated the "supports-highsped" property.
>
> s/deprecated/deprecate/ ?
> s/highsped/highspeed/
>
>> Instead, use the cap-mmc/sd-highspeed.
>>
>> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
>> Reviewed-by: Tushar Behera <trblinux@gmail.com>
>> Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
>> Tested-by: Sachin Kamat <sachin.kamat@samsung.com>
>> Acked-by: Seungwon Jeon <tgih.jun@samsung.com>
>> ---
>> .../devicetree/bindings/mmc/exynos-dw-mshc.txt | 17 +++++------------
>> .../devicetree/bindings/mmc/k3-dw-mshc.txt | 12 +++++-------
>> .../devicetree/bindings/mmc/synopsys-dw-mshc.txt | 12 +++++-------
>> 3 files changed, 15 insertions(+), 26 deletions(-)
>>
>> diff --git a/Documentation/devicetree/bindings/mmc/exynos-dw-mshc.txt b/Documentation/devicetree/bindings/mmc/exynos-dw-mshc.txt
>> index 532b1d4..9308325 100644
>> --- a/Documentation/devicetree/bindings/mmc/exynos-dw-mshc.txt
>> +++ b/Documentation/devicetree/bindings/mmc/exynos-dw-mshc.txt
>> @@ -46,13 +46,14 @@ Required Properties:
>> - if CIU clock divider value is 0 (that is divide by 1), both tx and rx
>> phase shift clocks should be 0.
>>
>> -Required properties for a slot:
>> +Required properties for a slot (Deprecated - Recommend to use one slot per a host):
>
> "per host"
>
>>
>> * gpios: specifies a list of gpios used for command, clock and data bus. The
>> first gpio is the command line and the second gpio is the clock line. The
>> rest of the gpios (depending on the bus-width property) are the data lines in
>> no particular order. The format of the gpio specifier depends on the gpio
>> controller.
>> + (Deprecated - Refer to Documentaion/devicetree/binding/pinctrl/samsung-pinctrl.txt)
>
> "Documentation/"
>
> Nit: Is the indentation intentional? (parenthesis not aligned with text)
>
>>
>> Example:
>>
>> @@ -69,21 +70,13 @@ Example:
>>
>> dwmmc0 at 12200000 {
>> num-slots = <1>;
>> - supports-highspeed;
>> + cap-mmc-highspeed;
>> + cap-sd-highspeed;
>> broken-cd;
>> fifo-depth = <0x80>;
>> card-detect-delay = <200>;
>> samsung,dw-mshc-ciu-div = <3>;
>> samsung,dw-mshc-sdr-timing = <2 3>;
>> samsung,dw-mshc-ddr-timing = <1 2>;
>> -
>> - slot at 0 {
>> - reg = <0>;
>> - bus-width = <8>;
>> - gpios = <&gpc0 0 2 0 3>, <&gpc0 1 2 0 3>,
>> - <&gpc1 0 2 3 3>, <&gpc1 1 2 3 3>,
>> - <&gpc1 2 2 3 3>, <&gpc1 3 2 3 3>,
>> - <&gpc0 3 2 3 3>, <&gpc0 4 2 3 3>,
>> - <&gpc0 5 2 3 3>, <&gpc0 6 2 3 3>;
>> - };
>> + bus-width = <8>;
>> };
>> diff --git a/Documentation/devicetree/bindings/mmc/k3-dw-mshc.txt b/Documentation/devicetree/bindings/mmc/k3-dw-mshc.txt
>> index e5bc49f..3b35449 100644
>> --- a/Documentation/devicetree/bindings/mmc/k3-dw-mshc.txt
>> +++ b/Documentation/devicetree/bindings/mmc/k3-dw-mshc.txt
>> @@ -34,13 +34,11 @@ Example:
>> num-slots = <1>;
>> vmmc-supply = <&ldo12>;
>> fifo-depth = <0x100>;
>> - supports-highspeed;
>> pinctrl-names = "default";
>> pinctrl-0 = <&sd_pmx_pins &sd_cfg_func1 &sd_cfg_func2>;
>> - slot at 0 {
>> - reg = <0>;
>> - bus-width = <4>;
>> - disable-wp;
>> - cd-gpios = <&gpio10 3 0>;
>> - };
>> + bus-width = <4>;
>> + disable-wp;
>> + cd-gpios = <&gpio10 3 0>;
>> + cap-mmc-highspeed;
>> + cap-sd-highspeed;
>> };
>> diff --git a/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt b/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt
>> index 2d4a725..346c609 100644
>> --- a/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt
>> +++ b/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt
>> @@ -67,7 +67,8 @@ Optional properties:
>> * card-detect-delay: Delay in milli-seconds before detecting card after card
>> insert event. The default value is 0.
>>
>> -* supports-highspeed: Enables support for high speed cards (up to 50MHz)
>> +* supports-highspeed (DEPRECATED): Enables support for high speed cards (up to 50MHz)
>> + (use "cap-mmc-highspeed" or "cap-sd-highspeed" instead)
>>
>> * broken-cd: as documented in mmc core bindings.
>>
>> @@ -98,14 +99,11 @@ board specific portions as listed below.
>> clock-frequency = <400000000>;
>> clock-freq-min-max = <400000 200000000>;
>> num-slots = <1>;
>> - supports-highspeed;
>> broken-cd;
>> fifo-depth = <0x80>;
>> card-detect-delay = <200>;
>> vmmc-supply = <&buck8>;
>> -
>> - slot at 0 {
>> - reg = <0>;
>> - bus-width = <8>;
>> - };
>> + bus-width = <8>;
>> + cap-mmc-highspeed;
>> + cap-sd-highspeed;
>> };
>
> Regards,
> Andreas
>
next prev parent reply other threads:[~2014-07-28 2:11 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-25 1:11 [PATCHv6 0/5] remove the sub-node and deprecated Jaehoon Chung
2014-07-25 1:11 ` Jaehoon Chung
2014-07-25 1:11 ` [PATCHv6 1/5] mmc: dw_mmc: modify the dt-binding for removing slot-node and supports-highspeed Jaehoon Chung
2014-07-25 1:11 ` Jaehoon Chung
2014-07-25 12:11 ` Andreas Färber
2014-07-25 12:11 ` Andreas Färber
2014-07-28 2:11 ` Jaehoon Chung [this message]
2014-07-28 2:11 ` Jaehoon Chung
2014-07-25 1:11 ` [PATCHv6 2/5] ARM: dts: exynos: unuse the slot-node and deprecated the supports-highspeed for dw-mmc Jaehoon Chung
2014-07-25 1:11 ` Jaehoon Chung
2014-07-25 1:11 ` [PATCHv6 3/5] ARM: dts: socfpga: " Jaehoon Chung
2014-07-25 1:11 ` Jaehoon Chung
2014-08-25 11:18 ` Pavel Machek
2014-08-25 11:18 ` Pavel Machek
2014-07-25 1:11 ` [PATCHv6 4/5] ARM: dts: rockchip: " Jaehoon Chung
2014-07-25 1:11 ` Jaehoon Chung
2014-07-25 1:11 ` [PATCHv6 5/5] mmc: dw_mmc: replace "disable-wp" from slot's quirk to host's quirk Jaehoon Chung
2014-07-25 1:11 ` Jaehoon Chung
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53D5B145.6020807@samsung.com \
--to=jh80.chung@samsung.com \
--cc=afaerber@suse.de \
--cc=chris@printf.net \
--cc=devicetree@vger.kernel.org \
--cc=dinguyen@altera.com \
--cc=heiko@sntech.de \
--cc=kgene.kim@samsung.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-mmc@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=tgih.jun@samsung.com \
--cc=ulf.hansson@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.