Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp5397466ima; Tue, 5 Feb 2019 11:03:59 -0800 (PST) X-Google-Smtp-Source: AHgI3IayiMqCQKc2XDAj35LnIYtZ3qRM61PWiC5rz8c1zf4PjSrZJA4hpdwo9SxWeYa1rXzHfJoG X-Received: by 2002:a63:c42:: with SMTP id 2mr5917616pgm.372.1549393439854; Tue, 05 Feb 2019 11:03:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549393439; cv=none; d=google.com; s=arc-20160816; b=zqko51ihNEsbZ04YFrNPyrNzod/YIlmUUTcjJ8n3wac1AKhIrJgODw/ByXiPqmB7o2 npnplZY6s8d0UKGuhnAFzWAUSw+uIffiv2urtq3K7ZPmAfYxpKzoUh2NVVprecIuJonm jNrliwdHv6jJW5WyAIyTM4ZJSQUHenr+6I4i4ybSeGkAsPFJsw5Lrms2s8vN9e/ZTPGf xlmjL/v/Mt7hTfIABBogKpQGnX2rW1/5n7oqWVBM6fNvd61+KTffxV2+RW8xgeHTBty7 RY8g/gSn/roqETTZqbbH0QMKlgkyHuXs4IURIcZytWop/fVzfpFT+6gCpTLzADsFgSE4 Mx2g== 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=UON7OxMkbcyx4dBjCMwtMDRMNV+fEUa23kFHyXWEN6c=; b=A2hdeWOzJeAmbjZ7dSLcE1f//7pTdJIy80ySSwdY7bwENJ1HpQwW6KgJZXvwSd+tGJ deV8XbAYPpQ3wAYSNjE6OeO5LpBI9I5bXK06BO5dxsUYyvgM5YGNcoxSwJcoXao0Rie6 CyckjtqcR9bkdpyjPkaeMuKKW/S8tAiD/14v9aAMoBV9eZ8KeZ0fIOxE1bnTKsZ/Xjml g9m62IttifHwXePAWVttcMfC5nOvoPy0tAym35HjCiYRB1lp3MbZq3s3yk3cZ6cX5um5 c8sW/tr6rDsHHoREo1xDpH3Beq1q3JDqMo1JR9ZThQlN3VLLKJHU1AGJdlgMk9gp1IVy edcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=hrTSTlaJ; 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 a95si4021047pla.401.2019.02.05.11.03.44; Tue, 05 Feb 2019 11:03:59 -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=hrTSTlaJ; 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 S1730611AbfBES7g (ORCPT + 99 others); Tue, 5 Feb 2019 13:59:36 -0500 Received: from mail-pl1-f196.google.com ([209.85.214.196]:40797 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729356AbfBES7e (ORCPT ); Tue, 5 Feb 2019 13:59:34 -0500 Received: by mail-pl1-f196.google.com with SMTP id u18so1895566plq.7 for ; Tue, 05 Feb 2019 10:59:34 -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=UON7OxMkbcyx4dBjCMwtMDRMNV+fEUa23kFHyXWEN6c=; b=hrTSTlaJf5uGR2lhYgndzqrc3pBB8/5zBiGNEb7YqMZ+1XQb1F7aucNiK4RwL4jI/H cyidgCZWAc8h3D4V81xW8xcAOeBJ+3qJoycUmFLwsl9mR8Laur8AzW+U4JLtilLyb7/x BSKow+d/tLFhmGBD20XJWE7vujsxoJTTSHHl8= 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=UON7OxMkbcyx4dBjCMwtMDRMNV+fEUa23kFHyXWEN6c=; b=g9L0DKEbsVtq+n5kslr9t4Xwr7CQELj95e/ey7CdThO98QwPCgAQE3I/ICsbyTBB0d G0jG2CSaJKK7o0w+EBGU/WNUzS7vdARDLItPjSDgT59aBD5UKzIpzQxMx732XIJpPktn DyKRvdMXImd2IanJ6RkvqIqI7/gRJ+odJsQMASE2RQJXhMlyJsAoKl1JRhFmnI7F3K2P MZqK9OACLTmKiSZOZx6kyKsRO5/CyLIMi6n6gZ7l9onYj9i4P+rtkNBGK9zyw40ZCC/y h2QJphwb5BIjDak7RNL51TACZkENHknVH17m+2kD9xeX8bEueHQEmyt4z8HsDckgGtv/ eF+w== X-Gm-Message-State: AHQUAub9mqSay2C7NCYeAU2xaTCe+v56IvCMFduQWo/Sec73rUO/DhWa EygLMZuNA+vFw+gGqGHUpCzyqA== X-Received: by 2002:a17:902:f81:: with SMTP id 1mr6419022plz.174.1549393173719; Tue, 05 Feb 2019 10:59:33 -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.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 05 Feb 2019 10:59:33 -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 , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring , Mark Rutland Subject: [PATCH v3 3/8] dt-bindings: phy: qcom-ufs: Add resets property Date: Tue, 5 Feb 2019 10:58:57 -0800 Message-Id: <20190205185902.106085-4-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 a resets property to the PHY that represents the PHY reset register in the UFS controller itself. This better describes the complete specification of the PHY, and allows the PHY to perform its initialization in a single function, rather than relying on back-channel sequencing of initialization through the PHY framework. Signed-off-by: Evan Green Reviewed-by: Rob Herring Reviewed-by: Stephen Boyd --- Changes in v3: None Changes in v2: - Added resets to example (Stephen). Documentation/devicetree/bindings/ufs/ufs-qcom.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/ufs/ufs-qcom.txt b/Documentation/devicetree/bindings/ufs/ufs-qcom.txt index 21d9a93db2e9..fd59f93e9556 100644 --- a/Documentation/devicetree/bindings/ufs/ufs-qcom.txt +++ b/Documentation/devicetree/bindings/ufs/ufs-qcom.txt @@ -29,6 +29,7 @@ Optional properties: - vdda-pll-max-microamp : specifies max. load that can be drawn from pll supply - vddp-ref-clk-supply : phandle to UFS device ref_clk pad power supply - vddp-ref-clk-max-microamp : specifies max. load that can be drawn from this supply +- resets : specifies the PHY reset in the UFS controller Example: @@ -51,9 +52,11 @@ Example: <&clock_gcc clk_ufs_phy_ldo>, <&clock_gcc clk_gcc_ufs_tx_cfg_clk>, <&clock_gcc clk_gcc_ufs_rx_cfg_clk>; + resets = <&ufshc 0>; }; - ufshc@fc598000 { + ufshc: ufshc@fc598000 { + #reset-cells = <1>; ... phys = <&ufsphy1>; phy-names = "ufsphy"; -- 2.20.1