[PATCH 3/4] reset: th1520: Support reset controllers in more subsystems
Yao Zi
ziyao at disroot.org
Tue Sep 2 17:44:25 PDT 2025
On Tue, Sep 02, 2025 at 04:15:08PM +0200, Maud Spierings wrote:
> 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.
This is sorted according to the order they appear in the TRM, but yeah
sorting them alphabetically makes more sense. I'll do this in v2.
Thanks,
Yao Zi
> > { /* sentinel */ }
> > };
> > MODULE_DEVICE_TABLE(of, th1520_reset_match);
> > --
> > 2.50.1
>
> Kind regards,
> Maud
>
> _______________________________________________
> linux-riscv mailing list
> linux-riscv at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-riscv
More information about the linux-riscv
mailing list