Re: [PATCH RFC 06/10] ARM: s3c64xx: pm: Add device tree based power domain instantiation

2014-01-13 Thread Mark Brown
On Mon, Jan 13, 2014 at 01:13:52PM +0100, Tomasz Figa wrote: > Power domain control registers are part of the system controller > block, which uses the "samsung,s3c64*-clock" compatible string. I > know this is a bit unfortunate, but all registers of this IP block > are mapped at the same page and

Re: [PATCH RFC 06/10] ARM: s3c64xx: pm: Add device tree based power domain instantiation

2014-01-13 Thread Tomasz Figa
On 13.01.2014 12:09, Mark Brown wrote: On Sun, Jan 12, 2014 at 08:34:10PM +0100, Tomasz Figa wrote: On 12.01.2014 20:29, Mark Brown wrote: On Sat, Jan 11, 2014 at 08:42:48PM +0100, Tomasz Figa wrote: This patch adds support for registering power domains of S3C64xx SoCs and binding devices to

Re: [PATCH RFC 06/10] ARM: s3c64xx: pm: Add device tree based power domain instantiation

2014-01-13 Thread Mark Brown
On Sun, Jan 12, 2014 at 08:34:10PM +0100, Tomasz Figa wrote: > On 12.01.2014 20:29, Mark Brown wrote: > >On Sat, Jan 11, 2014 at 08:42:48PM +0100, Tomasz Figa wrote: > >>This patch adds support for registering power domains of S3C64xx SoCs > >>and binding devices to them using device tree. > >>+#

Re: [PATCH RFC 06/10] ARM: s3c64xx: pm: Add device tree based power domain instantiation

2014-01-12 Thread Tomasz Figa
On 12.01.2014 20:29, Mark Brown wrote: On Sat, Jan 11, 2014 at 08:42:48PM +0100, Tomasz Figa wrote: This patch adds support for registering power domains of S3C64xx SoCs and binding devices to them using device tree. +#ifdef CONFIG_OF +static struct of_device_id s3c64xx_pd_matches[] = { +

Re: [PATCH RFC 06/10] ARM: s3c64xx: pm: Add device tree based power domain instantiation

2014-01-12 Thread Mark Brown
On Sat, Jan 11, 2014 at 08:42:48PM +0100, Tomasz Figa wrote: > This patch adds support for registering power domains of S3C64xx SoCs > and binding devices to them using device tree. > +#ifdef CONFIG_OF > +static struct of_device_id s3c64xx_pd_matches[] = { > + { .compatible = "samsung,s3c6400

[PATCH RFC 06/10] ARM: s3c64xx: pm: Add device tree based power domain instantiation

2014-01-11 Thread Tomasz Figa
This patch adds support for registering power domains of S3C64xx SoCs and binding devices to them using device tree. Signed-off-by: Tomasz Figa --- arch/arm/mach-s3c64xx/pm.c | 71 + include/dt-bindings/arm/s3c64xx-power-domains.h | 26 + 2 fi