[PATCH] powerpc/512x: add ifm ac14xx board

2013-04-10 Thread Anatolij Gustschin
Add dts file for ac14xx board and its board compatible string to the generic mpc512x board match list. Signed-off-by: Anatolij Gustschin --- arch/powerpc/boot/dts/ac14xx.dts | 392 + arch/powerpc/platforms/512x/mpc512x_generic.c |1 + 2 files changed

Re: [PATCH 3/3] powerpc/mpc512x: add platform code for MPC5125.

2013-04-02 Thread Anatolij Gustschin
On Tue, 02 Apr 2013 11:49:22 +0200 Matteo Facchinetti wrote: ... > > if (of_machine_is_compatible("fsl,mpc5121")) > > return "fsl,mpc5121-psc"; > > > > if (of_machine_is_compatible("fsl,mpc5125")) > > return "fsl,mpc5125-psc"; > > > > but note th

Re: MPC5121e, Linux, simple IO ports

2013-03-31 Thread Anatolij Gustschin
Hello, On Thu, 21 Mar 2013 09:54:46 +0100 CF Studelec wrote: > Hello, > > This is a simple board base on mpc5121e MCU. > > > Gpio is detected: kernel is compiled with its support - i got > gpiochip_find_base: found new base @224 in dmesg - on kernel 3.0.4. > > > But i'm unable to access it

Re: [PATCH 3/3] powerpc/mpc512x: add platform code for MPC5125.

2013-03-30 Thread Anatolij Gustschin
On Wed, 20 Mar 2013 18:41:54 +0100 Matteo Facchinetti wrote: ... > diff --git a/arch/powerpc/boot/dts/mpc5125twr.dts > b/arch/powerpc/boot/dts/mpc5125twr.dts > new file mode 100644 > index 000..afcad7a > --- /dev/null > +++ b/arch/powerpc/boot/dts/mpc5125twr.dts ... > + > + diu@21

Re: [PATCH 1/3] powerpc/512x: move mpc5121_generic platform to mpc512x_generic.

2013-03-30 Thread Anatolij Gustschin
On Wed, 20 Mar 2013 18:41:52 +0100 Matteo Facchinetti wrote: > This provides a base for using 512x_generic platform on mpc5125 boards. > > By this way 512x_GENERIC it could be used for all generic mpc512x boards > and kernel could be compiled with mpc512x_defconfig. > > Signed-off-by: Matteo Fa

Re: repository location (MPC5200b)

2013-03-25 Thread Anatolij Gustschin
Hello, On Mon, 25 Mar 2013 20:27:17 + Maxwell MacLean wrote: > Hello all, > I have been following this list for a while now and am interested > in getting a version of the latest work in progress Linux kernel > with fixes for powerpc. For latest work in progress kernel look at master branch

[PATCH] powerpc/mpc512x: create SoC devices for more nodes

2013-03-13 Thread Anatolij Gustschin
Create devices for mbx, sram, pci and gpio-leds nodes and also move nfc compatible to of_bus_id list for automatic nfc device creation. Signed-off-by: Anatolij Gustschin --- arch/powerpc/platforms/512x/mpc512x_shared.c | 13 + 1 files changed, 5 insertions(+), 8 deletions(-) diff

Re: [PATCH 1/1] serial/mpc52xx_uart: fix psc clock name for mpc512x

2013-03-12 Thread Anatolij Gustschin
Hi, On Tue, 12 Mar 2013 22:17:17 +0100 Matteo Facchinetti wrote: > From: Matteo Facchinetti > > On platform mpc512x, PSC clock name registered by clk_register() > (clock.c:703) has _mclk suffix. > In mpc512x uart device driver, PSC clock name has _clk suffix. > > So change PSC clock name in U

Please pull 'next' branch of 5xxx tree

2013-02-19 Thread Anatolij Gustschin
d1c3ed669a2d452cacfb48c2d171a1f364dae2ed: Linux 3.8-rc2 (2013-01-02 18:13:21 -0800) are available in the git repository at: git://git.denx.de/linux-2.6-agust.git next Anatolij Gustschin (11): powerpc/mpc5121: add common .dtsi and use it in mpc5121ads.dts powerpc/mpc5121: pdm360ng.dts: use common mpc5121.dtsi

Re: [PATCH] net: fec_mpc52xx: Read MAC address from device-tree

2013-02-08 Thread Anatolij Gustschin
Hi Stefan, On Fri, 8 Feb 2013 17:12:32 +0100 Stefan Roese wrote: > Until now, the MPC5200 FEC ethernet driver relied upon the bootloader > (U-Boot) to write the MAC address into the ethernet controller > registers. The Linux driver should not rely on such a thing. So > lets read the MAC address

[PATCH 3/3] powerpc/mpc5xxx: fix sparse warning for non static symbol

2013-02-04 Thread Anatolij Gustschin
Fix warning: symbol 'mpc5xxx_get_bus_frequency' was not declared. Should it be static? Signed-off-by: Anatolij Gustschin --- arch/powerpc/sysdev/mpc5xxx_clocks.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/sysdev/mpc5xxx_clocks.c b/ar

[PATCH 2/3] powerpc/mpc512x: fix sparce warnings for non static symbols

2013-02-04 Thread Anatolij Gustschin
Fix warnings: symbol 'clockctl' was not declared. Should it be static? symbol 'rate_clks' was not declared. Should it be static? symbol 'dev_clks' was not declared. Should it be static? symbol 'mpc5121_clk_init' was not declared. Should it be static? Sign

[PATCH 1/3] powerpc/mpc512x: fix noderef sparse warnings

2013-02-04 Thread Anatolij Gustschin
Fix: warning: dereference of noderef expression Signed-off-by: Anatolij Gustschin --- arch/powerpc/platforms/512x/clock.c | 18 +- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/arch/powerpc/platforms/512x/clock.c b/arch/powerpc/platforms/512x/clock.c index

[PATCH v2] powerpc/512x: add function for chip select parameter configuration

2013-02-04 Thread Anatolij Gustschin
parameters using this function. Signed-off-by: Anatolij Gustschin --- v2: - define CS in commit log - use unsigned int type for cs argument to simplify valid CS range check - use EXPORT_SYMBOL arch/powerpc/include/asm/mpc5121.h | 16 + arch/powerpc/platforms/512x

Re: [PATCH] powerpc/512x: add function for CS parameter configuration

2013-02-02 Thread Anatolij Gustschin
On Fri, 1 Feb 2013 22:31:51 -0600 Timur Tabi wrote: > On Fri, Feb 1, 2013 at 7:28 AM, Anatolij Gustschin wrote: > > Add ability to configure CS parameters for devices that need > > different CS parameters setup after their configuration. I.e. > > an FPGA device on LP bus

[PATCH] powerpc/512x: add function for CS parameter configuration

2013-02-01 Thread Anatolij Gustschin
this function. Signed-off-by: Anatolij Gustschin --- arch/powerpc/include/asm/mpc5121.h | 16 + arch/powerpc/platforms/512x/mpc512x_shared.c | 30 ++ 2 files changed, 46 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/include/asm/mpc5121

[PATCH] powerpc/512x: initialize clocks before bus probing

2013-01-29 Thread Anatolij Gustschin
Early driver probing can fail due to not available clocks (clk_get() fails) since the clk API init didn't take place yet. Move clocks init before bus probing. Signed-off-by: Anatolij Gustschin --- arch/powerpc/platforms/512x/mpc512x_shared.c | 2 +- 1 file changed, 1 insertion(+), 1 del

Re: [PATCH 1/2] powerpc/5200: Fix size to request_mem_region() call

2013-01-22 Thread Anatolij Gustschin
ure, > but I'm not sure if it is still needed for resume to work. Better be > safe and leave it in. > > Signed-off-by: Grant Likely > Cc: Benjamin Herrenschmidt > Cc: Anatolij Gustschin > --- > arch/powerpc/sysdev/bestcomm/bestcomm.c |2 +- > 1 file changed

[PATCH 1/4] powerpc/mpc5121: add common .dtsi and use it in mpc5121ads.dts

2013-01-14 Thread Anatolij Gustschin
Provide common mpc5121.dtsi file for mpc5121 SoC and modify mpc5121ads.dts to use mpc5121.dtsi. Signed-off-by: Anatolij Gustschin --- arch/powerpc/boot/dts/mpc5121.dtsi | 410 ++ arch/powerpc/boot/dts/mpc5121ads.dts | 319 --- 2 files

[PATCH 2/4] powerpc/mpc5121: pdm360ng.dts: use common mpc5121.dtsi

2013-01-14 Thread Anatolij Gustschin
Change dts file for pdm360ng board to use common mpc5121 SoC dtsi file. Signed-off-by: Anatolij Gustschin --- arch/powerpc/boot/dts/pdm360ng.dts | 273 1 files changed, 31 insertions(+), 242 deletions(-) diff --git a/arch/powerpc/boot/dts/pdm360ng.dts b

[PATCH 4/4] mpc5121: don't check PSC ac97 using node name

2013-01-14 Thread Anatolij Gustschin
The .dtsi now names all PSC nodes as "psc", so this ac97 check won't work. Check for ac97 PSC using compatible property. Signed-off-by: Anatolij Gustschin --- arch/powerpc/platforms/512x/clock.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/po

[PATCH 3/4] mpc5121: remove obsolete cell-index property from PSC clock code

2013-01-14 Thread Anatolij Gustschin
Don't use cell-index from device tree, obtain the PSC number from PSCx register offset. Signed-off-by: Anatolij Gustschin --- arch/powerpc/platforms/512x/clock.c |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/arch/powerpc/platforms/512x/clock.c b/arch/po

Re: tqm5200s i2c bus timeout

2013-01-04 Thread Anatolij Gustschin
On Fri, 4 Jan 2013 08:50:03 +0100 Johannes Braun wrote: ... > The good thing is that I can see all the devices now. Also the driver > for the rtc clock is loading. But the time can`t be read through the > registered rtc0 device. This is the kernel log. But I think this is a > driver issue and I sh

Re: tqm5200s i2c bus timeout

2013-01-03 Thread Anatolij Gustschin
Hi, On Thu, 3 Jan 2013 14:20:41 +0100 Johannes Braun wrote: > Hello, > > I hope someone could help me with my problem. Currently I am porting > a new kernel (3.3.8) for a tqm5200s based board. > The previous kernel was 2.6.23. The new kernel version is needed because > of support for a wireless

Re: [git pull] Please pull powerpc.git next branch

2012-12-17 Thread Anatolij Gustschin
On Mon, 17 Dec 2012 21:06:25 +1100 Benjamin Herrenschmidt wrote: ... > Last week is a bit late :-) However, I think your tree was in -next > before that wasn't it ? In which case it's ok, I can include it tomorrow > and ask Linus to pick it up. yes, 5xxx tree was in -next before that. Thanks, An

Re: [git pull] Please pull powerpc.git next branch

2012-12-17 Thread Anatolij Gustschin
Hi Ben, On Sat, 15 Dec 2012 07:44:57 +1100 Benjamin Herrenschmidt wrote: ... > Overall it's pretty quiet, or rather I've been pretty poor at > picking things up from patchwork and reviewing them this time > around and Kumar no better on the FSL side it seems... Could you please also include some

Please pull 'next' branch of 5xxx tree

2012-12-11 Thread Anatolij Gustschin
Hi Ben, please pull mpc5xxx patches for v3.8. There is a dts for a new a3m071 board, a fix for optional mpc5121 DIU support and minor changes to mpc5200 lpbfifo driver to simplify module init/exit code. These patches have already been in linux-next for a while. Thanks! Anatolij The following cha

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

2012-11-20 Thread Anatolij Gustschin
Hi Ben, On Thu, 25 Oct 2012 22:41:13 +0200 Anatolij Gustschin wrote: > Hi Ben, > > please pull three mpc5200 fixes for 3.7: Ping. ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH v2] powerpc: 52xx: nop out unsupported critical IRQs

2012-11-03 Thread Anatolij Gustschin
On Sat, 3 Nov 2012 15:26:15 +0100 Wolfram Sang wrote: > > > > Currently, when booting MPC52xx based platforms, we get: > > > > > > mpc52xx_irqhost_map: invalid irq: virq=16, l1=0, l2=3 > > > irq: irq-16==>hwirq-0x3 mapping failed: -22 > > > [WARNing skipped] > > > > > >

Please pull 'merge' branch of 5xxx tree

2012-10-25 Thread Anatolij Gustschin
-20 12:11:32 -0700) are available in the git repository at: git://git.denx.de/linux-2.6-agust.git merge Anatolij Gustschin (1): powerpc/mpc5200: move lpbfifo node and fix its interrupt property Eric Millbrandt (1): powerpc/pcm030: add pcm030-audio-fabric to dts Wolfram Sang (1

Re: [PATCH v2] powerpc: 52xx: nop out unsupported critical IRQs

2012-10-20 Thread Anatolij Gustschin
gt; The warning is wrong since the mapping itself is valid. However, there is no > support for that type of IRQ currently. Print a proper warning and bind the > irq > to a no_irq chip. > > Signed-off-by: Wolfram Sang > Cc: John Bonesio > Cc: Anatolij Gustschin > Cc: Gr

[PATCH] powerpc/mpc5200: move lpbfifo node and fix its interrupt property

2012-10-05 Thread Anatolij Gustschin
The LPB FIFO interrupt is a peripheral interrupt, thus its L1 cell has to be 2 instead of 3. Fix it and while at it, move the lpbfifo node to the common dtsi file. Reported-by: Stefan Roese Signed-off-by: Anatolij Gustschin --- arch/powerpc/boot/dts/mpc5200b.dtsi |6 ++ arch/powerpc

Re: [PATCH] powerpc/pcm030: add pcm030-audio-fabric to dts

2012-10-03 Thread Anatolij Gustschin
Hi, On Mon, 24 Sep 2012 18:16:47 -0400 Eric Millbrandt wrote: > Add a node for the pcm030-audio-fabric ASoC driver > > Signed-off-by: Eric Millbrandt > --- > arch/powerpc/boot/dts/pcm030.dts |7 ++- > 1 files changed, 6 insertions(+), 1 deletions(-) Appied to next, thanks. Anatolij

Please pull 'next' branch of 5xxx tree

2012-09-24 Thread Anatolij Gustschin
Hi Ben, please pull mpc5xxx patches for next. Thanks! Anatolij The following changes since commit 55d512e245bc7699a8800e23df1a24195dd08217: Linux 3.6-rc5 (2012-09-08 16:43:45 -0700) are available in the git repository at: git://git.denx.de/linux-2.6-agust.git next Anatolij Gustschin (3

[PATCH] powerpc/mpc52xx_lpbfifo: optionally defer fifo transfer start

2012-08-30 Thread Anatolij Gustschin
need to adapt them. Signed-off-by: Anatolij Gustschin --- arch/powerpc/include/asm/mpc52xx.h|2 + arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c | 35 - 2 files changed, 36 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/include/asm/mpc52xx.h b

[PATCH v2 1/2] powerpc/mpc5200: add dts files for ifm camera machines

2012-08-30 Thread Anatolij Gustschin
Add common o2d dtsi file to reuse it for other configurations. Add machine compatible string to mpc5200 simple platform file. Add dts files for O2D, O2I, O2MNT, O2DNT2, O2D300 and O3DNT boards. Signed-off-by: Anatolij Gustschin --- v2: - changed flash node description in o2d.dts and tested it

[PATCH 1/2] powerpc/mpc5200: add dts files for ifm camera machines

2012-08-24 Thread Anatolij Gustschin
Add common o2d dtsi file to reuse it for other configurations. Add machine compatible string to mpc5200 simple platform file. Add dts files for O2D, O2I, O2MNT, O2DNT2, O2D300 and O3DNT boards. Signed-off-by: Anatolij Gustschin --- arch/powerpc/boot/dts/o2d.dts| 33

[PATCH 2/2] dt/misc: add bindings documentation for ifm camera sensor interface

2012-08-24 Thread Anatolij Gustschin
IFM O2D cameras use special sensor bus interface glue-logic to connect camera sensors to mpc5200 LocalPlus bus. Add device tree bindings documentation for it. Signed-off-by: Anatolij Gustschin --- Documentation/devicetree/bindings/misc/ifm-csi.txt | 41 1 files changed

Re: MPC5200b jffs2 memcpy alignment problem

2012-07-02 Thread Anatolij Gustschin
Hi Stephan, On Sun, 01 Jul 2012 08:47:01 +0200 Stephan Gatzka wrote: > Hi Albrecht, > > > I don't recall who proposed this patch, but exactly this solution is > > around for a longer time (mayby you search archives...). On my board, I > > have a flash chip attached to the LocalBus in 16-bit

Re: [PATCH] powerpc: Option FB_FSL_DIU is not really optional for mpc512x

2012-04-11 Thread Anatolij Gustschin
On Tue, 3 Apr 2012 23:15:00 -0400 Paul Gortmaker wrote: > In powerpc randconfig builds, this keeps showing up: > > CC arch/powerpc/platforms/512x/mpc512x_shared.o > arch/powerpc/platforms/512x/mpc512x_shared.c:70:9: warning: 'enum > fsl_diu_monitor_port' declared inside parameter list >

Re: [PATCH] powerpc: 512x: Fix mpc5121_clk_get()

2012-04-11 Thread Anatolij Gustschin
On Mon, 26 Mar 2012 21:01:29 +0200 Richard Weinberger wrote: > If try_module_get() fails, mpc5121_clk_get() might return > a wrong clock. > > Signed-off-by: Richard Weinberger > --- > arch/powerpc/platforms/512x/clock.c |6 -- > 1 files changed, 4 insertions(+), 2 deletions(-) Applied

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

2012-03-20 Thread Anatolij Gustschin
Hi, On Tue, 20 Mar 2012 23:30:17 +0100 Wolfram Sang wrote: > Hi, > > > powerpc/mpc52xx: setup port_config and CDM settings through DT > > Can we skip this patch for 3.5? Between posting it and pushing it upstream > were > about 24 hours, so one didn't have much chance of reviewing (and

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

2012-03-20 Thread Anatolij Gustschin
On Wed, 21 Mar 2012 10:32:21 +1100 Benjamin Herrenschmidt wrote: ... > Anatolij, Can you organize with Stephen (CC) so that you tree is part of > linux-next for the next cycle ? Either that or make sure you send me > pull requests really early :-) Yes. Stephen, could you please change linux-next

Please pull 'next' branch of 5xxx tree

2012-03-20 Thread Anatolij Gustschin
Hi Ben, please pull some mpc5xxx patches for linux-next. Thanks! Anatolij The following changes since commit 01e8ec4417d3c484986af0adaa0ae6632e0a59cd: powerpc: Fix power4/970 idle code regression with lockdep (2012-03-16 09:28:17 +1100) are available in the git repository at: git://git.de

Re: [PATCH] powerpc/mpc52xx: setup port_config and CDM settings through DT

2012-03-20 Thread Anatolij Gustschin
On Mon, 19 Mar 2012 09:51:22 +0100 Anatolij Gustschin wrote: > From: Heiko Schocher > > If firmware does not setup the "GPS Port Configuration Register" > and the "CDM 48MHz Fractional Divider Configuration Register", > it can be corrected by additional p

Re: [PATCH 5/5] powerpc/5200: convert mpc5200 to use of_platform_populate()

2012-03-20 Thread Anatolij Gustschin
On Tue, 21 Jun 2011 12:45:13 -0600 Grant Likely wrote: > of_platform_populate() also handles nodes at the root of the tree, > which is wanted for things like describing the sound complex. This > patch converts mpc5200 support to use of_platform_populate() instead > of of_platform_bus_probe(). >

Re: [PATCH][RFC] mpc52xx, common: setup port_config and cdm settings through DTS

2012-03-19 Thread Anatolij Gustschin
Hi Wolfram, On Mon, 19 Mar 2012 09:37:24 +0100 Wolfram Sang wrote: ... > > Applied slightly modified patch to mpc5xxx next. > > Given that the patch was sent nearly one year ago and it even got > modified, could please resend it to the list before applying? Yes, done. Thanks, Anatolij

[PATCH] powerpc/mpc52xx: setup port_config and CDM settings through DT

2012-03-19 Thread Anatolij Gustschin
indings. Signed-off-by: Heiko Schocher cc: devictree-disc...@lists.ozlabs.org cc: linuxppc-dev@lists.ozlabs.org cc: Grant Likely cc: Wolfgang Denk Signed-off-by: Anatolij Gustschin --- .../devicetree/bindings/powerpc/fsl/mpc5200.txt| 17 arch/powerpc/platforms/52xx/mpc52xx_c

Re: [PATCH 4/4] powerpc, mpc5200: add options to mpc5200_defconfig

2012-03-18 Thread Anatolij Gustschin
On Wed, 22 Jun 2011 09:55:11 +0200 Heiko Schocher wrote: > Add the following options to the mpc5200_defconfig, needed > for the a4m072 board support: > > CONFIG_AMD_PHY=y > CONFIG_MTD_PLATRAM=y -> this deletes CONFIG_MTD_RAM=y > CONFIG_GPIO_SYSFS=y > CONFIG_SENSORS_LM87=m > CONFIG_RTC_DRV_PCF856

Re: [PATCH v2 2/4] powerpc, mpc52xx: add a4m072 board support

2012-03-18 Thread Anatolij Gustschin
Hi Heiko, On Wed, 22 Jun 2011 12:39:10 +0200 Heiko Schocher wrote: ... > diff --git a/arch/powerpc/boot/dts/a4m072.dts > b/arch/powerpc/boot/dts/a4m072.dts > new file mode 100644 > index 000..adb6746 > --- /dev/null > +++ b/arch/powerpc/boot/dts/a4m072.dts ... > + cdm@200 { > +

Re: [PATCH][RFC] mpc52xx, common: setup port_config and cdm settings through DTS

2012-03-18 Thread Anatolij Gustschin
Hi Heiko, On Tue, 19 Apr 2011 08:04:05 +0200 Heiko Schocher wrote: > If firmware does not setup the "GPS Port Configuration Register" > and the "CDM 48MHz Fractional Divider Configuration Register", > it can be corrected through DTS. > > Signed-off-by: Heiko Schocher > cc: devictree-disc...@li

Re: [PATCH 1/4] net, phy: am79c874 support

2012-03-18 Thread Anatolij Gustschin
Hello Heiko, some comments below. On Wed, 22 Jun 2011 09:55:08 +0200 Heiko Schocher wrote: ... > diff --git a/drivers/net/phy/amd79.c b/drivers/net/phy/amd79.c > new file mode 100644 > index 000..914d696 > --- /dev/null > +++ b/drivers/net/phy/amd79.c ... > +#include > +#include > +#includ

Re: [PATCH 1/4] net, phy: am79c874 support

2012-03-18 Thread Anatolij Gustschin
Hello Heiko, On Tue, 26 Jul 2011 06:55:04 +0200 Heiko Schocher wrote: > Hello, > > Heiko Schocher wrote: > > Signed-off-by: Heiko Schocher > > cc: linux-net...@vger.kernel.org > > cc: Wolfgang Denk > > --- > > drivers/net/phy/Kconfig |5 ++ > > drivers/net/phy/Makefile |1 + > > dri

Re: Problem with full speed devices on PowerPC MPC5121 host port

2012-01-19 Thread Anatolij Gustschin
Hi Matthias, On Wed, 18 Jan 2012 14:42:20 +0100 Matthias Fuchs wrote: ... > > Can you try the attached patch? Does it have an impact? > > Yes, in deed, it solved my problem :-) Finally I noticed that > the problem is listed in the CPU's errata document. > > You could update the comment and comm

Re: Problem with full speed devices on PowerPC MPC5121 host port

2012-01-18 Thread Anatolij Gustschin
uld be defined as "1 << 4" in > ehci_def.h at least for the MPC5121). > > All this does not fix the problem or even have an impact. Can you try the attached patch? Does it have an impact? Best regards, Anatolij >From 4cf7463af262230

Re: Help needed with porting ether-net driver from ADS5121 to TWR-MPC5125

2011-12-19 Thread Anatolij Gustschin
Hi, On Fri, 16 Dec 2011 08:38:58 +0800 G.H.Lee wrote: ... > I am a new user of the board TWR-MPC5125 made by freescale. Now I am trying > to porting the new kernel, i.e. the version 3.0.4, to this board. I have > porting the serial driver and the nand flash driver successfully. And I can > als

Re: [PATCH RESEND] gpio: mpc8xxx: don't allow input-only pins to be output for MPC5121

2011-12-13 Thread Anatolij Gustschin
Hi Wolfram, Looks mostly good to me. Please see minor comments below. On Tue, 13 Dec 2011 10:12:48 +0100 Wolfram Sang wrote: ... > diff --git a/drivers/gpio/gpio-mpc8xxx.c b/drivers/gpio/gpio-mpc8xxx.c > index ec3fcf0..25dc736 100644 > --- a/drivers/gpio/gpio-mpc8xxx.c > +++ b/drivers/gpio/gpio-

Re: sam460ex, sm501 incorrect device id with kernel >=linux-2.6.39

2011-12-02 Thread Anatolij Gustschin
Hi, On Fri, 2 Dec 2011 15:48:33 +0100 acrux wrote: ... > This little hack fix my problem: > --- a/inlcude/linux/sm501.h 2011-12-02 01:11:04.0 +0100 > +++ b/include/linux/sm501.h 2011-12-02 01:11:09.0 +0100 > @@ -174,8 +174,8 @@ > }; > > #if defined(CONFIG_PPC32) > -#define

Re: sam460ex, sm501 incorrect device id with kernel >=linux-2.6.39

2011-11-28 Thread Anatolij Gustschin
On Mon, 28 Nov 2011 20:56:55 +0100 acrux wrote: ... > it seems to be an endianess issue but i didn't find when it was > introduced. Really strange this kind of issue was never noticed > bumping from 2.6.38.x to 2.6.39.x . Look at commit bf5f0019046d596d613caf74722ba4994e153899 (video, sm501: add

Re: [PATCH] powerpc/85xx: fix PHYS_64BIT selection for P1022DS

2011-10-13 Thread Anatolij Gustschin
On Thu, 13 Oct 2011 10:45:04 -0500 Timur Tabi wrote: > Kumar Gala wrote: > > I think this 25% number is bogus. There are cases where it also improves > > performance. > > I don't think we ever ship a P1022 system with more than 2GB of DDR, so I > can't > see how performance is ever improved.

Re: [PATCH] powerpc/85xx: fix PHYS_64BIT selection for P1022DS

2011-10-13 Thread Anatolij Gustschin
On Thu, 13 Oct 2011 10:35:04 -0500 Timur Tabi wrote: > Kumar Gala wrote: > >> > Why did you apply this patch? Both Scott and I rejected it. > > > Because its fixing a real issue. If we want to remove PHYS_64BIT support > > or make it optional for the board feel free to send another patch. >

Re: Please pull 'next' branch of 5xxx tree (updated)

2011-09-29 Thread Anatolij Gustschin
Hi Grant, On Thu, 29 Sep 2011 07:49:07 -0500 Grant Likely wrote: ... > > are available in the git repository at: > > git://git.denx.de/linux-2.6-agust.git next > > > > Grant Likely (1): > > powerpc/5200: add support for charon board > > Hmmm, I didn't actually write this patch. It looks li

Please pull 'next' branch of 5xxx tree

2011-09-29 Thread Anatolij Gustschin
Hi Ben, please pull another two mpc5xxx patches for next. These patches were queued in Grant's 'powerpc/next' branch a while ago, but a pull request have never been submitted for them. Thanks! Anatolij The following changes since commit 7680057cc4c7d9caada12767831bfd9738dd7b43: powerpc: Don't

[PATCH] powerpc/85xx: fix PHYS_64BIT selection for P1022DS

2011-09-23 Thread Anatolij Gustschin
Remove wrong CONFIG_ prefix in Kconfig file. Signed-off-by: Anatolij Gustschin --- arch/powerpc/platforms/85xx/Kconfig |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/platforms/85xx/Kconfig b/arch/powerpc/platforms/85xx/Kconfig index 1b393f4..b29d4f2

Please pull 'next' branch of 5xxx tree

2011-09-22 Thread Anatolij Gustschin
available in the git repository at: git://git.denx.de/linux-2.6-agust.git next Anatolij Gustschin (4): powerpc/5200: mpc5200b.dtsi: add spi node address- and size-cells properties powerpc/5200: dts: digsy_mtc.dts: update to add can, pci, serial and spi powerpc/5200: dts: digsy_mtc.dts

Re: [PATCH V2 1/2] gpio: move mpc8xxx/512x gpio driver to drivers/gpio

2011-09-22 Thread Anatolij Gustschin
rms, because this option is per-platform and not per-driver. > > Signed-off-by: Wolfram Sang > Cc: Anatolij Gustschin > Cc: Grant Likely > Cc: Benjamin Herrenschmidt > --- > > I'd think this should go via ppc, so it is in sync with the defconfig update > o

Re: [PATCH] powerpc/5200: enable audio in the defconfig

2011-09-22 Thread Anatolij Gustschin
On Thu, 1 Sep 2011 17:31:22 -0500 Timur Tabi wrote: > Audio support for the MPC5200 exists, so enable it by default. > > Signed-off-by: Timur Tabi > --- > > There was a bug in the audio drivers related to the of_platform > changes that was never discovered because these drivers were > never co

Re: [PATCH] fsl-diu-fb: remove the ioctl interface

2011-09-21 Thread Anatolij Gustschin
On Wed, 21 Sep 2011 02:10:42 + Tabi Timur-B04825 wrote: ... > The definitions of MFB_SET_PIXFMT and MFB_GET_PIXFMT are wrong: > > #define MFB_SET_PIXFMT 0x80014d08 > #define MFB_GET_PIXFMT 0x40014d08 > > The "01" is the size. However, these ioctls take a __u32 as a paramet

[PATCH] MAINTAINERS: change maintainership of mpc5xxx

2011-07-20 Thread Anatolij Gustschin
Grant intends to hand over maintainership of mpc5xxx to me. Change MPC5XXX entry in MAINTAINERS accordingly. Signed-off-by: Anatolij Gustschin --- MAINTAINERS |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 187282d..323208d 100644

Re: [PATCH] powerpc/5200: add GPIO functions for simple interrupt GPIOs

2011-07-19 Thread Anatolij Gustschin
On Fri, 15 Jul 2011 14:08:01 -0600 Grant Likely wrote: > On Sat, Jul 09, 2011 at 12:14:09PM +0200, Anatolij Gustschin wrote: > > On Wed, 6 Jul 2011 11:52:45 -0600 > > Grant Likely wrote: > > > > > On Mon, May 23, 2011 at 11:25:30AM +0200, Anatolij Gustschin w

Re: [PATCH] drivers/video: use strings to specify the Freescale DIU monitor port

2011-07-09 Thread Anatolij Gustschin
| 73 +++-- > 5 files changed, 128 insertions(+), 94 deletions(-) It mostly looks okay to me, please see one comment below. Otherwise Acked-by: Anatolij Gustschin ... > diff --git a/drivers/video/fsl-diu-fb.c b/drivers/video/fsl-diu-fb.c > index 0acc7d6..9c6837e 10064

Re: [PATCH] powerpc/5200: add GPIO functions for simple interrupt GPIOs

2011-07-09 Thread Anatolij Gustschin
On Wed, 6 Jul 2011 11:52:45 -0600 Grant Likely wrote: > On Mon, May 23, 2011 at 11:25:30AM +0200, Anatolij Gustschin wrote: > > The mpc52xx_gpio driver currently supports 8 wakeup GPIOs and 32 > > simple GPIOs. Extend it to also support GPIO function of 8 simple > > interrup

[PATCH] powerpc/5200: dts: digsy_mtc.dts: enable both MSCAN nodes

2011-07-07 Thread Anatolij Gustschin
We use both MSCAN controllers on this board, so do not disable them in the device tree. Signed-off-by: Anatolij Gustschin --- arch/powerpc/boot/dts/digsy_mtc.dts |8 1 files changed, 0 insertions(+), 8 deletions(-) diff --git a/arch/powerpc/boot/dts/digsy_mtc.dts b/arch/powerpc

Re: [PATCH] powerpc/5200: add GPIO functions for simple interrupt GPIOs

2011-07-06 Thread Anatolij Gustschin
Hi Grant, Ping. On Mon, 23 May 2011 11:25:30 +0200 Anatolij Gustschin wrote: > The mpc52xx_gpio driver currently supports 8 wakeup GPIOs and 32 > simple GPIOs. Extend it to also support GPIO function of 8 simple > interrupt GPIOs controlled in the standard GPIO register module. >

Re: [PATCH] powerpc/5200: dts: digsy_mtc.dts: add timer0 and timer1 gpio properties

2011-07-06 Thread Anatolij Gustschin
Hi Grant, Can you please pick this patch for 3.1 ? On Tue, 7 Jun 2011 00:27:05 +0200 Anatolij Gustschin wrote: > timer0 and timer1 pins are used as simple GPIO on this board. > Add gpio-controller and #gpio-cells properties to timer nodes > so that we can control gpio lines using

Re: [PATCH 1/2] powerpc/5200: mpc5200b.dtsi: add spi node address- and size-cells properties

2011-07-06 Thread Anatolij Gustschin
Hi Grant, can you please pick these patches for 3.1 ? On Mon, 16 May 2011 18:02:43 +0200 Anatolij Gustschin wrote: > Both, #address-cells and #size-cells properties are required > for spi bus node, so add them. > > Signed-off-by: Anatolij Gustschin > --- > arc

Re: [PATCH] fsl-diu-fb: remove the ioctl interface

2011-06-23 Thread Anatolij Gustschin
On Thu, 23 Jun 2011 11:29:42 + Tabi Timur-B04825 wrote: ... > > test-app:http://pastebin.com/J2RvKb6n > > What's the "VIU"? Video-IN unit on mpc5121e (for capturing ITU656 video stream data). ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.

Re: [PATCH] fsl-diu-fb: remove the ioctl interface

2011-06-23 Thread Anatolij Gustschin
On Wed, 22 Jun 2011 11:39:49 +0100 "Jenkins, Clive" wrote: ... > > > Removing the ioctl interface also allows us to clean up the header > file and > > > remove other unusued stuff. > > > > No! We are using ioctl interface of this driver in many video > > rendering applications on overlay planes o

Re: [PATCH] fsl-diu-fb: remove the ioctl interface

2011-06-22 Thread Anatolij Gustschin
On Tue, 21 Jun 2011 23:13:11 + Tabi Timur-B04825 wrote: > Anatolij Gustschin wrote: > > No! We are using ioctl interface of this driver in many video > > rendering applications on overlay planes on huge number of boards. > > So, please don't remove it. > > Ok

Re: [PATCH] fsl-diu-fb: remove the ioctl interface

2011-06-21 Thread Anatolij Gustschin
On Tue, 21 Jun 2011 16:27:35 -0500 Timur Tabi wrote: > The ioctl interface in the Freescale DIU framebuffer driver is just a > collection of miscellaneous functions which were only used in a one-time > demo application that was never distributed. Plus, the ioctls were spread > across two types (

[PATCH] powerpc/5200: dts: digsy_mtc.dts: add timer0 and timer1 gpio properties

2011-06-06 Thread Anatolij Gustschin
timer0 and timer1 pins are used as simple GPIO on this board. Add gpio-controller and #gpio-cells properties to timer nodes so that we can control gpio lines using available MPC52xx GPT driver. Signed-off-by: Anatolij Gustschin --- arch/powerpc/boot/dts/digsy_mtc.dts |7 +++ 1 files

[PATCH] powerpc/5200: add GPIO functions for simple interrupt GPIOs

2011-05-23 Thread Anatolij Gustschin
The mpc52xx_gpio driver currently supports 8 wakeup GPIOs and 32 simple GPIOs. Extend it to also support GPIO function of 8 simple interrupt GPIOs controlled in the standard GPIO register module. Signed-off-by: Anatolij Gustschin --- arch/powerpc/platforms/52xx/mpc52xx_gpio.c | 117

[PATCH 2/2] powerpc/5200: dts: digsy_mtc.dts: update to add can, pci, serial and spi

2011-05-16 Thread Anatolij Gustschin
Schocher Signed-off-by: Anatolij Gustschin --- arch/powerpc/boot/dts/digsy_mtc.dts | 50 -- 1 files changed, 47 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/boot/dts/digsy_mtc.dts b/arch/powerpc/boot/dts/digsy_mtc.dts index 27bd267..e205d17 100644 --- a

[PATCH 1/2] powerpc/5200: mpc5200b.dtsi: add spi node address- and size-cells properties

2011-05-16 Thread Anatolij Gustschin
Both, #address-cells and #size-cells properties are required for spi bus node, so add them. Signed-off-by: Anatolij Gustschin --- arch/powerpc/boot/dts/mpc5200b.dtsi |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/boot/dts/mpc5200b.dtsi b/arch/powerpc

Re: fsl_udc_core not initializing properly?

2011-03-12 Thread Anatolij Gustschin
Hi Matthew, On Thu, 10 Mar 2011 13:46:29 -0500 "Matthew L. Creech" wrote: ... > I tracked the problem down to a change made in September, which > happens to be yours: > > http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=126512e3f274802ca65ebeca8660237f0361ad48 > >

Re: fsl_udc_core not initializing properly?

2011-03-11 Thread Anatolij Gustschin
On Thu, 10 Mar 2011 13:46:29 -0500 "Matthew L. Creech" wrote: > On Sat, Feb 19, 2011 at 1:01 PM, Matthew L. Creech wrote: > > > > Yes, it's there.  Here's the DTS entry in case anything else sticks out: > > > >                usb@23000 { > >                        compatible = "fsl-usb2-dr"; > >

Re: fsl_udc_core not initializing properly?

2011-02-19 Thread Anatolij Gustschin
Hi, On Fri, 18 Feb 2011 17:03:12 -0500 "Matthew L. Creech" wrote: ... > I'm upgrading from 2.6.36 to 2.6.37 on a MPC8313 ERDB-like board. On > the new kernel, it seems like the USB gadget driver (fsl_usb2_udc) is > never initialized, so USB no longer works. > > Adding some printks to the code s

Re: FSL USB in 2.6.37

2011-02-15 Thread Anatolij Gustschin
On Tue, 15 Feb 2011 10:47:17 -0700 Gary Thomas wrote: > I'm trying to get my platform support working in mainline > 2.6.37. I have a MPC8379 which is working well in 2.6.32. > > When I just move my platform to the new kernel, everything > works except for USB host mode. Nothing special about m

[PATCH] powerpc/mpc8xxx_gpio: simplify searching for 'fsl, qoriq-gpio' compatiable

2011-01-08 Thread Anatolij Gustschin
;fsl,qoriq-gpio' compatiable to the existing compatible list instead of adding another for_each_compatible_node() loop. Signed-off-by: Anatolij Gustschin --- arch/powerpc/sysdev/mpc8xxx_gpio.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/sysdev/mpc8xxx_gp

Re: [PATCH v4 5/5] fsl-diu-fb: Support setting display mode using EDID

2010-12-16 Thread Anatolij Gustschin
On Thu, 16 Dec 2010 10:47:53 -0600 Timur Tabi wrote: > On Fri, Jul 23, 2010 at 9:00 AM, Anatolij Gustschin wrote: > > Adds support for encoding display mode information > > in the device tree using verbatim EDID block. > > > > If the EDID entry in the DIU node is p

Re: [PATCH 2/2] powerpc, 5200: add defconfig for charon board

2010-12-06 Thread Anatolij Gustschin
Hello Heiko, On Mon, 06 Dec 2010 08:30:37 +0100 Heiko Schocher wrote: > Hello Wolfram, > > Wolfram Sang wrote: > > On Sat, Dec 04, 2010 at 09:21:54AM +0100, Heiko Schocher wrote: > > > > There shall be only one mpc5200-defconfig. Does the genric one work with > > your > > board? > > Just tri

Re: [PATCH] powerpc/5121: pdm360ng: fix touch irq if 8xxx gpio driver is enabled

2010-10-14 Thread Anatolij Gustschin
Hi Grant, On Wed, 15 Sep 2010 22:12:57 +0200 Anatolij Gustschin wrote: > Enabling the MPC8xxx GPIO driver with MPC512x GPIO extension > breaks touch screen support on this board since the GPIO > interrupt will be mapped to 8xxx GPIO irq host resulting in > a not requestable inte

[PATCH v3 2/2] USB: add USB EHCI support for MPC5121 SoC

2010-09-28 Thread Anatolij Gustschin
power switches allow specifying DRVVBUS and PWR_FAULT signal polarity of the MPC5121 internal PHY using "fsl,invert-drvvbus" and "fsl,invert-pwr-fault" properties in the device tree USB nodes. Adds documentation for this new device tree bindings. Signed-off-by: Anatolij Gustschin

[PATCH v3 1/2] USB: add platform glue driver for FSL USB DR controller

2010-09-28 Thread Anatolij Gustschin
of-style binding, available EHCI-HCD and UDC drivers can be bound to the created devices. The new of-style driver additionaly instantiates USB OTG platform device, as the appropriate USB OTG driver will be added soon. Signed-off-by: Anatolij Gustschin Cc: Kumar Gala Cc: Grant Likely --- v3

[PATCH v3 0/2] Add USB Host support for MPC5121 SoC

2010-09-28 Thread Anatolij Gustschin
the 2nd patch of the previous version is changed as requested by Grant. Please consider for inclusion in 2.6.37. Anatolij Gustschin (2): USB: add platform glue driver for FSL USB DR controller USB: add USB EHCI support for MPC5121 SoC Documentation/powerpc/dts-bindings/fsl/usb.txt | 22

Re: [PATCH v2 2/3] USB: add of_platform glue driver for FSL USB DR controller

2010-09-28 Thread Anatolij Gustschin
Hi Grant, On Tue, 28 Sep 2010 19:01:28 +0900 Grant Likely wrote: ... > Looks pretty good. Comments below. Main comment is that with the > recent changes in mainline, this no longer needs to be an > of_platform_driver. It can be a plain old platform_driver instead. > It gets registered as a pla

[PATCH v2 3/3] USB: add USB EHCI support for MPC5121 SoC

2010-09-28 Thread Anatolij Gustschin
power switches allow specifying DRVVBUS and PWR_FAULT signal polarity of the MPC5121 internal PHY using "fsl,invert-drvvbus" and "fsl,invert-pwr-fault" properties in the device tree USB nodes. Adds documentation for this new device tree bindings. Signed-off-by: Anatolij Gustschin

[PATCH v2 2/3] USB: add of_platform glue driver for FSL USB DR controller

2010-09-28 Thread Anatolij Gustschin
of-style driver additionaly instantiates USB OTG platform device, as the appropriate USB OTG driver will be added soon. Signed-off-by: Anatolij Gustschin Cc: Kumar Gala Cc: Grant Likely --- v2: - drop unneeded PPC_OF dependency - fix spelling bug in mode table and fix coding style - print a

[PATCH v2 1/3] powerpc/fsl_soc.c: remove FSL USB platform code

2010-09-28 Thread Anatolij Gustschin
This removed code will be replaced by simple of_platform driver for creation of FSL USB platform devices which is added by next patch of the series. Signed-off-by: Anatolij Gustschin Cc: Kumar Gala Cc: Grant Likely --- arch/powerpc/sysdev/fsl_soc.c | 163

[PATCH v2 0/3] Add USB Host support for MPC5121 SoC

2010-09-28 Thread Anatolij Gustschin
This is version 2 of patches to add MPC512x USB support in mainline kernel. USB OTG support is not included in this patch series, it will be submitted later. The patches have been rebased on current linux-next tree and reworked to address comments from Grant. Anatolij Gustschin (3): powerpc

<    1   2   3   4   >