diff mbox series

arm64: dts: qcom: c630: Specify UFS device reset

Message ID 20200406060049.227029-1-bjorn.andersson@linaro.org (mailing list archive)
State Accepted
Commit 2536bedec63ead8ee3664ab579bc6d5bae05996c
Headers show
Series arm64: dts: qcom: c630: Specify UFS device reset | expand

Commit Message

Bjorn Andersson April 6, 2020, 6 a.m. UTC
On some device the reset line for the UFS memory needs to be tickled in
order for UFS to initialize properly, add this to the ufs_mem_hc node.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
---
 arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts | 2 ++
 1 file changed, 2 insertions(+)

Comments

Robert Foss May 14, 2020, 1:56 p.m. UTC | #1
On Mon, 6 Apr 2020 at 08:03, Bjorn Andersson <bjorn.andersson@linaro.org> wrote:
>
> On some device the reset line for the UFS memory needs to be tickled in
> order for UFS to initialize properly, add this to the ufs_mem_hc node.
>

Reviewed-by: Robert Foss <robert.foss@linaro.org>
Vinod Koul May 14, 2020, 5:12 p.m. UTC | #2
On 05-04-20, 23:00, Bjorn Andersson wrote:
> On some device the reset line for the UFS memory needs to be tickled in
> order for UFS to initialize properly, add this to the ufs_mem_hc node.

Reviewed-by: Vinod Koul <vkoul@kernel.org>
Vinod Koul May 14, 2020, 5:13 p.m. UTC | #3
On 05-04-20, 23:00, Bjorn Andersson wrote:
> On some device the reset line for the UFS memory needs to be tickled in
> order for UFS to initialize properly, add this to the ufs_mem_hc node.

Reviewed-by: Vinod Koul <vkoul@kernel.org>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts b/arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts
index d92a22e67b67..99f197cc0505 100644
--- a/arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts
+++ b/arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts
@@ -623,6 +623,8 @@  bluetooth {
 &ufs_mem_hc {
 	status = "okay";
 
+	reset-gpios = <&tlmm 150 GPIO_ACTIVE_LOW>;
+
 	vcc-supply = <&vreg_l20a_2p95>;
 	vcc-max-microamp = <600000>;
 };