Re: [PATCH 1/2] dt-bindings: phy: Introduce Qualcomm eDP/DP PHY binding
From: Rob Herring <robh@kernel.org>
Date: 2021-05-17 21:46:13
Also in:
linux-arm-msm, linux-devicetree, lkml
On Tue, May 11, 2021 at 10:24:06AM -0700, Stephen Boyd wrote:
Quoting Bjorn Andersson (2021-05-10 21:19:29)quoted
diff --git a/Documentation/devicetree/bindings/phy/qcom,edp-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,edp-phy.yaml new file mode 100644 index 000000000000..c258e4f7e332 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/qcom,edp-phy.yaml@@ -0,0 +1,69 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) + +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/phy/qcom,edp-phy.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: Qualcomm DP/eDP PHY + +maintainers: + - Bjorn Andersson <bjorn.andersson@linaro.org> + +description: + The Qualcomm DP/eDP PHY is found in a number of Qualcomm platform and + provides the physical interface for DisplayPort and Embedded Display Port. + +properties: + compatible: + enum: + - qcom,sc8180x-dp-phy + - qcom,sc8180x-edp-phy
Is there a difference in DP and eDP?
quoted
+ + reg: + items: + - description: PHY base register block + - description: tx0 register block + - description: tx1 register block + - description: PLL register block + + clocks: + maxItems: 2Can this be items: - const: again? I think having maxItems means you can have one or two items, which wouldn't match the number of clock-names then.
No, it's implicitly 'minItems: 2'. But you can have 'items' if a description of each clock is useful.
quoted
+ + clock-names: + items: + - const: aux + - const: cfg_ahb +
-- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy