Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1289079
| From | Rob Herring <robh@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH linux-next 1/2] power: Add brcm,bcm6358-power-controller device tree binding |
| Date | 2015-12-11 04:00 +0100 |
| Message-ID | <qEm66-6uo-15@gated-at.bofh.it> (permalink) |
| References | <qDVpg-5UZ-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, Dec 09, 2015 at 10:29:35PM +0000, Simon Arlott wrote: > The BCM6358 contains power domains controlled with a register. Power > domains are indexed by bits in the register. Power domain bits can be > interleaved with other status bits and clocks in the same register. > > Newer SoCs with dedicated power domain registers are active low. > > Signed-off-by: Simon Arlott <simon@fire.lp0.eu> > --- > .../power/brcm,bcm6358-power-controller.txt | 53 ++++++++++++++++++++++ > 1 file changed, 53 insertions(+) > create mode 100644 Documentation/devicetree/bindings/power/brcm,bcm6358-power-controller.txt > > diff --git a/Documentation/devicetree/bindings/power/brcm,bcm6358-power-controller.txt b/Documentation/devicetree/bindings/power/brcm,bcm6358-power-controller.txt > new file mode 100644 > index 0000000..556c323 > --- /dev/null > +++ b/Documentation/devicetree/bindings/power/brcm,bcm6358-power-controller.txt > @@ -0,0 +1,53 @@ > +Broadcom BCM6358 Power domain controller > + > +This binding uses the power domain bindings: > + Documentation/devicetree/bindings/power/power_domain.txt > + > +The BCM6358 contains power domains controlled with a register. Power > +domains are indexed by bits in the register. Power domain bits can be > +interleaved with other status bits and clocks in the same register. > + > +Newer SoCs with dedicated power domain registers are active low. > + > +Required properties: > +- compatible: Should be "brcm,bcm<soc>-power-controller", "brcm,bcm6358-power-controller" > +- #power-domain-cells: Should be <1>. > +- regmap: The register map phandle > +- offset: Offset in the register map for the power domain register (in bytes) > +- power-domain-indices: The bits in the register used for power domains. You should drop this and make the cell values be the register offsets. > +- power-domain-names: Should be a list of strings of power domain names > + indexed by the power domain indices. This isn't really needed anyway. > + > +Optional properties: > +- active-low: Specify that the bits are active low. This should be implied by the compatible property. Rob -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH linux-next 1/2] power: Add brcm,bcm6358-power-controller device tree binding Simon Arlott <simon@fire.lp0.eu> - 2015-12-09 23:30 +0100
[PATCH linux-next 2/2] power: bcm6358-power: Add BCM6358 power domain controller support Simon Arlott <simon@fire.lp0.eu> - 2015-12-09 23:40 +0100
Re: [PATCH linux-next 1/2] power: Add brcm,bcm6358-power-controller device tree binding Rob Herring <robh@kernel.org> - 2015-12-11 04:00 +0100
Re: [PATCH linux-next 1/2] power: Add brcm,bcm6358-power-controller device tree binding Simon Arlott <simon@fire.lp0.eu> - 2015-12-11 21:40 +0100
csiph-web