Re: [PATCH v1 2/2] ASoC: codecs: wsa883x: Handle shared reset GPIO for WSA883x speakers

From: Dmitry Baryshkov
Date: Fri Jun 20 2025 - 14:35:58 EST


On 20/06/2025 13:30, Mohammad Rafi Shaik wrote:
On some Qualcomm platforms, such as QCS6490-RB3Gen2 and QCM6490-IDP,
multiple WSA8830/WSA8835 speakers share a common reset (shutdown) GPIO.
To handle such cases, use the reset controller framework along with the
"reset-gpio" driver.

How does this handle the fact that resetting one codec will also silently reset another one?


Signed-off-by: Mohammad Rafi Shaik <mohammad.rafi.shaik@xxxxxxxxxxxxxxxx>
---
sound/soc/codecs/wsa883x.c | 57 ++++++++++++++++++++++++++++++++------
1 file changed, 48 insertions(+), 9 deletions(-)

--
With best wishes
Dmitry