[PATCH 3/4] reset: th1520: Support reset controllers in more subsystems

Maud Spierings maud_spierings at hotmail.com
Tue Sep 2 07:15:08 PDT 2025


Hi Yao,

> Introduce reset controllers for AP, MISC, VI, VP and DSP subsystems and
> add their reset signal mappings.
> 
> Signed-off-by: Yao Zi <ziyao at disroot.org>
> ---

/* snip */

>  static const struct of_device_id th1520_reset_match[] = {
> +	{ .compatible = "thead,th1520-reset-ap", .data = &th1520_ap_reset_data },
> +	{ .compatible = "thead,th1520-reset-misc", .data = &th1520_misc_reset_data },
> +	{ .compatible = "thead,th1520-reset-vi", .data = &th1520_vi_reset_data },
>  	{ .compatible = "thead,th1520-reset", .data = &th1520_reset_data },
> +	{ .compatible = "thead,th1520-reset-vp", .data = &th1520_vp_reset_data },
> +	{ .compatible = "thead,th1520-reset-dsp", .data = &th1520_dsp_reset_data },

I believe these should be alphabetically sorted on compatible name.

>  	{ /* sentinel */ }
>  };
>  MODULE_DEVICE_TABLE(of, th1520_reset_match);
> -- 
> 2.50.1

Kind regards,
Maud



More information about the linux-riscv mailing list