diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2019-12-11 19:45:07 -0600 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2019-12-12 09:17:07 +0530 |
commit | 09f6a72d014386939d21899921dd379006471a4b (patch) | |
tree | 17d53f6ba0b6b1c8aaac562ebc87f0d74faa6317 /drivers/soundwire/stream.c | |
parent | 4da0680f24c9af2de8406ded68c4ef967f448de3 (diff) |
soundwire: intel: add clock stop quirks
Due to power rail dependencies, the SoundWire Master driver cannot
make decisions on its own when entering pm runtime suspend.
Add quirk mask for each link, so that the SOF parent driver can inform
the SoundWire master driver of the desired behavior:
a) leave clock on
b) power-off instead of clock stop
c) power-off if all devices cannot generate wakes
d) force bus reset on clock restart
Note that for now the interface with the SOF driver relies on a single
mask for all links. If needed, the interface might be modified at a
later point to provide more freedom. The code at the lower level does
not assume any commonality between links.
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20191212014507.28050-12-pierre-louis.bossart@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/soundwire/stream.c')
0 files changed, 0 insertions, 0 deletions