Message ID | 20240406-phy-qcom-m31-regulator-fix-v2-1-c8e9795bc071@gmail.com |
---|---|
State | Accepted |
Commit | 47b3e2f3914ae5e8d9025d65ae5cffcbb54bc9c3 |
Headers | show |
Series | [v2] phy: qcom: m31: match requested regulator name with dt schema | expand |
On Sat, 06 Apr 2024 15:37:09 +0200, Gabor Juhos wrote: > According to the 'qcom,ipq5332-usb-hsphy.yaml' schema, the 5V > supply regulator must be defined via the 'vdd-supply' property. > The driver however requests for the 'vdda-phy' regulator which > results in the following message when the driver is probed on > a IPQ5018 based board with a device tree matching to the schema: > > qcom-m31usb-phy 5b000.phy: supply vdda-phy not found, using dummy regulator > qcom-m31usb-phy 5b000.phy: Registered M31 USB phy > > [...] Applied, thanks! [1/1] phy: qcom: m31: match requested regulator name with dt schema commit: 47b3e2f3914ae5e8d9025d65ae5cffcbb54bc9c3 Best regards,
diff --git a/drivers/phy/qualcomm/phy-qcom-m31.c b/drivers/phy/qualcomm/phy-qcom-m31.c index 03fb0d4b75d7..20d4c020a83c 100644 --- a/drivers/phy/qualcomm/phy-qcom-m31.c +++ b/drivers/phy/qualcomm/phy-qcom-m31.c @@ -297,7 +297,7 @@ static int m31usb_phy_probe(struct platform_device *pdev) return dev_err_probe(dev, PTR_ERR(qphy->phy), "failed to create phy\n"); - qphy->vreg = devm_regulator_get(dev, "vdda-phy"); + qphy->vreg = devm_regulator_get(dev, "vdd"); if (IS_ERR(qphy->vreg)) return dev_err_probe(dev, PTR_ERR(qphy->vreg), "failed to get vreg\n");