From: Riccardo Mereu <[email protected]>

The ANX7625 driver registers an hdmi-codec device when
analogix,audio-enable is set, so boards wire the bridge into a sound
card as a DAI provider. The binding does not allow #sound-dai-cells,
and with additionalProperties: false any DT doing this fails
dtbs_check.

Allow #sound-dai-cells with a value of 1. The cell selects the
hdmi-codec DAI; 0 is the I2S input, the only one the driver exposes
today. This matches other hdmi-codec bridges such as lontium,lt9611.

Signed-off-by: Riccardo Mereu <[email protected]>
---
 .../devicetree/bindings/display/bridge/analogix,anx7625.yaml  | 4 ++++
 1 file changed, 4 insertions(+)

diff --git 
a/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml 
b/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml
index 6ad466952c02..e9eff7b43806 100644
--- a/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml
+++ b/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml
@@ -21,6 +21,9 @@ properties:
   reg:
     maxItems: 1
 
+  "#sound-dai-cells":
+    const: 1
+
   interrupts:
     description: used for interrupt pin B8.
     maxItems: 1
@@ -226,6 +229,7 @@ examples:
             vdd10-supply = <&pp1000_mipibrdg>;
             vdd18-supply = <&pp1800_mipibrdg>;
             vdd33-supply = <&pp3300_mipibrdg>;
+            #sound-dai-cells = <1>;
             analogix,audio-enable;
             analogix,lane0-swing = /bits/ 8 <0x14 0x54 0x64 0x74>;
             analogix,lane1-swing = /bits/ 8 <0x14 0x54 0x64 0x74>;
-- 
2.56.1


-- 





Privacy and Confidentiality Notice: This email and all attachments are 
confidential and for the designated recipient(s) only. They may also be 
privileged. If you are not the intended recipient or among the intended 
recipients, you may not use, read, retransmit, disseminate, store/copy the 
information in any medium or take any action in reliance upon it. Please 
notify the sender that you have received it in error and immediately delete 
the entire communication, including any attachments.

Reply via email to