From patchwork Wed Aug 28 19:17:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 11119705 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CBA9E184E for ; Wed, 28 Aug 2019 19:18:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AA196214DA for ; Wed, 28 Aug 2019 19:18:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="gIkfOOHw" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727017AbfH1TSN (ORCPT ); Wed, 28 Aug 2019 15:18:13 -0400 Received: from mail-pl1-f193.google.com ([209.85.214.193]:46264 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726947AbfH1TSF (ORCPT ); Wed, 28 Aug 2019 15:18:05 -0400 Received: by mail-pl1-f193.google.com with SMTP id o3so392002plb.13 for ; Wed, 28 Aug 2019 12:18:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ghCpY+y6/zHXzyCjEkOv9HdWtkfIKriljN3CuQ2vN7I=; b=gIkfOOHwl7BqS0e4VHItR/uqSvyUDNI3+RSRs2zrqGfiLQR5FSvABE25i1mqnfpk7g y0eBHViEkJaT0IC/jdoqwk6pOreS8xwUzz9VQowGD1SPCkKJtjL4ALNydQPz9VgN7vex l4Ya1gJUCfjsK9KF3fvDvFOj7BBoiRXuGu9OAK5GcXJUuDK6SwZPpobCv1bxmbtwEWbH K0O9EWJceoDUlTmJjrb15akMKNtOxq5bsz3ha/IVXMHiSKbVvegkhgvh2KnPfVXT8GYn l6At1155+F39nc1TNcQTOLyKku3Pzya7IufeMAUPbFfSaY+KJtIihYeQoVixi1Ao/2p8 f1qQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ghCpY+y6/zHXzyCjEkOv9HdWtkfIKriljN3CuQ2vN7I=; b=U84YUYbHVQnqbA6+BrGzgU2V2StNO8nMzKIzL35a6DlRkPc781RD3+KwH2ZNHPZF+S he24rGmCAjnrBEo5dSKsn8VLCjwlvGgPbgNdl3V5BJ2iyw8nwgW6SzV4R2z/3Ho1gI+t 1ZWXoj/klUqjj0tTJWDyoFeAwljMQu8KgYyNI1MnnRbzT4cVBaFj9bGTAW1MUpCYw4M/ JMA/kNqFAqsGxuvM1l24i7gbKO5YHisaRklJ1pAvJjBt5OABVfzrNtGPL86rCXk6wUlA z3UjkKB6wpzJmliqjEPEUaXefQ20J/ZuqSR67YmJs0N7fSIK1wJswhuvFiHI0hJjk08e Cjsw== X-Gm-Message-State: APjAAAV0WmC9RWfoRp1xRGGRT/XlIOvI5DFzIXuSL7aKnUL8mEiajBCK J/S4AjYIv0YwcS07j36eF73SzA== X-Google-Smtp-Source: APXvYqweUkSpujhznWWsjbo7W9NutoibxGctqpJROZn6FFW2KuU2nTQetzLVpiSsVTWgo1ehZ5uwYw== X-Received: by 2002:a17:902:1e8:: with SMTP id b95mr5971800plb.28.1567019885123; Wed, 28 Aug 2019 12:18:05 -0700 (PDT) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id n128sm122717pfn.46.2019.08.28.12.18.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Aug 2019 12:18:04 -0700 (PDT) From: Bjorn Andersson To: Rob Herring , Mark Rutland , Andy Gross Cc: Alim Akhtar , Avri Altman , Pedro Sousa , "James E.J. Bottomley" , "Martin K. Petersen" , Bean Huo , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-scsi@vger.kernel.org, Linus Walleij Subject: [PATCH v4 3/3] arm64: dts: qcom: sdm845: Specify UFS device-reset GPIO Date: Wed, 28 Aug 2019 12:17:56 -0700 Message-Id: <20190828191756.24312-4-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20190828191756.24312-1-bjorn.andersson@linaro.org> References: <20190828191756.24312-1-bjorn.andersson@linaro.org> Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Specify the UFS device-reset gpio for db845c and mtp, so that the controller will issue a reset of the UFS device. Reviewed-by: Linus Walleij Signed-off-by: Bjorn Andersson --- Changes since v3: - Renamed property - Added property to db845c arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 2 ++ arch/arm64/boot/dts/qcom/sdm845-mtp.dts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts index 71bd717a4251..f5a85caff1a3 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts @@ -497,6 +497,8 @@ &ufs_mem_hc { status = "okay"; + reset-gpios = <&tlmm 150 GPIO_ACTIVE_LOW>; + vcc-supply = <&vreg_l20a_2p95>; vcc-max-microamp = <800000>; }; diff --git a/arch/arm64/boot/dts/qcom/sdm845-mtp.dts b/arch/arm64/boot/dts/qcom/sdm845-mtp.dts index 2e78638eb73b..c57548b7b250 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-mtp.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-mtp.dts @@ -388,6 +388,8 @@ &ufs_mem_hc { status = "okay"; + reset-gpios = <&tlmm 150 GPIO_ACTIVE_LOW>; + vcc-supply = <&vreg_l20a_2p95>; vcc-max-microamp = <600000>; };