[PATCH v6 1/5] dt-bindings: clock: meson: Add audio power domain for S4 soc
From: Jiebing Chen via B4 Relay <devnull+jiebing.chen.amlogic.com@kernel.org>
Date: 2026-01-26 06:02:08
Also in:
b4-sent, linux-amlogic, linux-clk, linux-devicetree, linux-sound, lkml
Subsystem:
arm/amlogic meson soc clock framework, common clk framework, open firmware and flattened device tree bindings, the rest · Maintainers:
Neil Armstrong, Jerome Brunet, Michael Turquette, Stephen Boyd, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Linus Torvalds
From: Jiebing Chen <redacted>
The audio power domain has been found on S4 device.
It must be enabled prior to audio operations.
Signed-off-by: Jiebing Chen <redacted>
---
.../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