Re: [PATCH v4 09/31] powerpc/fsl-pci: improve clock API use

2013-08-28 Thread Benjamin Herrenschmidt
On Wed, 2013-08-28 at 17:59 +0200, Gerhard Sittig wrote: > On Wed, Aug 28, 2013 at 14:08 +0200, Gerhard Sittig wrote: > > > > [ re-created the Cc: list, this is about the PCI clock exclusively ] > > I just noticed by coincidence that the message which I received > back from the linuxppc-dev ML ap

Re: [PATCH v4 09/31] powerpc/fsl-pci: improve clock API use

2013-08-28 Thread Gerhard Sittig
On Wed, Aug 28, 2013 at 14:08 +0200, Gerhard Sittig wrote: > > [ re-created the Cc: list, this is about the PCI clock exclusively ] I just noticed by coincidence that the message which I received back from the linuxppc-dev ML appeared to have dropped Benjamin Herrenschmidt and Kumar Gala from the

Re: [PATCH v4 09/31] powerpc/fsl-pci: improve clock API use

2013-08-28 Thread Gerhard Sittig
[ re-created the Cc: list, this is about the PCI clock exclusively ] Of all the "preparation" patches in the series (parts 01-14/31, forming the "peripheral driver cleanup" phase before the introduction of CCF support), this patch remains the last to get picked up. But I'd suggest to leave this p

Re: [PATCH v4 09/31] powerpc/fsl-pci: improve clock API use

2013-08-12 Thread Gerhard Sittig
On Thu, Aug 08, 2013 at 22:12 +0200, Anatolij Gustschin wrote: > > On Tue, 6 Aug 2013 22:43:49 +0200 > Gerhard Sittig wrote: > ... > > diff --git a/arch/powerpc/sysdev/fsl_pci.c b/arch/powerpc/sysdev/fsl_pci.c > > index 46ac1dd..549ff08 100644 > > --- a/arch/powerpc/sysdev/fsl_pci.c > > +++ b/ar

Re: [PATCH v4 09/31] powerpc/fsl-pci: improve clock API use

2013-08-08 Thread Anatolij Gustschin
On Tue, 6 Aug 2013 22:43:49 +0200 Gerhard Sittig wrote: ... > diff --git a/arch/powerpc/sysdev/fsl_pci.c b/arch/powerpc/sysdev/fsl_pci.c > index 46ac1dd..549ff08 100644 > --- a/arch/powerpc/sysdev/fsl_pci.c > +++ b/arch/powerpc/sysdev/fsl_pci.c ... > + clk = devm_clk_get(&pdev->dev, "per"); >

[PATCH v4 09/31] powerpc/fsl-pci: improve clock API use

2013-08-06 Thread Gerhard Sittig
make the Freescale PCI driver get, prepare and enable the PCI clock during probe(); the clock gets put upon device close by the devm approach clock lookup is non-fatal as not all platforms may provide clock specs in their device tree, but failure to enable specified clocks are fatal the driver ap