Qualcomm QMP PHY controller (USB, SC8280XP)
Schema identifier ($id): "http://devicetree.org/schemas/phy/qcom,sc8280xp-qmp-usb3-uni-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Vinod Koul <vkoul@kernel.org>"
The QMP PHY controller supports physical layer functionality for a number of controllers on Qualcomm chipsets, such as, PCIe, UFS, and USB.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "qcom,glymur-qmp-usb3-uni-phy", "qcom,ipq5424-qmp-usb3-phy", "qcom,ipq6018-qmp-usb3-phy", "qcom,ipq8074-qmp-usb3-phy", "qcom,ipq9574-qmp-usb3-phy", "qcom,msm8996-qmp-usb3-phy", "qcom,qcs8300-qmp-usb3-uni-phy", "qcom,qdu1000-qmp-usb3-uni-phy", "qcom,sa8775p-qmp-usb3-uni-phy", "qcom,sc8180x-qmp-usb3-uni-phy", "qcom,sc8280xp-qmp-usb3-uni-phy", "qcom,sdm845-qmp-usb3-uni-phy", "qcom,sdx55-qmp-usb3-uni-phy", "qcom,sdx65-qmp-usb3-uni-phy", "qcom,sdx75-qmp-usb3-uni-phy", "qcom,sm8150-qmp-usb3-uni-phy", "qcom,sm8250-qmp-usb3-uni-phy", "qcom,sm8350-qmp-usb3-uni-phy", "qcom,x1e80100-qmp-usb3-uni-phy"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 4
Maximum number of items (maxItems): 5
clock-names — required here #
Minimum number of items (minItems): 4
Maximum number of items (maxItems): 5
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 2
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"phy"
Item 2
Exact value (
const):"phy_phy"
vdda-phy-supply — required here #
true — No constraints added by this property rule.
vdda-pll-supply — required here #
true — No constraints added by this property rule.
refgen-supply — not listed as required here #
true — No constraints added by this property rule.
#clock-cells — required here #
Exact value (const): 0
clock-output-names — required here #
Maximum number of items (maxItems): 1
#phy-cells — required here #
Exact value (const): 0
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "resets", "reset-names", "vdda-phy-supply", "vdda-pll-supply", "#clock-cells", "clock-output-names", "#phy-cells"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,ipq5424-qmp-usb3-phy","qcom,ipq6018-qmp-usb3-phy","qcom,ipq8074-qmp-usb3-phy","qcom,ipq9574-qmp-usb3-phy","qcom,msm8996-qmp-usb3-phy","qcom,sdx55-qmp-usb3-uni-phy","qcom,sdx65-qmp-usb3-uni-phy","qcom,sdx75-qmp-usb3-uni-phy"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):4
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"aux"Item 2
Exact value (
const):"ref"Item 3
Exact value (
const):"cfg_ahb"Item 4
Exact value (
const):"pipe"
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,glymur-qmp-usb3-uni-phy","qcom,qcs8300-qmp-usb3-uni-phy","qcom,qdu1000-qmp-usb3-uni-phy","qcom,sa8775p-qmp-usb3-uni-phy","qcom,sc8180x-qmp-usb3-uni-phy","qcom,sc8280xp-qmp-usb3-uni-phy","qcom,sm8150-qmp-usb3-uni-phy","qcom,sm8250-qmp-usb3-uni-phy","qcom,sm8350-qmp-usb3-uni-phy","qcom,x1e80100-qmp-usb3-uni-phy"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):4
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"aux"Item 2
Exact value (
const):"ref"Item 3
Exact value (
const):"com_aux"Item 4
Exact value (
const):"pipe"
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):5
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"aux"Item 2
Exact value (
const):"cfg_ahb"Item 3
Exact value (
const):"ref"Item 4
Exact value (
const):"com_aux"Item 5
Exact value (
const):"pipe"
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,glymur-qmp-usb3-uni-phy","qcom,sa8775p-qmp-usb3-uni-phy","qcom,sc8180x-qmp-usb3-uni-phy","qcom,sc8280xp-qmp-usb3-uni-phy","qcom,x1e80100-qmp-usb3-uni-phy"When the condition matches (
then) #
Rule 5 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #When the condition does not match (
else) #Properties and child nodes (
properties)
refgen-supply— not listed as required here
false— Not permitted by this property rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,gcc-sc8280xp.h>
#include <dt-bindings/clock/qcom,rpmh.h>
phy@88ef000 {
compatible = "qcom,sc8280xp-qmp-usb3-uni-phy";
reg = <0x088ef000 0x2000>;
clocks = <&gcc GCC_USB3_MP_PHY_AUX_CLK>,
<&gcc GCC_USB3_MP0_CLKREF_CLK>,
<&gcc GCC_USB3_MP_PHY_COM_AUX_CLK>,
<&gcc GCC_USB3_MP_PHY_PIPE_0_CLK>;
clock-names = "aux", "ref", "com_aux", "pipe";
power-domains = <&gcc USB30_MP_GDSC>;
resets = <&gcc GCC_USB3_UNIPHY_MP0_BCR>,
<&gcc GCC_USB3UNIPHY_PHY_MP0_BCR>;
reset-names = "phy", "phy_phy";
vdda-phy-supply = <&vreg_l3a>;
vdda-pll-supply = <&vreg_l5a>;
#clock-cells = <0>;
clock-output-names = "usb2_phy0_pipe_clk";
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)