diff mbox series

[mvebu-dt64] arm64: dts: armada-3720-turris-mox: forbid SDR104 on SDIO for FCC purposes

Message ID 20200430231144.17350-1-marek.behun@nic.cz (mailing list archive)
State Mainlined
Commit 7a2c36b039d2343cc29fec6102da839477b8dc60
Headers show
Series [mvebu-dt64] arm64: dts: armada-3720-turris-mox: forbid SDR104 on SDIO for FCC purposes | expand

Commit Message

Marek Behún April 30, 2020, 11:11 p.m. UTC
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(+)

Comments

Gregory CLEMENT May 17, 2020, 4:56 p.m. UTC | #1
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
>
diff mbox series

Patch

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";
 };