scsi: arm64: dts: qcom: sdm845: Specify UFS device-reset GPIO
authorBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 28 Aug 2019 19:17:56 +0000 (12:17 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 7 Sep 2019 20:36:03 +0000 (16:36 -0400)
Specify the UFS device-reset gpio for db845c and mtp, so that the
controller will issue a reset of the UFS device.

Link: https://lore.kernel.org/r/20190828191756.24312-4-bjorn.andersson@linaro.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Avri Altman <Avri.Altman@wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
arch/arm64/boot/dts/qcom/sdm845-db845c.dts
arch/arm64/boot/dts/qcom/sdm845-mtp.dts

index 71bd717..f5a85ca 100644 (file)
 &ufs_mem_hc {
        status = "okay";
 
+       reset-gpios = <&tlmm 150 GPIO_ACTIVE_LOW>;
+
        vcc-supply = <&vreg_l20a_2p95>;
        vcc-max-microamp = <800000>;
 };
index 2e78638..c57548b 100644 (file)
 &ufs_mem_hc {
        status = "okay";
 
+       reset-gpios = <&tlmm 150 GPIO_ACTIVE_LOW>;
+
        vcc-supply = <&vreg_l20a_2p95>;
        vcc-max-microamp = <600000>;
 };