[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240418203720.8492-2-laurentiumihalcea111@gmail.com>
Date: Thu, 18 Apr 2024 23:37:18 +0300
From: Laurentiu Mihalcea <laurentiumihalcea111@...il.com>
To: Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Shawn Guo <shawnguo@...nel.org>,
Sascha Hauer <s.hauer@...gutronix.de>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Fabio Estevam <festevam@...il.com>,
Daniel Baluta <daniel.baluta@....com>,
Shengjiu Wang <shengjiu.wang@....com>,
Liu Ying <victor.liu@....com>
Cc: Laurentiu Mihalcea <laurentiu.mihalcea@....com>,
devicetree@...r.kernel.org,
imx@...ts.linux.dev,
linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org
Subject: [PATCH 1/3] dt-bindings: dsp: support imx8ulp dsp clocks
From: Laurentiu Mihalcea <laurentiu.mihalcea@....com>
i.MX8ULP DSP node needs a MU clock, but doesn't need
a debug clock. Change "clocks" and "clock-names" properties
to allow for this case.
Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@....com>
---
.../devicetree/bindings/dsp/fsl,dsp.yaml | 51 ++++++++++++++-----
1 file changed, 39 insertions(+), 12 deletions(-)
diff --git a/Documentation/devicetree/bindings/dsp/fsl,dsp.yaml b/Documentation/devicetree/bindings/dsp/fsl,dsp.yaml
index 9af40da5688e..4a39d57b1cc6 100644
--- a/Documentation/devicetree/bindings/dsp/fsl,dsp.yaml
+++ b/Documentation/devicetree/bindings/dsp/fsl,dsp.yaml
@@ -30,22 +30,12 @@ properties:
maxItems: 1
clocks:
- items:
- - description: ipg clock
- - description: ocram clock
- - description: core clock
- - description: debug interface clock
- - description: message unit clock
minItems: 3
+ maxItems: 5
clock-names:
- items:
- - const: ipg
- - const: ocram
- - const: core
- - const: debug
- - const: mu
minItems: 3
+ maxItems: 5
power-domains:
description:
@@ -93,6 +83,43 @@ required:
- memory-region
allOf:
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: fsl,imx8ulp-hifi4
+ then:
+ properties:
+ clocks:
+ items:
+ - description: ipg clock
+ - description: ocram clock
+ - description: core clock
+ - description: message unit clock
+ clock-names:
+ items:
+ - const: ipg
+ - const: ocram
+ - const: core
+ - const: mu
+ else:
+ properties:
+ clocks:
+ items:
+ - description: ipg clock
+ - description: ocram clock
+ - description: core clock
+ - description: debug interface clock
+ - description: message unit clock
+ minItems: 3
+ clock-names:
+ items:
+ - const: ipg
+ - const: ocram
+ - const: core
+ - const: debug
+ - const: mu
+ minItems: 3
- if:
properties:
compatible:
--
2.34.1
Powered by blists - more mailing lists