On Fri, Nov 16, 2018 at 04:49:27PM +0100, Lucas Stach wrote: > The GPCv2 on the Freescale i.MX8MQ SoC works in the same way as the > GPCv2 on the i.MX7, but only controls more power domains with a > different mapping. > > Signed-off-by: Lucas Stach <l.stach@xxxxxxxxxxxxxx> > --- > .../bindings/power/fsl,imx-gpcv2.txt | 7 +- The series looks good to me. @Rob, can you please ACK on the bindings change? Shawn > drivers/soc/imx/Kconfig | 6 +- > drivers/soc/imx/Makefile | 2 +- > drivers/soc/imx/gpcv2.c | 208 +++++++++++++++++- > include/dt-bindings/power/imx8mq-power.h | 21 ++ > 5 files changed, 237 insertions(+), 7 deletions(-) > create mode 100644 include/dt-bindings/power/imx8mq-power.h > > diff --git a/Documentation/devicetree/bindings/power/fsl,imx-gpcv2.txt b/Documentation/devicetree/bindings/power/fsl,imx-gpcv2.txt > index 9acce75b29ab..7c947a996df1 100644 > --- a/Documentation/devicetree/bindings/power/fsl,imx-gpcv2.txt > +++ b/Documentation/devicetree/bindings/power/fsl,imx-gpcv2.txt > @@ -6,7 +6,9 @@ Control (PGC) for various power domains. > > Required properties: > > -- compatible: Should be "fsl,imx7d-gpc" > +- compatible: Should be one of: > + - "fsl,imx7d-gpc" > + - "fsl,imx8mq-gpc" > > - reg: should be register base and length as documented in the > datasheet > @@ -22,7 +24,8 @@ which, in turn, is expected to contain the following: > Required properties: > > - reg: Power domain index. Valid values are defined in > - include/dt-bindings/power/imx7-power.h > + include/dt-bindings/power/imx7-power.h for fsl,imx7d-gpc and > + include/dt-bindings/power/imx8m-power.h for fsl,imx8mq-gpc > > - #power-domain-cells: Should be 0