[PATCH 5/7] reset: imx8mp-audiomix: Extend the driver usage

Daniel Baluta daniel.baluta at gmail.com
Tue Aug 5 00:51:56 PDT 2025


On Mon, Aug 4, 2025 at 6:57 PM Laurentiu Mihalcea
<laurentiumihalcea111 at gmail.com> wrote:
>
> From: Laurentiu Mihalcea <laurentiu.mihalcea at nxp.com>
>
> Some NXP SoCs integrate one or more, per-subsystem, block control IPs,
> which allow users to control the assertion and de-assertion of the
> reset lines tied to some peripherals present in said subsystems. Some
> examples of such SoCs include i.MX8MP with AUDIOMIX block control and
> i.MX8ULP with SIM LPAV.
>
> Some of the aformentioned block control IPs exhibit a common pattern with
> respect to the assertion and de-assertion of the reset lines. Namely, the
> user is able to control the state of the reset line by toggling a bit from
> one of the IP's registers.
>
> Linux can take advantage of this pattern and, instead of having one driver
> for each block control IP, a single, more generic driver could be used.
>
> To allow this to happen, the previous approach, in which a single reset
> map is used, is replaced by a per-driver approach, in which each auxiliary
> device driver holds a reference to a certain reset map.
>
> Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea at nxp.com>

Reviewed-by: Daniel Baluta <daniel.baluta at nxp.com>



More information about the linux-arm-kernel mailing list