Skip to content

Commit 4d23092

Browse files
committed
dt-bindings: soundwire: Add reference to soundwire-controller.yaml schema
The soundwire-controller.yaml schema already defines the form for devices in child nodes, so there's no need to do the same in the QCom controller binding. Add a $ref to the soundwire-controller.yaml schema and drop the child node schema. Reviewed-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring <[email protected]>
1 parent a9f32ac commit 4d23092

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

Documentation/devicetree/bindings/soundwire/qcom,soundwire.yaml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -209,17 +209,6 @@ properties:
209209
label:
210210
maxItems: 1
211211

212-
patternProperties:
213-
"^.*@[0-9a-f],[0-9a-f]$":
214-
type: object
215-
additionalProperties: true
216-
description:
217-
Child nodes for a standalone audio codec or speaker amplifier IC.
218-
It has RX and TX Soundwire secondary devices.
219-
properties:
220-
compatible:
221-
pattern: "^sdw[0-9a-f]{1}[0-9a-f]{4}[0-9a-f]{4}[0-9a-f]{2}$"
222-
223212
required:
224213
- compatible
225214
- reg
@@ -240,7 +229,10 @@ oneOf:
240229
- required:
241230
- qcom,ports-sinterval
242231

243-
additionalProperties: false
232+
allOf:
233+
- $ref: soundwire-controller.yaml#
234+
235+
unevaluatedProperties: false
244236

245237
examples:
246238
- |

0 commit comments

Comments
 (0)