Re: [PATCH RFC v11 5/6] dma: mpc512x: add device tree binding document

2014-04-22 Thread Gerhard Sittig
On Fri, 2014-04-18 at 15:29 +0400, Alexander Popov wrote: > > 2014-04-17 0:44 GMT+04:00 Gerhard Sittig : > > On Tue, 2014-04-15 at 14:54 +0400, Alexander Popov wrote: > >> > >> +- reg: Address and size of the DMA controller's register set > >> +-

Re: [PATCH RFC v11 5/6] dma: mpc512x: add device tree binding document

2014-04-16 Thread Gerhard Sittig
On Tue, 2014-04-15 at 14:54 +0400, Alexander Popov wrote: > > Introduce a device tree binding document for the MPC512x DMA controller > > Signed-off-by: Gerhard Sittig > Signed-off-by: Alexander Popov I'm not certain whether the attribution is right. Is the S-o-b approp

Re: cscope: issue with symlinks in tools/testing/selftests/powerpc/copyloops/

2014-04-08 Thread Gerhard Sittig
[ removed cscope-devel from Cc:, non-subscriber mails get blocked anyway ] On Mon, 2014-04-07 at 14:42 +0200, Gerhard Sittig wrote: > > On Mon, 2014-04-07 at 06:42 -0400, Neil Horman wrote: > > > > On Thu, Apr 03, 2014 at 03:16:15PM +0200, Y

Re: cscope: issue with symlinks in tools/testing/selftests/powerpc/copyloops/

2014-04-07 Thread Gerhard Sittig
tries. Would it be useful to not emit the warnings then? Or to silent those warnings when the user knows it's perfectly legal to skip those filesytem entries? Like what you can do with the ctags(1) command and its --links option. virtually yours Gerhard

Re: [PATCH 2/3] dts: mpc512x: adjust clock specs for FEC nodes

2014-03-05 Thread Gerhard Sittig
On Wed, Mar 05, 2014 at 09:48 +0800, Shawn Guo wrote: > > On Mon, Mar 03, 2014 at 10:22:31AM +0100, Gerhard Sittig wrote: > > On Mon, Feb 24, 2014 at 11:25 +0100, Gerhard Sittig wrote: > > > > > > a recent FEC binding document update that was motivated by i.MX >

Re: [PATCH 2/3] dts: mpc512x: adjust clock specs for FEC nodes

2014-03-03 Thread Gerhard Sittig
On Mon, Feb 24, 2014 at 11:25 +0100, Gerhard Sittig wrote: > > a recent FEC binding document update that was motivated by i.MX > development revealed that ARM and PowerPC implementations in Linux > did not agree on the clock names to use for the FEC nodes > > change clock n

[PATCH 3/3] dt/bindings: fsl-fec: add "per" to clock properties

2014-02-24 Thread Gerhard Sittig
alias for "ipg" Signed-off-by: Gerhard Sittig --- this patch depends on "dt/bindings: fsl-fec: add clock properties" by Shawn Guo which introduces the context of this patch the patch only is necessary if the MPC5121 .dtsi update (switch FEC nodes from "per

[PATCH 2/3] dts: mpc512x: adjust clock specs for FEC nodes

2014-02-24 Thread Gerhard Sittig
change won't make it for v3.14, the MPC512x CCF support provides full backwards compability, and keeps operating with device trees which lack clock specs or don't match in the names Signed-off-by: Gerhard Sittig --- arch/powerpc/boot/dts/mpc5121.dtsi |4 ++-- 1 file changed, 2 i

[PATCH 1/3] fs_enet: update clock names to comply with FEC binding

2014-02-24 Thread Gerhard Sittig
e binding, and keeps compatibility with former device trees Signed-off-by: Gerhard Sittig --- drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c b/

Re: [PATCH RFC v7 0/6] MPC512x DMA slave s/g support, OF DMA lookup

2014-02-12 Thread Gerhard Sittig
already are drinking from the firehose). DT reviewers are foremost interested in bindings and policy and remaining OS agnostic, and leave mechanical .dts file updates to subsystem maintainers. virtually yours Gerhard Sittig -- DENX Software Engineering GmbH, MD: Wolfgang Denk & De

Re: [PATCH RFC v7 6/6] HACK mmc: mxcmmc: enable clocks for the MPC512x

2014-02-12 Thread Gerhard Sittig
4-rc1 comes with proper COMMON_CLK support. virtually yours Gerhard Sittig -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr. 5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-6698

Re: [PATCH RFC v7 4/6] dma: mpc512x: add device tree binding document

2014-02-12 Thread Gerhard Sittig
On Wed, Feb 12, 2014 at 17:25 +0400, Alexander Popov wrote: > > From: Gerhard Sittig > > introduce a device tree binding document for the MPC512x DMA controller > > Signed-off-by: Gerhard Sittig > [ a13xp0p0...@gmail.com: turn this into a separate patch ] As stated in t

Re: [PATCH RFC v7 2/6] dma: mpc512x: add support for peripheral transfers

2014-02-12 Thread Gerhard Sittig
tcd->biter = iter & 0x1ff; > + tcd->biter_linkch = iter >> 9; > + tcd->citer = tcd->biter; > + tcd->citer_linkch = tcd->biter_linkch; > + } > + > + tcd->e_sg = 0; >

Re: [PATCH RFC v7 1/6] dma: mpc512x: reorder mpc8308 specific instructions

2014-02-12 Thread Gerhard Sittig
behaviour. As this one is an obvious improvement and straight forward, it can be taken regardless of the remainder of the series. (I guess this formerly stated judgement is what made Alexander derive Acked-By tags from.) virtually yours Gerhard Sittig -- DENX Software Engineering GmbH,

Re: Please pull 'next' branch of 5xxx tree

2014-01-29 Thread Gerhard Sittig
heck that I > fixed it up properly in powerpc-next and let me know. Did read the merge commit (git show e9a371100dfd), did a build and run test of f878f84373ae powerpc: Wire up sched_setattr and sched_getattr syscalls and everything looks good. Thank you! virtually yours Gerhard Sittig --

Re: [PATCH RFC v6 4/5] dma: mpc512x: register for device tree channel lookup

2014-01-16 Thread Gerhard Sittig
On Mon, Jan 13, 2014 at 12:17 +0400, Alexander Popov wrote: > > Thanks for your replies, Gerhard and Vinod. > > 2014/1/9 Vinod Koul : > > On Wed, Jan 08, 2014 at 05:47:19PM +0100, Gerhard Sittig wrote: > >> [ what is the semantics of DMA_PRIVATE capability flag? > &

Re: [PATCH RFC v6 4/5] dma: mpc512x: register for device tree channel lookup

2014-01-08 Thread Gerhard Sittig
Hello Gerhard. > Thanks for your review. > > 2013/12/26 Gerhard Sittig : > > [ dropping devicetree, we're DMA specific here ] > > > > On Tue, Dec 24, 2013 at 16:06 +0400, Alexander Popov wrote: > >> > >> --- a/drivers/dma/mpc512x_dma.c > >

Re: [PATCH RFC v6 4/5] dma: mpc512x: register for device tree channel lookup

2013-12-26 Thread Gerhard Sittig
change is quite a change in semantics, and has dramatic influence on the code's behaviour (ignores the DMA controller when looking for channels that can do mem-to-mem transfers). Please reason about this change some more, and explain what it does and why it's needed. Consider the fact that thi

Re: [PATCH RFC v6 4/5] dma: mpc512x: register for device tree channel lookup

2013-12-26 Thread Gerhard Sittig
status, and update it later as new features become available. Or -- given that the hardware remains, all the knowledge is there already, just the implementations' capabilities change -- I might as well introduce a binding document including OF based DMA lookup. virtually yours Gerhard S

Re: [PATCH] powerpc/512x: dts: disable MPC5125 usb module

2013-12-19 Thread Gerhard Sittig
n to all MPC512x variants, and what's exclusive to MPC5121 only. But that is a bigger task than the above quick adjustment, and is not a required fix but just an improvement in maintainability or completeness of information. So I suggest to pick your USB1 disabling for -next and 3.14 now,

Re: [PATCH v1 0/4] powerpc/512x: update COMMON_CLK support for MPC5125

2013-12-12 Thread Gerhard Sittig
On Thu, Dec 12, 2013 at 17:12 +0100, Matteo Facchinetti wrote: > > On 10/12/2013 14:11, Gerhard Sittig wrote: > >this series improves the previously introduced common clock support for > >MPC512x such that SoC variants 5123 and 5125 get addressed appropriately > >(MPC5125

[PATCH v1 1/4] powerpc/512x: clk: minor comment updates

2013-12-10 Thread Gerhard Sittig
adjust (expand on or move) a few comments, add markers for easier navigation around helpers Signed-off-by: Gerhard Sittig --- arch/powerpc/platforms/512x/clock-commonclk.c | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/platforms/512x/clock

[PATCH v1 0/4] powerpc/512x: update COMMON_CLK support for MPC5125

2013-12-10 Thread Gerhard Sittig
operate your peripherals, both with an updated device tree as well as with a former device tree that lacks clock specs? Thank you! Setting CONFIG_COMMON_CLK_DEBUG=y in your .config and eyeballing /sys/kernel/debug/clk/clk_summary will help you. Gerhard Sittig (4): powerpc/512x: clk: minor comment

[PATCH v1 3/4] powerpc/512x: clk: support MPC5121/5123/5125 SoC variants

2013-12-10 Thread Gerhard Sittig
or the high and low periods of the clock) is not implemented, as there are no users and there is no common implementation which supports this kind of clock -- the new implementation would be unused and could not get verified, so it shall wait until there is demand Signed-off-by: Gerhard Sittig --

[PATCH v1 4/4] powerpc/512x: dts: add MPC5125 clock specs

2013-12-10 Thread Gerhard Sittig
add clock related specs to the MPC5125 "tower" board DTS - add clock providers (crystal/oscillator, clock control module) - add consumers (the CAN, SDHC, I2C, DIU, FEC, USB, PSC peripherals) Signed-off-by: Gerhard Sittig --- arch/powerpc/boot/dts/mpc5125twr.

[PATCH v1 2/4] powerpc/512x: clk: enforce even SDHC divider values

2013-12-10 Thread Gerhard Sittig
tional support logic, and avoids an excessive divider table) and satisfies the hardware's constraint of only supporting even divider values Signed-off-by: Gerhard Sittig --- arch/powerpc/platforms/512x/clock-commonclk.c | 16 ++-- 1 file changed, 14 insertions(+), 2 deletions

Re: [PATCH v6 00/17] add COMMON_CLK support for PowerPC MPC512x

2013-12-10 Thread Gerhard Sittig
[ trimmed Cc: list to PowerPC and CCF ] On Sat, Nov 30, 2013 at 23:51 +0100, Gerhard Sittig wrote: > > this series introduces support for the common clock framework (CCF, > COMMON_CLK Kconfig option) in the PowerPC based MPC512x platform, > which brings device tree based clock lo

Re: [PATCH v1 1/1] powerpc/512x: dts: remove misplaced IRQ spec from 'soc' node

2013-12-10 Thread Gerhard Sittig
On Tue, Dec 10, 2013 at 11:05 +0100, Gerhard Sittig wrote: > > FYI: I only noticed yesterday that MPC5125 suffers from the same > issue, have sent <1386669068-2477-1-git-send-email-...@denx.de> > to fix that as well. Both patches may get squashed when going > upstream. Don&

Re: [PATCH v1 1/1] powerpc/512x: dts: remove misplaced IRQ spec from 'soc' node

2013-12-10 Thread Gerhard Sittig
[ Cc: to Matteo as well ] On Tue, Dec 03, 2013 at 15:04 +0100, Anatolij Gustschin wrote: > > On Tue, 3 Dec 2013 11:56:52 +0100 > Gerhard Sittig wrote: > > > the 'soc' node in the common .dtsi for MPC5121 has an '#interrupt-cells' > > property altho

[PATCH v1 1/1] powerpc/512x: dts: remove misplaced IRQ spec from 'soc' node (5125)

2013-12-10 Thread Gerhard Sittig
xppc-dev@lists.ozlabs.org Cc: devicet...@vger.kernel.org Signed-off-by: Gerhard Sittig --- note that this is not a resend of the previous MPC5121 fix, but instead is a fix for MPC5125 along the same lines of the MPC5121 fix --- arch/powerpc/boot/dts/mpc5125twr.dts |1 - 1 file changed, 1 deletion

[PATCH v1 1/1] powerpc/512x: dts: remove misplaced IRQ spec from 'soc' node

2013-12-03 Thread Gerhard Sittig
c: probe of 8a00.rtc failed with error -22 ... [ best viewed with 'git diff -U5' to have DT node names in the context ] Cc: Anatolij Gustschin Cc: linuxppc-dev@lists.ozlabs.org Cc: devicet...@vger.kernel.org Signed-off-by: Gerhard Sittig --- arch/powerpc/boot/dts/mpc5121.dtsi |1 -

Re: [PATCH v6 08/17] spi: mpc512x: adjust to OF based clock lookup

2013-12-02 Thread Gerhard Sittig
On Mon, Dec 02, 2013 at 09:50 +, Mark Rutland wrote: > > On Sat, Nov 30, 2013 at 10:51:28PM +, Gerhard Sittig wrote: > > after device tree based clock lookup became available, the peripheral > > driver need no longer construct clock names which include the PSC index, &

Re: [PATCH v6 02/17] dts: mpc512x: introduce dt-bindings/clock/ header

2013-12-02 Thread Gerhard Sittig
On Mon, Dec 02, 2013 at 09:46 +, Mark Rutland wrote: > > On Sat, Nov 30, 2013 at 10:51:22PM +, Gerhard Sittig wrote: > > introduce a dt-bindings/ header file for MPC512x clocks, > > providing symbolic identifiers for those SoC clocks which > > clients will referenc

[PATCH v6 17/17] clk: mpc512x: remove migration support workarounds

2013-11-30 Thread Gerhard Sittig
er gets initialized, thus the clock provider isn't available then Cc: Mike Turquette Cc: Anatolij Gustschin Cc: linux-arm-ker...@lists.infradead.org Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Gerhard Sittig --- arch/powerpc/platforms/512x/clock-commonclk.c | 50 ---

[PATCH v6 15/17] net: can: mscan: remove non-CCF code for MPC512x

2013-11-30 Thread Gerhard Sittig
-...@vger.kernel.org Signed-off-by: Gerhard Sittig --- drivers/net/can/mscan/mpc5xxx_can.c | 141 --- 1 file changed, 141 deletions(-) diff --git a/drivers/net/can/mscan/mpc5xxx_can.c b/drivers/net/can/mscan/mpc5xxx_can.c index f48f1297ff30..6b0c9958d824 100644

[PATCH v6 16/17] powerpc/mpc512x: improve DIU related clock setup

2013-11-30 Thread Gerhard Sittig
ee which lacks clock specs Cc: Anatolij Gustschin Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Gerhard Sittig --- arch/powerpc/platforms/512x/mpc512x_shared.c | 169 ++ 1 file changed, 92 insertions(+), 77 deletions(-) diff --git a/arch/powerpc/platforms/512x/mp

[PATCH v6 13/17] [media] fsl-viu: adjust for OF based clock lookup

2013-11-30 Thread Gerhard Sittig
after device tree based clock lookup became available, the VIU driver need no longer use the previous global "viu_clk" name, but should use the "ipg" clock name specific to the OF node Cc: Mauro Carvalho Chehab Cc: linux-me...@vger.kernel.org Signed-off-by: Gerhard Sittig

[PATCH v6 14/17] net: can: mscan: adjust to common clock support for mpc512x

2013-11-30 Thread Gerhard Sittig
ger Cc: Marc Kleine-Budde Cc: linux-...@vger.kernel.org Signed-off-by: Gerhard Sittig --- drivers/net/can/mscan/mpc5xxx_can.c | 179 +++ 1 file changed, 179 insertions(+) diff --git a/drivers/net/can/mscan/mpc5xxx_can.c b/drivers/net/can/mscan/mpc5xxx_can.

[PATCH v6 12/17] mtd: mpc5121_nfc: adjust for OF based clock lookup

2013-11-30 Thread Gerhard Sittig
after device tree based clock lookup became available, the NAND flash driver need no longer use the previous global "nfc_clk" name, but should use the "ipg" clock name specific to the OF node Cc: David Woodhouse Cc: Artem Bityutskiy Cc: linux-...@lists.infradead.org Si

[PATCH v6 11/17] USB: fsl-mph-dr-of: adjust for OF based clock lookup

2013-11-30 Thread Gerhard Sittig
after device tree based clock lookup became available, the peripheral driver need no longer construct clock names which include the component index -- remove the "usb%d_clk" template, always use "ipg" instead Cc: Greg Kroah-Hartman Cc: linux-...@vger.kernel.org Signed-of

[PATCH v6 08/17] spi: mpc512x: adjust to OF based clock lookup

2013-11-30 Thread Gerhard Sittig
ss as well Cc: Mark Brown Cc: linux-...@vger.kernel.org Signed-off-by: Gerhard Sittig --- drivers/spi/spi-mpc512x-psc.c | 26 ++ 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/drivers/spi/spi-mpc512x-psc.c b/drivers/spi/spi-mpc512x-psc.c index 9602bbd8d

[PATCH v6 10/17] serial: mpc512x: setup the PSC FIFO clock as well

2013-11-30 Thread Gerhard Sittig
lock specs Cc: Greg Kroah-Hartman Cc: Jiri Slaby Cc: linux-ser...@vger.kernel.org Acked-by: Greg Kroah-Hartman # for v4 Signed-off-by: Gerhard Sittig --- Greg, the addition since v4 is the clk_get_sys() call for the 'ipg' clock item (backwards compat for device trees w/o clock spec

[PATCH v6 07/17] clk: mpc5xxx: switch to COMMON_CLK, retire PPC_CLOCK

2013-11-30 Thread Gerhard Sittig
Turquette Cc: Anatolij Gustschin Cc: linux-arm-ker...@lists.infradead.org Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Gerhard Sittig --- arch/powerpc/Kconfig |5 - arch/powerpc/include/asm/clk_interface.h | 20 - arch/powerpc/kernel/Makefile |1

[PATCH v6 09/17] serial: mpc512x: adjust for OF based clock lookup

2013-11-30 Thread Gerhard Sittig
access as well Cc: Greg Kroah-Hartman Cc: Jiri Slaby Cc: linux-ser...@vger.kernel.org Acked-by: Greg Kroah-Hartman # for v4 Signed-off-by: Gerhard Sittig --- Greg, the difference since v4 of this patch is that v4 took the 'mclk' and 'ipg' clock items in reverse order, and thus

[PATCH v6 06/17] dts: mpc512x: add clock specs for client lookups

2013-11-30 Thread Gerhard Sittig
: Ian Campbell Cc: devicet...@vger.kernel.org Cc: linuxppc-dev@lists.ozlabs.org Reviewed-by: Mike Turquette # for v3: w/o bdlc, PSC ipg Signed-off-by: Gerhard Sittig --- arch/powerpc/boot/dts/mpc5121.dtsi | 95 1 file changed, 95 insertions(+) diff

[PATCH v6 03/17] dts: mpc512x: add clock related device tree specs

2013-11-30 Thread Gerhard Sittig
s.infradead.org Cc: devicet...@vger.kernel.org Reviewed-by: Mike Turquette # for v3, before &osc Signed-off-by: Gerhard Sittig --- arch/powerpc/boot/dts/ac14xx.dts |7 +++ arch/powerpc/boot/dts/mpc5121.dtsi | 18 +- 2 files changed, 24 insertions(+), 1 deletion(-) d

[PATCH v6 04/17] clk: mpc512x: introduce COMMON_CLK for MPC512x (disabled)

2013-11-30 Thread Gerhard Sittig
n derived from the IPS bus frequency and multiplier values fetched from hardware Cc: Mike Turquette Cc: Anatolij Gustschin Cc: linux-arm-ker...@lists.infradead.org Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Gerhard Sittig --- arch/powerpc/platforms/512x/Makefile |4 +- arch/

[PATCH v6 05/17] clk: mpc512x: add backwards compat to the CCF code

2013-11-30 Thread Gerhard Sittig
extend the recently added COMMON_CLK platform support for MPC512x such that it works with incomplete device tree data which lacks clock specs Cc: Mike Turquette Cc: Anatolij Gustschin Cc: linux-arm-ker...@lists.infradead.org Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Gerhard Sittig

[PATCH v6 02/17] dts: mpc512x: introduce dt-bindings/clock/ header

2013-11-30 Thread Gerhard Sittig
-by: Mike Turquette # for v3: w/o bdlc, PSC ipg Signed-off-by: Gerhard Sittig --- include/dt-bindings/clock/mpc512x-clock.h | 69 + 1 file changed, 69 insertions(+) create mode 100644 include/dt-bindings/clock/mpc512x-clock.h diff --git a/include/dt-bindings

[PATCH v6 00/17] add COMMON_CLK support for PowerPC MPC512x

2013-11-30 Thread Gerhard Sittig
clock during use instead of looking up the clock again in the uninit() routine (14/24) - remove the clkdev.h header file inclusion directive with the removal of the clkdev registration call (13/24) initial v1 (2013-07-15) Gerhard Sittig (17): powerpc/fsl-pci: improve clock API use dts: m

[PATCH v6 01/17] powerpc/fsl-pci: improve clock API use

2013-11-30 Thread Gerhard Sittig
bs.org Signed-off-by: Gerhard Sittig --- arch/powerpc/sysdev/fsl_pci.c | 52 + 1 file changed, 52 insertions(+) diff --git a/arch/powerpc/sysdev/fsl_pci.c b/arch/powerpc/sysdev/fsl_pci.c index 4dfd61df8aba..bee8011d6bd7 100644 --- a/arch/powerpc/sysdev/fsl_pci.

Re: [PATCH v5 08/17] spi: mpc512x: adjust to OF based clock lookup

2013-11-25 Thread Gerhard Sittig
On Mon, Nov 25, 2013 at 17:30 +, Mark Brown wrote: > > On Mon, Nov 18, 2013 at 12:06:08AM +0100, Gerhard Sittig wrote: > > after device tree based clock lookup became available, the peripheral > > driver need no longer construct clock names which include the PSC index, &

Re: [PATCH v5 00/17] add COMMON_CLK support for PowerPC MPC512x

2013-11-24 Thread Gerhard Sittig
On Mon, Nov 18, 2013 at 00:06 +0100, Gerhard Sittig wrote: > > the series is based on v3.12, but I'll rebase against v3.13-rc1 > (when available) or any other subtree upon request Now that v3.13-rc1 is out, I noticed that the series no longer applies cleanly (minor context changes

Re: [PATCH v5 01/17] powerpc/fsl-pci: improve clock API use

2013-11-21 Thread Gerhard Sittig
y can and may apply the same workaround as 512x ] On Tue, Nov 19, 2013 at 16:41 -0600, Scott Wood wrote: > > On Mon, 2013-11-18 at 00:06 +0100, Gerhard Sittig wrote: > > make the Freescale PCI driver get, prepare and enable the PCI clock > > during probe(); the clock gets put

[PATCH v5 17/17] clk: mpc512x: remove migration support workarounds

2013-11-17 Thread Gerhard Sittig
er gets initialized, thus the clock provider isn't available then Cc: Mike Turquette Cc: Anatolij Gustschin Cc: linux-arm-ker...@lists.infradead.org Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Gerhard Sittig --- arch/powerpc/platforms/512x/clock-commonclk.c | 50 ---

[PATCH v5 16/17] powerpc/mpc512x: improve DIU related clock setup

2013-11-17 Thread Gerhard Sittig
ee which lacks clock specs Cc: Anatolij Gustschin Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Gerhard Sittig --- arch/powerpc/platforms/512x/mpc512x_shared.c | 169 ++ 1 file changed, 92 insertions(+), 77 deletions(-) diff --git a/arch/powerpc/platforms/512x/mp

[PATCH v5 15/17] net: can: mscan: remove non-CCF code for MPC512x

2013-11-17 Thread Gerhard Sittig
-...@vger.kernel.org Signed-off-by: Gerhard Sittig --- drivers/net/can/mscan/mpc5xxx_can.c | 141 --- 1 file changed, 141 deletions(-) diff --git a/drivers/net/can/mscan/mpc5xxx_can.c b/drivers/net/can/mscan/mpc5xxx_can.c index f48f1297ff30..6b0c9958d824 100644

[PATCH v5 13/17] [media] fsl-viu: adjust for OF based clock lookup

2013-11-17 Thread Gerhard Sittig
after device tree based clock lookup became available, the VIU driver need no longer use the previous global "viu_clk" name, but should use the "ipg" clock name specific to the OF node Cc: Mauro Carvalho Chehab Cc: linux-me...@vger.kernel.org Signed-off-by: Gerhard Sittig

[PATCH v5 14/17] net: can: mscan: adjust to common clock support for mpc512x

2013-11-17 Thread Gerhard Sittig
ger Cc: Marc Kleine-Budde Cc: linux-...@vger.kernel.org Signed-off-by: Gerhard Sittig --- drivers/net/can/mscan/mpc5xxx_can.c | 179 +++ 1 file changed, 179 insertions(+) diff --git a/drivers/net/can/mscan/mpc5xxx_can.c b/drivers/net/can/mscan/mpc5xxx_can.

[PATCH v5 12/17] mtd: mpc5121_nfc: adjust for OF based clock lookup

2013-11-17 Thread Gerhard Sittig
after device tree based clock lookup became available, the NAND flash driver need no longer use the previous global "nfc_clk" name, but should use the "ipg" clock name specific to the OF node Cc: David Woodhouse Cc: Artem Bityutskiy Cc: linux-...@lists.infradead.org Si

[PATCH v5 11/17] USB: fsl-mph-dr-of: adjust for OF based clock lookup

2013-11-17 Thread Gerhard Sittig
after device tree based clock lookup became available, the peripheral driver need no longer construct clock names which include the component index -- remove the "usb%d_clk" template, always use "ipg" instead Cc: Greg Kroah-Hartman Cc: linux-...@vger.kernel.org Signed-of

[PATCH v5 10/17] serial: mpc512x: setup the PSC FIFO clock as well

2013-11-17 Thread Gerhard Sittig
lock specs Cc: Greg Kroah-Hartman Cc: Jiri Slaby Cc: linux-ser...@vger.kernel.org Acked-by: Greg Kroah-Hartman # for v4 Signed-off-by: Gerhard Sittig --- Greg, the addition since v4 is the clk_get_sys() call for the 'ipg' clock item (backwards compat for device trees w/o clock spec

[PATCH v5 08/17] spi: mpc512x: adjust to OF based clock lookup

2013-11-17 Thread Gerhard Sittig
ss as well Cc: Mark Brown Cc: linux-...@vger.kernel.org Signed-off-by: Gerhard Sittig --- drivers/spi/spi-mpc512x-psc.c | 26 ++ 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/drivers/spi/spi-mpc512x-psc.c b/drivers/spi/spi-mpc512x-psc.c index 6adf4e358

[PATCH v5 09/17] serial: mpc512x: adjust for OF based clock lookup

2013-11-17 Thread Gerhard Sittig
access as well Cc: Greg Kroah-Hartman Cc: Jiri Slaby Cc: linux-ser...@vger.kernel.org Acked-by: Greg Kroah-Hartman # for v4 Signed-off-by: Gerhard Sittig --- Greg, the difference between v4 and v5 of this patch is that v4 took the 'mclk' and 'ipg' clock items in reverse order, and

[PATCH v5 07/17] clk: mpc5xxx: switch to COMMON_CLK, retire PPC_CLOCK

2013-11-17 Thread Gerhard Sittig
: linux-arm-ker...@lists.infradead.org Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Gerhard Sittig --- arch/powerpc/Kconfig |5 - arch/powerpc/kernel/Makefile |1 - arch/powerpc/kernel/clock.c | 82 arch/powerpc/platforms/512x/Kconfig |2 +- arch

[PATCH v5 06/17] dts: mpc512x: add clock specs for client lookups

2013-11-17 Thread Gerhard Sittig
: Ian Campbell Cc: devicet...@vger.kernel.org Cc: linuxppc-dev@lists.ozlabs.org Reviewed-by: Mike Turquette # for v3: w/o bdlc, PSC ipg Signed-off-by: Gerhard Sittig --- arch/powerpc/boot/dts/mpc5121.dtsi | 95 1 file changed, 95 insertions(+) diff

[PATCH v5 05/17] clk: mpc512x: add backwards compat to the CCF code

2013-11-17 Thread Gerhard Sittig
extend the recently added COMMON_CLK platform support for MPC512x such that it works with incomplete device tree data which lacks clock specs Cc: Mike Turquette Cc: Anatolij Gustschin Cc: linux-arm-ker...@lists.infradead.org Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Gerhard Sittig

[PATCH v5 04/17] clk: mpc512x: introduce COMMON_CLK for MPC512x (disabled)

2013-11-17 Thread Gerhard Sittig
n derived from the IPS bus frequency and multiplier values fetched from hardware Cc: Mike Turquette Cc: Anatolij Gustschin Cc: linux-arm-ker...@lists.infradead.org Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Gerhard Sittig --- arch/powerpc/platforms/512x/Makefile |4 +- arch/

[PATCH v5 03/17] dts: mpc512x: add clock related device tree specs

2013-11-17 Thread Gerhard Sittig
s.infradead.org Cc: devicet...@vger.kernel.org Reviewed-by: Mike Turquette # for v3, before &osc Signed-off-by: Gerhard Sittig --- arch/powerpc/boot/dts/ac14xx.dts |7 +++ arch/powerpc/boot/dts/mpc5121.dtsi | 18 +- 2 files changed, 24 insertions(+), 1 deletion(-) d

[PATCH v5 02/17] dts: mpc512x: introduce dt-bindings/clock/ header

2013-11-17 Thread Gerhard Sittig
-by: Mike Turquette # for v3: w/o bdlc, PSC ipg Signed-off-by: Gerhard Sittig --- include/dt-bindings/clock/mpc512x-clock.h | 69 + 1 file changed, 69 insertions(+) create mode 100644 include/dt-bindings/clock/mpc512x-clock.h diff --git a/include/dt-bindings

[PATCH v5 00/17] add COMMON_CLK support for PowerPC MPC512x

2013-11-17 Thread Gerhard Sittig
ion drivers, updated comments and reworded commit messages in the core clock driver to expand on the pre-enable workaround and clkdev registration (09/24) - keep a reference to the PSC FIFO clock during use instead of looking up the clock again in the uninit() routine (14/24) - remove th

[PATCH v5 01/17] powerpc/fsl-pci: improve clock API use

2013-11-17 Thread Gerhard Sittig
bs.org Signed-off-by: Gerhard Sittig --- arch/powerpc/sysdev/fsl_pci.c | 52 + 1 file changed, 52 insertions(+) diff --git a/arch/powerpc/sysdev/fsl_pci.c b/arch/powerpc/sysdev/fsl_pci.c index ccfb50ddfe38..efa0916f61b6 100644 --- a/arch/powerpc/sysdev/fsl_pci.

Re: [PATCH RFC v5 2/5] dma: mpc512x: add support for peripheral transfers

2013-11-14 Thread Gerhard Sittig
On Tue, Nov 12, 2013 at 16:23 +0400, Alexander Popov wrote: > > 2013/11/12 Gerhard Sittig : > > > > It would be nice to get a response to the feedback that you > > are given. It may be appropriate not to obey to the > > feedback, but at least it should get c

Re: [PATCH RFC v5 2/5] dma: mpc512x: add support for peripheral transfers

2013-11-11 Thread Gerhard Sittig
to get a response to the feedback that you are given. It may be appropriate not to obey to the feedback, but at least it should get considered. Have you noticed the recent introduction of the dmaengine@vger ML? Make sure to include it upon the next submission. virtually yours Gerhard Sittig -- DENX

Re: [PATCH RFC v5 1/5] dma: mpc512x: reorder mpc8308 specific instructions

2013-11-11 Thread Gerhard Sittig
5 insertions(+), 17 deletions(-) > > Acked-by: Anatolij Gustschin I feel that this patch has become stable and can be taken, regardless of the pending review of the other parts in the series. virtually yours Gerhard Sittig -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detle

Re: [PATCH] powerpc/qe_lib: Share the qe_lib for the others architecture

2013-10-15 Thread Gerhard Sittig
a was asking is where to put code for the component which is neither a strict subset of any subsystem. Please correct me if I'm wrong. virtually yours Gerhard Sittig -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zund

Re: [PATCH RFC v4 2/5] dma: mpc512x: add support for peripheral transfers

2013-10-06 Thread Gerhard Sittig
;mchan->queued, &mchan->free); > + list_splice_tail_init(&mchan->active, &mchan->free); > + > + spin_unlock_irqrestore(&mchan->lock, flags); > + > + return 0; > + case DMA_SLAVE_CONFIG: > + cfg = (void *)arg; > + if (cfg->src

Re: [PATCH RFC v2 0/5] MPC512x DMA slave s/g support, OF DMA lookup

2013-10-06 Thread Gerhard Sittig
On Thu, Oct 03, 2013 at 18:00 +0400, Alexander Popov wrote: > > v2013/7/14 Gerhard Sittig : > > this series > > - introduces slave s/g support (that's support for DMA transfers which > > involve peripherals in contrast to mem-to-mem transfers) > > - adds devic

[PATCH v1] powerpc/mpc512x: silence build warning upon disabled DIU

2013-09-27 Thread Gerhard Sittig
errors make[4]: *** [arch/powerpc/platforms/512x/mpc512x_shared.o] Error 1 Signed-off-by: Gerhard Sittig CC: # v3.11 --- arch/powerpc/platforms/512x/mpc512x_shared.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/powerpc/platforms/512x/mpc512x_shared.c b/arch/powerpc/platforms/5

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 Gal

Re: [PATCH v4 00/31] add COMMON_CLK support for PowerPC MPC512x

2013-08-28 Thread Gerhard Sittig
good ] On Tue, Aug 06, 2013 at 22:43 +0200, Gerhard Sittig wrote: > > this series > - fixes several drivers that are used in the MPC512x platform (UART, > SPI, ethernet, PCI, USB, CAN, NAND flash, video capture) in how they > handle clocks (appropriately acquire and setup t

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

2013-08-28 Thread Gerhard Sittig
lly perceived instability is a result of both widening the series' scope after initial submission as well as a recent extension of test coverage after the scope has been widened. Thank you for your patience! On Tue, Aug 06, 2013 at 22:43 +0200, Gerhard Sittig wrote: > > make the Freesca

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/powe

Re: [PATCH v4 11/31] net: can: mscan: improve clock API use

2013-08-08 Thread Gerhard Sittig
On Wed, Aug 07, 2013 at 09:28 +0200, Marc Kleine-Budde wrote: > > On 08/06/2013 10:43 PM, Gerhard Sittig wrote: > > [ ... ] > > diff --git a/drivers/net/can/mscan/mscan.c b/drivers/net/can/mscan/mscan.c > > index e6b4095..4f998f5 100644 > > --- a/drivers/net/can/m

Re: [PATCH v4 00/31] add COMMON_CLK support for PowerPC MPC512x

2013-08-08 Thread Gerhard Sittig
On Wed, Aug 07, 2013 at 10:40 -0500, Kumar Gala wrote: > > On Aug 6, 2013, at 3:43 PM, Gerhard Sittig wrote: > > > this series > > - fixes several drivers that are used in the MPC512x platform (UART, > > SPI, ethernet, PCI, USB, CAN, NAND flash, video capture) in

Re: [PATCH v4 00/31] add COMMON_CLK support for PowerPC MPC512x

2013-08-07 Thread Gerhard Sittig
[ no change in content, but order shuffling for better application ] On Tue, Aug 06, 2013 at 23:31 +0200, Gerhard Sittig wrote: > > [ this is an overview on how to split the series if necessary ] > > On Tue, Aug 06, 2013 at 22:43 +0200, Gerhard Sittig wrote: > > > >

Re: [PATCH v4 00/31] add COMMON_CLK support for PowerPC MPC512x

2013-08-06 Thread Gerhard Sittig
[ this is an overview on how to split the series if necessary ] On Tue, Aug 06, 2013 at 22:43 +0200, Gerhard Sittig wrote: > > this series > - fixes several drivers that are used in the MPC512x platform (UART, > SPI, ethernet, PCI, USB, CAN, NAND flash, video capture) in how the

[PATCH v4 31/31] clk: mpc512x: remove remaining migration workarounds

2013-08-06 Thread Gerhard Sittig
ded any longer remove the now obsolete TODO comment on trimming the list of pre-enabled clock items, after all the respective peripheral drivers were adjusted Signed-off-by: Gerhard Sittig --- arch/powerpc/platforms/512x/clock-commonclk.c |7 --- 1 file changed, 7 deletions(-) diff --git

[PATCH v4 30/31] net: can: mscan: remove non-CCF code for MPC512x

2013-08-06 Thread Gerhard Sittig
transition to the common clock framework has completed and the PPC_CLOCK is no longer available for the MPC512x platform, remove the now obsolete code path of the mpc5xxx mscan driver which accessed clock control module registers directly Signed-off-by: Gerhard Sittig --- drivers/net/can/mscan

[PATCH v4 29/31] clk: mpc512x: switch to COMMON_CLK, remove PPC_CLOCK

2013-08-06 Thread Gerhard Sittig
completely switch to, i.e. unconditionally use COMMON_CLK for the MPC512x platform, and retire the PPC_CLOCK implementation for that platform after the transition has completed Signed-off-by: Gerhard Sittig --- arch/powerpc/platforms/512x/Kconfig | 14 +- arch/powerpc/platforms/512x/Makefile

[PATCH v4 28/31] powerpc/mpc512x: improve DIU related clock setup

2013-08-06 Thread Gerhard Sittig
ll succeed upon first try in the usual case, will test a few less desirable yet acceptable frequencies in edge cases, and will fallback to "best effort" if none of the previously tried frequencies pass the test Signed-off-by: Gerhard Sittig --- arch/powerpc/platforms/512x/clock

[PATCH v4 27/31] net: can: mscan: add common clock support for mpc512x

2013-08-06 Thread Gerhard Sittig
ed MCLK (bitrate) items in the platform's clock driver this change is neutral to the MPC5200 platform Signed-off-by: Gerhard Sittig --- arch/powerpc/platforms/512x/clock-commonclk.c |3 - drivers/net/can/mscan/mpc5xxx_can.c | 179 + 2 files changed, 179 insert

[PATCH v4 26/31] [media] fsl-viu: remove now obsolete clock lookup name

2013-08-06 Thread Gerhard Sittig
after device tree based clock lookup became available, the VIU driver need no longer use the previous "viu_clk" name but can switch to the fixed "per" clock name -- adjust the peripheral driver and remove the clock driver's clkdev registration Signed-off-by: Gerhard

[PATCH v4 25/31] mtd: mpc5121_nfc: remove now obsolete clock lookup name

2013-08-06 Thread Gerhard Sittig
after device tree based clock lookup became available, the NAND flash driver need no longer use the previous "nfc_clk" name but can switch to the fixed "per" clock name -- adjust the peripheral driver and remove the clock driver's clkdev registration Signed-off-by:

[PATCH v4 24/31] USB: fsl-mph-dr-of: remove now obsolete clock lookup name

2013-08-06 Thread Gerhard Sittig
after device tree based clock lookup became available, the peripheral driver need no longer construct clock names which include the component index -- remove the "usb%d_clk" template and unconditionally use "per", remove the clock driver's clkdev registration Sign

[PATCH v4 23/31] serial: mpc512x: setup the PSC FIFO clock as well

2013-08-06 Thread Gerhard Sittig
esn't apply here, as the SoC provides a single FIFO component which is shared among several PSC components, thus the FIFO isn't associated with a device (while the PSCs are) Signed-off-by: Gerhard Sittig --- arch/powerpc/platforms/512x/clock-commonclk.c |2 -- drivers/tty/serial

[PATCH v4 22/31] clk: mpc512x: remove PSC (UART, SPI) compat workarounds

2013-08-06 Thread Gerhard Sittig
peripheral drivers acquire the 'ipg' clock item, the platform's clock driver need no longer pre-enable it Signed-off-by: Gerhard Sittig --- arch/powerpc/platforms/512x/clock-commonclk.c | 13 - 1 file changed, 13 deletions(-) diff --git a/arch/powerpc/platforms/512x/

[PATCH v4 21/31] serial: mpc512x: switch to CCF names in clock lookup

2013-08-06 Thread Gerhard Sittig
after device tree based clock lookup became available, the peripheral driver need no longer construct clock names which include the PSC index, remove the "psc%d_mclk" template and unconditionally use 'mclk' acquire and release the 'ipg' clock for register access a

[PATCH v4 20/31] spi: mpc512x: switch to CCF names in clock lookup

2013-08-06 Thread Gerhard Sittig
after device tree based clock lookup became available, the peripheral driver need no longer construct clock names which include the PSC index, remove the "psc%d_mclk" template and unconditionally use 'mclk' acquire and release the 'ipg' clock for register access a

[PATCH v4 19/31] clk: mpc512x: don't pre-enable FEC and I2C clocks

2013-08-06 Thread Gerhard Sittig
after the device tree nodes provide clock specs for client side lookups, peripheral drivers can attach to their clocks and the clock driver need no longer pre-enable those clock items Signed-off-by: Gerhard Sittig --- arch/powerpc/platforms/512x/clock-commonclk.c |2 -- 1 file changed, 2

  1   2   3   >