quoted hunk ↗ jump to hunk
Like this?
diff --git a/Documentation/devicetree/bindings/dpll/dpll-device.yaml
b/Documentation/devicetree/bindings/dpll/dpll-device.yaml
index fb8d7a9a3693f..798c5484657cf 100644
--- a/Documentation/devicetree/bindings/dpll/dpll-device.yaml
+++ b/Documentation/devicetree/bindings/dpll/dpll-device.yaml
@@ -27,11 +27,41 @@ properties:
"#size-cells":
const: 0
- dpll-types:
- description: List of DPLL channel types, one per DPLL instance.
- $ref: /schemas/types.yaml#/definitions/non-unique-string-array
- items:
- enum: [pps, eec]
+ channels:
+ type: object
+ description: DPLL channels
+ unevaluatedProperties: false
+
+ properties:
+ "#address-cells":
+ const: 1
+ "#size-cells":
+ const: 0
+
+ patternProperties:
+ "^channel@[0-9a-f]+$":
+ type: object
+ description: DPLL channel
+ unevaluatedProperties: false
+
+ properties:
+ reg:
+ description: Hardware index of the DPLL channel
+ maxItems: 1
+
+ dpll-type:
+ description: DPLL channel type
+ $ref: /schemas/types.yaml#/definitions/string
+ enum: [pps, eec]
+
+ ethernet-handle:
+ description:
+ Specifies a reference to a node representing an Ethernetdevice
+ that uses this channel to synchronize its hardware clock.
+ $ref: /schemas/types.yaml#/definitions/phandle
+
+ required:
+ - reg
Yes, but i will leave the DT Maintainers to give it a deeper review,
but this what i meant. And it makes your dpll-type much easier to
handle.
Andrew