From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753993AbcIBOby (ORCPT ); Fri, 2 Sep 2016 10:31:54 -0400 Received: from mail-oi0-f67.google.com ([209.85.218.67]:33403 "EHLO mail-oi0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753332AbcIBObw (ORCPT ); Fri, 2 Sep 2016 10:31:52 -0400 Date: Fri, 2 Sep 2016 09:31:50 -0500 From: Rob Herring To: Nishanth Menon Cc: Kevin Hilman , "Rafael J. Wysocki" , Ulf Hansson , Dave Gerlach , Keerthy , Peter Ujfalusi , Tero Kristo , Russell King , Sudeep Holla , Santosh Shilimkar , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org Subject: Re: [PATCH 1/3] Documentation: dt: Add TI-SCI PM Domains Message-ID: <20160902143150.GA32012@rob-hp-laptop> References: <20160819235653.26355-1-nm@ti.com> <20160819235653.26355-2-nm@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160819235653.26355-2-nm@ti.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 19, 2016 at 06:56:51PM -0500, Nishanth Menon wrote: > From: Dave Gerlach > > Add a generic power domain implementation, TI SCI PM Domains, that > will hook into the genpd framework and allow each PD, which will be > created one per device, to be managed over the TI-SCI protocol. > > Signed-off-by: Dave Gerlach > Signed-off-by: Nishanth Menon > --- > .../devicetree/bindings/soc/ti/sci-pm-domain.txt | 58 ++++++++++++++++++++++ > MAINTAINERS | 1 + > 2 files changed, 59 insertions(+) > create mode 100644 Documentation/devicetree/bindings/soc/ti/sci-pm-domain.txt > > diff --git a/Documentation/devicetree/bindings/soc/ti/sci-pm-domain.txt b/Documentation/devicetree/bindings/soc/ti/sci-pm-domain.txt > new file mode 100644 > index 000000000000..059a5d71d692 > --- /dev/null > +++ b/Documentation/devicetree/bindings/soc/ti/sci-pm-domain.txt > @@ -0,0 +1,58 @@ > +Texas Instruments TI-SCI Generic Power Domain > +--------------------------------------------- > + > +Some TI SoCs contain a system controller (like the PMMC, etc...) that are > +responsible for control the state of the IPs that are present. Communication > +between the host processor running an OS and the system controller happens > +through a protocol known as TI-SCI[1]. This pm domain implementation plugs into > +the generic pm domain framework and makes use of the TI SCI protocol power on > +and off each device when needed. > + > +[1] Documentation/devicetree/bindings/arm/keystone/ti,sci.txt > + > +PM Domains Nodes > +================ > +The PM domains node represents the global PM domain managed by the PMMC, > +which in this case is one cell implementation as documented by the generic > +PM domain bindings in > +Documentation/devicetree/bindings/power/power_domain.txt. > + > +Required Properties: > +-------------------- > +- compatible: should be "ti,sci-pm-domains" > +- #power-domain-cells: Must be 1 so that an offset can be provided in each > + device node. > +- ti,sci: Phandle to the TI SCI device to use for managing the devices How about just making this a child node of the SCI device? Rob