Message ID | 20241121142731.1202209-19-heiko@sntech.de |
---|---|
State | New |
Delegated to: | Kever Yang |
Headers | show |
Series | Support for the RK3576 | expand |
> -----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 18/20] mmc: rockchip_dw_mmc: Add support for rk3576 > > The rk3576 uses a different base-compatible, as starting with this > generation, the clock phase tuning is done via registers inside > the mmc controller and not from inside the CRU. > > In U-Boot we do not tune at all, so no other code changes are > necessary. > > Signed-off-by: Heiko Stuebner <heiko@sntech.de> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com> Best Regards, Jaehoon Chung > --- > drivers/mmc/rockchip_dw_mmc.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/mmc/rockchip_dw_mmc.c b/drivers/mmc/rockchip_dw_mmc.c > index 422b8f7e4c8..7a72abaa38a 100644 > --- a/drivers/mmc/rockchip_dw_mmc.c > +++ b/drivers/mmc/rockchip_dw_mmc.c > @@ -171,6 +171,7 @@ static int rockchip_dwmmc_bind(struct udevice *dev) > static const struct udevice_id rockchip_dwmmc_ids[] = { > { .compatible = "rockchip,rk2928-dw-mshc" }, > { .compatible = "rockchip,rk3288-dw-mshc" }, > + { .compatible = "rockchip,rk3576-dw-mshc" }, > { } > }; > > -- > 2.45.2
diff --git a/drivers/mmc/rockchip_dw_mmc.c b/drivers/mmc/rockchip_dw_mmc.c index 422b8f7e4c8..7a72abaa38a 100644 --- a/drivers/mmc/rockchip_dw_mmc.c +++ b/drivers/mmc/rockchip_dw_mmc.c @@ -171,6 +171,7 @@ static int rockchip_dwmmc_bind(struct udevice *dev) static const struct udevice_id rockchip_dwmmc_ids[] = { { .compatible = "rockchip,rk2928-dw-mshc" }, { .compatible = "rockchip,rk3288-dw-mshc" }, + { .compatible = "rockchip,rk3576-dw-mshc" }, { } };
The rk3576 uses a different base-compatible, as starting with this generation, the clock phase tuning is done via registers inside the mmc controller and not from inside the CRU. In U-Boot we do not tune at all, so no other code changes are necessary. Signed-off-by: Heiko Stuebner <heiko@sntech.de> --- drivers/mmc/rockchip_dw_mmc.c | 1 + 1 file changed, 1 insertion(+)