Re: [PATCH v2] [NAND] driver extension to support NAND on TQM85xx modules

2008-06-07 Thread David Woodhouse
On Thu, 2008-06-05 at 10:50 +0200, Wolfgang Grandegger wrote:
 [NAND] driver extension to support NAND on TQM85xx modules
 
 This patch extends the FSL UPM NAND driver from Anton Vorontsov to
 support NAND on the TQM85xx modules. Unfortunately, the hardware does
 not support the R/B pins of the NAND chip and therefore the specified
 maximum delay time must used. It therefore re-introduces the chip-delay
 property.
 
 Note: this patch is based on various patches from  Anton Vorontsov posted
   to this list:
 
   http://ozlabs.org/pipermail/linuxppc-dev/2008-April/055587.html.

Do you also want me to apply that patch (on which this one depends)?
It says 'Signed-off-by: not yet' ...

You should probably comment on the removal of the OF_GPIO dependency. It
looks fine, since the relevant functions all get stubbed out and will do
the right thing, but it's worth a comment in the commit text.

-- 
dwmw2

___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev


Re: arch/ppc is going away Real Soon Now

2008-06-07 Thread Stefan Roese
On Saturday 07 June 2008, Peter Korsgaard wrote:
  Sean == Sean MacLennan [EMAIL PROTECTED] writes:

  Sean On Fri, 06 Jun 2008 10:34:28 -0500

  Sean Jon Loeliger [EMAIL PROTECTED] wrote:
   On Fri, 2008-06-06 at 13:19 +0200, Wolfgang Denk wrote:
In message [EMAIL PROTECTED]
   
Becky Bruce wrote:
 On Jun 5, 2008, at 3:30 PM, Scott Wood wrote:
  Olof Johansson wrote:
  On Jun 5, 2008, at 3:12 PM, Arnd Bergmann wrote:
  On Thursday 05 June 2008, Stephen Neuendorffer wrote:
  Grant Likely [EMAIL PROTECTED] wrote:
  Paulus, Can we just kill all of arch/ppc for .27 right now?
 
  Acked-by: Josh Boyer [EMAIL PROTECTED]
  Acked-by: Stephen Neuendorffer
  [EMAIL PROTECTED]
  Acked-by: Arnd Bergmann [EMAIL PROTECTED]
  Acked-by: Olof Johansson [EMAIL PROTECTED]
  Acked-by: Scott Wood [EMAIL PROTECTED]
 Acked-by: Becky Bruce [EMAIL PROTECTED]
Acked-by: Wolfgang Denk [EMAIL PROTECTED]
   Acked-by: Jon Loeliger [EMAIL PROTECTED]
   Acked-by: Sean MacLennan [EMAIL PROTECTED]
 Acked-by: Peter Korsgaard [EMAIL PROTECTED]

Acked-by: Stefan Roese [EMAIL PROTECTED]

Best regards,
Stefan
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev


Re: [rtc-linux] Re: state of GEN_RTC vs rtc subsystem

2008-06-07 Thread David Woodhouse
On Mon, 2008-06-02 at 15:27 -0700, Geoff Levand wrote:
 
 Just to follow up, I found that David Woodhouse has submitted
 a patch which does this:
 
http://patchwork.ozlabs.org/linuxppc/patch?id=18139

It's merged now:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=aabe1885

-- 
dwmw2

___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev


Re: [PATCH v2] [NAND] driver extension to support NAND on TQM85xx modules

2008-06-07 Thread Anton Vorontsov
On Sat, Jun 07, 2008 at 09:01:41AM +0100, David Woodhouse wrote:
 On Thu, 2008-06-05 at 10:50 +0200, Wolfgang Grandegger wrote:
  [NAND] driver extension to support NAND on TQM85xx modules
  
  This patch extends the FSL UPM NAND driver from Anton Vorontsov to
  support NAND on the TQM85xx modules. Unfortunately, the hardware does
  not support the R/B pins of the NAND chip and therefore the specified
  maximum delay time must used. It therefore re-introduces the chip-delay
  property.
  
  Note: this patch is based on various patches from  Anton Vorontsov posted
to this list:
  
http://ozlabs.org/pipermail/linuxppc-dev/2008-April/055587.html.
 
 Do you also want me to apply that patch (on which this one depends)?
 It says 'Signed-off-by: not yet' ...

Well, I have no objections to applying that patch, feel free to add my
sign off. But if OF people will NAK the bindings, I'll have to bother you
once again with the update to that driver. :-/

I've tried to push the bindings several times already, and always there
were [absolutely legitimate] issues. The last RFC is here (along with
other new bindings):

http://ozlabs.org/pipermail/linuxppc-dev/2008-June/057244.html

so far no comments.. Probably a good sign. :-)

-- 
Anton Vorontsov
email: [EMAIL PROTECTED]
irc://irc.freenode.net/bd2
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev


Re: 4xx support in arch/ppc is going away Real Soon Now

2008-06-07 Thread Paul Mackerras
Grant Likely writes:

 BTW Paul, we agreed in your absence on IRC that you should take the
 honors of committing the kill arch/ppc patch and the associated top
 spot in LWN's top committers list... but there's a price.  You may
 very well get mailed the bar tab from the ding-dong-arch-ppc-is-dead
 party at OLS this year. :-}

I'll happily pick up the bar tab, but only if you guys will pay my
airfare (business class of course :) so I can get to OLS and be at
that party. :D

 Oh, and we're going try to create the longest acked-by chain in Linux history.

Cool :)

Paul.
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev


[PATCH -mm] watchdog: mpc8xxx_wdt: fix build

2008-06-07 Thread Anton Vorontsov
  CC  drivers/watchdog/mpc8xxx_wdt.o
drivers/watchdog/mpc8xxx_wdt.c: In function 'mpc8xxx_wdt_ioctl':
drivers/watchdog/mpc8xxx_wdt.c:156: error: 'cmd' undeclared (first use in this 
function)
drivers/watchdog/mpc8xxx_wdt.c:156: error: (Each undeclared identifier is 
reported only once
drivers/watchdog/mpc8xxx_wdt.c:156: error: for each function it appears in.)
drivers/watchdog/mpc8xxx_wdt.c: At top level:
drivers/watchdog/mpc8xxx_wdt.c:176: warning: initialization from incompatible 
pointer type

This patch ought to be folded into
mpc8xxx_wdt-various-renames-mostly-s-mpc83xx-mpc8xxx-g.patch

Signed-off-by: Anton Vorontsov [EMAIL PROTECTED]
---

On Tue, Jun 03, 2008 at 04:48:30PM -0700, Andrew Morton wrote:
 On Mon, 2 Jun 2008 21:37:26 +0400
 Anton Vorontsov [EMAIL PROTECTED] wrote:
 
  No comments on the previous version for two weeks... resending once
  again.
 
 I did all the rework to make the patches apply on top of all the
 pending watchdog work in Wim's tree and in -mm.  I haven't build tested
 it yet.

Well, only one hunk is mis-merged, in
mpc8xxx_wdt-various-renames-mostly-s-mpc83xx-mpc8xxx-g.patch.

Here is the patch to fix it.

I also run-time tested it, everything seem to work great.

p.s. Would be very handy if linux-trees.git would track mmotm snapshots.

 drivers/watchdog/mpc8xxx_wdt.c |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/watchdog/mpc8xxx_wdt.c b/drivers/watchdog/mpc8xxx_wdt.c
index 8b82b91..3c5ed9e 100644
--- a/drivers/watchdog/mpc8xxx_wdt.c
+++ b/drivers/watchdog/mpc8xxx_wdt.c
@@ -142,7 +142,7 @@ static int mpc8xxx_wdt_release(struct inode *inode, struct 
file *file)
return 0;
 }
 
-static long mpc8xxx_wdt_ioctl(struct inode *inode, struct file *file,
+static long mpc8xxx_wdt_ioctl(struct file *file, unsigned int cmd,
unsigned long arg)
 {
void __user *argp = (void __user *)arg;
-- 
1.5.5.1

___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev


[PATCH] powerpc: Get rid of CROSS32{AS,LD,OBJCOPY}

2008-06-07 Thread Segher Boessenkool
CROSS32AS and CROSS32LD are never used (instead, CROSS32CC is used
with proper command line options).

CROSS32OBJCOPY isn't used anymore either, since the wrapper stuff
was added.

Remove these unused variables.

Signed-off-by: Segher Boessenkool [EMAIL PROTECTED]
Cc: Paul Mackerras [EMAIL PROTECTED]
---
 arch/powerpc/Makefile |8 +---
 1 files changed, 1 insertions(+), 7 deletions(-)

diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile
index df59bbe..c7c1de9 100644
--- a/arch/powerpc/Makefile
+++ b/arch/powerpc/Makefile
@@ -18,22 +18,16 @@ HAS_BIARCH  := $(call cc-option-yn, -m32)
 CROSS32_COMPILE ?=
 
 CROSS32CC  := $(CROSS32_COMPILE)gcc
-CROSS32AS  := $(CROSS32_COMPILE)as
-CROSS32LD  := $(CROSS32_COMPILE)ld
 CROSS32AR  := $(CROSS32_COMPILE)ar
-CROSS32OBJCOPY := $(CROSS32_COMPILE)objcopy
 
 ifeq ($(HAS_BIARCH),y)
 ifeq ($(CROSS32_COMPILE),)
 CROSS32CC  := $(CC) -m32
-CROSS32AS  := $(AS) -a32
-CROSS32LD  := $(LD) -m elf32ppc
-CROSS32OBJCOPY := $(OBJCOPY)
 CROSS32AR  := GNUTARGET=elf32-powerpc $(AR)
 endif
 endif
 
-export CROSS32CC CROSS32AS CROSS32LD CROSS32AR CROSS32OBJCOPY
+export CROSS32CC CROSS32AR
 
 ifeq ($(CROSS_COMPILE),)
 KBUILD_DEFCONFIG := $(shell uname -m)_defconfig
-- 
1.5.5.1.g377d9.dirty

___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev