Patch "phy: qcom: m31: match requested regulator name with dt schema" has been added to the 6.8-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    phy: qcom: m31: match requested regulator name with dt schema

to the 6.8-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     phy-qcom-m31-match-requested-regulator-name-with-dt-.patch
and it can be found in the queue-6.8 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 4f4ecf0de7b12d39670d211a67dc06d99657a2c6
Author: Gabor Juhos <j4g8y7@xxxxxxxxx>
Date:   Sat Apr 6 15:37:09 2024 +0200

    phy: qcom: m31: match requested regulator name with dt schema
    
    [ Upstream commit 47b3e2f3914ae5e8d9025d65ae5cffcbb54bc9c3 ]
    
    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
    
    This means that the regulator specified in the device tree never
    gets enabled.
    
    Change the driver to use the 'vdd' name for the regulator as per
    defined in the schema in order to ensure that the corresponding
    regulator gets enabled.
    
    Fixes: 08e49af50701 ("phy: qcom: Introduce M31 USB PHY driver")
    Reviewed-by: Varadarajan Narayanan <quic_varada@xxxxxxxxxxx>
    Signed-off-by: Gabor Juhos <j4g8y7@xxxxxxxxx>
    Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>
    Link: https://lore.kernel.org/r/20240406-phy-qcom-m31-regulator-fix-v2-1-c8e9795bc071@xxxxxxxxx
    Signed-off-by: Vinod Koul <vkoul@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/phy/qualcomm/phy-qcom-m31.c b/drivers/phy/qualcomm/phy-qcom-m31.c
index 03fb0d4b75d74..20d4c020a83c1 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");




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux