Thread (17 messages) 17 messages, 3 authors, 2025-10-13

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

From: Daniel Baluta <hidden>
Date: 2025-08-05 07:49:51
Also in: imx, linux-clk, linux-devicetree, lkml

On Mon, Aug 4, 2025 at 6:57 PM Laurentiu Mihalcea
[off-list ref] wrote:
From: Laurentiu Mihalcea <redacted>

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 <redacted>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help