]> www.infradead.org Git - users/jedix/linux-maple.git/commit
reset: imx8mp-audiomix: Prepare the code for more reset bits
authorDaniel Baluta <daniel.baluta@nxp.com>
Tue, 11 Mar 2025 08:58:08 +0000 (10:58 +0200)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Thu, 13 Mar 2025 15:09:17 +0000 (09:09 -0600)
commita83bc87cd30a4cc544891a0dd4cb752e094125e0
tree3b664792d542b906d0c65c97e22e4e851d96f46c
parent9df5c535a274c97f92d462ac3bf77f2bef417ef9
reset: imx8mp-audiomix: Prepare the code for more reset bits

Current code supports EARC PHY Software Reset and EARC Software Reset
but it is not easily extensible to more reset bits.

So, refactor the code in order to easily allow more reset bits in the
future.

Reviewed-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Link: https://lore.kernel.org/r/20250311085812.1296243-6-daniel.baluta@nxp.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/reset/reset-imx8mp-audiomix.c