]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
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 71bd717a4251eb2de35b3ed50cad3cd10f9b0f8f..f5a85caff1a396339746008208c879ffbb18eb89 100644 (file)
 &ufs_mem_hc {
        status = "okay";
 
+       reset-gpios = <&tlmm 150 GPIO_ACTIVE_LOW>;
+
        vcc-supply = <&vreg_l20a_2p95>;
        vcc-max-microamp = <800000>;
 };
index 2e78638eb73bb4dbf1e119a662611b64e8792fc6..c57548b7b250a28a2e9efc23c6f723f5d8edeceb 100644 (file)
 &ufs_mem_hc {
        status = "okay";
 
+       reset-gpios = <&tlmm 150 GPIO_ACTIVE_LOW>;
+
        vcc-supply = <&vreg_l20a_2p95>;
        vcc-max-microamp = <600000>;
 };