All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] riscv: starfive: MMC card detect
@ 2024-03-28 21:46 Heinrich Schuchardt
  2024-03-29  7:53 ` Minda Chen
  0 siblings, 1 reply; 2+ messages in thread
From: Heinrich Schuchardt @ 2024-03-28 21:46 UTC (permalink / raw)
  To: Minda Chen
  Cc: Hal Feng, Rick Chen, Leo, Aurelien Jarno, u-boot, Heinrich Schuchardt

The VisionFive 2 board uses GPIO 41 as card detect as documented in
https://doc-en.rvspace.org/VisionFive2/PDF/SCH_RV002_V1.2A_20221216.pdf.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
---
 arch/riscv/dts/jh7110-starfive-visionfive-2.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/riscv/dts/jh7110-starfive-visionfive-2.dtsi b/arch/riscv/dts/jh7110-starfive-visionfive-2.dtsi
index f2c6bec9298..e11babc1cde 100644
--- a/arch/riscv/dts/jh7110-starfive-visionfive-2.dtsi
+++ b/arch/riscv/dts/jh7110-starfive-visionfive-2.dtsi
@@ -298,7 +298,7 @@
 	pinctrl-0 = <&mmc1_pins>;
 	no-sdio;
 	no-mmc;
-	broken-cd;
+	cd-gpios = <&sysgpio 41 GPIO_ACTIVE_LOW>;
 	cap-sd-highspeed;
 	post-power-on-delay-ms = <200>;
 	status = "okay";
-- 
2.43.0


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

* Re: [PATCH 1/1] riscv: starfive: MMC card detect
  2024-03-28 21:46 [PATCH 1/1] riscv: starfive: MMC card detect Heinrich Schuchardt
@ 2024-03-29  7:53 ` Minda Chen
  0 siblings, 0 replies; 2+ messages in thread
From: Minda Chen @ 2024-03-29  7:53 UTC (permalink / raw)
  To: Heinrich Schuchardt; +Cc: Hal Feng, Rick Chen, Leo, Aurelien Jarno, u-boot



> 
> The VisionFive 2 board uses GPIO 41 as card detect as documented in
> https://doc-en.rvspace.org/VisionFive2/PDF/SCH_RV002_V1.2A_20221216.pdf.
> 
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
> ---
>  arch/riscv/dts/jh7110-starfive-visionfive-2.dtsi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/riscv/dts/jh7110-starfive-visionfive-2.dtsi
> b/arch/riscv/dts/jh7110-starfive-visionfive-2.dtsi
> index f2c6bec9298..e11babc1cde 100644
> --- a/arch/riscv/dts/jh7110-starfive-visionfive-2.dtsi
> +++ b/arch/riscv/dts/jh7110-starfive-visionfive-2.dtsi
> @@ -298,7 +298,7 @@
>  	pinctrl-0 = <&mmc1_pins>;
>  	no-sdio;
>  	no-mmc;
> -	broken-cd;
> +	cd-gpios = <&sysgpio 41 GPIO_ACTIVE_LOW>;
>  	cap-sd-highspeed;
>  	post-power-on-delay-ms = <200>;
>  	status = "okay";
> --
> 2.43.0

Acked-by: Minda Chen <minda.chen@starfivetech.com>

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

end of thread, other threads:[~2024-03-29  7:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-28 21:46 [PATCH 1/1] riscv: starfive: MMC card detect Heinrich Schuchardt
2024-03-29  7:53 ` Minda Chen

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.