2023-06-30 12:14:36

by zelong dong

[permalink] [raw]
Subject: [PATCH 2/3] reset: reset-meson: add support for the Meson-C3 SoC Reset Controller

From: Zelong Dong <[email protected]>

Add a new compatible string to support for the reset controller
on the C3 SoC. The count and offset for C3 Soc RESET registers are
same as S4 Soc.

Change-Id: I65113f6a90545cd46015abf60b4bcb63fa148267
Signed-off-by: Zelong Dong <[email protected]>
---
drivers/reset/reset-meson.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/reset/reset-meson.c b/drivers/reset/reset-meson.c
index 13878ca2779d..ee1d5caf0ee4 100644
--- a/drivers/reset/reset-meson.c
+++ b/drivers/reset/reset-meson.c
@@ -109,6 +109,7 @@ static const struct of_device_id meson_reset_dt_ids[] = {
{ .compatible = "amlogic,meson-axg-reset", .data = &meson8b_param},
{ .compatible = "amlogic,meson-a1-reset", .data = &meson_a1_param},
{ .compatible = "amlogic,meson-s4-reset", .data = &meson_s4_param},
+ { .compatible = "amlogic,meson-c3-reset", .data = &meson_s4_param},
{ /* sentinel */ },
};
MODULE_DEVICE_TABLE(of, meson_reset_dt_ids);
--
2.35.1



2023-06-30 16:30:34

by Dmitry Rokosov

[permalink] [raw]
Subject: Re: [PATCH 2/3] reset: reset-meson: add support for the Meson-C3 SoC Reset Controller

On Fri, Jun 30, 2023 at 08:10:58PM +0800, zelong dong wrote:
> From: Zelong Dong <[email protected]>
>
> Add a new compatible string to support for the reset controller
> on the C3 SoC. The count and offset for C3 Soc RESET registers are
> same as S4 Soc.
>
> Change-Id: I65113f6a90545cd46015abf60b4bcb63fa148267
> Signed-off-by: Zelong Dong <[email protected]>

Reviewed-by: Dmitry Rokosov <[email protected]>

> ---
> drivers/reset/reset-meson.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/reset/reset-meson.c b/drivers/reset/reset-meson.c
> index 13878ca2779d..ee1d5caf0ee4 100644
> --- a/drivers/reset/reset-meson.c
> +++ b/drivers/reset/reset-meson.c
> @@ -109,6 +109,7 @@ static const struct of_device_id meson_reset_dt_ids[] = {
> { .compatible = "amlogic,meson-axg-reset", .data = &meson8b_param},
> { .compatible = "amlogic,meson-a1-reset", .data = &meson_a1_param},
> { .compatible = "amlogic,meson-s4-reset", .data = &meson_s4_param},
> + { .compatible = "amlogic,meson-c3-reset", .data = &meson_s4_param},
> { /* sentinel */ },
> };
> MODULE_DEVICE_TABLE(of, meson_reset_dt_ids);
> --
> 2.35.1
>
>
> _______________________________________________
> linux-amlogic mailing list
> [email protected]
> http://lists.infradead.org/mailman/listinfo/linux-amlogic

--
Thank you,
Dmitry

2023-07-03 20:29:52

by Martin Blumenstingl

[permalink] [raw]
Subject: Re: [PATCH 2/3] reset: reset-meson: add support for the Meson-C3 SoC Reset Controller

On Fri, Jun 30, 2023 at 2:11 PM zelong dong <[email protected]> wrote:
>
> From: Zelong Dong <[email protected]>
>
> Add a new compatible string to support for the reset controller
> on the C3 SoC. The count and offset for C3 Soc RESET registers are
> same as S4 Soc.
>
> Change-Id: I65113f6a90545cd46015abf60b4bcb63fa148267
with this Change-Id removed (as mentioned for other patches in this series)

> Signed-off-by: Zelong Dong <[email protected]>
this patch gets my:
Reviewed-by: Martin Blumenstingl <[email protected]>