public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] ARM: dts: microchip: Add no-1-8-v property to sdmmc0 node
@ 2024-11-19 16:01 cristian.birsan
  2024-11-19 16:01 ` [PATCH 1/2] ARM: dts: microchip: sama5d29_curiosity: " cristian.birsan
  2024-11-19 16:01 ` [PATCH 2/2] ARM: dts: microchip: sama5d27_wlsom1_ek: " cristian.birsan
  0 siblings, 2 replies; 5+ messages in thread
From: cristian.birsan @ 2024-11-19 16:01 UTC (permalink / raw)
  To: robh, krzk+dt, conor+dt, nicolas.ferre, alexandre.belloni,
	claudiu.beznea
  Cc: devicetree, linux-arm-kernel, linux-kernel, Cristian Birsan

From: Cristian Birsan <cristian.birsan@microchip.com>

Add no-1-8-v property to sdmmc0 node to keep VDDSDMMC power rail at 3.3V.
This property will stop the LDO regulator from switching to 1.8V when the
MMC core detects an UHS SD Card. VDDSDMMC power rail is used by all the
SDMMC interface pins in GPIO mode (PA0 - PA13).

PA6 and PA10 GPIOs are used to enable the power switch controlling USB
Vbus for the USB Host.

Cristian Birsan (2):
  ARM: dts: microchip: sama5d29_curiosity: Add no-1-8-v property to
    sdmmc0 node
  ARM: dts: microchip: sama5d27_wlsom1_ek: Add no-1-8-v property to
    sdmmc0 node

 arch/arm/boot/dts/microchip/at91-sama5d27_wlsom1_ek.dts | 1 +
 arch/arm/boot/dts/microchip/at91-sama5d29_curiosity.dts | 1 +
 2 files changed, 2 insertions(+)


base-commit: 158f238aa69d91ad74e535c73f552bd4b025109c
-- 
2.34.1


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

* [PATCH 1/2] ARM: dts: microchip: sama5d29_curiosity: Add no-1-8-v property to sdmmc0 node
  2024-11-19 16:01 [PATCH 0/2] ARM: dts: microchip: Add no-1-8-v property to sdmmc0 node cristian.birsan
@ 2024-11-19 16:01 ` cristian.birsan
  2024-11-20 10:09   ` Andrei Simion
  2024-11-19 16:01 ` [PATCH 2/2] ARM: dts: microchip: sama5d27_wlsom1_ek: " cristian.birsan
  1 sibling, 1 reply; 5+ messages in thread
From: cristian.birsan @ 2024-11-19 16:01 UTC (permalink / raw)
  To: robh, krzk+dt, conor+dt, nicolas.ferre, alexandre.belloni,
	claudiu.beznea
  Cc: devicetree, linux-arm-kernel, linux-kernel, Cristian Birsan,
	Mihai Sain

From: Cristian Birsan <cristian.birsan@microchip.com>

Add no-1-8-v property to sdmmc0 node to keep VDDSDMMC power rail at 3.3V.
This property will stop the LDO regulator from switching to 1.8V when the
MMC core detects an UHS SD Card. VDDSDMMC power rail is used by all the
SDMMC interface pins in GPIO mode (PA0 - PA13).

On this board, PA6 is used as GPIO to enable the power switch controlling
USB Vbus for the USB Host. The change is needed to fix the PA6 voltage
level to 3.3V instead of 1.8V.

Fixes: d85c4229e925 ("ARM: dts: at91: sama5d29_curiosity: Add device tree for sama5d29_curiosity board")
Suggested-by: Mihai Sain <mihai.sain@microchip.com>
Signed-off-by: Cristian Birsan <cristian.birsan@microchip.com>
---
 arch/arm/boot/dts/microchip/at91-sama5d29_curiosity.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/microchip/at91-sama5d29_curiosity.dts b/arch/arm/boot/dts/microchip/at91-sama5d29_curiosity.dts
index 951a0c97d3c6..5933840bb8f7 100644
--- a/arch/arm/boot/dts/microchip/at91-sama5d29_curiosity.dts
+++ b/arch/arm/boot/dts/microchip/at91-sama5d29_curiosity.dts
@@ -514,6 +514,7 @@ kernel@200000 {
 
 &sdmmc0 {
 	bus-width = <4>;
+	no-1-8-v;
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_sdmmc0_default>;
 	disable-wp;
-- 
2.34.1


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

* [PATCH 2/2] ARM: dts: microchip: sama5d27_wlsom1_ek: Add no-1-8-v property to sdmmc0 node
  2024-11-19 16:01 [PATCH 0/2] ARM: dts: microchip: Add no-1-8-v property to sdmmc0 node cristian.birsan
  2024-11-19 16:01 ` [PATCH 1/2] ARM: dts: microchip: sama5d29_curiosity: " cristian.birsan
@ 2024-11-19 16:01 ` cristian.birsan
  2024-11-20 10:39   ` Andrei Simion
  1 sibling, 1 reply; 5+ messages in thread
From: cristian.birsan @ 2024-11-19 16:01 UTC (permalink / raw)
  To: robh, krzk+dt, conor+dt, nicolas.ferre, alexandre.belloni,
	claudiu.beznea
  Cc: devicetree, linux-arm-kernel, linux-kernel, Cristian Birsan,
	Mihai Sain

From: Cristian Birsan <cristian.birsan@microchip.com>

Add no-1-8-v property to sdmmc0 node to keep VDDSDMMC power rail at 3.3V.
This property will stop the LDO regulator from switching to 1.8V when the
MMC core detects an UHS SD Card. VDDSDMMC power rail is used by all the
SDMMC interface pins in GPIO mode (PA0 - PA13).

On this board, PA10 is used as GPIO to enable the power switch controlling
USB Vbus for the USB Host. The change is needed to fix the PA10 voltage
level to 3.3V instead of 1.8V.

Fixes: 5d4c3cfb63fe ("ARM: dts: at91: sama5d27_wlsom1: add SAMA5D27 wlsom1 and wlsom1-ek")
Suggested-by: Mihai Sain <mihai.sain@microchip.com>
Signed-off-by: Cristian Birsan <cristian.birsan@microchip.com>
---
 arch/arm/boot/dts/microchip/at91-sama5d27_wlsom1_ek.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/microchip/at91-sama5d27_wlsom1_ek.dts b/arch/arm/boot/dts/microchip/at91-sama5d27_wlsom1_ek.dts
index 15239834d886..35a933eec573 100644
--- a/arch/arm/boot/dts/microchip/at91-sama5d27_wlsom1_ek.dts
+++ b/arch/arm/boot/dts/microchip/at91-sama5d27_wlsom1_ek.dts
@@ -197,6 +197,7 @@ qspi1_flash: flash@0 {
 
 &sdmmc0 {
 	bus-width = <4>;
+	no-1-8-v;
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_sdmmc0_default>;
 	status = "okay";
-- 
2.34.1


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

* Re: [PATCH 1/2] ARM: dts: microchip: sama5d29_curiosity: Add no-1-8-v property to sdmmc0 node
  2024-11-19 16:01 ` [PATCH 1/2] ARM: dts: microchip: sama5d29_curiosity: " cristian.birsan
@ 2024-11-20 10:09   ` Andrei Simion
  0 siblings, 0 replies; 5+ messages in thread
From: Andrei Simion @ 2024-11-20 10:09 UTC (permalink / raw)
  To: cristian.birsan
  Cc: alexandre.belloni, claudiu.beznea, conor+dt, devicetree, krzk+dt,
	linux-arm-kernel, linux-kernel, mihai.sain, nicolas.ferre, robh,
	Andrei Simion

> From: Cristian Birsan <cristian.birsan@microchip.com>
>
> Add no-1-8-v property to sdmmc0 node to keep VDDSDMMC power rail at 3.3V.
> This property will stop the LDO regulator from switching to 1.8V when the
> MMC core detects an UHS SD Card. VDDSDMMC power rail is used by all the
> SDMMC interface pins in GPIO mode (PA0 - PA13).
>
> On this board, PA6 is used as GPIO to enable the power switch controlling
> USB Vbus for the USB Host. The change is needed to fix the PA6 voltage
> level to 3.3V instead of 1.8V.
>
> Fixes: d85c4229e925 ("ARM: dts: at91: sama5d29_curiosity: Add device tree for sama5d29_curiosity board")
> Suggested-by: Mihai Sain <mihai.sain@microchip.com>
> Signed-off-by: Cristian Birsan <cristian.birsan@microchip.com>

Hi,

Tested-by: Andrei Simion <andrei.simion@microchip.com>

> ---
>  arch/arm/boot/dts/microchip/at91-sama5d29_curiosity.dts | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/boot/dts/microchip/at91-sama5d29_curiosity.dts b/arch/arm/boot/dts/microchip/at91-sama5d29_curiosity.dts
> index 951a0c97d3c6..5933840bb8f7 100644
> --- a/arch/arm/boot/dts/microchip/at91-sama5d29_curiosity.dts
> +++ b/arch/arm/boot/dts/microchip/at91-sama5d29_curiosity.dts
> @@ -514,6 +514,7 @@ kernel@200000 {
>
>  &sdmmc0 {
>  	bus-width = <4>;
> +	no-1-8-v;
>  	pinctrl-names = "default";
>  	pinctrl-0 = <&pinctrl_sdmmc0_default>;
>  	disable-wp;

Best Regards,
--
Andrei Simion

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

* Re: [PATCH 2/2] ARM: dts: microchip: sama5d27_wlsom1_ek: Add no-1-8-v property to sdmmc0 node
  2024-11-19 16:01 ` [PATCH 2/2] ARM: dts: microchip: sama5d27_wlsom1_ek: " cristian.birsan
@ 2024-11-20 10:39   ` Andrei Simion
  0 siblings, 0 replies; 5+ messages in thread
From: Andrei Simion @ 2024-11-20 10:39 UTC (permalink / raw)
  To: cristian.birsan
  Cc: alexandre.belloni, claudiu.beznea, conor+dt, devicetree, krzk+dt,
	linux-arm-kernel, linux-kernel, mihai.sain, nicolas.ferre, robh,
	Andrei Simion

> From: Cristian Birsan <cristian.birsan@microchip.com>
>
> Add no-1-8-v property to sdmmc0 node to keep VDDSDMMC power rail at 3.3V.
> This property will stop the LDO regulator from switching to 1.8V when the
> MMC core detects an UHS SD Card. VDDSDMMC power rail is used by all the
> SDMMC interface pins in GPIO mode (PA0 - PA13).
>
> On this board, PA10 is used as GPIO to enable the power switch controlling
> USB Vbus for the USB Host. The change is needed to fix the PA10 voltage
> level to 3.3V instead of 1.8V.
>
> Fixes: 5d4c3cfb63fe ("ARM: dts: at91: sama5d27_wlsom1: add SAMA5D27 wlsom1 and wlsom1-ek")
> Suggested-by: Mihai Sain <mihai.sain@microchip.com>
> Signed-off-by: Cristian Birsan <cristian.birsan@microchip.com>

Hi,

Tested-by: Andrei Simion <andrei.simion@microchip.com>

> ---
>  arch/arm/boot/dts/microchip/at91-sama5d27_wlsom1_ek.dts | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/boot/dts/microchip/at91-sama5d27_wlsom1_ek.dts b/arch/arm/boot/dts/microchip/at91-sama5d27_wlsom1_ek.dts
> index 15239834d886..35a933eec573 100644
> --- a/arch/arm/boot/dts/microchip/at91-sama5d27_wlsom1_ek.dts
> +++ b/arch/arm/boot/dts/microchip/at91-sama5d27_wlsom1_ek.dts
> @@ -197,6 +197,7 @@ qspi1_flash: flash@0 {
>
>  &sdmmc0 {
>  	bus-width = <4>;
> +	no-1-8-v;
>  	pinctrl-names = "default";
>  	pinctrl-0 = <&pinctrl_sdmmc0_default>;
>  	status = "okay";

Best Regards,
--
Andrei Simion

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

end of thread, other threads:[~2024-11-20 10:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-19 16:01 [PATCH 0/2] ARM: dts: microchip: Add no-1-8-v property to sdmmc0 node cristian.birsan
2024-11-19 16:01 ` [PATCH 1/2] ARM: dts: microchip: sama5d29_curiosity: " cristian.birsan
2024-11-20 10:09   ` Andrei Simion
2024-11-19 16:01 ` [PATCH 2/2] ARM: dts: microchip: sama5d27_wlsom1_ek: " cristian.birsan
2024-11-20 10:39   ` Andrei Simion

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox