[PATCH 1/2] ASoC: dt-bindings: qcom,lpass: do not hard-code clock-output-names

From: Krzysztof Kozlowski
Date: Thu Nov 03 2022 - 15:54:41 EST


The purpose of clock-output-names is to customize desired clock name,
not use one, same name.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
---
.../devicetree/bindings/sound/qcom,lpass-rx-macro.yaml | 3 +--
.../devicetree/bindings/sound/qcom,lpass-tx-macro.yaml | 3 +--
.../devicetree/bindings/sound/qcom,lpass-va-macro.yaml | 3 +--
.../devicetree/bindings/sound/qcom,lpass-wsa-macro.yaml | 3 +--
4 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/Documentation/devicetree/bindings/sound/qcom,lpass-rx-macro.yaml b/Documentation/devicetree/bindings/sound/qcom,lpass-rx-macro.yaml
index 1de11e7f33bb..14016671f32b 100644
--- a/Documentation/devicetree/bindings/sound/qcom,lpass-rx-macro.yaml
+++ b/Documentation/devicetree/bindings/sound/qcom,lpass-rx-macro.yaml
@@ -43,8 +43,7 @@ properties:
- const: fsgen

clock-output-names:
- items:
- - const: mclk
+ maxItems: 1

power-domains:
maxItems: 2
diff --git a/Documentation/devicetree/bindings/sound/qcom,lpass-tx-macro.yaml b/Documentation/devicetree/bindings/sound/qcom,lpass-tx-macro.yaml
index de8297b358e8..e647ba392a0f 100644
--- a/Documentation/devicetree/bindings/sound/qcom,lpass-tx-macro.yaml
+++ b/Documentation/devicetree/bindings/sound/qcom,lpass-tx-macro.yaml
@@ -43,8 +43,7 @@ properties:
- const: fsgen

clock-output-names:
- items:
- - const: mclk
+ maxItems: 1

power-domains:
maxItems: 2
diff --git a/Documentation/devicetree/bindings/sound/qcom,lpass-va-macro.yaml b/Documentation/devicetree/bindings/sound/qcom,lpass-va-macro.yaml
index 9f473c08cb2e..c36caf90b837 100644
--- a/Documentation/devicetree/bindings/sound/qcom,lpass-va-macro.yaml
+++ b/Documentation/devicetree/bindings/sound/qcom,lpass-va-macro.yaml
@@ -39,8 +39,7 @@ properties:
- const: mclk

clock-output-names:
- items:
- - const: fsgen
+ maxItems: 1

power-domains:
maxItems: 2
diff --git a/Documentation/devicetree/bindings/sound/qcom,lpass-wsa-macro.yaml b/Documentation/devicetree/bindings/sound/qcom,lpass-wsa-macro.yaml
index 4959ad658eac..155c7344412a 100644
--- a/Documentation/devicetree/bindings/sound/qcom,lpass-wsa-macro.yaml
+++ b/Documentation/devicetree/bindings/sound/qcom,lpass-wsa-macro.yaml
@@ -38,8 +38,7 @@ properties:
- const: fsgen

clock-output-names:
- items:
- - const: mclk
+ maxItems: 1

qcom,dmic-sample-rate:
description: dmic sample rate
--
2.34.1