Re: [PATCH v5 1/3] mmc: dt-bindings: update Mediatek MMC bindings

2017-03-24 Thread Ulf Hansson
On 15 March 2017 at 08:26, Yong Mao  wrote:
> From: yong mao 
>
> Add description for mediatek,hs200-cmd-int-delay
> Add description for mediatek,hs400-cmd-int-delay
> Add description for mediatek,hs400-cmd-resp-sel-rising
>
> Signed-off-by: Yong Mao 

Thanks, applied for next!

Kind regards
Uffe

> ---
>  Documentation/devicetree/bindings/mmc/mtk-sd.txt |   12 
>  1 file changed, 12 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/mmc/mtk-sd.txt 
> b/Documentation/devicetree/bindings/mmc/mtk-sd.txt
> index 0120c7f..4182ea3 100644
> --- a/Documentation/devicetree/bindings/mmc/mtk-sd.txt
> +++ b/Documentation/devicetree/bindings/mmc/mtk-sd.txt
> @@ -21,6 +21,15 @@ Optional properties:
>  - assigned-clocks: PLL of the source clock
>  - assigned-clock-parents: parent of source clock, used for HS400 mode to get 
> 400Mhz source clock
>  - hs400-ds-delay: HS400 DS delay setting
> +- mediatek,hs200-cmd-int-delay: HS200 command internal delay setting.
> +   This field has total 32 stages.
> +   The value is an integer from 0 to 31.
> +- mediatek,hs400-cmd-int-delay: HS400 command internal delay setting
> +   This field has total 32 stages.
> +   The value is an integer from 0 to 31.
> +- mediatek,hs400-cmd-resp-sel-rising:  HS400 command response sample 
> selection
> +  If present,HS400 command responses are 
> sampled on rising edges.
> +  If not present,HS400 command responses 
> are sampled on falling edges.
>
>  Examples:
>  mmc0: mmc@1123 {
> @@ -38,4 +47,7 @@ mmc0: mmc@1123 {
> assigned-clocks = < CLK_TOP_MSDC50_0_SEL>;
> assigned-clock-parents = < CLK_TOP_MSDCPLL_D2>;
> hs400-ds-delay = <0x14015>;
> +   mediatek,hs200-cmd-int-delay = <26>;
> +   mediatek,hs400-cmd-int-delay = <14>;
> +   mediatek,hs400-cmd-resp-sel-rising;
>  };
> --
> 1.7.9.5
>


Re: [PATCH v5 1/3] mmc: dt-bindings: update Mediatek MMC bindings

2017-03-24 Thread Ulf Hansson
On 15 March 2017 at 08:26, Yong Mao  wrote:
> From: yong mao 
>
> Add description for mediatek,hs200-cmd-int-delay
> Add description for mediatek,hs400-cmd-int-delay
> Add description for mediatek,hs400-cmd-resp-sel-rising
>
> Signed-off-by: Yong Mao 

Thanks, applied for next!

Kind regards
Uffe

> ---
>  Documentation/devicetree/bindings/mmc/mtk-sd.txt |   12 
>  1 file changed, 12 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/mmc/mtk-sd.txt 
> b/Documentation/devicetree/bindings/mmc/mtk-sd.txt
> index 0120c7f..4182ea3 100644
> --- a/Documentation/devicetree/bindings/mmc/mtk-sd.txt
> +++ b/Documentation/devicetree/bindings/mmc/mtk-sd.txt
> @@ -21,6 +21,15 @@ Optional properties:
>  - assigned-clocks: PLL of the source clock
>  - assigned-clock-parents: parent of source clock, used for HS400 mode to get 
> 400Mhz source clock
>  - hs400-ds-delay: HS400 DS delay setting
> +- mediatek,hs200-cmd-int-delay: HS200 command internal delay setting.
> +   This field has total 32 stages.
> +   The value is an integer from 0 to 31.
> +- mediatek,hs400-cmd-int-delay: HS400 command internal delay setting
> +   This field has total 32 stages.
> +   The value is an integer from 0 to 31.
> +- mediatek,hs400-cmd-resp-sel-rising:  HS400 command response sample 
> selection
> +  If present,HS400 command responses are 
> sampled on rising edges.
> +  If not present,HS400 command responses 
> are sampled on falling edges.
>
>  Examples:
>  mmc0: mmc@1123 {
> @@ -38,4 +47,7 @@ mmc0: mmc@1123 {
> assigned-clocks = < CLK_TOP_MSDC50_0_SEL>;
> assigned-clock-parents = < CLK_TOP_MSDCPLL_D2>;
> hs400-ds-delay = <0x14015>;
> +   mediatek,hs200-cmd-int-delay = <26>;
> +   mediatek,hs400-cmd-int-delay = <14>;
> +   mediatek,hs400-cmd-resp-sel-rising;
>  };
> --
> 1.7.9.5
>


Re: [PATCH v5 1/3] mmc: dt-bindings: update Mediatek MMC bindings

2017-03-23 Thread Rob Herring
On Wed, Mar 15, 2017 at 03:26:38PM +0800, Yong Mao wrote:
> From: yong mao 
> 
> Add description for mediatek,hs200-cmd-int-delay
> Add description for mediatek,hs400-cmd-int-delay
> Add description for mediatek,hs400-cmd-resp-sel-rising
> 
> Signed-off-by: Yong Mao 
> ---
>  Documentation/devicetree/bindings/mmc/mtk-sd.txt |   12 
>  1 file changed, 12 insertions(+)

Acked-by: Rob Herring 


Re: [PATCH v5 1/3] mmc: dt-bindings: update Mediatek MMC bindings

2017-03-23 Thread Rob Herring
On Wed, Mar 15, 2017 at 03:26:38PM +0800, Yong Mao wrote:
> From: yong mao 
> 
> Add description for mediatek,hs200-cmd-int-delay
> Add description for mediatek,hs400-cmd-int-delay
> Add description for mediatek,hs400-cmd-resp-sel-rising
> 
> Signed-off-by: Yong Mao 
> ---
>  Documentation/devicetree/bindings/mmc/mtk-sd.txt |   12 
>  1 file changed, 12 insertions(+)

Acked-by: Rob Herring 


[PATCH v5 1/3] mmc: dt-bindings: update Mediatek MMC bindings

2017-03-15 Thread Yong Mao
From: yong mao 

Add description for mediatek,hs200-cmd-int-delay
Add description for mediatek,hs400-cmd-int-delay
Add description for mediatek,hs400-cmd-resp-sel-rising

Signed-off-by: Yong Mao 
---
 Documentation/devicetree/bindings/mmc/mtk-sd.txt |   12 
 1 file changed, 12 insertions(+)

diff --git a/Documentation/devicetree/bindings/mmc/mtk-sd.txt 
b/Documentation/devicetree/bindings/mmc/mtk-sd.txt
index 0120c7f..4182ea3 100644
--- a/Documentation/devicetree/bindings/mmc/mtk-sd.txt
+++ b/Documentation/devicetree/bindings/mmc/mtk-sd.txt
@@ -21,6 +21,15 @@ Optional properties:
 - assigned-clocks: PLL of the source clock
 - assigned-clock-parents: parent of source clock, used for HS400 mode to get 
400Mhz source clock
 - hs400-ds-delay: HS400 DS delay setting
+- mediatek,hs200-cmd-int-delay: HS200 command internal delay setting.
+   This field has total 32 stages.
+   The value is an integer from 0 to 31.
+- mediatek,hs400-cmd-int-delay: HS400 command internal delay setting
+   This field has total 32 stages.
+   The value is an integer from 0 to 31.
+- mediatek,hs400-cmd-resp-sel-rising:  HS400 command response sample selection
+  If present,HS400 command responses are 
sampled on rising edges.
+  If not present,HS400 command responses 
are sampled on falling edges.
 
 Examples:
 mmc0: mmc@1123 {
@@ -38,4 +47,7 @@ mmc0: mmc@1123 {
assigned-clocks = < CLK_TOP_MSDC50_0_SEL>;
assigned-clock-parents = < CLK_TOP_MSDCPLL_D2>;
hs400-ds-delay = <0x14015>;
+   mediatek,hs200-cmd-int-delay = <26>;
+   mediatek,hs400-cmd-int-delay = <14>;
+   mediatek,hs400-cmd-resp-sel-rising;
 };
-- 
1.7.9.5



[PATCH v5 1/3] mmc: dt-bindings: update Mediatek MMC bindings

2017-03-15 Thread Yong Mao
From: yong mao 

Add description for mediatek,hs200-cmd-int-delay
Add description for mediatek,hs400-cmd-int-delay
Add description for mediatek,hs400-cmd-resp-sel-rising

Signed-off-by: Yong Mao 
---
 Documentation/devicetree/bindings/mmc/mtk-sd.txt |   12 
 1 file changed, 12 insertions(+)

diff --git a/Documentation/devicetree/bindings/mmc/mtk-sd.txt 
b/Documentation/devicetree/bindings/mmc/mtk-sd.txt
index 0120c7f..4182ea3 100644
--- a/Documentation/devicetree/bindings/mmc/mtk-sd.txt
+++ b/Documentation/devicetree/bindings/mmc/mtk-sd.txt
@@ -21,6 +21,15 @@ Optional properties:
 - assigned-clocks: PLL of the source clock
 - assigned-clock-parents: parent of source clock, used for HS400 mode to get 
400Mhz source clock
 - hs400-ds-delay: HS400 DS delay setting
+- mediatek,hs200-cmd-int-delay: HS200 command internal delay setting.
+   This field has total 32 stages.
+   The value is an integer from 0 to 31.
+- mediatek,hs400-cmd-int-delay: HS400 command internal delay setting
+   This field has total 32 stages.
+   The value is an integer from 0 to 31.
+- mediatek,hs400-cmd-resp-sel-rising:  HS400 command response sample selection
+  If present,HS400 command responses are 
sampled on rising edges.
+  If not present,HS400 command responses 
are sampled on falling edges.
 
 Examples:
 mmc0: mmc@1123 {
@@ -38,4 +47,7 @@ mmc0: mmc@1123 {
assigned-clocks = < CLK_TOP_MSDC50_0_SEL>;
assigned-clock-parents = < CLK_TOP_MSDCPLL_D2>;
hs400-ds-delay = <0x14015>;
+   mediatek,hs200-cmd-int-delay = <26>;
+   mediatek,hs400-cmd-int-delay = <14>;
+   mediatek,hs400-cmd-resp-sel-rising;
 };
-- 
1.7.9.5