linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH mvebu-dt64] arm64: dts: armada-3720-turris-mox: forbid SDR104 on SDIO for FCC purposes
@ 2020-04-30 23:11 Marek Behún
  2020-05-17 16:56 ` Gregory CLEMENT
  0 siblings, 1 reply; 2+ messages in thread
From: Marek Behún @ 2020-04-30 23:11 UTC (permalink / raw)
  To: Gregory CLEMENT; +Cc: SoC Team, arm-soc, Linux ARM, Marek Behún

Use sdhci-caps-mask to forbid SDR104 mode on the SDIO capable SDHCI
controller. Without this the device cannot pass electromagnetic
interference certifications.

Fixes: 7109d817db2e ("arm64: dts: marvell: add DTS for Turris Mox")
Signed-off-by: Marek Behún <marek.behun@nic.cz>
Cc: Gregory CLEMENT <gregory.clement@bootlin.com>
---
 arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts b/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts
index bb42d1e6a4e9..47fee66c70cb 100644
--- a/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts
+++ b/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts
@@ -179,6 +179,8 @@ &sdhci1 {
 	marvell,pad-type = "sd";
 	vqmmc-supply = <&vsdio_reg>;
 	mmc-pwrseq = <&sdhci1_pwrseq>;
+	/* forbid SDR104 for FCC purposes */
+	sdhci-caps-mask = <0x2 0x0>;
 	status = "okay";
 };
 
-- 
2.24.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH mvebu-dt64] arm64: dts: armada-3720-turris-mox: forbid SDR104 on SDIO for FCC purposes
  2020-04-30 23:11 [PATCH mvebu-dt64] arm64: dts: armada-3720-turris-mox: forbid SDR104 on SDIO for FCC purposes Marek Behún
@ 2020-05-17 16:56 ` Gregory CLEMENT
  0 siblings, 0 replies; 2+ messages in thread
From: Gregory CLEMENT @ 2020-05-17 16:56 UTC (permalink / raw)
  To: Marek Behún; +Cc: SoC Team, arm-soc, Linux ARM, Marek Behún

Hi Marek,

> Use sdhci-caps-mask to forbid SDR104 mode on the SDIO capable SDHCI
> controller. Without this the device cannot pass electromagnetic
> interference certifications.
>
> Fixes: 7109d817db2e ("arm64: dts: marvell: add DTS for Turris Mox")
> Signed-off-by: Marek Behún <marek.behun@nic.cz>
> Cc: Gregory CLEMENT <gregory.clement@bootlin.com>


Applied on mvebu/dt64

Thanks,

Gregory

> ---
>  arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts b/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts
> index bb42d1e6a4e9..47fee66c70cb 100644
> --- a/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts
> +++ b/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts
> @@ -179,6 +179,8 @@ &sdhci1 {
>  	marvell,pad-type = "sd";
>  	vqmmc-supply = <&vsdio_reg>;
>  	mmc-pwrseq = <&sdhci1_pwrseq>;
> +	/* forbid SDR104 for FCC purposes */
> +	sdhci-caps-mask = <0x2 0x0>;
>  	status = "okay";
>  };
>  
> -- 
> 2.24.1
>

-- 
Gregory Clement, Bootlin
Embedded Linux and Kernel engineering
http://bootlin.com

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2020-05-17 16:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-30 23:11 [PATCH mvebu-dt64] arm64: dts: armada-3720-turris-mox: forbid SDR104 on SDIO for FCC purposes Marek Behún
2020-05-17 16:56 ` Gregory CLEMENT

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).