Re: [PATCH v3 2/2] mmc: sdhci-of-aspeed: Handle optional controller reset

From: Krzysztof Kozlowski

Date: Mon Mar 23 2026 - 03:47:04 EST


On Mon, Mar 23, 2026 at 10:07:08AM +0800, Ryan Chen wrote:
> Get the optional reset line for the ASPEED SD controller during probe by
> using devm_reset_control_get_optional_exclusive_deasserted().
>
> This allows platforms such as AST2700, which require the SD controller
> to be taken out of reset before use, to work with the existing driver.
>
> Signed-off-by: Ryan Chen <ryan_chen@xxxxxxxxxxxxxx>
> ---
> Changes in v2:
> - use devm_reset_control_get_optional_exclusive_deasserted replace
> reset_control_get_optional_exclusive.
> - add include reset.h

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxxxxx>

Best regards,
Krzysztof