Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp3262377imm; Mon, 8 Oct 2018 00:33:02 -0700 (PDT) X-Google-Smtp-Source: ACcGV61IbQ/vRBrIPFOXCwdKam5+NKTF8xWcIKUvGzTl08pvr6qi4asu+MrnppzNdM/iKxgDHkh9 X-Received: by 2002:a17:902:694c:: with SMTP id k12-v6mr23186816plt.17.1538983982769; Mon, 08 Oct 2018 00:33:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538983982; cv=none; d=google.com; s=arc-20160816; b=Fh6Mdv6qv/pHxhr+VtOvJqVwIbggyyZkLMkeQj4T0woXEGZ5BKaKgiMeDagALPUM5a F2bKvRfG6FW8MUXhNNzub1R2DhEnWNespm/xoUOJx22Z/4Ugf13Z8rJfm2ShNuBoWOSX 6AMdAzTB+vpKC0Jsdv3wzndLENHwAG3xGaPV9Crw9wR6JRAojv55QMOSxh9uVtSael32 VarkKJfrGnkqR+zPC0VIZh4yuYy3zI2M9Wm0IXVACyR9zvWvFuRfJqHntZ/WIWovGNDz f7XZ7/595LraQa1IpTUWwLyDXbQBCDjJDYkwQAE8GC1dmo3vHKLtxPqXGIO4xaim71QU CibA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature:dkim-signature; bh=sp4Q4C7oBz3noYTo4cyNVRPRJ7C9/4S3rwKDE3GDJYI=; b=dduvePCwKf+o3pgVRI0l/DfMYSQZPWsZ7x9hCHxQmAiwB4lXJI7UGB44xXdemdYS66 Q73EASWItyHE3XIwVFxxe8C252gFq65/IcF9gwbUwcKK+3UJ0tWGUnXPJ6txltRBXxcq vm2uaGE5APWdiI4qzUEWxGZB3hD9WqE4K+18OybdhbD/6m3z0rBfH66U/xXrAYQ0q+CN MKpshBGfNHZ/o6JWbDozHPYc6eG/BJ78nSUpquPMmJmAP61eMcww2BPgjpsD5fUqUY+X v6PclbDw3e/F4sPU4UMYMCRYsKwH91PsbAIupK7gWHw3Vbleso8Yz49f7EsJ/oMBlpAH VSyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b="a/0q8q/P"; dkim=pass header.i=@codeaurora.org header.s=default header.b="Z42/m1of"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d13-v6si14959665pgv.84.2018.10.08.00.32.47; Mon, 08 Oct 2018 00:33:02 -0700 (PDT) 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=@codeaurora.org header.s=default header.b="a/0q8q/P"; dkim=pass header.i=@codeaurora.org header.s=default header.b="Z42/m1of"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726492AbeJHOmx (ORCPT + 99 others); Mon, 8 Oct 2018 10:42:53 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:60842 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725925AbeJHOmx (ORCPT ); Mon, 8 Oct 2018 10:42:53 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id C222D60769; Mon, 8 Oct 2018 07:32:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1538983952; bh=KyaGqjK9pUAZZn0Q0RT7ctntx0JGRORgUcqfP3t8eb0=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=a/0q8q/PeeBoBBD5v0N3Ns03gvnYZxfp/cjsuw09i3k1PJcimlZGWKpL5FugMn/Fx SgrlgVIDpteZFI12ObdC7qaWxkhGw3Swbj1w31DR4Zjxqq12fdZyStzznRePmY82hT OaAE5Fo77xTmUtB33tV520Daf+V8ptOw0911B72g= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.codeaurora.org (Postfix) with ESMTP id 91B0B60769; Mon, 8 Oct 2018 07:32:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1538983951; bh=KyaGqjK9pUAZZn0Q0RT7ctntx0JGRORgUcqfP3t8eb0=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Z42/m1ofUTCQZUpbk6DK8mp+tb4oWkVOi6RkyPQsbW0ww/+9HmWvKt6E4K3El/dgD RIHX+dTDXt8jW+wfSIb/dTWXmU9XY+KKUIot9uRSRzux6hf07aGTHIjG5GmbrCFjnM Gpybgg4E4Ukljanx9XsiqiPl/e4cp1raBPmoU2sA= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 08 Oct 2018 15:32:31 +0800 From: cang@codeaurora.org To: Rob Herring Cc: Can Guo , subhashj@codeaurora.org, asutoshd@codeaurora.org, vivek.gautam@codeaurora.org, evgreen@chromium.org, rnayak@codeaurora.org, vinholikatti@gmail.com, jejb@linux.vnet.ibm.com, martin.petersen@oracle.com, Amit Nischal , Mark Rutland , Mathieu Malaterre , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , open list Subject: Re: [PATCH v9 7/7] dt-bindings: ufshcd-pltfrm: Add core reset string In-Reply-To: <20180927150606.GA20771@bogus> References: <1537504081-29976-1-git-send-email-quic_cang@quicinc.com> <1537504081-29976-8-git-send-email-quic_cang@quicinc.com> <20180927150606.GA20771@bogus> Message-ID: <1cf6d77f049c6dcd62b9d9758e06b186@codeaurora.org> X-Sender: cang@codeaurora.org User-Agent: Roundcube Webmail/1.2.5 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018-09-27 23:06, Rob Herring wrote: > On Thu, Sep 20, 2018 at 09:28:00PM -0700, Can Guo wrote: >> From: Can Guo >> >> Add core reset support string for UFS. >> >> Signed-off-by: Amit Nischal >> Signed-off-by: Can Guo >> --- >> Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt | 7 +++++++ >> 1 file changed, 7 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt >> b/Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt >> index c39dfef..6b697c4 100644 >> --- a/Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt >> +++ b/Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt >> @@ -11,6 +11,11 @@ Required properties: >> "qcom,ufshc" >> - interrupts : >> - reg : >> +- reset : reset specifier pair consists of phandle for >> the reset provider >> + and reset lines used by this controller. It is >> mandatory for >> + QCOM SDM845 platform. >> +- reset-names : reset signal name strings sorted in the same >> order as the >> + resets property. It is mandatory for QCOM SDM845 platform. > > This already exists as of 4.19 under optional properties. (And you > can't > add new required properties anyways.) > Thank you Rob, I also found the newly merged change from Huawei on 4.19. Then our code would need a small change to parse the new reset-names string. >> >> Optional properties: >> - phys : phandle to UFS PHY node >> @@ -64,6 +69,8 @@ Example: >> clocks = <&core 0>, <&ref 0>, <&iface 0>; >> clock-names = "core_clk", "ref_clk", "iface_clk"; >> freq-table-hz = <100000000 200000000>, <0 0>, <0 0>; >> + resets = ; >> + reset-names = "core_reset"; > > And the name should be "rst" (or omitted). > Sure, got it, thank you. >> phys = <&ufsphy1>; >> phy-names = "ufsphy"; >> }; >> -- >> The Qualcomm Innovation Center, Inc. is a member of the Code Aurora >> Forum, >> a Linux Foundation Collaborative Project >>