Re: [PATCH] reset: meson: Add s4 support

Neil Armstrong <[email protected]>
Newsgroups org.u-boot-project.lists.u-boot,io.groups.u-boot-amlogic
Organization Linaro
Message-ID <[email protected]>
On 8/24/26 14:53, Sean Anderson via groups.io wrote:
> Add s4 support. There are no new features, so just define the layout
> info.
> 
> Signed-off-by: Sean Anderson <[email protected]>
> ---
> 
>   drivers/reset/reset-meson.c | 9 +++++++++
>   1 file changed, 9 insertions(+)
> 
> diff --git a/drivers/reset/reset-meson.c b/drivers/reset/reset-meson.c
> index 8c27563ce23..16d2dc19898 100644
> --- a/drivers/reset/reset-meson.c
> +++ b/drivers/reset/reset-meson.c
> @@ -82,6 +82,11 @@ static const struct meson_reset_drvdata meson_a1_data = {
>   	.level_offset = 0x40,
>   };
>   
> +static const struct meson_reset_drvdata meson_s4_data = {
> +	.reg_count = 6,
> +	.level_offset = 0x40,
> +};
> +
>   static const struct udevice_id meson_reset_ids[] = {
>   	{
>   		.compatible = "amlogic,meson-gxbb-reset",
> @@ -95,6 +100,10 @@ static const struct udevice_id meson_reset_ids[] = {
>   		.compatible = "amlogic,meson-a1-reset",
>   		.data = (ulong)&meson_a1_data,
>   	},
> +	{
> +		.compatible = "amlogic,meson-s4-reset",
> +		.data = (ulong)&meson_s4_data,
> +	},
>   	{ }
>   };
>   
> ---
> base-commit: d3e8597e46b635ec556a057bc42f0b0859654bdf
> branch: s4_reset
> 

Reviewed-by: Neil Armstrong <[email protected]>

Thanks,
Neil
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.