diff options
author | Patrice Chotard <patrice.chotard@foss.st.com> | 2025-06-09 17:05:04 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-06-09 16:21:29 +0100 |
commit | cf2c3eceb757e3f28e6f1034f9bc178e1535f5cc (patch) | |
tree | d88ca52ad6264c07b485253165df8a7a94042dd9 /scripts/module-common.c | |
parent | e51a086117ed857ea455c9ea774dbfb82f53e517 (diff) |
spi: stm32-ospi: Make usage of reset_control_acquire/release() API
As ospi reset is consumed by both OMM and OSPI drivers, use the reset
acquire/release mechanism which ensure exclusive reset usage.
This avoid to call reset_control_get/put() in OMM driver each time
we need to reset OSPI children and guarantee the reset line stays
deasserted.
During resume, OMM driver takes temporarily control of reset.
Fixes: 79b8a705e26c ("spi: stm32: Add OSPI driver")
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Link: https://patch.msgid.link/20250609-b4-upstream_ospi_reset_update-v6-1-5b602b567e8a@foss.st.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/module-common.c')
0 files changed, 0 insertions, 0 deletions