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

2010-09-25 Thread Anatolij Gustschin
On Wed, 15 Sep 2010 20:38:23 -0600 Grant Likely wrote: > On Wed, Sep 15, 2010 at 10:12:57PM +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 ma

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

2010-09-15 Thread Anatolij Gustschin
. Signed-off-by: Anatolij Gustschin --- arch/powerpc/platforms/512x/pdm360ng.c | 26 ++ 1 files changed, 22 insertions(+), 4 deletions(-) diff --git a/arch/powerpc/platforms/512x/pdm360ng.c b/arch/powerpc/platforms/512x/pdm360ng.c index 0575e85..558eb9e 100644 --- a/arch

[PATCH] powerpc: fix typo in uImage target

2010-08-16 Thread Anatolij Gustschin
Commit e32e78c5ee8aadef020fbaecbe6fb741ed9029fd (powerpc: fix build with make 3.82) introduced a typo in uImage target and broke building uImage: make: *** No rule to make target `uImage'. Stop. Signed-off-by: Anatolij Gustschin Cc: stable --- arch/powerpc/Makefile |2 +- 1 files ch

[PATCH v4] powerpc/mpc8xxx_gpio.c: extend the driver to support mpc512x gpios

2010-08-08 Thread Anatolij Gustschin
for_each_matching_node() preventing multiple registration if a node claimes compatibility with another gpio controller type. Signed-off-by: Anatolij Gustschin --- v4: - undo function merging as it was wrong - fix commit message v3: - merge mpc8xxx_add_controller() into mpc8xxx_add_gpiochips() - do not use

[PATCH v3] powerpc/mpc8xxx_gpio.c: extend the driver to support mpc512x gpios

2010-08-08 Thread Anatolij Gustschin
for_each_matching_node() preventing multiple registration if a node claimes compatibility with another gpio controller type. Also merge two chip registration functions into one. Signed-off-by: Anatolij Gustschin --- v3: - merge mpc8xxx_add_controller() into mpc8xxx_add_gpiochips() - do not use of_node's

[PATCH v2] powerpc/mpc8xxx_gpio.c: extend the driver to support mpc512x gpios

2010-08-07 Thread Anatolij Gustschin
for_each_matching_node() preventing multiple registration if a node claimes compatibility with another gpio controller type. Signed-off-by: Anatolij Gustschin --- v2: - add patch description - use match table data to set irq set_type hook as recommended - refactor to use for_each_matching_node() in

Re: [PATCH] powerpc/mpc8xxx_gpio.c: extend the driver to support mpc512x gpios

2010-08-07 Thread Anatolij Gustschin
Hi Grant, On Sat, 7 Aug 2010 09:12:50 -0600 Grant Likely wrote: > Hi Anatolij, > > Looks pretty good, but some comments below... > > On Sat, Aug 7, 2010 at 7:28 AM, Anatolij Gustschin wrote: > > Signed-off-by: Anatolij Gustschin > > You haven't written

[PATCH] powerpc/mpc8xxx_gpio.c: extend the driver to support mpc512x gpios

2010-08-07 Thread Anatolij Gustschin
Signed-off-by: Anatolij Gustschin --- arch/powerpc/platforms/Kconfig |7 ++-- arch/powerpc/sysdev/mpc8xxx_gpio.c | 54 +++- 2 files changed, 57 insertions(+), 4 deletions(-) diff --git a/arch/powerpc/platforms/Kconfig b/arch/powerpc/platforms/Kconfig

Re: [PATCH V5] powerpc/mpc512x: Add gpio driver

2010-07-29 Thread Anatolij Gustschin
On Thu, 29 Jul 2010 01:19:23 -0600 Grant Likely wrote: > On Wed, Jul 7, 2010 at 5:28 AM, Peter Korsgaard wrote: > >>>>>> "Anatolij" == Anatolij Gustschin writes: > > > > Hi, > > > > Old mail, I know .. > > > >  Anatolij&g

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

2010-07-28 Thread Anatolij Gustschin
Hi Grant, On Wed, 28 Jul 2010 02:16:08 -0600 Grant Likely wrote: > On Thu, Jul 22, 2010 at 10:25 AM, Anatolij Gustschin wrote: > > The driver creates platform devices based on the information > > from USB nodes in the flat device tree. This is the replacement > > for old

Re: [PATCH v4 1/5] fsl-diu-fb: fix issue with re-enabling DIU area descriptor

2010-07-28 Thread Anatolij Gustschin
On Wed, 28 Jul 2010 01:02:59 -0600 Grant Likely wrote: ... > >  drivers/video/fsl-diu-fb.c |   38 +++--- > >  1 files changed, 23 insertions(+), 15 deletions(-) > > > > diff --git a/drivers/video/fsl-diu-fb.c b/drivers/video/fsl-diu-fb.c > > index 27455ce..9b8c991 1

[PATCH v4 2/2] powerpc/mpc5121: add initial support for PDM360NG board

2010-07-27 Thread Anatolij Gustschin
g Grandegger Signed-off-by: Michael Weiss Signed-off-by: Detlev Zundel Signed-off-by: Anatolij Gustschin Cc: devicetree-disc...@lists.ozlabs.org Cc: Grant Likely --- v4: - set interrupt-parent in root node only, less verbose DT - add compatible property to phy node - update touch screen cont

Re: [PATCH v3 2/2] powerpc/mpc5121: add initial support for PDM360NG board

2010-07-27 Thread Anatolij Gustschin
On Tue, 27 Jul 2010 10:58:33 -0600 Grant Likely wrote: ... > >> > +               s...@11900 { > >> > +                       compatible = "fsl,mpc5121-psc-spi", > >> > "fsl,mpc5121-psc"; > >> > +                       cell-index = <9>; > >> > >> Try to drop the cell-index properties.  They are a

Re: [PATCH v3 2/2] powerpc/mpc5121: add initial support for PDM360NG board

2010-07-27 Thread Anatolij Gustschin
Hi Grant, On Sun, 25 Jul 2010 01:42:23 -0600 Grant Likely wrote: ... > Hi Anatolij, > > Finally got some time tonight to properly dig into this patch. Comments > below. Thanks for review and comments! My reply below. ... > > +       n...@4000 { > > +               compatible = "fsl,mpc51

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

2010-07-23 Thread Anatolij Gustschin
entries from driver's internal database as usual. This patch also updates device tree bindings. Signed-off-by: Anatolij Gustschin Acked-by: Timur Tabi Cc: devicetree-disc...@lists.ozlabs.org --- v4: - rebased to apply on current tree - added ack tag v3: - no changes v1 -> v2: -

[PATCH v4 4/5] powerpc: doc/dts-bindings: update doc of FSL DIU bindings

2010-07-23 Thread Anatolij Gustschin
Update compatible and interrupt properties description. Furthermore an example for the MPC5121 has been added. Signed-off-by: Anatolij Gustschin Acked-by: Timur Tabi Cc: devicetree-disc...@lists.ozlabs.org --- v4: - added ack tag v2 and v3: - no changes since v1 Documentation/powerpc/dts

[PATCH v4 3/5] powerpc/mpc5121: shared DIU framebuffer support

2010-07-23 Thread Anatolij Gustschin
descriptor and gamma table so that DIU continues displaying through the whole boot process. On first open from user space DIU frame buffer driver releases the reserved frame buffer area and continues to operate as usual. Signed-off-by: John Rigby Signed-off-by: Anatolij Gustschin Acked-by: Timur Tabi

[PATCH v4 2/5] fsl-diu-fb: move fsl-diu-fb.h to include/linux

2010-07-23 Thread Anatolij Gustschin
Some DIU structures will be used in platform code in subsequent MPC5121 DIU patch, so we move this header to be able to include it elsewhere. Signed-off-by: Anatolij Gustschin Acked-by: Timur Tabi --- v4: - added ack tag v3: - no changes since v1 drivers/video/fsl-diu-fb.c

[PATCH v4 1/5] fsl-diu-fb: fix issue with re-enabling DIU area descriptor

2010-07-23 Thread Anatolij Gustschin
1EADS BSP for writing descriptor addresses properly. This fixes the problem for Rev 2.0 silicon. Signed-off-by: Anatolij Gustschin --- v4: - use workaround code as suggested by FSL technical support. v3: - no changes since v1 drivers/video/fsl-diu-fb.c |

[PATCH v4 0/5] Rework MPC5121 DIU support (for 2.6.36)

2010-07-23 Thread Anatolij Gustschin
that these do not break DIU support for MPC8610 HPCD. He then has send his Acked-by, so I added it to the related patches. The first patch is changed to provide another complete workaround to the observed issue as suggested by Freescale technical support. Anatolij Gustschin (5): fsl-diu-fb: fix

[PATCH] powerpc/mpc512x: add clock structure for Video-IN (VIU) unit

2010-07-23 Thread Anatolij Gustschin
Allows using clk_get()/clk_enable()/clk_disable() for VIU clock in the v4l2 video driver. Signed-off-by: Hongjun Chen Signed-off-by: Anatolij Gustschin --- arch/powerpc/platforms/512x/clock.c | 18 ++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/arch

[PATCH v3 2/2] powerpc/mpc5121: add initial support for PDM360NG board

2010-07-23 Thread Anatolij Gustschin
g Grandegger Signed-off-by: Michael Weiss Signed-off-by: Detlev Zundel Signed-off-by: Anatolij Gustschin Cc: devicetree-disc...@lists.ozlabs.org Cc: Grant Likely --- v3: - uncomment and correct .irq_flags field of touchscreen platform data struct as proposed extension to this data struct h

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

2010-07-22 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 Gu

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

2010-07-22 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 --- drivers/usb/gadget/Kconfig |1 + drivers/usb/host/Kconfig |5 + drivers/usb/host

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

2010-07-22 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 0/3] Add USB Host support for MPC5121 SoC

2010-07-22 Thread Anatolij Gustschin
This is new attempt to add MPC512x USB support in mainline kernel. USB OTG support is not included in this patch series, it will be submitted later. Anatolij Gustschin (3): powerpc/fsl_soc.c: remove FSL USB platform code USB: add of_platform glue driver for FSL USB DR controller USB: add

Re: [PATCH 0/5] Rework MPC5121 DIU support (for 2.6.35)

2010-06-22 Thread Anatolij Gustschin
Hi, On Tue, 22 Jun 2010 11:29:50 -0500 Timur Tabi wrote: > On Thu, Apr 29, 2010 at 6:49 PM, Anatolij Gustschin wrote: > > This patch series rework DIU support patches submitted > > previously. Comments to the previos patch series have > > been addressed, not related ch

Re: [PATCH 0/5] Rework MPC5121 DIU support (for 2.6.35)

2010-06-16 Thread Anatolij Gustschin
On Wed, 16 Jun 2010 11:26:39 -0500 Timur Tabi wrote: > Anatolij Gustschin wrote: > > On Wed, 16 Jun 2010 10:42:28 -0500 > > Timur Tabi wrote: > > > >> Anatolij Gustschin wrote: > >> > >>> Any chance this could be done soon? I'd like to i

Re: [PATCH 0/5] Rework MPC5121 DIU support (for 2.6.35)

2010-06-16 Thread Anatolij Gustschin
On Wed, 16 Jun 2010 10:42:28 -0500 Timur Tabi wrote: > Anatolij Gustschin wrote: > > > Any chance this could be done soon? I'd like to include the > > MPC5121e DIU support in 2.6.36 since it is currently broken in > > mainline and the patches provide the fix. >

Re: [PATCH 0/5] Rework MPC5121 DIU support (for 2.6.35)

2010-06-16 Thread Anatolij Gustschin
Hi Timur, On Fri, 4 Jun 2010 10:46:28 -0500 Timur Tabi wrote: > On Tue, Jun 1, 2010 at 4:38 AM, Anatolij Gustschin wrote: > > > Could you please test these patches on MPC8610 HPCD? I think these > > changes won't break that platform. The patches apply cleanly on > &

Re: [PATCH] powerpc: fix obsolete device tree code for the UPM NAND driver.

2010-06-12 Thread Anatolij Gustschin
On Sat, 12 Jun 2010 14:39:43 +0200 Richard Cochran wrote: > Commit 58f9b0b02414062eaff46716bc04b47d7e79add5 removed of_device->node. > This driver was apparently overlooked in the processes. > > Signed-off-by: Richard Cochran > --- > drivers/mtd/nand/fsl_upm.c | 18 ++ > 1 fi

Re: [PATCH 1/4] powerpc/fsl_soc.c: prepare for addition of mpc5121 USB code

2010-06-11 Thread Anatolij Gustschin
On Wed, 19 May 2010 14:47:47 -0600 Grant Likely wrote: > On Thu, May 6, 2010 at 1:18 PM, Anatolij Gustschin wrote: > > Hi Grant, > > > > On Tue, 27 Apr 2010 10:51:21 -0600 > > Grant Likely wrote: > > > >> On Tue, Apr 27, 2010 at 10:11 AM, Anatolij

[PATCH V5] powerpc/mpc512x: Add gpio driver

2010-06-11 Thread Anatolij Gustschin
driver has been tested on pdm360ng board with some configuration switches. Signed-off-by: Matthias Fuchs Signed-off-by: Anatolij Gustschin --- Please consider this patch for inclusion in 2.6.36. Thanks! v4 -> v5: - reworked after change to the of-gpio api, tested on top of the n

Re: [PATCH V4] powerpc/mpc512x: Add gpio driver

2010-06-10 Thread Anatolij Gustschin
Hi Grant, On Thu, 10 Jun 2010 15:48:42 -0600 Grant Likely wrote: > On Thu, Jun 10, 2010 at 10:21 AM, Anatolij Gustschin wrote: > > From: Matthias Fuchs > > > > This patch adds a gpio driver for MPC512X PowerPCs. > > > > It has been tested on our CAN-CBX-CPU52

[PATCH V4] powerpc/mpc512x: Add gpio driver

2010-06-10 Thread Anatolij Gustschin
: Anatolij Gustschin --- Please consider this patch for inclusion in 2.6.36. Thanks! v4: - actually v3 was rebased but without shadow registers init code as stated in the v3 changelog. Correct it now. v3: - rebase to apply on current mainline tree - v2 switched to shadow registers

[PATCH V3] powerpc/mpc512x: Add gpio driver

2010-06-10 Thread Anatolij Gustschin
: Anatolij Gustschin --- Please consider this patch for inclusion in 2.6.36. Thanks! v3: - rebase to apply on current mainline tree - v2 switched to shadow registers but these are not pre-initialized (zero). As a result, setting pin direction or ODR register will clear other bits

Re: [PATCH 0/5] Rework MPC5121 DIU support (for 2.6.35)

2010-06-01 Thread Anatolij Gustschin
Hi Timur, On Thu, 29 Apr 2010 20:39:02 -0500 Timur Tabi wrote: > On Thu, Apr 29, 2010 at 6:49 PM, Anatolij Gustschin wrote: > > This patch series rework DIU support patches submitted > > previously. Comments to the previos patch series have > > been addressed, not relate

[PATCH] powerpc/44x: icon: select SM502 and frame buffer console support

2010-05-26 Thread Anatolij Gustschin
Enables SM502 frame buffer and framebuffer console in the default config file Signed-off-by: Anatolij Gustschin --- arch/powerpc/configs/44x/icon_defconfig | 149 +-- 1 files changed, 142 insertions(+), 7 deletions(-) diff --git a/arch/powerpc/configs/44x

Re: [PATCH 1/4] powerpc/fsl_soc.c: prepare for addition of mpc5121 USB code

2010-05-06 Thread Anatolij Gustschin
Hi Grant, On Tue, 27 Apr 2010 10:51:21 -0600 Grant Likely wrote: > On Tue, Apr 27, 2010 at 10:11 AM, Anatolij Gustschin wrote: > > Factor out common code for registering a FSL EHCI platform > > device into new fsl_usb2_register_device() function. This > > is done to a

[PATCH] serial: mpc52xx_uart: fix null pointer dereference

2010-05-04 Thread Anatolij Gustschin
Commit 6acc6833510db8f72b5ef343296d97480555fda9 introduced NULL pointer dereference and kernel crash on ppc32 machines while booting. Fix this bug now. Reported-by: Leonardo Chiquitto Signed-off-by: Anatolij Gustschin --- drivers/serial/mpc52xx_uart.c |2 +- 1 files changed, 1 insertions

Re: Oops in mpc52xx_uart_init (2.6.34-rc5)

2010-05-04 Thread Anatolij Gustschin
On Tue, 4 May 2010 17:39:25 -0300 Leonardo Chiquitto wrote: > Kernel 2.6.34-rc5 crashes on boot in a ppc32 machine (Mac Mini G4). > > Reverting the following commit makes the kernel boot normally again: > > commit 6acc6833510db8f72b5ef343296d97480555fda9 > Author: Anatolij

[PATCH v3 3/5] powerpc/mpc5121: shared DIU framebuffer support

2010-05-03 Thread Anatolij Gustschin
descriptor and gamma table so that DIU continues displaying through the whole boot process. On first open from user space DIU frame buffer driver releases the reserved frame buffer area and continues to operate as usual. Signed-off-by: John Rigby Signed-off-by: Anatolij Gustschin Cc: Grant Likely

[PATCH v2 2/2] powerpc/mpc5121: add initial support for PDM360NG board

2010-05-03 Thread Anatolij Gustschin
Weiss Signed-off-by: Detlev Zundel Signed-off-by: Anatolij Gustschin Cc: devicetree-disc...@lists.ozlabs.org Cc: Grant Likely --- This patch is intended to be used on top of MPC5121 DIU support patch series: http://thread.gmane.org/gmane.linux.ports.ppc.embedded/34806 v1 -> v2: - fix inter

Re: [PATCH 2/2] powerpc/mpc5121: add initial support for PDM360NG board

2010-05-03 Thread Anatolij Gustschin
Hi Grant, On Sun, 2 May 2010 08:54:26 -0600 Grant Likely wrote: > Hi Anatolij, > > Comments below. > > On Fri, Apr 30, 2010 at 2:30 PM, Anatolij Gustschin wrote: > > Adds IFM PDM360NG device tree, and platform code. ... > > +       n...@4000 { > >

Re: [PATCH 3/5] powerpc/mpc5121: shared DIU framebuffer support

2010-05-01 Thread Anatolij Gustschin
On Fri, 30 Apr 2010 15:40:12 -0500 Scott Wood wrote: > Timur Tabi wrote: > > On Fri, Apr 30, 2010 at 11:22 AM, Scott Wood > > wrote: > > > >>> That's what I meant. Actually, I think it's ULL. Regardless, I think > >>> the compiler will see the "10 ... * 1000" and just combine > >>>

[PATCH 2/2] powerpc/mpc5121: add initial support for PDM360NG board

2010-04-30 Thread Anatolij Gustschin
Weiss Signed-off-by: Detlev Zundel Signed-off-by: Anatolij Gustschin Cc: devicetree-disc...@lists.ozlabs.org Cc: Grant Likely --- This patch is intended to be used on top of MPC5121 DIU support patch series: http://thread.gmane.org/gmane.linux.ports.ppc.embedded/34806 I post it for review now,

[PATCH 1/2] powerpc/mpc512x: Group mpc512x board's selection menu

2010-04-30 Thread Anatolij Gustschin
for simple MPC5121 based boards [ ] 52xx-based boards ... This is a cleanup before adding new board selection entry. Signed-off-by: Anatolij Gustschin Cc: Grant Likely --- arch/powerpc/platforms/512x/Kconfig | 13 - 1 files changed, 4 insertions(+), 9 deletions(-) diff --git a

Re: [PATCH 3/5] powerpc/mpc5121: shared DIU framebuffer support

2010-04-30 Thread Anatolij Gustschin
On Fri, 30 Apr 2010 10:08:45 -0500 Timur Tabi wrote: > On Fri, Apr 30, 2010 at 5:19 AM, Anatolij Gustschin wrote: > > >> How about just doing this? > >> > >> .init_early             = mpc512x_init_diu, > > > > I thought it

[PATCH 2/2] spi: Add SPI master driver for MPC5121 PSC

2010-04-30 Thread Anatolij Gustschin
Signed-off-by: John Rigby Signed-off-by: Anatolij Gustschin --- arch/powerpc/include/asm/mpc52xx_psc.h |1 + drivers/spi/Kconfig|7 + drivers/spi/Makefile |1 + drivers/spi/mpc512x_psc_spi.c | 576 4

[PATCH 1/2] powerpc/mpc5121: move PSC FIFO memory init to platform code

2010-04-30 Thread Anatolij Gustschin
now done by this patch. Signed-off-by: Anatolij Gustschin --- arch/powerpc/platforms/512x/mpc512x_shared.c | 78 ++ drivers/serial/mpc52xx_uart.c| 69 --- 2 files changed, 78 insertions(+), 69 deletions(-) diff --git a/arch/powerpc

[PATCH 0/2] Add SPI driver for MPC5121 PSC SPI

2010-04-30 Thread Anatolij Gustschin
Anatolij Gustschin (2): powerpc/mpc5121: move PSC FIFO memory init to platform code spi: Add SPI master driver for MPC5121 PSC arch/powerpc/include/asm/mpc52xx_psc.h |1 + arch/powerpc/platforms/512x/mpc512x_shared.c | 78 drivers/serial/mpc52xx_uart.c| 69

[PATCH v2 3/5] powerpc/mpc5121: shared DIU framebuffer support

2010-04-30 Thread Anatolij Gustschin
descriptor and gamma table so that DIU continues displaying through the whole boot process. On first open from user space DIU frame buffer driver releases the reserved frame buffer area and continues to operate as usual. Signed-off-by: John Rigby Signed-off-by: Anatolij Gustschin Cc: Grant Likely

Re: [PATCH 3/5] powerpc/mpc5121: shared DIU framebuffer support

2010-04-30 Thread Anatolij Gustschin
On Thu, 29 Apr 2010 21:05:26 -0500 Timur Tabi wrote: > On Thu, Apr 29, 2010 at 6:49 PM, Anatolij Gustschin wrote: > > > > +void __init mpc5121_ads_init_early(void) > > +{ > > +       mpc512x_init_diu(); > > +} > > + > >  d

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

2010-04-30 Thread Anatolij Gustschin
entries from driver's internal database as usual. This patch also updates device tree bindings. Signed-off-by: Anatolij Gustschin --- v1 -> v2: - fix EDID property to be lower-case - use u8 * type for EDID block pointer - simplify "info->monspecs.modedb != NULL" condition

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

2010-04-30 Thread Anatolij Gustschin
On Thu, 29 Apr 2010 20:44:12 -0500 Timur Tabi wrote: > On Thu, Apr 29, 2010 at 6:49 PM, Anatolij Gustschin wrote: > > > +Optional properties: > > +- EDID : verbatim EDID data block describing attached display. > > +  Data from the detailed timing descriptor will be us

Re: [PATCH 0/5] Rework MPC5121 DIU support (for 2.6.35)

2010-04-30 Thread Anatolij Gustschin
On Thu, 29 Apr 2010 20:39:02 -0500 Timur Tabi wrote: > On Thu, Apr 29, 2010 at 6:49 PM, Anatolij Gustschin wrote: > > This patch series rework DIU support patches submitted > > previously. Comments to the previos patch series have > > been addressed, not related changes

[PATCH 3/5] powerpc/mpc5121: shared DIU framebuffer support

2010-04-29 Thread Anatolij Gustschin
descriptor and gamma table so that DIU continues displaying through the whole boot process. On first open from user space DIU frame buffer driver releases the reserved frame buffer area and continues to operate as usual. Signed-off-by: John Rigby Signed-off-by: Anatolij Gustschin Cc: Grant Likely

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

2010-04-29 Thread Anatolij Gustschin
entries from driver's internal database as usual. This patch also updates device tree bindings. Signed-off-by: Anatolij Gustschin --- Documentation/powerpc/dts-bindings/fsl/diu.txt |6 ++ drivers/video/Kconfig |1 + drivers/video/fsl-diu

[PATCH 4/5] powerpc: doc/dts-bindings: update doc of FSL DIU bindings

2010-04-29 Thread Anatolij Gustschin
Update compatible and interrupt properties description. Furthermore an example for the MPC5121 has been added. Signed-off-by: Anatolij Gustschin --- Documentation/powerpc/dts-bindings/fsl/diu.txt | 14 -- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git a

[PATCH 0/5] Rework MPC5121 DIU support (for 2.6.35)

2010-04-29 Thread Anatolij Gustschin
using EDID block in the device tree. Anatolij Gustschin (5): fsl-diu-fb: fix issue with re-enabling DIU area descriptor on MPC5121 fsl-diu-fb: move fsl-diu-fb.h to include/linux powerpc/mpc5121: shared DIU framebuffer support powerpc: doc/dts-bindings: update doc of FSL DIU bindings fsl-diu

[PATCH 2/5] fsl-diu-fb: move fsl-diu-fb.h to include/linux

2010-04-29 Thread Anatolij Gustschin
Some DIU structures will be used in platform code in subsequent MPC5121 DIU patch, so we move this header to be able to include it elsewhere. Signed-off-by: Anatolij Gustschin --- drivers/video/fsl-diu-fb.c|2 +- {drivers/video => include/linux}/fsl-diu-fb.h |0

[PATCH 1/5] fsl-diu-fb: fix issue with re-enabling DIU area descriptor on MPC5121

2010-04-29 Thread Anatolij Gustschin
oblem. Signed-off-by: Anatolij Gustschin --- drivers/video/fsl-diu-fb.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/drivers/video/fsl-diu-fb.c b/drivers/video/fsl-diu-fb.c index 994358a..ee15a99 100644 --- a/drivers/video/fsl-diu-fb.c +++ b/drivers/video/fsl-diu

Re: [PATCH 3/3] powerpc/mpc5121: shared DIU framebuffer support

2010-04-28 Thread Anatolij Gustschin
Hi Grant, Thanks for review and comments. I'm back to this now and hope to address your comments soon. On Sat, 27 Feb 2010 23:50:09 -0700 Grant Likely wrote: > On Sat, Feb 27, 2010 at 2:58 PM, Anatolij Gustschin wrote: > > MPC5121 DIU configuration/setup as initialized by the b

Re: [PATCH 1/3] video: add support for getting video mode from device tree

2010-04-28 Thread Anatolij Gustschin
On Mon, 01 Mar 2010 14:45:20 +1100 Benjamin Herrenschmidt wrote: > On Sat, 2010-02-27 at 22:44 -1000, Mitch Bradley wrote: > > > As it turns out, I'm doing exactly that - exporting verbatim EDID > > data > > as the value of the "edid" property - for the display node on the Via > > version of t

[PATCH 4/4] powerpc/mpc5121: select options for USB OTG support

2010-04-27 Thread Anatolij Gustschin
USB Device Controller driver and OTG driver allow configuration of controller register accessors. Enable default big-endian register accessors for Rev.2 SoC. Signed-off-by: Anatolij Gustschin Cc: Grant Likely --- arch/powerpc/platforms/512x/Kconfig |8 1 files changed, 8

[PATCH 1/4] powerpc/fsl_soc.c: prepare for addition of mpc5121 USB code

2010-04-27 Thread Anatolij Gustschin
, "fsl,mpc5121-usb2-dr") { ... fsl_usb2_register_device(); } Signed-off-by: Anatolij Gustschin Cc: Kumar Gala Cc: Grant Likely --- arch/powerpc/sysdev/fsl_soc.c | 231 +++- 1 files changed, 110 insertions(+), 121 deletions(-) di

[PATCH 2/4] powerpc/mpc5121: add USB host support

2010-04-27 Thread Anatolij Gustschin
x27;t provide supply voltage. For boards using different 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 node. Signed-off-by: Bruce Schmid

[PATCH 0/4] Add USB Host and OTG support for MPC5121 SoC

2010-04-27 Thread Anatolij Gustschin
Anatolij Gustschin (4): powerpc/fsl_soc.c: prepare for addition of mpc5121 USB code powerpc/mpc5121: add USB host support USB: add USB OTG support for MPC5121 SoC powerpc/mpc5121: select options for USB OTG support Documentation/powerpc/dts-bindings/fsl/usb.txt | 22 + arch/powerpc

[PATCH] mpc5200b/uart: improve baud rate calculation (reach high baud rates, better accuracy)

2010-04-26 Thread Anatolij Gustschin
t; devices. Also tested on the mpc5121ads board. Signed-off-by: Albrecht Dress [agust: fixed mpc5121 prescaler comment] Signed-off-by: Anatolij Gustschin --- v3a -> v4: - Commit message cleanup - Fixed prescaler comment in mpc512x_psc_set_baudrate() - Fixed white space issues dri

Re: [PATCH] Fixes for MPC512x PSC

2010-04-23 Thread Anatolij Gustschin
On Thu, 22 Apr 2010 19:13:21 -0500 "Steve Deiters" wrote: > This will apply on the mpc512x-v2.6.33-devel branch of the DENX git > repository. This is all mostly based > on what was in the Freescale LTIB release from the Freescale website. Please don't use mpc512x-v2.6.33-devel branch, it is obs

Re: Xorg on Fujitsu "Lime" with MPC5200b?

2010-04-15 Thread Anatolij Gustschin
On Wed, 14 Apr 2010 22:07:08 -0500 Bill Gatliff wrote: > Put simply, I have an MPC5200b platform with a Fujitsu "Lime" GDC, and > I'm trying to run Debian squeeze's xorg on it. > > Actually, I *have* Debian squeeze's xorg running on the platform just > fine, with a 2.6.34-rc1 kernel (kernel.org)

Re: Linus' kernel tree over ads5121-rev4

2010-03-11 Thread Anatolij Gustschin
Hi, On Thu, 11 Mar 2010 13:53:45 +0100 CTAG / Moisés Domínguez wrote: > Linux is uncompressed and starts right, but when DIU driver probe function > is called (exactly when first framebuffer device is registered) linux > restarts. This behaviour repeats indefinitely. > > (same behaviour with de

Re: mpc512x uart: testers wanted

2010-03-08 Thread Anatolij Gustschin
Hi Grant, Albrecht, On Sun, 7 Mar 2010 17:45:23 -0700 Grant Likely wrote: > Anatolij, could you please look into this? I'll look into this tomorrow, need to finish USB support now. Unfortunately the patch doesn't apply on top of Linus' tree as patches for reworked MPC5121 PSC UART support have

Re: [PATCH v3 06/11] dma: Add MPC512x DMA driver

2010-03-01 Thread Anatolij Gustschin
Hi Dan, any chance this patch could be merged for 2.6.34 ? Thanks, Anatolij On Fri, 5 Feb 2010 14:42:52 +0100 Anatolij Gustschin wrote: > From: Piotr Ziecik > > Adds initial version of MPC512x DMA driver. > Only memory to memory transfers are currenly supported. > > Si

Re: [PATCH v3 09/11] powerpc/mpc5121: shared DIU framebuffer support

2010-02-27 Thread Anatolij Gustschin
On Tue, 16 Feb 2010 11:06:22 -0700 Grant Likely wrote: > [...] > > diff --git a/drivers/video/fsl-diu-fb.c b/drivers/video/fsl-diu-fb.c > > index 72d68b3..29c7f31 100644 > > --- a/drivers/video/fsl-diu-fb.c > > +++ b/drivers/video/fsl-diu-fb.c > > @@ -34,7 +34,7 @@ > >  #include > > > >  #includ

[PATCH 3/3] powerpc/mpc5121: shared DIU framebuffer support

2010-02-27 Thread Anatolij Gustschin
some DIU structures in platform code. 'diu_ops' callbacks in platform code borrowed from John's DIU code. Signed-off-by: John Rigby Signed-off-by: Anatolij Gustschin Cc: Grant Likely --- arch/powerpc/platforms/512x/mpc5121_ads.c |7 + arch/powerpc/platforms/512x/mpc5121_g

[PATCH 2/3] fbdev: fsl-diu-fb.c: allow setting panel video mode from DT

2010-02-27 Thread Anatolij Gustschin
Add support for specifying display panel data in the device tree. If no panel data is provided in the device tree, default video mode will be used as usual. Signed-off-by: Anatolij Gustschin --- drivers/video/Kconfig |1 + drivers/video/fsl-diu-fb.c | 63

[PATCH 1/3] video: add support for getting video mode from device tree

2010-02-27 Thread Anatolij Gustschin
Framebuffer drivers may want to get panel timing info from the device tree. This patch adds appropriate support. Subsequent patch for FSL DIU frame buffer driver makes use of this functionality. Signed-off-by: Anatolij Gustschin --- drivers/video/Kconfig |5 +++ drivers/video/Makefile

[PATCH 0/3] Rework MPC5121 DIU support (for 2.6.34)

2010-02-27 Thread Anatolij Gustschin
pport. The third patch for DIU support is rebased, but still depends on patches for adding MPC5121 USB support (because it touches shared platform code). It is intended for inclusion in 2.6.34, since without DIU support patch framebuffer doesn't work on mpc5121. Anatolij Gustschin (3):

[net-next-2.6 PATCH v3 3/3] fs_enet: add FEC TX buffer alignment workaround for MPC5121

2010-02-26 Thread Anatolij Gustschin
MPC5121 FEC requeries 4-byte alignmnent for TX data buffers. This patch is a work around that copies misaligned tx packets to an aligned skb before sending. Signed-off-by: John Rigby Signed-off-by: Piotr Ziecik Signed-off-by: Wolfgang Denk Signed-off-by: Anatolij Gustschin Acked-by: Grant

[net-next-2.6 PATCH v3 2/3] fs_enet: Add support for MPC512x to fs_enet driver

2010-02-26 Thread Anatolij Gustschin
Extend the fs_enet driver to support MPC512x FEC. Enable it with CONFIG_FS_ENET_MPC5121_FEC option. Signed-off-by: John Rigby Signed-off-by: Piotr Ziecik Signed-off-by: Wolfgang Denk Signed-off-by: Anatolij Gustschin Acked-by: Grant Likely --- drivers/net/fs_enet/Kconfig| 10

[net-next-2.6 PATCH v3 1/3] fs_enet: use dev_xxx instead of printk

2010-02-26 Thread Anatolij Gustschin
Signed-off-by: Anatolij Gustschin Acked-by: Grant Likely --- drivers/net/fs_enet/fs_enet-main.c | 39 +-- drivers/net/fs_enet/mac-fcc.c |5 ++- drivers/net/fs_enet/mac-fec.c | 12 -- drivers/net/fs_enet/mac-scc.c |9 +++ 4

[net-next-2.6 PATCH v3 0/3] Support for MPC512x FEC

2010-02-26 Thread Anatolij Gustschin
ed skb->len for new properly aligned skb. The patches are based on net-next-2.6 and has been tested on the: - Freescale/STX "MPC5121ADS" board (board rev. 4) with a MPC5121e Rev. 2. - TQM860L and TQM855 boards. Anatolij Gustschin (3): fs_enet: use dev_xxx inst

Re: [net-next-2.6 PATCH v2 0/3] Support for MPC512x FEC

2010-02-26 Thread Anatolij Gustschin
Hi David, On Mon, 22 Feb 2010 03:44:52 -0800 (PST) David Miller wrote: > From: Anatolij Gustschin > Date: Mon, 22 Feb 2010 12:37:24 +0100 > > > Could you please comment on this patch series. > > It's in the net-next-2.6 tree. > > If you need to make any more c

Re: [net-next-2.6 PATCH v2 0/3] Support for MPC512x FEC

2010-02-22 Thread Anatolij Gustschin
Hi David, On Wed, 17 Feb 2010 15:55:27 +0100 Anatolij Gustschin wrote: > These patches attempt to provide support for the Freescale MPC512x > FEC in the fs_enet driver. The first cleanup patch replaces printk > by dev_xxx. The second and third attemt to support MPC5121 FEC > in th

[net-next-2.6 PATCH v3 3/3] fs_enet: add FEC TX buffer alignment workaround for MPC5121

2010-02-17 Thread Anatolij Gustschin
MPC5121 FEC requeries 4-byte alignmnent for TX data buffers. This patch is a work around that copies misaligned tx packets to an aligned skb before sending. Signed-off-by: John Rigby Signed-off-by: Piotr Ziecik Signed-off-by: Wolfgang Denk Signed-off-by: Anatolij Gustschin --- Changes since

Re: [net-next-2.6 PATCH v2 3/3] fs_enet: add FEC TX buffer alignment workaround for MPC5121

2010-02-17 Thread Anatolij Gustschin
On Wed, 17 Feb 2010 16:17:16 +0100 Eric Dumazet wrote: > Le mercredi 17 février 2010 à 15:55 +0100, Anatolij Gustschin a écrit : ... > > +static struct sk_buff *tx_skb_align_workaround(struct net_device *dev, > > + stru

[net-next-2.6 PATCH v2 3/3] fs_enet: add FEC TX buffer alignment workaround for MPC5121

2010-02-17 Thread Anatolij Gustschin
MPC5121 FEC requeries 4-byte alignmnent for TX data buffers. This patch is a work around that copies misaligned tx packets to an aligned skb before sending. Signed-off-by: John Rigby Signed-off-by: Piotr Ziecik Signed-off-by: Wolfgang Denk Signed-off-by: Anatolij Gustschin --- drivers/net

[net-next-2.6 PATCH v2 2/3] fs_enet: Add support for MPC512x to fs_enet driver

2010-02-17 Thread Anatolij Gustschin
Extend the fs_enet driver to support MPC512x FEC. Enable it with CONFIG_FS_ENET_MPC5121_FEC option. Signed-off-by: John Rigby Signed-off-by: Piotr Ziecik Signed-off-by: Wolfgang Denk Signed-off-by: Anatolij Gustschin --- drivers/net/fs_enet/Kconfig| 10 +-- drivers/net/fs_enet

[net-next-2.6 PATCH v2 1/3] fs_enet: use dev_xxx instead of printk

2010-02-17 Thread Anatolij Gustschin
Signed-off-by: Anatolij Gustschin Acked-by: Grant Likely --- drivers/net/fs_enet/fs_enet-main.c | 39 +-- drivers/net/fs_enet/mac-fcc.c |5 ++- drivers/net/fs_enet/mac-fec.c | 12 -- drivers/net/fs_enet/mac-scc.c |9 +++ 4

[net-next-2.6 PATCH v2 0/3] Support for MPC512x FEC

2010-02-17 Thread Anatolij Gustschin
C5121ADS" board (board rev. 4) with a MPC5121e Rev. 2. - TQM860L and TQM855 boards. Anatolij Gustschin (3): fs_enet: use dev_xxx instead of printk fs_enet: Add support for MPC512x to fs_enet driver fs_enet: add FEC TX buffer alignment workaround for MPC5121 drivers/net/fs_enet/K

[PATCH] powerpc: mpc5121: correct DIU compatible property

2010-02-16 Thread Anatolij Gustschin
The DIU driver should bind against "fsl,mpc5121-diu" directly. Add this compatible property to the match table and fix DTS and platform code accordingly. Signed-off-by: Anatolij Gustschin --- arch/powerpc/boot/dts/mpc5121ads.dts |2 +- arch/powerpc/platforms/512x/mpc512

[PATCH v4 04/11] mtd: Add MPC5121 NAND Flash Controller driver

2010-02-15 Thread Anatolij Gustschin
Adds NAND Flash Controller driver for MPC5121 Revision 2. All device features, except hardware ECC and power management, are supported. Signed-off-by: Piotr Ziecik Signed-off-by: Wolfgang Denk Signed-off-by: Anatolij Gustschin Acked-by: Grant Likely Cc: Cc: Grant Likely Cc: John Rigby

[PATCH v4 02/11] powerpc/mpc5121: Add machine restart support

2010-02-15 Thread Anatolij Gustschin
Add reset module registers representation and machine restart callback for mpc5121 platform. Signed-off-by: Piotr Ziecik Signed-off-by: Wolfgang Denk Signed-off-by: Anatolij Gustschin Cc: Grant Likely Cc: John Rigby --- Changes since v3: - move reset module struct definition to arch

Re: [PATCH v3 02/11] powerpc/mpc5121: Add machine restart support

2010-02-15 Thread Anatolij Gustschin
Hi Wolfram, On Wed, 10 Feb 2010 00:24:06 +0100 Wolfram Sang wrote: > Two comments: ... > > +void mpc512x_restart(char *cmd) > > +{ > > + struct mpc512x_reset_module *rm = reset_module_base; > > Why not using reset_module_base directly? I will fix it in v4 patch. > > @@ -62,4 +95,5 @@ void _

[PATCH v2 3/3] powerpc: mpc5121: enable support for more PSC UARTs

2010-02-09 Thread Anatolij Gustschin
MPC5121 has 12 PSC devices. Enable UART support for all of them by defining the number of max. PSCs depending on selection of PPC_MPC512x platform support. Signed-off-by: Anatolij Gustschin Acked-by: Grant Likely --- No changes since v1. arch/powerpc/include/asm/mpc52xx_psc.h |4 1

[PATCH v2 2/3] powerpc: doc/dts-bindings: document mpc5121 psc uart dts-bindings

2010-02-09 Thread Anatolij Gustschin
Support for MPC5121 PSC UART in the mpc52xx_uart driver added new DTS properties for FSL MPC5121 PSC FIFO Controller. Provide documentation of the new properties and some examples. Signed-off-by: Anatolij Gustschin Acked-by: Grant Likely --- No changes since v1. .../powerpc/dts-bindings/fsl

[PATCH v2 1/3] serial: mpc52xx_uart: re-enable mpc5121 PSC UART support

2010-02-09 Thread Anatolij Gustschin
. Signed-off-by: John Rigby Signed-off-by: Anatolij Gustschin Acked-by: Grant Likely --- Changes since v1: - droped irq_dispose_mapping() entirely as suggested by Grant. - added John's SoB as fifoc init code is based on his code. I forgot to add the SoB in previous patch version,

[PATCH v2 0/3] powerpc: mpc5121: PSC UART support

2010-02-09 Thread Anatolij Gustschin
The support for mpc5121 PSC UART currently only works with serial console. This patch series re-enable PSC UART support for all 12 PSCs and document added DTS bingings. Anatolij Gustschin (3): serial: mpc52xx_uart: re-enable mpc5121 PSC UART support powerpc: doc/dts-bindings: document mpc5121

Re: [net-next-2.6 PATCH 2/3] fs_enet: Add support for MPC512x to fs_enet driver

2010-02-09 Thread Anatolij Gustschin
On Thu, 21 Jan 2010 18:03:11 -0800 (PST) David Miller wrote: > From: Wolfgang Grandegger > Date: Thu, 21 Jan 2010 16:25:38 +0100 > > > Do you see a more clever solution to this problem? > > See how we handle this in the ESP scsi driver. We have a set of > defines for the register offsets, and

<    1   2   3   4   >