Message ID | 20250305214108.1327208-1-jonas@kwiboo.se |
---|---|
Headers | show |
Series | rockchip: Add support for onboard eMMC on Radxa E20C | expand |
Hi, > Driver changes to use different delay and tap num is needed to be able > to support HS400 modes, something for a future series. With this HS200 > mode should work: I have tried HS200 mode on other rk3528 boards and it works fine, so can we enable HS200 mode for Radxa E20C first? Thanks, Chukun
Hi Chukun, On 2025-03-06 10:00, Chukun Pan wrote: > Hi, > >> Driver changes to use different delay and tap num is needed to be able >> to support HS400 modes, something for a future series. With this HS200 >> mode should work: > > I have tried HS200 mode on other rk3528 boards and it works fine, > so can we enable HS200 mode for Radxa E20C first? The host controller already report the HS200 mode, and as shown in cover letter HS200 mode is being enabled/used with this series. However, the driver must use different tap/delay num for HS400(ES) modes. At top of [1] there is a commit that changes to use same tap/delay num as vendor kernel and what I have tested worked in U-Boot. That commit needs to be re-worked before it is ready. Also see [2] for pending work before I plan to complete before moving on to the dwcmshc driver. [1] https://github.com/Kwiboo/linux-rockchip/commits/next-20250227-rk3528-rk3506/ [2] https://github.com/Kwiboo/linux-rockchip/commits/next-20250305-rk3528/ Regards, Jonas > > Thanks, > Chukun >
On Wed, Mar 05, 2025 at 09:41:02PM +0000, Jonas Karlman wrote: > The SDHCI controller in Rockchip RK3528 is similar to the one included > in RK3588. > > Add compatible string for the SDHCI controller in RK3528. > > Signed-off-by: Jonas Karlman <jonas@kwiboo.se> > --- No power domains here? Post complete support, so this won't have to be changed in near future. Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
Hi Krzysztof, On 2025-03-06 10:36, Krzysztof Kozlowski wrote: > On Wed, Mar 05, 2025 at 09:41:02PM +0000, Jonas Karlman wrote: >> The SDHCI controller in Rockchip RK3528 is similar to the one included >> in RK3588. >> >> Add compatible string for the SDHCI controller in RK3528. >> >> Signed-off-by: Jonas Karlman <jonas@kwiboo.se> >> --- > > No power domains here? Post complete support, so this won't have to be > changed in near future. To my knowledge this should be complete support. However, there are some rx/tx tap num and strobe delay num configuration that needs to be tuned to fully support the faster HS400/HS400ES transfer modes. For that we could need something like the PHY output/input tap delays described in mmc/sdhci-am654.yaml. Still unclear to me if the different delayed used by vendor driver is SoC specific and can live in driver or if they instead are reference board specific and could be part of the device tree. Regards, Jonas > > Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > > Best regards, > Krzysztof >
On Wed, 05 Mar 2025 21:41:01 +0000, Jonas Karlman wrote: > The Radxa E20C may come with an onboard eMMC (8GB / 16GB / 32GB / 64GB). > > This series add dt-binding and SoC DT node for the SDHCI controller > and enable use of the SDCHI controller on the Radxa E20C. > > This series add support for the onboard eMMC on Radxa E20C. > > [...] Applied, thanks! [2/3] arm64: dts: rockchip: Add SDHCI controller for RK3528 commit: d62917b63e9f2c876bd9abf019a25313bd9cbc07 [3/3] arm64: dts: rockchip: Enable onboard eMMC on Radxa E20C commit: f25c3b93f50387849db692891e2b2c6f9cc7d055 Best regards,