[PATCH] arm64: dts: ti: k3-am69-sk: Add eMMC mmc0 support

sabiya.d@mistralsolutions.com posted 1 patch 2 years, 8 months ago
arch/arm64/boot/dts/ti/k3-am69-sk.dts | 9 +++++++++
1 file changed, 9 insertions(+)
[PATCH] arm64: dts: ti: k3-am69-sk: Add eMMC mmc0 support
Posted by sabiya.d@mistralsolutions.com 2 years, 8 months ago
From: Dasnavis Sabiya <sabiya.d@ti.com>

Add support for eMMC card connected to main sdhci0 instance.

Signed-off-by: Dasnavis Sabiya <sabiya.d@ti.com>
---
 arch/arm64/boot/dts/ti/k3-am69-sk.dts | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm64/boot/dts/ti/k3-am69-sk.dts b/arch/arm64/boot/dts/ti/k3-am69-sk.dts
index 4b7d9280d76f..ab8ec2cb396e 100644
--- a/arch/arm64/boot/dts/ti/k3-am69-sk.dts
+++ b/arch/arm64/boot/dts/ti/k3-am69-sk.dts
@@ -22,6 +22,7 @@ chosen {
 
 	aliases {
 		serial2 = &main_uart8;
+		mmc0 = &main_sdhci0;
 		mmc1 = &main_sdhci1;
 		i2c0 = &main_i2c0;
 	};
@@ -191,6 +192,14 @@ exp1: gpio@21 {
 	};
 };
 
+&main_sdhci0 {
+	/* eMMC */
+	status = "okay";
+	non-removable;
+	ti,driver-strength-ohm = <50>;
+	disable-wp;
+};
+
 &main_sdhci1 {
 	/* SD card */
 	status = "okay";
-- 
2.25.1
Re: [PATCH] arm64: dts: ti: k3-am69-sk: Add eMMC mmc0 support
Posted by Vignesh Raghavendra 2 years, 7 months ago
Hi sabiya.d@mistralsolutions.com,

On Mon, 05 Jun 2023 23:15:51 +0530, sabiya.d@mistralsolutions.com wrote:
> Add support for eMMC card connected to main sdhci0 instance.
> 
> 

I have applied the following to branch ti-k3-dts-next on [1].
Thank you!

[1/1] arm64: dts: ti: k3-am69-sk: Add eMMC mmc0 support
      commit: 74428680d71a37e6ee458b6eccf085114e0e4167

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent up the chain during
the next merge window (or sooner if it is a relevant bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git
--
Vignesh
Re: [PATCH] arm64: dts: ti: k3-am69-sk: Add eMMC mmc0 support
Posted by Nishanth Menon 2 years, 8 months ago
On 23:15-20230605, sabiya.d@mistralsolutions.com wrote:
> From: Dasnavis Sabiya <sabiya.d@ti.com>
> 
> Add support for eMMC card connected to main sdhci0 instance.
> 
> Signed-off-by: Dasnavis Sabiya <sabiya.d@ti.com>
> ---
>  arch/arm64/boot/dts/ti/k3-am69-sk.dts | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/ti/k3-am69-sk.dts b/arch/arm64/boot/dts/ti/k3-am69-sk.dts
> index 4b7d9280d76f..ab8ec2cb396e 100644
> --- a/arch/arm64/boot/dts/ti/k3-am69-sk.dts
> +++ b/arch/arm64/boot/dts/ti/k3-am69-sk.dts
> @@ -22,6 +22,7 @@ chosen {
>  
>  	aliases {
>  		serial2 = &main_uart8;
> +		mmc0 = &main_sdhci0;
>  		mmc1 = &main_sdhci1;
>  		i2c0 = &main_i2c0;
>  	};
> @@ -191,6 +192,14 @@ exp1: gpio@21 {
>  	};
>  };
>  
> +&main_sdhci0 {
> +	/* eMMC */
> +	status = "okay";
> +	non-removable;
> +	ti,driver-strength-ohm = <50>;
> +	disable-wp;
> +};
> +
>  &main_sdhci1 {
>  	/* SD card */
>  	status = "okay";
> -- 
> 2.25.1
> 

Reviewed-by: Nishanth Menon <nm@ti.com>

Though this will probably need a rebase on top of
https://lore.kernel.org/linux-arm-kernel/20230602214937.2349545-1-nm@ti.com/


-- 
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D