Messages in this thread | | | Date | Thu, 28 May 2020 16:20:20 -0600 | From | Rob Herring <> | Subject | Re: [PATCH 1/6] dt-bindings: omap: Update PRM binding for genpd |
| |
On Wed, May 20, 2020 at 02:13:29PM -0700, Tony Lindgren wrote: > The PRM (Power and Reset Module) has registers to enable and disable > power domains, so let's update the binding for that.
multiple domains? Then why 0 cells?
> > Cc: devicetree@vger.kernel.org > Cc: Rob Herring <robh@kernel.org> > Signed-off-by: Tony Lindgren <tony@atomide.com> > --- > Documentation/devicetree/bindings/arm/omap/prm-inst.txt | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/Documentation/devicetree/bindings/arm/omap/prm-inst.txt b/Documentation/devicetree/bindings/arm/omap/prm-inst.txt > --- a/Documentation/devicetree/bindings/arm/omap/prm-inst.txt > +++ b/Documentation/devicetree/bindings/arm/omap/prm-inst.txt > @@ -18,6 +18,7 @@ Required properties: > (base address and length) > > Optional properties: > +- #power-domain-cells: Should be 0 if the PRM instance is a power domain.
...power domain provider.
> - #reset-cells: Should be 1 if the PRM instance in question supports resets. > > Example: > @@ -25,5 +26,6 @@ Example: > prm_dsp2: prm@1b00 { > compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst"; > reg = <0x1b00 0x40>; > + #power-domain-cells = <0>; > #reset-cells = <1>; > }; > -- > 2.26.2
| |