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

Message ID 20230605174551.160262-1-sabiya.d@ti.com
State New
Headers
Series arm64: dts: ti: k3-am69-sk: Add eMMC mmc0 support |

Commit Message

Dasnavis Sabiya June 5, 2023, 5:45 p.m. UTC
  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(+)
  

Comments

Nishanth Menon June 5, 2023, 8:35 p.m. UTC | #1
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/
  
Vignesh Raghavendra June 15, 2023, 1:28 p.m. UTC | #2
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
  

Patch

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