[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <3nwrp4myl5djj6eiz4h5lom4tdvx3aifbjq2ojt2uju2ctiwvu@jmihj5z56qwp>
Date: Tue, 14 Jan 2025 13:05:26 +0200
From: Dmitry Baryshkov <dmitry.baryshkov@...aro.org>
To: Yuanjie Yang <quic_yuanjiey@...cinc.com>
Cc: adrian.hunter@...el.com, ulf.hansson@...aro.org,
linux-arm-msm@...r.kernel.org, linux-mmc@...r.kernel.org, linux-kernel@...r.kernel.org,
andersson@...nel.org, quic_tingweiz@...cinc.com, quic_zhgao@...cinc.com
Subject: Re: [PATCH v4] mmc: sdhci-msm: Correctly set the load for the
regulator
On Tue, Jan 14, 2025 at 04:35:14PM +0800, Yuanjie Yang wrote:
> Qualcomm regulator supports two power supply modes: HPM and LPM.
> Currently, the sdhci-msm.c driver does not set the load to adjust
> the current for eMMC and SD. If the regulator dont't set correct
> load in LPM state, it will lead to the inability to properly
> initialize eMMC and SD.
>
> Set the correct regulator current for eMMC and SD to ensure that the
> device can work normally even when the regulator is in LPM.
>
> Signed-off-by: Yuanjie Yang <quic_yuanjiey@...cinc.com>
> ---
> Changes in v4:
> - Optimize msm_config_vmmc_regulator and msm_config_vqmmc_regulator code logic
> - Delete redundant return in msm_config_vmmc_regulator and msm_config_vqmmc_regulator
> - Rebase on tag: next-20250114
> - Link to v3: https://lore.kernel.org/linux-arm-msm/20241226031845.2574669-1-quic_yuanjiey@quicinc.com/
>
> Changes in v3:
> - Optimize the code logic and separate code for regulator vmmc and vqmmc
> - Rebase on tag: next-20241217
> - Link to v2: https://lore.kernel.org/all/20241127095029.3918290-1-quic_yuanjiey@quicinc.com/
>
> Changes in v2:
> - Add enum msm_reg_type to optimize the code
> - Delete redundant emmc type judgment
> - Link to v1: https://lore.kernel.org/linux-arm-msm/20241122075048.2006894-1-quic_yuanjiey@quicinc.com/
>
> ---
> drivers/mmc/host/sdhci-msm.c | 53 ++++++++++++++++++++++++++++++++++--
> 1 file changed, 51 insertions(+), 2 deletions(-)
>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@...aro.org>
--
With best wishes
Dmitry
Powered by blists - more mailing lists