Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp128825imu; Thu, 3 Jan 2019 15:39:51 -0800 (PST) X-Google-Smtp-Source: ALg8bN42A+xnr8lfA7uWeD6XV8bxdTxWIhV85V01ooKEGyi8Ar4BDyB47FifG5VkCrwFfIBHnyYz X-Received: by 2002:a63:ee0e:: with SMTP id e14mr18316222pgi.8.1546558791262; Thu, 03 Jan 2019 15:39:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546558791; cv=none; d=google.com; s=arc-20160816; b=wnkNyUXxReTqWlAfQpoH667hPKf40PdKvGsi8dNvl9HD8gllbs0PAlf6pyXHsaJ/Xx 4x9Cdcw5v4+XCRWpa83Ml8BTy77WYGpdg31XVQkJuB2BUjzcY8XiePeYXnf5Uy8wFf+H WvXe3zSTeaBCnLUZgc4vxwIHgvDbD5DmqGcvYI1qIXObjJm4mzHHUzuta4EAVukMKT2d enYwfC6Wf2w8Y+2dOCQ9zkMUEMg6kb7iiWIYLvAw0UTUCo2nVwx6rKbOraLfzNEZ1Sd2 uV0HDHQ31iN9KRjKsxJ9LPppz5EXfcmDrx8Np5wxhQ3ivO5/pwy/5+fc5xrHnTgwUvue ++Zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=XgtY3ON4bBMzyuiNr7dfPpNVT+C5KIh9dO8CbrGw7tk=; b=eaOiP4VmnzZIMQNw8LVnAjRa0VQ3ZT4/KAMijK/X94FVNtgcxaCLP5Lt3SVOjPljez H5Hx2TJGYE4fQ2n4vHCzsl96uWWhejnitzyKaHA20T/0JKHcIFRR6ojP4ZGlRXlDWNw0 uBT+z0iTpBxzNNnQ8HITc+ZGrN3TNsaEvf9V4rEQnkjwQLQ5UMJxfgyCOn9TgDDyhILR Q8JqRtOKkMRsGmZi99CvSCWCMcFwYxA9MSEqkTjj8yU82LG8u/ptwe2YeOUpW1lNyZ1r Mb2PnucugRNKf9JppbBEz4hH7lhIzcGvnRYgjEyTrrwWKwwRhRqg82dEQTYhHWdD8H1G L6/g== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g59si54623598plb.302.2019.01.03.15.39.36; Thu, 03 Jan 2019 15:39:51 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731910AbfACRl0 (ORCPT + 99 others); Thu, 3 Jan 2019 12:41:26 -0500 Received: from mail-it1-f193.google.com ([209.85.166.193]:54527 "EHLO mail-it1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731865AbfACRlZ (ORCPT ); Thu, 3 Jan 2019 12:41:25 -0500 Received: by mail-it1-f193.google.com with SMTP id i145so46286944ita.4; Thu, 03 Jan 2019 09:41:24 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=XgtY3ON4bBMzyuiNr7dfPpNVT+C5KIh9dO8CbrGw7tk=; b=S2cj9SxBvbx51dS4EpTBE57RjisNPFQsEm+RtsUXLlXtb9TZwC3wNyG8sDoPThGG5d jsJh2U4OdAhxzckZh4moS3Q1P/LxMj/1zJxStWxK6gd7Lex6uY3v+U/hcMeG9EHipIRj FU1m7tDzC1miwIXYahcLp0ElFk2SpiFYSKeFZBeoa7sGAGoHicBJwOr8IMPI4SZpOvw5 PkvekJbXjFl2uTSrGeYfu3vhPivTKwKd7CWvRNS/w/F7nwGRBipmYU1dPsbXqU8uE8qo gA9jI2joJ93rLobg9ANYJNQI0iKYI+1hKGSM6c8r2sS3/7pDz2yjh3iyEuEcGrHoDfWC 7o7Q== X-Gm-Message-State: AA+aEWY12f8nSxe26Fl8qnHs3HU2eN23poA9I/Qzyz94FEj/qWMGEMlh MD/m7Avt14bKcbxFQeRJnQ== X-Received: by 2002:a24:16cc:: with SMTP id a195mr31184772ita.38.1546537284031; Thu, 03 Jan 2019 09:41:24 -0800 (PST) Received: from localhost ([24.51.61.172]) by smtp.gmail.com with ESMTPSA id h13sm6088944ioq.72.2019.01.03.09.41.23 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 03 Jan 2019 09:41:23 -0800 (PST) Date: Thu, 3 Jan 2019 11:41:17 -0600 From: Rob Herring To: Florian Fainelli Cc: p.zabel@pengutronix.de, linux-kernel@vger.kernel.org, Mark Rutland , Brian Norris , Gregory Fong , "maintainer:BROADCOM BCM7XXX ARM ARCHITECTURE" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:BROADCOM BCM7XXX ARM ARCHITECTURE" Subject: Re: [PATCH 1/2] dt-bindings: reset: Add document for Broadcom STB reset controller Message-ID: <20190103174117.GA6613@bogus> References: <20181221013409.14324-1-f.fainelli@gmail.com> <20181221013409.14324-2-f.fainelli@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181221013409.14324-2-f.fainelli@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 20, 2018 at 05:34:08PM -0800, Florian Fainelli wrote: > Add a binding document for the Broadcom STB reset controller, also known > as SW_INIT-style reset controller. > > Signed-off-by: Florian Fainelli > --- > .../devicetree/bindings/reset/brcm,reset.txt | 27 +++++++++++++++++++ > 1 file changed, 27 insertions(+) > create mode 100644 Documentation/devicetree/bindings/reset/brcm,reset.txt > > diff --git a/Documentation/devicetree/bindings/reset/brcm,reset.txt b/Documentation/devicetree/bindings/reset/brcm,reset.txt > new file mode 100644 > index 000000000000..6e5341b4f891 > --- /dev/null > +++ b/Documentation/devicetree/bindings/reset/brcm,reset.txt > @@ -0,0 +1,27 @@ > +Broadcom STB SW_INIT-style reset controller > +=========================================== > + > +Broadcom STB SoCs have a SW_INIT-style reset controller with separate > +SET/CLEAR/STATUS registers and possibly multiple banks, each of 32 bit > +reset lines. > + > +Please also refer to reset.txt in this directory for common reset > +controller binding usage. > + > +Required properties: > +- compatible: should be brcm,brcmstb-reset > +- reg: register base and length > +- #reset-cells: must be set to 1 > + > +Example: > + > + reset: reset-controller@8404318 { > + compatible = "brcm,brcmstb-reset"; > + reg = <0x8404318 0x30>; Based on this address, should this be a sub-node of something else? Or not even a sub-node and just make the parent be a reset provider? Rob