contain a phandle reference to UFS PHY node.
Required properties:
-- compatible : compatible list, contains "qcom,ufs-msm-phy-qmp-28nm"
- or "qcom,ufs-msm-phy-qmp-20nm" according to the relevant
+- compatible : compatible list, contains "qcom,ufs-phy-qmp-28nm"
+ or "qcom,ufs-phy-qmp-20nm" according to the relevant
phy in use
- reg : <registers mapping>
-- #phy-cells : This property shall be set to 0
+- #phy-cells : This property shall be set to 0
- vdda-phy-supply : phandle to main PHY supply for analog domain
- vdda-pll-supply : phandle to PHY PLL and Power-Gen block power supply
Example:
ufsphy1: ufsphy@0xfc597000 {
- compatible = "qcom,ufs-msm-phy-qmp-28nm";
+ compatible = "qcom,ufs-phy-qmp-28nm";
reg = <0xfc597000 0x800>;
#phy-cells = <0>;
vdda-phy-supply = <&pma8084_l4>;
}
static const struct of_device_id ufs_qcom_phy_qmp_20nm_of_match[] = {
- {.compatible = "qcom,ufs-msm-phy-qmp-20nm"},
+ {.compatible = "qcom,ufs-phy-qmp-20nm"},
{},
};
MODULE_DEVICE_TABLE(of, ufs_qcom_phy_qmp_20nm_of_match);
}
static const struct of_device_id ufs_qcom_phy_qmp_28nm_of_match[] = {
- {.compatible = "qcom,ufs-msm-phy-qmp-28nm"},
+ {.compatible = "qcom,ufs-phy-qmp-28nm"},
{},
};
MODULE_DEVICE_TABLE(of, ufs_qcom_phy_qmp_28nm_of_match);
}
host->hba = hba;
- host->generic_phy = devm_phy_get(dev, "ufs_msm_phy");
+ host->generic_phy = devm_phy_get(dev, "ufsphy");
if (IS_ERR(host->generic_phy)) {
err = PTR_ERR(host->generic_phy);