Commit 4d230922 authored by Rob Herring's avatar Rob Herring
Browse files

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: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20231016155537.2973625-1-robh@kernel.org


Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent a9f32acf
Loading
Loading
Loading
Loading
+4 −12
Original line number Diff line number Diff line
@@ -209,17 +209,6 @@ properties:
  label:
    maxItems: 1

patternProperties:
  "^.*@[0-9a-f],[0-9a-f]$":
    type: object
    additionalProperties: true
    description:
      Child nodes for a standalone audio codec or speaker amplifier IC.
      It has RX and TX Soundwire secondary devices.
    properties:
      compatible:
        pattern: "^sdw[0-9a-f]{1}[0-9a-f]{4}[0-9a-f]{4}[0-9a-f]{2}$"

required:
  - compatible
  - reg
@@ -240,7 +229,10 @@ oneOf:
  - required:
      - qcom,ports-sinterval

additionalProperties: false
allOf:
  - $ref: soundwire-controller.yaml#

unevaluatedProperties: false

examples:
  - |