Message ID | 20220707134725.3512-10-johan+linaro@kernel.org |
---|---|
State | Superseded |
Headers | show |
Series | phy: qcom,qmp: fix dt-bindings and deprecate lane suffix | expand |
On 07/07/2022 15:47, Johan Hovold wrote: > Add the missing the description of the PHY-provider child nodes which > were ignored when converting to DT schema. > > Fixes: ccf51c1cedfd ("dt-bindings: phy: qcom,qmp: Convert QMP PHY bindings to yaml") To ease the backport all of fixes should either be independent (preferred by some maintainers) or go to the beginning of the patchset. I am fine with both. > Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > Signed-off-by: Johan Hovold <johan+linaro@kernel.org> > --- Best regards, Krzysztof
On 14/07/2022 11:10, Krzysztof Kozlowski wrote: > On 07/07/2022 15:47, Johan Hovold wrote: >> Add the missing the description of the PHY-provider child nodes which >> were ignored when converting to DT schema. >> >> Fixes: ccf51c1cedfd ("dt-bindings: phy: qcom,qmp: Convert QMP PHY bindings to yaml") > > To ease the backport all of fixes should either be independent > (preferred by some maintainers) or go to the beginning of the patchset. > I am fine with both. Ah, I see why it cannot be moved upfront or to separate patchset. Ignore my comment. Best regards, Krzysztof
diff --git a/Documentation/devicetree/bindings/phy/qcom,msm8996-qmp-pcie-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,msm8996-qmp-pcie-phy.yaml index accbcb8b5c6f..8125a91a3591 100644 --- a/Documentation/devicetree/bindings/phy/qcom,msm8996-qmp-pcie-phy.yaml +++ b/Documentation/devicetree/bindings/phy/qcom,msm8996-qmp-pcie-phy.yaml @@ -57,6 +57,55 @@ patternProperties: "^phy@[0-9a-f]+$": type: object description: 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: + maxItems: 1 + + "#phy-cells": + const: 0 + + required: + - reg + - clocks + - clock-names + - resets + - reset-names + - "#clock-cells" + - clock-output-names + - "#phy-cells" + + additionalProperties: false required: - compatible