Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp5399011ima; Tue, 5 Feb 2019 11:05:23 -0800 (PST) X-Google-Smtp-Source: AHgI3IYIXfMJQJgjM71XXmNKkX0n7oRZSVNaybEjkZZhcUwWXDwS8wcEkp8Q5EEZWR0BtFFUmnfB X-Received: by 2002:a65:608d:: with SMTP id t13mr5991208pgu.129.1549393523535; Tue, 05 Feb 2019 11:05:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549393523; cv=none; d=google.com; s=arc-20160816; b=iNs1a676hdEpMGKd6+ySBWtGFJL9mTQzxtNEYzq6B9yUyrHO0OZgGU//9QOOYq80S5 pgsKrOejrw8SfMKV6tx5IpMDhZ/MpN9pVZWUHIC7zJA0C5SqM9allXtHOS+6kE9IHwcG XPKR4nYS7srrHh9L7xD0u/ZMxTQcK1om19voYgPN5msoGxXNXUhoGKiK291xwCynz46w 3aJOzMX6TImj3VForpoHoLeWA14Ye5tiC+aTHtHLGYhinu14HdZt1/0q4oduqNmYYUgY hZqK7DpWZY48XeTfJ8nDhp/gvFy+PmsmgD2juNAOx+dJ12Y948UlPCzpZWZAEnIk7QD1 esQw== 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=pvPGDk0MYEUJat4AWVry/938UIVI5hfg1gRfbgdxD78=; b=ldHA6rYp5itob5a1aKGdgbbn+8+yM8sKLHl4C/rYORlHB9HE17uplYM5/0cbGg/K4K naxxU5kmTi6FVltx6+pF3JdMgv1QT7Da+sfvKEtul/lwbezQ/nP7PTlLzuMJiRhnJgg1 1cxvEOnnJSrm2+bU1UUs0oejiUi/eCpM41G3qCEtqKkGayAiPMYNLqrMZws3BF9YOQgE ITXT/GzGvT08tRoFN2GbTU2m0Wsb6q4QxCb4zgG2UJachLEp+3oaCvzKR9tj8jA4b3ry Yxtqeuib9Bx+TwRxwDVtejV6KnDbbqEvcHdp1ZxR6+6711lvZ8RLDJml2lmBiW09sgM2 9BdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=LxjqOT2Q; 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 s71si3969646pfk.105.2019.02.05.11.05.06; Tue, 05 Feb 2019 11:05:23 -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=LxjqOT2Q; 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 S1730654AbfBES7o (ORCPT + 99 others); Tue, 5 Feb 2019 13:59:44 -0500 Received: from mail-pg1-f193.google.com ([209.85.215.193]:38753 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730608AbfBES7g (ORCPT ); Tue, 5 Feb 2019 13:59:36 -0500 Received: by mail-pg1-f193.google.com with SMTP id g189so1777003pgc.5 for ; Tue, 05 Feb 2019 10:59:36 -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=pvPGDk0MYEUJat4AWVry/938UIVI5hfg1gRfbgdxD78=; b=LxjqOT2QAYJwd2Ht0s9cRUf9eMshGYaOmr8+TwSjnFDjc8kRVnelqyl4DJqNpXA53A qM2B1qggwiKD2VugxIgHAq5PN0RkhDNkUPQCaqoEDM9oNQlssSwBQRlQOVpJEza8/3f5 Qnju5DuCz8buu5fgyoUmg6+ard1jv3MEUYYTg= 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=pvPGDk0MYEUJat4AWVry/938UIVI5hfg1gRfbgdxD78=; b=EJP6J2t08TobFHwg4K2Huek03BDico+FrbQdx8XjoMGALA0zbra2QALOrkG+jRXMeb YELCx5UZOeXYrfCsEi6NkP6zPr70iRlEqW6OQQNU7EkmYb16/g8bdaAPE/hsgRjYhad5 om3v06fouM25Di3Io1Tv+/1SjrrtMLpWT2ZgnWncMiWacUXhHLSurD57tpR7SPc6+8Vp Z78AcZLqHRXQ8YRPL4W5VTAcQznsGHmQdf9BudBbczFsPkmvQtefnDABHUoWf+0XV240 WEXjy5UqAeFs17cpwZ0wIQpUgu6gzT8D97adscPmzCQ8niuLIHQKWPZhPRdV29DrfDiZ TjbA== X-Gm-Message-State: AHQUAuZeFfPZosPxE2JCrESMFRC3WKnI3qZu7OjWwjOtI0t/XXoYWOHE BnaDpkWBIvyDagzn7eIe+nth3g== X-Received: by 2002:aa7:8802:: with SMTP id c2mr6453769pfo.20.1549393176039; Tue, 05 Feb 2019 10:59:36 -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.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 05 Feb 2019 10:59:35 -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 4/8] arm64: dts: sdm845: Add UFS PHY reset Date: Tue, 5 Feb 2019 10:58:58 -0800 Message-Id: <20190205185902.106085-5-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 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 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