2022-02-21 09:07:19

by Joel Stanley

[permalink] [raw]
Subject: [PATCH] reset: simple: Add AST2600 compatible

Similar to the 2400 and 2500, the LPC controller has some simple reset
lines that are used by the UART devices.

This is already documented in LPC bindings document.

Signed-off-by: Joel Stanley <[email protected]>
---
drivers/reset/reset-simple.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/reset/reset-simple.c b/drivers/reset/reset-simple.c
index 4dda0daf2c6f..361a68314265 100644
--- a/drivers/reset/reset-simple.c
+++ b/drivers/reset/reset-simple.c
@@ -144,6 +144,7 @@ static const struct of_device_id reset_simple_dt_ids[] = {
.data = &reset_simple_active_low },
{ .compatible = "aspeed,ast2400-lpc-reset" },
{ .compatible = "aspeed,ast2500-lpc-reset" },
+ { .compatible = "aspeed,ast2600-lpc-reset" },
{ .compatible = "bitmain,bm1880-reset",
.data = &reset_simple_active_low },
{ .compatible = "brcm,bcm4908-misc-pcie-reset",
--
2.34.1


2022-04-05 01:32:42

by Philipp Zabel

[permalink] [raw]
Subject: Re: [PATCH] reset: simple: Add AST2600 compatible

On Mo, 2022-02-21 at 17:56 +1030, Joel Stanley wrote:
> Similar to the 2400 and 2500, the LPC controller has some simple
> reset
> lines that are used by the UART devices.
>
> This is already documented in LPC bindings document.
>
> Signed-off-by: Joel Stanley <[email protected]>
> ---
>  drivers/reset/reset-simple.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/reset/reset-simple.c b/drivers/reset/reset-
> simple.c
> index 4dda0daf2c6f..361a68314265 100644
> --- a/drivers/reset/reset-simple.c
> +++ b/drivers/reset/reset-simple.c
> @@ -144,6 +144,7 @@ static const struct of_device_id
> reset_simple_dt_ids[] = {
>                 .data = &reset_simple_active_low },
>         { .compatible = "aspeed,ast2400-lpc-reset" },
>         { .compatible = "aspeed,ast2500-lpc-reset" },
> +       { .compatible = "aspeed,ast2600-lpc-reset" },
>         { .compatible = "bitmain,bm1880-reset",
>                 .data = &reset_simple_active_low },
>         { .compatible = "brcm,bcm4908-misc-pcie-reset",

Thank you, applied to reset/next.

regards
Philipp