ASoC: dt-bindings: qcom,wcd934x: Allow usage as IFD device
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 6 Feb 2023 18:08:05 +0000 (19:08 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 9 Feb 2023 16:06:42 +0000 (16:06 +0000)
commit7ee35b6b099ce6b51c6ac249d19b5b405f8e825d
tree3732aa65cfffd9e7bc09c4a4055a9556105e1f4a
parent636caca3583923b75fa538bc43ce57801fb8a1a2
ASoC: dt-bindings: qcom,wcd934x: Allow usage as IFD device

The WCD9340 audio codec appears on Slimbus twice: as IFD device without
properties and the actual audio-codec referencing the former via
wcd9340_ifd.  Allow in the binding both versions to fix several warnings
like:

  sdm850-samsung-w737.dtb: ifd@0,0: 'reset-gpios' is a required property
  sdm850-samsung-w737.dtb: ifd@0,0: 'slim-ifc-dev' is a required property
  sdm850-samsung-w737.dtb: ifd@0,0: 'interrupt-controller' is a required property

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230206180805.6621-3-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/qcom,wcd934x.yaml