soundwire: qcom: get max rows and cols info from compatible
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Thu, 17 Sep 2020 12:01:38 +0000 (13:01 +0100)
committerVinod Koul <vkoul@kernel.org>
Fri, 18 Sep 2020 12:18:51 +0000 (17:48 +0530)
commit8cb3b4e74cd810b86e18bcf832c2a4a877737981
treed0ca58c54f2ca6f80c1031c10e9b5dc97f01e903
parent5ffba1fb6d555556c554d373643b0eafbd3e6a4f
soundwire: qcom: get max rows and cols info from compatible

currently the max rows and cols values are hardcoded. In reality
these values depend on the IP version. So get these based on
device tree compatible strings.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20200917120138.11313-4-srinivas.kandagatla@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/qcom.c