[PATCH] dt-bindings: sound: add address-cells and size-cells information

Jack Yu jack.yu at realtek.com
Wed Mar 31 09:10:46 CEST 2021


Add address-cells and size-cells information to fix warnings
for rt1019.yaml.

Signed-off-by: Jack Yu <jack.yu at realtek.com>
---
 Documentation/devicetree/bindings/sound/rt1019.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/sound/rt1019.yaml b/Documentation/devicetree/bindings/sound/rt1019.yaml
index c24c29eafa54..3d5a91a942f4 100644
--- a/Documentation/devicetree/bindings/sound/rt1019.yaml
+++ b/Documentation/devicetree/bindings/sound/rt1019.yaml
@@ -26,6 +26,8 @@ additionalProperties: false
 examples:
   - |
     i2c {
+        #address-cells = <1>;
+        #size-cells = <0>;
         rt1019: codec at 28 {
             compatible = "realtek,rt1019";
             reg = <0x28>;
-- 
2.29.0



More information about the Alsa-devel mailing list