Qualcomm's USB HS PHY
Schema identifier ($id): "http://devicetree.org/schemas/phy/qcom,usb-hs-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bjorn Andersson <bjorn.andersson@linaro.org>"
Condition (if) #
Properties and child nodes (
properties) #
compatible— not listed as required here #Rule for matching array elements (
contains)Allowed values (
enum):"qcom,usb-hs-phy-apq8064","qcom,usb-hs-phy-msm8660","qcom,usb-hs-phy-msm8960"
When the condition matches (then) #
Properties and child nodes (
properties) #
resets— not listed as required here #Maximum number of items (
maxItems):1
reset-names— not listed as required here #Exact value (
const):"por"
When the condition does not match (else) #
Properties and child nodes (
properties) #
resets— not listed as required here #Minimum number of items (
minItems):2Maximum number of items (
maxItems):2
reset-names— not listed as required here #Array item rules (
items)Item 1
Exact value (
const):"phy"Item 2
Exact value (
const):"por"
Properties and child nodes (properties) #
compatible — not listed as required here #
Array item rules (items) #
Item 1
Allowed values (
enum):"qcom,usb-hs-phy-apq8064","qcom,usb-hs-phy-msm8226","qcom,usb-hs-phy-msm8660","qcom,usb-hs-phy-msm8916","qcom,usb-hs-phy-msm8960","qcom,usb-hs-phy-msm8974"
Item 2
Exact value (
const):"qcom,usb-hs-phy"
clocks — required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 2
clock-names — required here #
Maximum number of items (maxItems): 2
Rule for matching array elements (contains) #
Array item rules (
items)Item 1
Exact value (
const):"ref"Item 2
Exact value (
const):"sleep"
resets — required here #
true — No constraints added by this property rule.
reset-names — required here #
true — No constraints added by this property rule.
v1p8-supply — not listed as required here #
true — No constraints added by this property rule.
v3p3-supply — not listed as required here #
true — No constraints added by this property rule.
extcon — not listed as required here #
true — No constraints added by this property rule.
#phy-cells — required here #
Exact value (const): 0
qcom,init-seq — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8-matrix
Sequence of ULPI address and value pairs to program into the ULPI_EXT_VENDOR_SPECIFIC area. This is related to Device Mode Eye Diagram test.
Maximum number of items (maxItems): 32
Array item rules (items) #
Array item rules (
items)Item 1
the address is offset from the ULPI_EXT_VENDOR_SPECIFIC address
Item 2
value
Required in this object (required): "clocks", "clock-names", "resets", "reset-names", "#phy-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
otg: usb-controller {
#reset-cells = <1>;
ulpi {
phy {
compatible = "qcom,usb-hs-phy-msm8974", "qcom,usb-hs-phy";
#phy-cells = <0>;
clocks = <&clk 0>, <&clk 258>;
clock-names = "ref", "sleep";
resets = <&gcc 10>, <&otg 0>;
reset-names = "phy", "por";
v3p3-supply = <&pm8941_l24>;
v1p8-supply = <&pm8941_l6>;
extcon = <&smbb>;
qcom,init-seq = /bits/ 8 <0x1 0x63>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only
Line 81: no hard limit