Qualcomm QMP USB3-DP PHY controller (DP, QCS615)
Schema identifier ($id): "http://devicetree.org/schemas/phy/qcom,qcs615-qmp-usb3dp-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Xiangxu Yin <xiangxu.yin@oss.qualcomm.com>"
The QMP PHY controller supports physical layer functionality for both USB3 and DisplayPort over USB-C. While it enables mode switching between USB3 and DisplayPort, but does not support combo mode.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "qcom,qcs615-qmp-usb3-dp-phy"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 4
clock-names — required here #
Array 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"
resets — required here #
Maximum number of items (maxItems): 2
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"phy_phy"
Item 2
Exact value (
const):"dp_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.
#clock-cells — required here #
Exact value (const): 1
See include/dt-bindings/phy/phy-qcom-qmp.h
#phy-cells — required here #
Exact value (const): 1
See include/dt-bindings/phy/phy-qcom-qmp.h
qcom,tcsr-reg — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Array item rules (items) #
Item 1
Array item rules (
items)Item 1
phandle to TCSR hardware block
Item 2
offset of the VLS CLAMP register
Item 3
offset of the PHY mode register
Clamp and PHY mode register present in the TCSR
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "resets", "reset-names", "vdda-phy-supply", "vdda-pll-supply", "#clock-cells", "#phy-cells", "qcom,tcsr-reg"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,qcs615-gcc.h>
#include <dt-bindings/clock/qcom,rpmh.h>
phy@88e8000 {
compatible = "qcom,qcs615-qmp-usb3-dp-phy";
reg = <0x88e8000 0x2000>;
clocks = <&gcc GCC_USB2_SEC_PHY_AUX_CLK>,
<&gcc GCC_USB3_SEC_CLKREF_CLK>,
<&gcc GCC_AHB2PHY_WEST_CLK>,
<&gcc GCC_USB2_SEC_PHY_PIPE_CLK>;
clock-names = "aux",
"ref",
"cfg_ahb",
"pipe";
resets = <&gcc GCC_USB3PHY_PHY_SEC_BCR>,
<&gcc GCC_USB3_DP_PHY_SEC_BCR>;
reset-names = "phy_phy",
"dp_phy";
vdda-phy-supply = <&vreg_l5a>;
vdda-pll-supply = <&vreg_l12a>;
#clock-cells = <1>;
#phy-cells = <1>;
qcom,tcsr-reg = <&tcsr 0xbff0 0xb24c>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)