@@ -66,8 +66,55 @@ patternProperties:
"^phy@[0-9a-f]+$":
type: object
description:
- Each device node of QMP PHY is required to have as many child nodes as
- the number of lanes the PHY has.
+ One child node per PHY provided by this block.
+ properties:
+ reg:
+ items:
+ - description: TX
+ - description: RX
+ - description: PCS
+
+ clocks:
+ items:
+ - description: PIPE clock
+
+ clock-names:
+ items:
+ - enum:
+ - pipe0
+ - pipe1
+ - pipe2
+
+ resets:
+ items:
+ - description: PHY (lane) reset
+
+ reset-names:
+ items:
+ - enum:
+ - lane0
+ - lane1
+ - lane2
+
+ "#clock-cells":
+ const: 0
+
+ clock-output-names: true
+
+ "#phy-cells":
+ const: 0
+
+ required:
+ - reg
+ - clocks
+ - clock-names
+ - resets
+ - reset-names
+ - "#clock-cells"
+ - clock-output-names
+ - "#phy-cells"
+
+ additionalProperties: false
required:
- compatible
Add the missing the description of the PHY-provider child nodes which were ignored when converting to DT schema. Also fix up the description that claimed that one child node per lane (rather than PHY) was required. Fixes: ccf51c1cedfd ("dt-bindings: phy: qcom,qmp: Convert QMP PHY bindings to yaml") Signed-off-by: Johan Hovold <johan+linaro@kernel.org> --- .../phy/qcom,msm8996-qmp-pcie-phy.yaml | 51 ++++++++++++++++++- 1 file changed, 49 insertions(+), 2 deletions(-)