All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] ARC: [plat-hsdk]: Increase SDIO CIU frequency to 50000000Hz
@ 2017-10-10 16:11 ` Eugeniy Paltsev
  0 siblings, 0 replies; 8+ messages in thread
From: Eugeniy Paltsev @ 2017-10-10 16:11 UTC (permalink / raw)
  To: linux-snps-arc
  Cc: linux-kernel, Vineet Gupta, Alexey Brodkin, Eugeniy Paltsev

Increase SDIO CIU frequency from 12500000Hz to 50000000Hz by
switching from the default divisor value (div-by-8) to the
minimum possible value of the divisor (div-by-2) in HSDK platform
code.

Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
---
NOTE: This patch can possibly fix last issue with SD card initialization
fault.

 arch/arc/boot/dts/hsdk.dts    | 11 ++++++-----
 arch/arc/plat-hsdk/platform.c |  7 +++++++
 2 files changed, 13 insertions(+), 5 deletions(-)

diff --git a/arch/arc/boot/dts/hsdk.dts b/arch/arc/boot/dts/hsdk.dts
index 8adde1b..8f627c2 100644
--- a/arch/arc/boot/dts/hsdk.dts
+++ b/arch/arc/boot/dts/hsdk.dts
@@ -137,14 +137,15 @@
 			/*
 			 * DW sdio controller has external ciu clock divider
 			 * controlled via register in SDIO IP. Due to its
-			 * unexpected default value (it should devide by 1
-			 * but it devides by 8) SDIO IP uses wrong clock and
+			 * unexpected default value (it should divide by 1
+			 * but it divides by 8) SDIO IP uses wrong clock and
 			 * works unstable (see STAR 9001204800)
+			 * We switched to the minimum possible value of the
+			 * divisor (div-by-2) in HSDK platform code.
 			 * So add temporary fix and change clock frequency
-			 * from 100000000 to 12500000 Hz until we fix dw sdio
-			 * driver itself.
+			 * to 50000000 Hz until we fix dw sdio driver itself.
 			 */
-			clock-frequency = <12500000>;
+			clock-frequency = <50000000>;
 			#clock-cells = <0>;
 		};
 
diff --git a/arch/arc/plat-hsdk/platform.c b/arch/arc/plat-hsdk/platform.c
index 744e62e..f0cdb13 100644
--- a/arch/arc/plat-hsdk/platform.c
+++ b/arch/arc/plat-hsdk/platform.c
@@ -74,6 +74,10 @@ static void __init hsdk_set_cpu_freq_1ghz(void)
 		pr_err("Failed to setup CPU frequency to 1GHz!");
 }
 
+#define SDIO_BASE		(ARC_PERIPHERAL_BASE + 0xA000)
+#define SDIO_UHS_REG_EXT	(SDIO_BASE + 0x108)
+#define SDIO_UHS_REG_EXT_DIV_2	(2 << 30)
+
 static void __init hsdk_init_early(void)
 {
 	/*
@@ -89,6 +93,9 @@ static void __init hsdk_init_early(void)
 	/* Really apply settings made above */
 	writel(1, (void __iomem *) CREG_PAE_UPDATE);
 
+	/* Switch SDIO external ciu clock divider from div-by-8 to div-by-2 */
+	iowrite32(SDIO_UHS_REG_EXT_DIV_2, (void __iomem *) SDIO_UHS_REG_EXT);
+
 	/*
 	 * Setup CPU frequency to 1GHz.
 	 * TODO: remove it after smart hsdk pll driver will be introduced.
-- 
2.9.3

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [RFC] ARC: [plat-hsdk]: Increase SDIO CIU frequency to 50000000Hz
@ 2017-10-10 16:11 ` Eugeniy Paltsev
  0 siblings, 0 replies; 8+ messages in thread
From: Eugeniy Paltsev @ 2017-10-10 16:11 UTC (permalink / raw)
  To: linux-snps-arc

Increase SDIO CIU frequency from 12500000Hz to 50000000Hz by
switching from the default divisor value (div-by-8) to the
minimum possible value of the divisor (div-by-2) in HSDK platform
code.

Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev at synopsys.com>
---
NOTE: This patch can possibly fix last issue with SD card initialization
fault.

 arch/arc/boot/dts/hsdk.dts    | 11 ++++++-----
 arch/arc/plat-hsdk/platform.c |  7 +++++++
 2 files changed, 13 insertions(+), 5 deletions(-)

diff --git a/arch/arc/boot/dts/hsdk.dts b/arch/arc/boot/dts/hsdk.dts
index 8adde1b..8f627c2 100644
--- a/arch/arc/boot/dts/hsdk.dts
+++ b/arch/arc/boot/dts/hsdk.dts
@@ -137,14 +137,15 @@
 			/*
 			 * DW sdio controller has external ciu clock divider
 			 * controlled via register in SDIO IP. Due to its
-			 * unexpected default value (it should devide by 1
-			 * but it devides by 8) SDIO IP uses wrong clock and
+			 * unexpected default value (it should divide by 1
+			 * but it divides by 8) SDIO IP uses wrong clock and
 			 * works unstable (see STAR 9001204800)
+			 * We switched to the minimum possible value of the
+			 * divisor (div-by-2) in HSDK platform code.
 			 * So add temporary fix and change clock frequency
-			 * from 100000000 to 12500000 Hz until we fix dw sdio
-			 * driver itself.
+			 * to 50000000 Hz until we fix dw sdio driver itself.
 			 */
-			clock-frequency = <12500000>;
+			clock-frequency = <50000000>;
 			#clock-cells = <0>;
 		};
 
diff --git a/arch/arc/plat-hsdk/platform.c b/arch/arc/plat-hsdk/platform.c
index 744e62e..f0cdb13 100644
--- a/arch/arc/plat-hsdk/platform.c
+++ b/arch/arc/plat-hsdk/platform.c
@@ -74,6 +74,10 @@ static void __init hsdk_set_cpu_freq_1ghz(void)
 		pr_err("Failed to setup CPU frequency to 1GHz!");
 }
 
+#define SDIO_BASE		(ARC_PERIPHERAL_BASE + 0xA000)
+#define SDIO_UHS_REG_EXT	(SDIO_BASE + 0x108)
+#define SDIO_UHS_REG_EXT_DIV_2	(2 << 30)
+
 static void __init hsdk_init_early(void)
 {
 	/*
@@ -89,6 +93,9 @@ static void __init hsdk_init_early(void)
 	/* Really apply settings made above */
 	writel(1, (void __iomem *) CREG_PAE_UPDATE);
 
+	/* Switch SDIO external ciu clock divider from div-by-8 to div-by-2 */
+	iowrite32(SDIO_UHS_REG_EXT_DIV_2, (void __iomem *) SDIO_UHS_REG_EXT);
+
 	/*
 	 * Setup CPU frequency to 1GHz.
 	 * TODO: remove it after smart hsdk pll driver will be introduced.
-- 
2.9.3

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [RFC] ARC: [plat-hsdk]: Increase SDIO CIU frequency to 50000000Hz
  2017-10-10 16:11 ` Eugeniy Paltsev
@ 2017-10-10 17:09   ` Vineet Gupta
  -1 siblings, 0 replies; 8+ messages in thread
From: Vineet Gupta @ 2017-10-10 17:09 UTC (permalink / raw)
  To: Eugeniy Paltsev, linux-snps-arc; +Cc: linux-kernel, Alexey Brodkin

On 10/10/2017 09:11 AM, Eugeniy Paltsev wrote:
> Increase SDIO CIU frequency from 12500000Hz to 50000000Hz by
> switching from the default divisor value (div-by-8) to the
> minimum possible value of the divisor (div-by-2) in HSDK platform
> code.

Please describe the problem first not the solution. That some SD cards don't work 
blah blah ....
You could add me as reported-by - just for completeness !

While I will test it to see if it cures my issue, I'll need Alexey to sign off / 
ack as well !

-Vineet

>
> Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
> ---
> NOTE: This patch can possibly fix last issue with SD card initialization
> fault.
>
>   arch/arc/boot/dts/hsdk.dts    | 11 ++++++-----
>   arch/arc/plat-hsdk/platform.c |  7 +++++++
>   2 files changed, 13 insertions(+), 5 deletions(-)
>
> diff --git a/arch/arc/boot/dts/hsdk.dts b/arch/arc/boot/dts/hsdk.dts
> index 8adde1b..8f627c2 100644
> --- a/arch/arc/boot/dts/hsdk.dts
> +++ b/arch/arc/boot/dts/hsdk.dts
> @@ -137,14 +137,15 @@
>   			/*
>   			 * DW sdio controller has external ciu clock divider
>   			 * controlled via register in SDIO IP. Due to its
> -			 * unexpected default value (it should devide by 1
> -			 * but it devides by 8) SDIO IP uses wrong clock and
> +			 * unexpected default value (it should divide by 1
> +			 * but it divides by 8) SDIO IP uses wrong clock and
>   			 * works unstable (see STAR 9001204800)
> +			 * We switched to the minimum possible value of the
> +			 * divisor (div-by-2) in HSDK platform code.
>   			 * So add temporary fix and change clock frequency
> -			 * from 100000000 to 12500000 Hz until we fix dw sdio
> -			 * driver itself.
> +			 * to 50000000 Hz until we fix dw sdio driver itself.
>   			 */
> -			clock-frequency = <12500000>;
> +			clock-frequency = <50000000>;
>   			#clock-cells = <0>;
>   		};
>   
> diff --git a/arch/arc/plat-hsdk/platform.c b/arch/arc/plat-hsdk/platform.c
> index 744e62e..f0cdb13 100644
> --- a/arch/arc/plat-hsdk/platform.c
> +++ b/arch/arc/plat-hsdk/platform.c
> @@ -74,6 +74,10 @@ static void __init hsdk_set_cpu_freq_1ghz(void)
>   		pr_err("Failed to setup CPU frequency to 1GHz!");
>   }
>   
> +#define SDIO_BASE		(ARC_PERIPHERAL_BASE + 0xA000)
> +#define SDIO_UHS_REG_EXT	(SDIO_BASE + 0x108)
> +#define SDIO_UHS_REG_EXT_DIV_2	(2 << 30)
> +
>   static void __init hsdk_init_early(void)
>   {
>   	/*
> @@ -89,6 +93,9 @@ static void __init hsdk_init_early(void)
>   	/* Really apply settings made above */
>   	writel(1, (void __iomem *) CREG_PAE_UPDATE);
>   
> +	/* Switch SDIO external ciu clock divider from div-by-8 to div-by-2 */
> +	iowrite32(SDIO_UHS_REG_EXT_DIV_2, (void __iomem *) SDIO_UHS_REG_EXT);
> +
>   	/*
>   	 * Setup CPU frequency to 1GHz.
>   	 * TODO: remove it after smart hsdk pll driver will be introduced.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [RFC] ARC: [plat-hsdk]: Increase SDIO CIU frequency to 50000000Hz
@ 2017-10-10 17:09   ` Vineet Gupta
  0 siblings, 0 replies; 8+ messages in thread
From: Vineet Gupta @ 2017-10-10 17:09 UTC (permalink / raw)
  To: linux-snps-arc

On 10/10/2017 09:11 AM, Eugeniy Paltsev wrote:
> Increase SDIO CIU frequency from 12500000Hz to 50000000Hz by
> switching from the default divisor value (div-by-8) to the
> minimum possible value of the divisor (div-by-2) in HSDK platform
> code.

Please describe the problem first not the solution. That some SD cards don't work 
blah blah ....
You could add me as reported-by - just for completeness !

While I will test it to see if it cures my issue, I'll need Alexey to sign off / 
ack as well !

-Vineet

>
> Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev at synopsys.com>
> ---
> NOTE: This patch can possibly fix last issue with SD card initialization
> fault.
>
>   arch/arc/boot/dts/hsdk.dts    | 11 ++++++-----
>   arch/arc/plat-hsdk/platform.c |  7 +++++++
>   2 files changed, 13 insertions(+), 5 deletions(-)
>
> diff --git a/arch/arc/boot/dts/hsdk.dts b/arch/arc/boot/dts/hsdk.dts
> index 8adde1b..8f627c2 100644
> --- a/arch/arc/boot/dts/hsdk.dts
> +++ b/arch/arc/boot/dts/hsdk.dts
> @@ -137,14 +137,15 @@
>   			/*
>   			 * DW sdio controller has external ciu clock divider
>   			 * controlled via register in SDIO IP. Due to its
> -			 * unexpected default value (it should devide by 1
> -			 * but it devides by 8) SDIO IP uses wrong clock and
> +			 * unexpected default value (it should divide by 1
> +			 * but it divides by 8) SDIO IP uses wrong clock and
>   			 * works unstable (see STAR 9001204800)
> +			 * We switched to the minimum possible value of the
> +			 * divisor (div-by-2) in HSDK platform code.
>   			 * So add temporary fix and change clock frequency
> -			 * from 100000000 to 12500000 Hz until we fix dw sdio
> -			 * driver itself.
> +			 * to 50000000 Hz until we fix dw sdio driver itself.
>   			 */
> -			clock-frequency = <12500000>;
> +			clock-frequency = <50000000>;
>   			#clock-cells = <0>;
>   		};
>   
> diff --git a/arch/arc/plat-hsdk/platform.c b/arch/arc/plat-hsdk/platform.c
> index 744e62e..f0cdb13 100644
> --- a/arch/arc/plat-hsdk/platform.c
> +++ b/arch/arc/plat-hsdk/platform.c
> @@ -74,6 +74,10 @@ static void __init hsdk_set_cpu_freq_1ghz(void)
>   		pr_err("Failed to setup CPU frequency to 1GHz!");
>   }
>   
> +#define SDIO_BASE		(ARC_PERIPHERAL_BASE + 0xA000)
> +#define SDIO_UHS_REG_EXT	(SDIO_BASE + 0x108)
> +#define SDIO_UHS_REG_EXT_DIV_2	(2 << 30)
> +
>   static void __init hsdk_init_early(void)
>   {
>   	/*
> @@ -89,6 +93,9 @@ static void __init hsdk_init_early(void)
>   	/* Really apply settings made above */
>   	writel(1, (void __iomem *) CREG_PAE_UPDATE);
>   
> +	/* Switch SDIO external ciu clock divider from div-by-8 to div-by-2 */
> +	iowrite32(SDIO_UHS_REG_EXT_DIV_2, (void __iomem *) SDIO_UHS_REG_EXT);
> +
>   	/*
>   	 * Setup CPU frequency to 1GHz.
>   	 * TODO: remove it after smart hsdk pll driver will be introduced.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [RFC] ARC: [plat-hsdk]: Increase SDIO CIU frequency to 50000000Hz
  2017-10-10 17:09   ` Vineet Gupta
@ 2017-10-10 17:29     ` Alexey Brodkin
  -1 siblings, 0 replies; 8+ messages in thread
From: Alexey Brodkin @ 2017-10-10 17:29 UTC (permalink / raw)
  To: Vineet Gupta; +Cc: linux-kernel, Eugeniy.Paltsev, linux-snps-arc

Hi Vineet,

On Tue, 2017-10-10 at 10:09 -0700, Vineet Gupta wrote:
> On 10/10/2017 09:11 AM, Eugeniy Paltsev wrote:
> > 
> > Increase SDIO CIU frequency from 12500000Hz to 50000000Hz by
> > switching from the default divisor value (div-by-8) to the
> > minimum possible value of the divisor (div-by-2) in HSDK platform
> > code.
> 
> Please describe the problem first not the solution. That some SD cards don't work 
> blah blah ....
> You could add me as reported-by - just for completeness !
> 
> While I will test it to see if it cures my issue, I'll need Alexey to sign off / 
> ack as well !

Sure once you update us with your findings and we know it helps you
(at least Bonnie++ stress-test with one of SD-cards here still works)
there will be a "normal" patch which I'll ack.

-Alexey

> 
> -Vineet
> 
> > 
> > 
> > Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
> > ---
> > NOTE: This patch can possibly fix last issue with SD card initialization
> > fault.
> > 
> >   arch/arc/boot/dts/hsdk.dts    | 11 ++++++-----
> >   arch/arc/plat-hsdk/platform.c |  7 +++++++
> >   2 files changed, 13 insertions(+), 5 deletions(-)
> > 
> > diff --git a/arch/arc/boot/dts/hsdk.dts b/arch/arc/boot/dts/hsdk.dts
> > index 8adde1b..8f627c2 100644
> > --- a/arch/arc/boot/dts/hsdk.dts
> > +++ b/arch/arc/boot/dts/hsdk.dts
> > @@ -137,14 +137,15 @@
> >   			/*
> >   			 * DW sdio controller has external ciu clock divider
> >   			 * controlled via register in SDIO IP. Due to its
> > -			 * unexpected default value (it should devide by 1
> > -			 * but it devides by 8) SDIO IP uses wrong clock and
> > +			 * unexpected default value (it should divide by 1
> > +			 * but it divides by 8) SDIO IP uses wrong clock and
> >   			 * works unstable (see STAR 9001204800)
> > +			 * We switched to the minimum possible value of the
> > +			 * divisor (div-by-2) in HSDK platform code.
> >   			 * So add temporary fix and change clock frequency
> > -			 * from 100000000 to 12500000 Hz until we fix dw sdio
> > -			 * driver itself.
> > +			 * to 50000000 Hz until we fix dw sdio driver itself.
> >   			 */
> > -			clock-frequency = <12500000>;
> > +			clock-frequency = <50000000>;
> >   			#clock-cells = <0>;
> >   		};
> >   
> > diff --git a/arch/arc/plat-hsdk/platform.c b/arch/arc/plat-hsdk/platform.c
> > index 744e62e..f0cdb13 100644
> > --- a/arch/arc/plat-hsdk/platform.c
> > +++ b/arch/arc/plat-hsdk/platform.c
> > @@ -74,6 +74,10 @@ static void __init hsdk_set_cpu_freq_1ghz(void)
> >   		pr_err("Failed to setup CPU frequency to 1GHz!");
> >   }
> >   
> > +#define SDIO_BASE		(ARC_PERIPHERAL_BASE + 0xA000)
> > +#define SDIO_UHS_REG_EXT	(SDIO_BASE + 0x108)
> > +#define SDIO_UHS_REG_EXT_DIV_2	(2 << 30)
> > +
> >   static void __init hsdk_init_early(void)
> >   {
> >   	/*
> > @@ -89,6 +93,9 @@ static void __init hsdk_init_early(void)
> >   	/* Really apply settings made above */
> >   	writel(1, (void __iomem *) CREG_PAE_UPDATE);
> >   
> > +	/* Switch SDIO external ciu clock divider from div-by-8 to div-by-2 */
> > +	iowrite32(SDIO_UHS_REG_EXT_DIV_2, (void __iomem *) SDIO_UHS_REG_EXT);
> > +
> >   	/*
> >   	 * Setup CPU frequency to 1GHz.
> >   	 * TODO: remove it after smart hsdk pll driver will be introduced.
> 

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [RFC] ARC: [plat-hsdk]: Increase SDIO CIU frequency to 50000000Hz
@ 2017-10-10 17:29     ` Alexey Brodkin
  0 siblings, 0 replies; 8+ messages in thread
From: Alexey Brodkin @ 2017-10-10 17:29 UTC (permalink / raw)
  To: linux-snps-arc

Hi Vineet,

On Tue, 2017-10-10@10:09 -0700, Vineet Gupta wrote:
> On 10/10/2017 09:11 AM, Eugeniy Paltsev wrote:
> > 
> > Increase SDIO CIU frequency from 12500000Hz to 50000000Hz by
> > switching from the default divisor value (div-by-8) to the
> > minimum possible value of the divisor (div-by-2) in HSDK platform
> > code.
> 
> Please describe the problem first not the solution. That some SD cards don't work?
> blah blah ....
> You could add me as reported-by - just for completeness !
> 
> While I will test it to see if it cures my issue, I'll need Alexey to sign off /?
> ack as well !

Sure once you update us with your findings and we know it helps you
(at least Bonnie++ stress-test with one of SD-cards here still works)
there will be a "normal" patch which I'll ack.

-Alexey

> 
> -Vineet
> 
> > 
> > 
> > Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev at synopsys.com>
> > ---
> > NOTE: This patch can possibly fix last issue with SD card initialization
> > fault.
> > 
> > ? arch/arc/boot/dts/hsdk.dts????| 11 ++++++-----
> > ? arch/arc/plat-hsdk/platform.c |??7 +++++++
> > ? 2 files changed, 13 insertions(+), 5 deletions(-)
> > 
> > diff --git a/arch/arc/boot/dts/hsdk.dts b/arch/arc/boot/dts/hsdk.dts
> > index 8adde1b..8f627c2 100644
> > --- a/arch/arc/boot/dts/hsdk.dts
> > +++ b/arch/arc/boot/dts/hsdk.dts
> > @@ -137,14 +137,15 @@
> > ??			/*
> > ??			?* DW sdio controller has external ciu clock divider
> > ??			?* controlled via register in SDIO IP. Due to its
> > -			?* unexpected default value (it should devide by 1
> > -			?* but it devides by 8) SDIO IP uses wrong clock and
> > +			?* unexpected default value (it should divide by 1
> > +			?* but it divides by 8) SDIO IP uses wrong clock and
> > ??			?* works unstable (see STAR 9001204800)
> > +			?* We switched to the minimum possible value of the
> > +			?* divisor (div-by-2) in HSDK platform code.
> > ??			?* So add temporary fix and change clock frequency
> > -			?* from 100000000 to 12500000 Hz until we fix dw sdio
> > -			?* driver itself.
> > +			?* to 50000000 Hz until we fix dw sdio driver itself.
> > ??			?*/
> > -			clock-frequency = <12500000>;
> > +			clock-frequency = <50000000>;
> > ??			#clock-cells = <0>;
> > ??		};
> > ??
> > diff --git a/arch/arc/plat-hsdk/platform.c b/arch/arc/plat-hsdk/platform.c
> > index 744e62e..f0cdb13 100644
> > --- a/arch/arc/plat-hsdk/platform.c
> > +++ b/arch/arc/plat-hsdk/platform.c
> > @@ -74,6 +74,10 @@ static void __init hsdk_set_cpu_freq_1ghz(void)
> > ??		pr_err("Failed to setup CPU frequency to 1GHz!");
> > ? }
> > ??
> > +#define SDIO_BASE		(ARC_PERIPHERAL_BASE + 0xA000)
> > +#define SDIO_UHS_REG_EXT	(SDIO_BASE + 0x108)
> > +#define SDIO_UHS_REG_EXT_DIV_2	(2 << 30)
> > +
> > ? static void __init hsdk_init_early(void)
> > ? {
> > ??	/*
> > @@ -89,6 +93,9 @@ static void __init hsdk_init_early(void)
> > ??	/* Really apply settings made above */
> > ??	writel(1, (void __iomem *) CREG_PAE_UPDATE);
> > ??
> > +	/* Switch SDIO external ciu clock divider from div-by-8 to div-by-2 */
> > +	iowrite32(SDIO_UHS_REG_EXT_DIV_2, (void __iomem *) SDIO_UHS_REG_EXT);
> > +
> > ??	/*
> > ??	?* Setup CPU frequency to 1GHz.
> > ??	?* TODO: remove it after smart hsdk pll driver will be introduced.
> 

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [RFC] ARC: [plat-hsdk]: Increase SDIO CIU frequency to 50000000Hz
  2017-10-10 17:29     ` Alexey Brodkin
@ 2017-10-11 16:23       ` Vineet Gupta
  -1 siblings, 0 replies; 8+ messages in thread
From: Vineet Gupta @ 2017-10-11 16:23 UTC (permalink / raw)
  To: Alexey Brodkin; +Cc: linux-kernel, Eugeniy.Paltsev, linux-snps-arc

On 10/10/2017 10:29 AM, Alexey Brodkin wrote:
> Hi Vineet,
> 
> On Tue, 2017-10-10 at 10:09 -0700, Vineet Gupta wrote:
>> On 10/10/2017 09:11 AM, Eugeniy Paltsev wrote:
>>> Increase SDIO CIU frequency from 12500000Hz to 50000000Hz by
>>> switching from the default divisor value (div-by-8) to the
>>> minimum possible value of the divisor (div-by-2) in HSDK platform
>>> code.
>> Please describe the problem first not the solution. That some SD cards don't work
>> blah blah ....
>> You could add me as reported-by - just for completeness !
>>
>> While I will test it to see if it cures my issue, I'll need Alexey to sign off /
>> ack as well !
> Sure once you update us with your findings and we know it helps you
> (at least Bonnie++ stress-test with one of SD-cards here still works)
> there will be a "normal" patch which I'll ack.

Thx guys ! Patch cures the issue with my SD card.

Please respin with changelog and Reported-by/Tested-by for me !

-Vineet

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [RFC] ARC: [plat-hsdk]: Increase SDIO CIU frequency to 50000000Hz
@ 2017-10-11 16:23       ` Vineet Gupta
  0 siblings, 0 replies; 8+ messages in thread
From: Vineet Gupta @ 2017-10-11 16:23 UTC (permalink / raw)
  To: linux-snps-arc

On 10/10/2017 10:29 AM, Alexey Brodkin wrote:
> Hi Vineet,
> 
> On Tue, 2017-10-10@10:09 -0700, Vineet Gupta wrote:
>> On 10/10/2017 09:11 AM, Eugeniy Paltsev wrote:
>>> Increase SDIO CIU frequency from 12500000Hz to 50000000Hz by
>>> switching from the default divisor value (div-by-8) to the
>>> minimum possible value of the divisor (div-by-2) in HSDK platform
>>> code.
>> Please describe the problem first not the solution. That some SD cards don't work
>> blah blah ....
>> You could add me as reported-by - just for completeness !
>>
>> While I will test it to see if it cures my issue, I'll need Alexey to sign off /
>> ack as well !
> Sure once you update us with your findings and we know it helps you
> (at least Bonnie++ stress-test with one of SD-cards here still works)
> there will be a "normal" patch which I'll ack.

Thx guys ! Patch cures the issue with my SD card.

Please respin with changelog and Reported-by/Tested-by for me !

-Vineet

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-10-11 16:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-10 16:11 [RFC] ARC: [plat-hsdk]: Increase SDIO CIU frequency to 50000000Hz Eugeniy Paltsev
2017-10-10 16:11 ` Eugeniy Paltsev
2017-10-10 17:09 ` Vineet Gupta
2017-10-10 17:09   ` Vineet Gupta
2017-10-10 17:29   ` Alexey Brodkin
2017-10-10 17:29     ` Alexey Brodkin
2017-10-11 16:23     ` Vineet Gupta
2017-10-11 16:23       ` Vineet Gupta

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.