Skip to content

Commit 0e4e9d7

Browse files
krzkbroonie
authored andcommitted
ASoC: dt-bindings: mediatek: Simplify mediatek,clk-provider
"mediatek,clk-provider" property is a string, not an string array, thus "items" is not really correct. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://patch.msgid.link/20250514105702.28622-2-krzysztof.kozlowski@linaro.org Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 5fb3878 commit 0e4e9d7

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

Documentation/devicetree/bindings/sound/mediatek,mt8188-mt6359.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,9 @@ patternProperties:
9696
mediatek,clk-provider:
9797
$ref: /schemas/types.yaml#/definitions/string
9898
description: Indicates dai-link clock master.
99-
items:
100-
enum:
101-
- cpu
102-
- codec
99+
enum:
100+
- cpu
101+
- codec
103102

104103
additionalProperties: false
105104

Documentation/devicetree/bindings/sound/mt8186-mt6366-da7219-max98357.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,10 +124,9 @@ patternProperties:
124124
mediatek,clk-provider:
125125
$ref: /schemas/types.yaml#/definitions/string
126126
description: Indicates dai-link clock master.
127-
items:
128-
enum:
129-
- cpu
130-
- codec
127+
enum:
128+
- cpu
129+
- codec
131130

132131
required:
133132
- link-name

0 commit comments

Comments
 (0)