arm64: dts: qcom: c630: Specify UFS device reset
authorBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 6 Apr 2020 06:00:49 +0000 (23:00 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 14 May 2020 17:26:42 +0000 (10:26 -0700)
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>
Reviewed-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20200406060049.227029-1-bjorn.andersson@linaro.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts

index 44c9a97afdd5a8b0b7af683c9cc8e2d22a6d3589..88f83079e68ff91e7234b9f015ff37276fe6ae57 100644 (file)
 &ufs_mem_hc {
        status = "okay";
 
+       reset-gpios = <&tlmm 150 GPIO_ACTIVE_LOW>;
+
        vcc-supply = <&vreg_l20a_2p95>;
        vcc-max-microamp = <600000>;
 };