[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250411-b4-upstream_ospi_reset_update-v2-0-4de7f5dd2a91@foss.st.com>
Date: Fri, 11 Apr 2025 14:41:09 +0200
From: Patrice Chotard <patrice.chotard@...s.st.com>
To: Philipp Zabel <p.zabel@...gutronix.de>, Mark Brown <broonie@...nel.org>,
Maxime Coquelin <mcoquelin.stm32@...il.com>,
Alexandre Torgue
<alexandre.torgue@...s.st.com>
CC: <linux-kernel@...r.kernel.org>, <linux-spi@...r.kernel.org>,
<linux-stm32@...md-mailman.stormreply.com>,
<linux-arm-kernel@...ts.infradead.org>,
Patrice Chotard
<patrice.chotard@...s.st.com>
Subject: [PATCH v2 0/2] reset: Add
devm_reset_control_array_get_exclusive_released()
Add the released variant of devm_reset_control_array_get_exclusive().
Needed by spi-smt32-ospi driver as same reset line is also used also
by stm32-omm driver.
Signed-off-by: Patrice Chotard <patrice.chotard@...s.st.com>
Changes in v2:
- Rebased on spi/for-next (7a978d8fcf57).
- Remove useless check on reset.
- Add error handling on reset_control_acquire().
- Link to v1: https://lore.kernel.org/all/20250410-b4-upstream_ospi_reset_update-v1-0-74126a8ceb9c@foss.st.com/
---
Patrice Chotard (2):
reset: Add devm_reset_control_array_get_exclusive_released()
spi: stm32-ospi: Make usage of reset_control_acquire/release() API
drivers/spi/spi-stm32-ospi.c | 15 +++++++++------
include/linux/reset.h | 6 ++++++
2 files changed, 15 insertions(+), 6 deletions(-)
---
base-commit: 7a978d8fcf57b283cb8c88dd4c9431502bd36ea8
change-id: 20250411-b4-upstream_ospi_reset_update-596ce245ada1
Best regards,
--
Patrice Chotard <patrice.chotard@...s.st.com>
Powered by blists - more mailing lists