Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp1135515imj; Thu, 14 Feb 2019 01:43:20 -0800 (PST) X-Google-Smtp-Source: AHgI3Ib8ctdBLepZsPCcTwcH828GsyvCeFwsa0rccloqYqEUIZNOvaxvAqkyI14aHeftY0vEJr8t X-Received: by 2002:a62:c42:: with SMTP id u63mr3018873pfi.73.1550137400573; Thu, 14 Feb 2019 01:43:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550137400; cv=none; d=google.com; s=arc-20160816; b=Hmr9ZGPkRFsF19QdllIFj8A/0dBYF8LlNtO+J93S2CqjwzuJ+o0dSsuZd662uNxvlF 8KccUxLPOgG35Szn0c/KCXWXyVmXOvPFspn27iKZuqpgA052AWYWTflJWVnE3U20NC0m IKHK/2WKkFQqe71om5nxiAVuN50+BmEF8otHxQaNfXeEZQRTaNYe1URyK2r29pJIsxFC 9pdInHxxWynsdrwHDbe3ss/CwPHqGeYgM15XKchazUZ7DzReUVFxNK7zfQ/084j4CoPa ZSlMTbdYLLe8VSc3fNyoCoKuGYkZfQ6zFyKjI9iWeY6c0ZHQtvWhGCOMpMSvjUaiHF0u V2Gg== 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=iFzJHslHRuN7dshluGWs7x+KZ7HWieibqhqCVGvZ6jg=; b=w8ObQyutYEm4LBtjMLDsKGjBsBXEe0yQHJx16OZ7Mdr0d0zgGb3iIcYzLW8++uy2H9 KcbvFQSPAvSLvtS6Ja5K4I/dhBEDPVmmdNja3dmkKtPSDL4cD0uT5gxzjXEG2kIZU7yS UDMM0NVQLetjGPVwUVNZADCMhvMiUgPPRtiesvaAvy1cQyAL5Fvo3VJOrFnkAS746nDB Dksx8K8G8GwQZ7GdffDjhh8SNektPMrAeEzeNwWpjL+QLN4CqGnbuuDo3bBgJNI0NP0x ji6hCs1js5igyee6+Gb7jZkuSvjaU9EIXKH1EToZuEmDoFEu1toeOUnpXfqr7SDvbC1C b6HQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=R9YuU2jX; 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 f128si2091052pfb.30.2019.02.14.01.43.05; Thu, 14 Feb 2019 01:43:20 -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=R9YuU2jX; 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 S2390823AbfBMX0a (ORCPT + 99 others); Wed, 13 Feb 2019 18:26:30 -0500 Received: from mail-pl1-f193.google.com ([209.85.214.193]:38603 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390321AbfBMX0X (ORCPT ); Wed, 13 Feb 2019 18:26:23 -0500 Received: by mail-pl1-f193.google.com with SMTP id e5so1988088plb.5 for ; Wed, 13 Feb 2019 15:26:23 -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=iFzJHslHRuN7dshluGWs7x+KZ7HWieibqhqCVGvZ6jg=; b=R9YuU2jXMWyx2mG4N66ZCHrNaWwKlmyS4uX3sY30VIgk3eGyB5pVqVnt4qUGVSApRX aKK/RpL27Pe5zuO6I8ybDUJ6N9JNCKZz2u4TGpqsXDX8Dnwvz0VA3OvoyE//uDj8tbjW SsMS5qVFiR/g8ybN7SnOwtlKDquXyrsoNVrOk= 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=iFzJHslHRuN7dshluGWs7x+KZ7HWieibqhqCVGvZ6jg=; b=GMkUlHNMOBzfCIaKBihdCZu2OLDc3DOBMXzztDtGyMsU6SdzvlOuM+UrSWjViNJAed DlZQlFegiAMMjxkJorGnrgjCaVWF81ME2GvENldvXip69ffWksmKyW0OMdB0igSWPi8X X9jcTgWfEX7bDYYt+cEX1IP5FkjdjE6szGS/dPrq+lZ8NY3ZvUMr+R4gvDyBAO2sesZD pgpx470j400pKCMVzDcNg7Uesu7jfiggCE4EbjJx2L39xrLHAWRGvD9gW1VasQRZkIsF Xn+GVMIFWI4pNOoH8Knf7MQm7L7tkL+WAdajG6uovq2UuKdtTWlkel8v7ZEl6rDUd9Cw 0YBw== X-Gm-Message-State: AHQUAuaRy0Lza+9BiLH/Poqdyrr8soscgHlmW3qYAtxomBpVRAnXVeQ5 Pg80k6MIMLPtyEY4zdqPBYET3Q== X-Received: by 2002:a17:902:2e01:: with SMTP id q1mr772941plb.240.1550100382818; Wed, 13 Feb 2019 15:26:22 -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.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 13 Feb 2019 15:26:22 -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 v4 3/8] dt-bindings: phy: qcom-ufs: Add resets property Date: Wed, 13 Feb 2019 15:25:21 -0800 Message-Id: <20190213232526.26995-4-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 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 v4: None 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