public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: "Jaehoon Chung" <jh80.chung@samsung.com>
To: "'Heiko Stuebner'" <heiko@sntech.de>, <sjg@chromium.org>,
	<philipp.tomsich@vrull.eu>, <kever.yang@rock-chips.com>
Cc: <lukma@denx.de>, <seanga2@gmail.com>, <peng.fan@nxp.com>,
	<joe.hershberger@ni.com>, <rfried.dev@gmail.com>,
	<jonas@kwiboo.se>, <quentin.schulz@cherry.de>,
	<detlev.casanova@collabora.com>, <u-boot@lists.denx.de>,
	<sebastian.reichel@collabora.com>
Subject: RE: [PATCH 17/20] mmc: rockchip_sdhci: Add support for RK3576
Date: Fri, 22 Nov 2024 07:38:21 +0900	[thread overview]
Message-ID: <000401db3c66$11974a60$34c5df20$@samsung.com> (raw)
In-Reply-To: <20241121142731.1202209-18-heiko@sntech.de>



> -----Original Message-----
> From: Heiko Stuebner <heiko@sntech.de>
> Sent: Thursday, November 21, 2024 11:27 PM
> To: sjg@chromium.org; philipp.tomsich@vrull.eu; kever.yang@rock-chips.com
> Cc: heiko@sntech.de; lukma@denx.de; seanga2@gmail.com; peng.fan@nxp.com; jh80.chung@samsung.com;
> joe.hershberger@ni.com; rfried.dev@gmail.com; jonas@kwiboo.se; quentin.schulz@cherry.de;
> detlev.casanova@collabora.com; u-boot@lists.denx.de; sebastian.reichel@collabora.com
> Subject: [PATCH 17/20] mmc: rockchip_sdhci: Add support for RK3576
>
> Add support for RK3576 to the rockchip sdhci driver.
>
> It's pretty similar to its cousins found in the RK3568 and RK3588 and the
> specific hs400-tx-tap number was taken from the vendor-u-boot.
>
> Signed-off-by: Heiko Stuebner <heiko@sntech.de>


Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>

Best Regards,
Jaehoon Chung

> ---
>  drivers/mmc/rockchip_sdhci.c | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
>
> diff --git a/drivers/mmc/rockchip_sdhci.c b/drivers/mmc/rockchip_sdhci.c
> index da630b9d97a..9571e7d66c9 100644
> --- a/drivers/mmc/rockchip_sdhci.c
> +++ b/drivers/mmc/rockchip_sdhci.c
> @@ -656,6 +656,14 @@ static const struct sdhci_data rk3568_data = {
>  	.hs400_txclk_tapnum = 0x8,
>  };
>
> +static const struct sdhci_data rk3576_data = {
> +	.set_ios_post = rk3568_sdhci_set_ios_post,
> +	.set_clock = rk3568_sdhci_set_clock,
> +	.config_dll = rk3568_sdhci_config_dll,
> +	.hs200_txclk_tapnum = DLL_TXCLK_TAPNUM_DEFAULT,
> +	.hs400_txclk_tapnum = 0x7,
> +};
> +
>  static const struct sdhci_data rk3588_data = {
>  	.set_ios_post = rk3568_sdhci_set_ios_post,
>  	.set_clock = rk3568_sdhci_set_clock,
> @@ -673,6 +681,10 @@ static const struct udevice_id sdhci_ids[] = {
>  		.compatible = "rockchip,rk3568-dwcmshc",
>  		.data = (ulong)&rk3568_data,
>  	},
> +	{
> +		.compatible = "rockchip,rk3576-dwcmshc",
> +		.data = (ulong)&rk3576_data,
> +	},
>  	{
>  		.compatible = "rockchip,rk3588-dwcmshc",
>  		.data = (ulong)&rk3588_data,
> --
> 2.45.2




  reply	other threads:[~2024-11-21 22:38 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-21 14:27 [PATCH 00/20] Support for the RK3576 Heiko Stuebner
2024-11-21 14:27 ` [PATCH 01/20] dt-bindings: clock, reset: Add support for rk3576 Heiko Stuebner
2025-01-03  3:07   ` Kever Yang
2024-11-21 14:27 ` [PATCH 02/20] dt-bindings: clock, reset: fix top-comment indentation rk3576 headers Heiko Stuebner
2025-01-03  3:08   ` Kever Yang
2024-11-21 14:27 ` [PATCH 03/20] dt-bindings: power: Add support for RK3576 SoC Heiko Stuebner
2025-01-03  3:08   ` Kever Yang
2024-11-21 14:27 ` [PATCH 04/20] DONOTMERGE: arm64: dts: rockchip: Add rk3576 SoC base DT Heiko Stuebner
2024-11-21 14:27 ` [PATCH 05/20] DONOTMERGE: arm64: dts: rockchip: add rk3576 otp node Heiko Stuebner
2024-11-21 14:27 ` [PATCH 06/20] DONOTMERGE: dt-bindings: arm: rockchip: Add Firefly ROC-RK3576-PC binding Heiko Stuebner
2024-11-21 14:27 ` [PATCH 07/20] DONOTMERGE: arm64: dts: rockchip: Add devicetree for the ROC-RK3576-PC Heiko Stuebner
2024-11-21 14:27 ` [PATCH 08/20] rockchip: sdram: honor CFG_SYS_SDRAM_BASE when defining ram regions Heiko Stuebner
2024-11-26 16:13   ` Quentin Schulz
2025-01-30 22:23   ` Jonas Karlman
2024-11-21 14:27 ` [PATCH 09/20] rockchip: mkimage: Add rk3576 support Heiko Stuebner
2024-11-26 16:53   ` Quentin Schulz
2025-01-10  0:54     ` Kever Yang
2025-01-14 16:43       ` Quentin Schulz
2024-11-21 14:27 ` [PATCH 10/20] arm: rockchip: add RK3576-specific syscon ids Heiko Stuebner
2024-11-26 17:12   ` Quentin Schulz
2024-11-21 14:27 ` [PATCH 11/20] arm: rockchip: Add RK3576 arch core support Heiko Stuebner
2024-11-26 18:07   ` Quentin Schulz
2025-01-30 23:07   ` Jonas Karlman
2024-11-21 14:27 ` [PATCH 12/20] pinctrl: rockchip: support rk3576 pinctrl Heiko Stuebner
2025-01-30 23:23   ` Jonas Karlman
2024-11-21 14:27 ` [PATCH 13/20] clk: rockchip: Add rk3576 clk support Heiko Stuebner
2025-01-30 23:18   ` Jonas Karlman
2024-11-21 14:27 ` [PATCH 14/20] reset: rockchip: implement rk3576 lookup table Heiko Stuebner
2024-11-21 14:27 ` [PATCH 15/20] ram: rockchip: Add rk3576 ddr driver support Heiko Stuebner
2025-01-30 23:13   ` Jonas Karlman
2024-11-21 14:27 ` [PATCH 16/20] rockchip: otp: Add support for RK3576 Heiko Stuebner
2024-11-26 18:37   ` Quentin Schulz
2024-11-21 14:27 ` [PATCH 17/20] mmc: rockchip_sdhci: " Heiko Stuebner
2024-11-21 22:38   ` Jaehoon Chung [this message]
2025-01-30 23:25   ` Jonas Karlman
2024-11-21 14:27 ` [PATCH 18/20] mmc: rockchip_dw_mmc: Add support for rk3576 Heiko Stuebner
2024-11-21 22:38   ` Jaehoon Chung
2024-11-21 14:27 ` [PATCH 19/20] net: dwc_eth_qos_rockchip: Add support for RK3576 Heiko Stuebner
2025-01-30 23:30   ` Jonas Karlman
2024-11-21 14:27 ` [PATCH 20/20] rockchip: rk3576: Add support for ROC-RK3576-PC board Heiko Stuebner
2025-01-30 23:39   ` Jonas Karlman
2024-11-26 19:26 ` [PATCH 00/20] Support for the RK3576 Detlev Casanova
2025-04-06 15:09 ` Kever Yang
2025-04-07 15:09   ` Heiko Stübner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000401db3c66$11974a60$34c5df20$@samsung.com' \
    --to=jh80.chung@samsung.com \
    --cc=detlev.casanova@collabora.com \
    --cc=heiko@sntech.de \
    --cc=joe.hershberger@ni.com \
    --cc=jonas@kwiboo.se \
    --cc=kever.yang@rock-chips.com \
    --cc=lukma@denx.de \
    --cc=peng.fan@nxp.com \
    --cc=philipp.tomsich@vrull.eu \
    --cc=quentin.schulz@cherry.de \
    --cc=rfried.dev@gmail.com \
    --cc=seanga2@gmail.com \
    --cc=sebastian.reichel@collabora.com \
    --cc=sjg@chromium.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox