soundwire: qcom: add static port map support
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Mon, 15 Mar 2021 16:56:48 +0000 (16:56 +0000)
committerVinod Koul <vkoul@kernel.org>
Tue, 6 Apr 2021 04:52:02 +0000 (10:22 +0530)
commiteb5a909441a896fe9e230086363284a09c23e5df
treed787c768ddb5b1c7eaecd59788c10753ba22031b
parent650dfdb894f0f2bc568a29ab91c704dca587458b
soundwire: qcom: add static port map support

SoundWire device ports are statically mapped to Controller ports during
design. Add support to read these from SoundWire devices.
This controller uses static port map info to setup bandwidth
parameters for those ports.

A generic port allocation is not possible in this cases!

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/20210315165650.13392-4-srinivas.kandagatla@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/qcom.c