Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp1135403imj; Thu, 14 Feb 2019 01:43:12 -0800 (PST) X-Google-Smtp-Source: AHgI3Iac7YjvXH1k+JfbRdSO7iQKGwxrEA3yJA185njgoLh7bhjaGeiqP7Ox1qK1m7teMwkQoxeC X-Received: by 2002:a63:f811:: with SMTP id n17mr2951901pgh.23.1550137392230; Thu, 14 Feb 2019 01:43:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550137392; cv=none; d=google.com; s=arc-20160816; b=D/mYvsdIrA3JMkDOqaaGzy6woNY+EUh3I+fOAWTCNg81IhODD2lyjD+abTYMD8VQvC VcxOg+G5CsVe6dr9HKSaCaLKAoxb7LEgxcCdAXRKRkKj42fwNVTyU3sr+R/o4xiW+fbk /d6mqZUhMtPhm5fYQz7dIa+IOeZ6A2658YCY6+uljhE0pkMiYCyob8wqpvQgKU6HKNfh 6S69GXeHe9gHbyY9KQHLhlbfM2j0dHehu6JvbAcjBwlZy8rfVsvhokVNjW/gqkrGrEvD QK7keIMgb+K4+SI26sZZYjIv07U6sI5H7xFK75iSUDcvLsQO0PS+qY8eWz540r1fOcJp lM+g== 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=3GYIBtzh9YUlSNloRNN96QL04Mij/ii9fAITHcdb0eI=; b=0rK4uL+32OIrgdGMSdAgI3JNjmz+ZSuFe7qbMvT5Tl5hFFgcFTksJ51YXN2C3FgIRA g0BsNPxhycPnCRoZqmVy37EGR6iJlzN8n/fu5fCfg2Ex8oGrZzr9FdmxBtk3Kbbx6UV0 fy5p8ZNRgpr+H+EfIUnHiIW25VWTMt8ewpNnjwP8A778MdOkbsF3zaifv0tkcGItm1Gb fMLxeVS4d6LDPnHCBBvbQ56ATz5Gtk8O+aEYZktekCgOaDrLd3MMCgNwQ65sa33tHsEL DsOO1D0mZCkqyv2rmkd8IbxjfbBZ+hJB6vIhsn1GqQopamLkQwTBbl6fidtPFKGNSsj4 aNkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=mCFnT7yn; 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 h64si493155pge.55.2019.02.14.01.42.55; Thu, 14 Feb 2019 01:43:12 -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=mCFnT7yn; 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 S2390629AbfBMX01 (ORCPT + 99 others); Wed, 13 Feb 2019 18:26:27 -0500 Received: from mail-pf1-f193.google.com ([209.85.210.193]:46908 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390589AbfBMX00 (ORCPT ); Wed, 13 Feb 2019 18:26:26 -0500 Received: by mail-pf1-f193.google.com with SMTP id g6so1935965pfh.13 for ; Wed, 13 Feb 2019 15:26:25 -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=3GYIBtzh9YUlSNloRNN96QL04Mij/ii9fAITHcdb0eI=; b=mCFnT7ynNfsC0XD9+/w/rH71ZIEM4K5r54CbaN6ztzgaIRNbct0sTvbr1AJP5YsnJN dAG3q0qTPnWwXWkR3lFA3l9RZy4mPaPUZCH3JXwNLHGbRI7sAk+0hgLFrniJpUgFtaKN /JGdEmPHK912xa/8hDaPYMrbEVPrKdX0DN6iY= 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=3GYIBtzh9YUlSNloRNN96QL04Mij/ii9fAITHcdb0eI=; b=n/F1aH5+j12C/rqBPMH1zrT2aXYIQHiB7ac0DH1VPOc38yoyZNvmGB9fQqafcGpe1k yb3/Bg0Ro/n86yn65QoNpv03wIqsCj0xl3IR473oV9Dj14peHoA3A6cOAgAXvCVQiOtD 7bWuNw620J8uufnJOvHjHMg74ZHPHJcLce+NPiTjJwIL7CMeN32/eFnc5E12lIFg8r8H bCYFRWqlMfyuep4S9dBjtj0MuaOiWQ5+jDONQjGmDstvl6CduCusbSfht4gkX68TxP7A 7CJkYuiLIIFEpy1s6yEjib7I9qK9dWyQgjRZE5Sj0HRoInhTRwZW6X4Ipljzy7qfg8+H f7ug== X-Gm-Message-State: AHQUAuZD+nMrkq9LtToEiPb9erjcAcJd4MQ9Rg2p61qVfdAAfKDHRfpA TgQnxWYAT9wR/vs5LPbEdB9H3Q== X-Received: by 2002:a62:55c4:: with SMTP id j187mr710186pfb.129.1550100385290; Wed, 13 Feb 2019 15:26:25 -0800 (PST) Received: from evgreen2.mtv.corp.google.com ([2620:15c:202:201:ffda:7716:9afc:1301]) by smtp.gmail.com with ESMTPSA id d129sm560660pfc.31.2019.02.13.15.26.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 13 Feb 2019 15:26:24 -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 v4 4/8] arm64: dts: sdm845: Add UFS PHY reset Date: Wed, 13 Feb 2019 15:25:22 -0800 Message-Id: <20190213232526.26995-5-evgreen@chromium.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190213232526.26995-1-evgreen@chromium.org> References: <20190213232526.26995-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 Wire up the reset controller in the Qcom UFS controller for the PHY. This will be used to toggle PHY reset during initialization of the PHY. Signed-off-by: Evan Green Reviewed-by: Stephen Boyd --- This commit is based atop the series at [1]. Patches 1 and 2 of that series have landed, but 3, 4, and 5 are still outstanding. [1] https://lore.kernel.org/lkml/20181210192826.241350-1-evgreen@chromium.org/ Changes in v4: None Changes in v3: None Changes in v2: None arch/arm64/boot/dts/qcom/sdm845.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index b29332b265d9..029ab66405cf 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -990,6 +990,7 @@ phy-names = "ufsphy"; lanes-per-direction = <2>; power-domains = <&gcc UFS_PHY_GDSC>; + #reset-cells = <1>; clock-names = "core_clk", @@ -1033,6 +1034,8 @@ clocks = <&gcc GCC_UFS_MEM_CLKREF_CLK>, <&gcc GCC_UFS_PHY_PHY_AUX_CLK>; + resets = <&ufs_mem_hc 0>; + reset-names = "ufsphy"; status = "disabled"; ufs_mem_phy_lanes: lanes@1d87400 { -- 2.20.1