Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp5399713ima; Tue, 5 Feb 2019 11:06:02 -0800 (PST) X-Google-Smtp-Source: AHgI3IZJYnmC6TvZdeTnYPWqOXyzSPy2L9iEVoP0MF3NaWYeXtNrZdSCrzfQSqXubmEFYdADAdSa X-Received: by 2002:a62:2044:: with SMTP id g65mr6417302pfg.127.1549393561933; Tue, 05 Feb 2019 11:06:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549393561; cv=none; d=google.com; s=arc-20160816; b=uK0JAhA5wiY4VFj584WJLi5Md+y75wv3DTUCG8vKQK8HyzmaDuuf49R0qLpp8SKqc9 oLM5Kyoe2Hfd0BCy5zyHnkydZQUpR7Yecfx3whUZL8dIZJrdRJGjdSqQJRccteK4+b3x 0fhWzRBCjFT5ldD+VpkbFGHqGxGd+BOPkWvh9nmUXzVMCqhHHzl2ITx867+R+rFD7yD9 bIZcLk0fwf6MGrR5zTyhtEGkXI2/OfVlwD8M/FucEd7r/EA3rf6dv1spiSTWX8oi3at3 XG4oUsIttUlvtw996B9vX5TiG3C+w9USEIMoISP/vrIDd/UssKPZlM7BjmKK1LAsVr27 5DhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Ub6DMVr4auSHNs1xLpJC+apup1Uo439lpEy/vO5ywDY=; b=GdmlTcZdUPPApwEQb7TH4eCFqTf0JCBJVzOqXm++N4G6QsLOvEaDL4bd1rbvXbM/RR TrFIhs9fwvqwIRYY7BzPHNXDsVOqJhfvQZfF1mrSGLW2jVlKW3eTGUq3hkKlDnYyDgcM 7o9fEBh0+hq25IuvY7aIww5GePdqOYiEhppGt2J+l0CcRr00jnlXdKxl0nYT8xqkYq73 HEhxUdLKo2sCk5OgH++in/OBezLB1SL/J5CST2/LliwGLh88LX2GFzc6moFgDcyrUwo8 9yUoqOxPuNoFCFdnGv+cBNu3Frgf/NvxfV9N1EfjTy3h1dj62cJMbjzNdHMfhpkOpxoN qhzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=DfnWzRMo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c8si4014486pfe.243.2019.02.05.11.05.46; Tue, 05 Feb 2019 11:06:01 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=DfnWzRMo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730632AbfBES7l (ORCPT + 99 others); Tue, 5 Feb 2019 13:59:41 -0500 Received: from mail-pl1-f196.google.com ([209.85.214.196]:38966 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730620AbfBES7j (ORCPT ); Tue, 5 Feb 2019 13:59:39 -0500 Received: by mail-pl1-f196.google.com with SMTP id 101so1901702pld.6 for ; Tue, 05 Feb 2019 10:59:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Ub6DMVr4auSHNs1xLpJC+apup1Uo439lpEy/vO5ywDY=; b=DfnWzRMonVA0OeASO4zDOEk8t8plHWBjUQ+vMco631djwRv0aC0pADpBoAabvaQOt/ o3j38P+w8Sa4V6tbn0UmGlgKxkGco5rQH/ircQWzsEqFYdSfcd4reRD9h/8E4BMQgCBQ 5bovwsHNmTTvYkVuHJqKnVVDUOt2a8yk+mDNQ= 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:mime-version:content-transfer-encoding; bh=Ub6DMVr4auSHNs1xLpJC+apup1Uo439lpEy/vO5ywDY=; b=p4vbJps7KiVKXKJNaOgrR2NYoTJKLxbVnqQaasq2z/lMtm3upm1uAMg3a7hDN3WaXY EANzLcHkFPEqE+WNdvbNhKqSnMTzQ/QGW+ntjOqew00CbA4C2aOSoWV9B17V6XcLPwVd sqdyrhXy9l85FJ5VU3R8qJQIbG0Jku7Fmt+3eEsRtw+2TRkyHzew4RQ/azyk/phXVqXT GnOcTqfrvOCffT7plcQDyCkVWeOIN4BGJtvVc93+SAkS5ydUl7Pb6Q0CCIHL6KeaqISg AsuRfsk90STXazhmXkfCsyEhSCYrCO2pkKTrdZ3mZgU8HxcT9LQqHVYh7pErX4kwiRQZ TPLg== X-Gm-Message-State: AHQUAuYHADKiwNpJ+fH5y8jKmZH4sWFlURzlvcs45PWYMwEX2yCuFIDl +Sch+ECvTlqrFLVMQRIwOT364w== X-Received: by 2002:a17:902:4503:: with SMTP id m3mr6637325pld.23.1549393178491; Tue, 05 Feb 2019 10:59:38 -0800 (PST) Received: from evgreen2.mtv.corp.google.com ([2620:15c:202:201:ffda:7716:9afc:1301]) by smtp.gmail.com with ESMTPSA id m3sm6424435pfi.102.2019.02.05.10.59.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 05 Feb 2019 10:59:37 -0800 (PST) From: Evan Green To: Andy Gross , Kishon Vijay Abraham I Cc: Stephen Boyd , Marc Gonzalez , Can Guo , Vivek Gautam , Douglas Anderson , Asutosh Das , Evan Green , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring , David Brown , Mark Rutland Subject: [PATCH v3 5/8] arm64: dts: msm8996: Add UFS PHY reset controller Date: Tue, 5 Feb 2019 10:58:59 -0800 Message-Id: <20190205185902.106085-6-evgreen@chromium.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190205185902.106085-1-evgreen@chromium.org> References: <20190205185902.106085-1-evgreen@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the reset controller for the UFS controller, and wire it up so that the UFS PHY can initialize itself without relying on implicit sequencing between the two drivers. Signed-off-by: Evan Green Reviewed-by: Stephen Boyd --- Changes in v3: None Changes in v2: None arch/arm64/boot/dts/qcom/msm8996.dtsi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 99b7495455a6..179f1988d45c 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -663,10 +663,11 @@ clock-names = "ref_clk_src", "ref_clk"; clocks = <&rpmcc RPM_SMD_LN_BB_CLK>, <&gcc GCC_UFS_CLKREF_CLK>; + resets = <&ufshc 0>; status = "disabled"; }; - ufshc@624000 { + ufshc: ufshc@624000 { compatible = "qcom,ufshc"; reg = <0x624000 0x2500>; interrupts = ; @@ -722,6 +723,7 @@ <0 0>; lanes-per-direction = <1>; + #reset-cells = <1>; status = "disabled"; ufs_variant { -- 2.20.1