[PATCH v6 1/5] dt-bindings: clock: meson: Add audio power domain for S4 soc

Jiebing Chen via B4 Relay
2026-01-26T06:02:23Z

From: Jiebing Chen <jiebing.chen@amlogic.com>

The audio power domain has been found on S4 device.
It must be enabled prior to audio operations.

Signed-off-by: Jiebing Chen <jiebing.chen@amlogic.com>
---
.../bindings/clock/amlogic,axg-audio-clkc.yaml | 18 ++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/clock/amlogic,axg-audio-clkc.yaml b/Documentation/devicetree/bindings/clock/amlogic,axg-audio-clkc.yaml
index fd7982dd4cea..1cd9a99e5ff3 100644
--- a/Documentation/devicetree/bindings/clock/amlogic,axg-audio-clkc.yaml
+++ b/Documentation/devicetree/bindings/clock/amlogic,axg-audio-clkc.yaml
@@ -20,6 +20,7 @@ properties:
enum:
- amlogic,axg-audio-clkc
- amlogic,g12a-audio-clkc
+ - amlogic,s4-audio-clkc
- amlogic,sm1-audio-clkc

'#clock-cells':
@@ -99,7 +100,8 @@ properties:

resets:
description: internal reset line
-
+ power-domains:
+ maxItems: 1
required:
- compatible
- '#clock-cells'
@@ -115,6 +117,7 @@ allOf:
contains:
enum:
- amlogic,g12a-audio-clkc
+ - amlogic,s4-audio-clkc
- amlogic,sm1-audio-clkc
then:
required:
@@ -122,7 +125,18 @@ allOf:
else:
properties:
'#reset-cells': false
-
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - amlogic,s4-audio-clkc
+ then:
+ required:
+ - power-domains
+ else:
+ properties:
+ power-domains: false
additionalProperties: false

examples:

--
2.52.0