Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756151AbdLOUXh (ORCPT ); Fri, 15 Dec 2017 15:23:37 -0500 Received: from mail-ot0-f196.google.com ([74.125.82.196]:43490 "EHLO mail-ot0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755406AbdLOUXe (ORCPT ); Fri, 15 Dec 2017 15:23:34 -0500 X-Google-Smtp-Source: ACJfBovtKRRrmqS631ynHPoGNA5SLYmsg+z50JWXwsrJMblKHUnKhTe+WlZJZc4JZx4dRe2a37gerQ== Date: Fri, 15 Dec 2017 14:23:32 -0600 From: Rob Herring To: Alexandre Belloni Cc: Ralf Baechle , linux-mips@linux-mips.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Sebastian Reichel , linux-pm@vger.kernel.org Subject: Re: [PATCH v2 07/13] dt-bindings: power: reset: Document ocelot-reset binding Message-ID: <20171215202332.bn47da3fpkynusno@rob-hp-laptop> References: <20171208154618.20105-1-alexandre.belloni@free-electrons.com> <20171208154618.20105-8-alexandre.belloni@free-electrons.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171208154618.20105-8-alexandre.belloni@free-electrons.com> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1460 Lines: 38 On Fri, Dec 08, 2017 at 04:46:12PM +0100, Alexandre Belloni wrote: > Add binding documentation for the Microsemi Ocelot reset block. > > Cc: Rob Herring > Cc: devicetree@vger.kernel.org > Cc: Sebastian Reichel > Cc: linux-pm@vger.kernel.org > Signed-off-by: Alexandre Belloni > --- > .../devicetree/bindings/power/reset/ocelot-reset.txt | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > create mode 100644 Documentation/devicetree/bindings/power/reset/ocelot-reset.txt > > diff --git a/Documentation/devicetree/bindings/power/reset/ocelot-reset.txt b/Documentation/devicetree/bindings/power/reset/ocelot-reset.txt > new file mode 100644 > index 000000000000..1bcf276b04cb > --- /dev/null > +++ b/Documentation/devicetree/bindings/power/reset/ocelot-reset.txt > @@ -0,0 +1,17 @@ > +Microsemi Ocelot reset controller > + > +The DEVCPU_GCB:CHIP_REGS have a SOFT_RST register that can be used to reset the > +SoC MIPS core. > + > +Required Properties: > + - compatible: "mscc,ocelot-chip-reset" > + > +Example: > + syscon@71070000 { > + compatible = "mscc,ocelot-chip-regs", "simple-mfd", "syscon"; > + reg = <0x71070000 0x1c>; > + > + reset { > + compatible = "mscc,ocelot-chip-reset"; Why do you need a subnode here other than as a way to instantiate a driver? Can you describe the SOFT_RST register in reg property here (without having overlapping regions)?