soundwire: qcom: add in-band wake up interrupt support
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Mon, 28 Feb 2022 17:25:28 +0000 (17:25 +0000)
committerVinod Koul <vkoul@kernel.org>
Wed, 2 Mar 2022 15:42:29 +0000 (21:12 +0530)
commit04d46a7b38375aef945b663a3957f85025f74934
tree72807be6eb22756753d6295d1656937522fa5701
parentc7449e766de3c7334d5ded1ab18e17fb9fb4dd76
soundwire: qcom: add in-band wake up interrupt support

Some of the Qualcomm SoundWire Controller instances like the ones that are
connected to RX path along with Headset connections support Waking up
Controller from Low power clock stop state using SoundWire In-band interrupt.
SoundWire Slave on the bus would initiate this by pulling the data line high,
while the clock is stopped.

Add support to this wake up interrupt.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20220228172528.3489-4-srinivas.kandagatla@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/qcom.c