[PATCH v3 2/2] arm64: dts: rockchip: Add sdmmc/sdio/emmc reset controls for RK3328
Dragan Simic
dsimic at manjaro.org
Sat Jul 13 06:32:09 PDT 2024
Hello Diederik,
On 2024-07-10 15:28, Diederik de Haas wrote:
> From: Alex Bee <knaerzche at gmail.com>
>
> The DW MCI controller driver will use them to reset the IP block before
> initialisation.
>
> Fixes: d717f7352ec6 ("arm64: dts: rockchip: add sdmmc/sdio/emmc nodes
> for RK3328 SoCs")
> Signed-off-by: Alex Bee <knaerzche at gmail.com>
> Signed-off-by: Diederik de Haas <didi.debian at cknow.org>
Looking good to me, cross-referencing the RK3328 TRM checks out.
Reviewed-by: Dragan Simic <dsimic at manjaro.org>
> ---
> arch/arm64/boot/dts/rockchip/rk3328.dtsi | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi
> b/arch/arm64/boot/dts/rockchip/rk3328.dtsi
> index 95c3f1303544..16b4faa22e4f 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi
> +++ b/arch/arm64/boot/dts/rockchip/rk3328.dtsi
> @@ -910,6 +910,8 @@ sdmmc: mmc at ff500000 {
> clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
> fifo-depth = <0x100>;
> max-frequency = <150000000>;
> + resets = <&cru SRST_MMC0>;
> + reset-names = "reset";
> status = "disabled";
> };
>
> @@ -922,6 +924,8 @@ sdio: mmc at ff510000 {
> clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
> fifo-depth = <0x100>;
> max-frequency = <150000000>;
> + resets = <&cru SRST_SDIO>;
> + reset-names = "reset";
> status = "disabled";
> };
>
> @@ -934,6 +938,8 @@ emmc: mmc at ff520000 {
> clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
> fifo-depth = <0x100>;
> max-frequency = <150000000>;
> + resets = <&cru SRST_EMMC>;
> + reset-names = "reset";
> status = "disabled";
> };
More information about the linux-arm-kernel
mailing list