ASoC: dt-bindings: qcom: apq8016-sbc: Move to qcom,sm8250 DT schema
authorStephan Gerhold <stephan@gerhold.net>
Thu, 2 Dec 2021 14:55:03 +0000 (15:55 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 13 Dec 2021 22:43:59 +0000 (22:43 +0000)
commitb7875d88bf70100d2fe0dc08072018f994ccd6c4
tree71fa2aaa44440a339735f75931297f6be555a97f
parent1875ae76f82c5c9acd7b7f44bd9226fbcbe858b7
ASoC: dt-bindings: qcom: apq8016-sbc: Move to qcom,sm8250 DT schema

All the Qualcomm sound card drivers use the same common device tree
parsing code, so the allowed device tree nodes are almost the same
for all of them. Convert the qcom,apq8016-sbc-sndcard documentation
to a DT schema by adding it to the existing qcom,sm8250 schema.

The only speciality of qcom,apq8016-sbc-sndcard is that it has memory
resources for setting up an I/O mux. This can be handled using
a conditional if statement that only requires it for the apq8016-sbc
compatible.

Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20211202145505.58852-4-stephan@gerhold.net
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/qcom,apq8016-sbc.txt [deleted file]
Documentation/devicetree/bindings/sound/qcom,sm8250.yaml