]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ASoC: dt-bindings: document dvdd-supply property for awinic,aw88261
authorBharadwaj Raju <bharadwaj.raju@machinesoul.in>
Wed, 14 Jan 2026 10:33:24 +0000 (16:03 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 14 Jan 2026 13:35:45 +0000 (13:35 +0000)
Add (and require) the dvdd-supply property for awinic,aw88261 in
the awinic,aw88395.yaml binding.

The chip needs DVDD to power on, and currently there are no users of
this compatible in the kernel device trees, so we should be fine to
change the ABI in this case.

Signed-off-by: Bharadwaj Raju <bharadwaj.raju@machinesoul.in>
Link: https://patch.msgid.link/20260114-aw88261-dvdd-v2-1-ef485b82a7a7@machinesoul.in
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/awinic,aw88395.yaml

index bb92d6ca314450e35509944ff2fcaf6a0bd8155c..994d68c074a9f221576a5bfef6ba125e3e30bfea 100644 (file)
@@ -33,6 +33,8 @@ properties:
   reset-gpios:
     maxItems: 1
 
+  dvdd-supply: true
+
   awinic,audio-channel:
     description:
       It is used to distinguish multiple PA devices, so that different
@@ -65,6 +67,17 @@ allOf:
     then:
       properties:
         reset-gpios: false
+  - if:
+      properties:
+        compatible:
+          contains:
+            const: awinic,aw88261
+    then:
+      required:
+        - dvdd-supply
+    else:
+      properties:
+        dvdd-supply: false
 
 unevaluatedProperties: false