Qualcomm QMP PHY controller (UFS, SC8280XP)
Schema identifier ($id): "http://devicetree.org/schemas/phy/qcom,sc8280xp-qmp-ufs-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 #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Item 2
Exact value (
const):"qcom,sm6115-qmp-ufs-phy"
Rule 2
Array item rules (
items)Item 1
Item 2
Exact value (
const):"qcom,sm8550-qmp-ufs-phy"
Rule 3
Array item rules (
items)Item 1
Item 2
Exact value (
const):"qcom,sa8775p-qmp-ufs-phy"
Rule 4
Array item rules (
items)Item 1
Item 2
Exact value (
const):"qcom,sm8750-qmp-ufs-phy"
Rule 5
Allowed values (
enum):"qcom,milos-qmp-ufs-phy","qcom,msm8996-qmp-ufs-phy","qcom,msm8998-qmp-ufs-phy","qcom,sa8775p-qmp-ufs-phy","qcom,sc7180-qmp-ufs-phy","qcom,sc7280-qmp-ufs-phy","qcom,sc8180x-qmp-ufs-phy","qcom,sc8280xp-qmp-ufs-phy","qcom,sdm845-qmp-ufs-phy","qcom,sm6115-qmp-ufs-phy","qcom,sm6125-qmp-ufs-phy","qcom,sm6350-qmp-ufs-phy","qcom,sm7150-qmp-ufs-phy","qcom,sm8150-qmp-ufs-phy","qcom,sm8250-qmp-ufs-phy","qcom,sm8350-qmp-ufs-phy","qcom,sm8450-qmp-ufs-phy","qcom,sm8475-qmp-ufs-phy","qcom,sm8550-qmp-ufs-phy","qcom,sm8650-qmp-ufs-phy","qcom,sm8750-qmp-ufs-phy"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 3
clock-names — required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 3
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 1
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ufsphy"
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 — not listed as required here #
Exact value (const): 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", "#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,milos-qmp-ufs-phy","qcom,msm8998-qmp-ufs-phy","qcom,sa8775p-qmp-ufs-phy","qcom,sc7180-qmp-ufs-phy","qcom,sc7280-qmp-ufs-phy","qcom,sc8180x-qmp-ufs-phy","qcom,sc8280xp-qmp-ufs-phy","qcom,sdm845-qmp-ufs-phy","qcom,sm6115-qmp-ufs-phy","qcom,sm6125-qmp-ufs-phy","qcom,sm6350-qmp-ufs-phy","qcom,sm7150-qmp-ufs-phy","qcom,sm8150-qmp-ufs-phy","qcom,sm8250-qmp-ufs-phy","qcom,sm8350-qmp-ufs-phy","qcom,sm8450-qmp-ufs-phy","qcom,sm8475-qmp-ufs-phy","qcom,sm8550-qmp-ufs-phy","qcom,sm8650-qmp-ufs-phy","qcom,sm8750-qmp-ufs-phy"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):3Maximum number of items (
maxItems):3
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"ref"Item 2
Exact value (
const):"ref_aux"Item 3
Exact value (
const):"qref"
Rule 2 #
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 hereMinimum number of items (
minItems):2Maximum number of items (
maxItems):2
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"ref"Item 2
Exact value (
const):"qref"
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,msm8996-qmp-ufs-phy","qcom,msm8998-qmp-ufs-phy"When the condition matches (
then) #Properties and child nodes (
properties)
power-domains— not listed as required here
false— Not permitted by this property rule.When the condition does not match (
else) #
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>
ufs_mem_phy: phy@1d87000 {
compatible = "qcom,sc8280xp-qmp-ufs-phy";
reg = <0x01d87000 0x1000>;
clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GCC_UFS_PHY_PHY_AUX_CLK>,
<&gcc GCC_UFS_REF_CLKREF_CLK>;
clock-names = "ref", "ref_aux", "qref";
power-domains = <&gcc UFS_PHY_GDSC>;
resets = <&ufs_mem_hc 0>;
reset-names = "ufsphy";
vdda-phy-supply = <&vreg_l6b>;
vdda-pll-supply = <&vreg_l3b>;
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)