[PATCHv4 2.6.25] i2c: adds support for i2c bus on Freescale CPM1/CPM2 controllers

2008-01-31 Thread Jochen Friedrich
Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- drivers/i2c/busses/Kconfig | 10 + drivers/i2c/busses/Makefile |1 + drivers/i2c/busses/i2c-cpm.c | 759 ++ 3 files changed, 770 insertions(+), 0 deletions(-) create mode 100644 driver

Re: [PATCHv4 2.6.25] i2c: adds support for i2c bus on Freescale CPM1/CPM2 controllers

2008-02-22 Thread Jochen Friedrich
Hi Jean, >> +/* >> + * Wait for patch from Jon Smirl >> + * #include "powerpc-common.h" >> + */ > > It doesn't make sense to merge this comment upstream. I know you don't like the patch from Jon Smirl and you also explained your reasons. Fortunately, I2c no longer uses numeric device IDs but na

Re: [PATCHv4 2.6.25] i2c: adds support for i2c bus on Freescale CPM1/CPM2 controllers

2008-02-24 Thread Jochen Friedrich
Hi Olof, >> 2. record the I2c name in the dts tree, either as seperate tag (like >> linux,i2c-name="") >>or as additional compatible entry (like compatible="...", >> "linux,"). > > I have to say no on this one. The device tree is not supposed to know > about how linux uses devices, there ar

Re: [PATCHv4 2.6.25] i2c: adds support for i2c bus on Freescale CPM1/CPM2 controllers

2008-02-25 Thread Jochen Friedrich
Hi Olof, > And even if you DO decide to go that route, guess what? You need a > translation table just as with (3) anyway! True. 3. use a glue layer with a translation map. >>> In my opinion this is an OK solution since the same information has to >>> be added somewhere already anyway -- ei

[PATCH] Re: List of recent (2.4.0 to 2.4.2-ac18) CONFIG optionsneeding Configure.help text.

2001-04-16 Thread Jochen Friedrich
Hi Steven, On Sat, 10 Mar 2001, Steven Cole wrote: > If you see any of _your_ options in the list below, please consider making > a patch for Configure.help for your CONFIG option. > CONFIG_TMSISA --- Configure.help.old Fri Feb 16 21:15:52 2001 +++ Configure.help Mon Apr 16 17:03:39 2001

2.4.0 link error with modular PCMCIA

2001-01-06 Thread Jochen Friedrich
Hi, problem is that CONFIG_PCMCIA_NETCARD=y, although all drivers are compiled as modules, so there's no drivers/net/pcmcia/pcmcia_net.o... Cheers, Jochen make[1]: Leaving directory `/usr/src/linux/arch/i386/lib' ld -m elf_i386 -T /usr/src/linux/arch/i386/vmlinux.lds -e stext arch/i386/kernel/h

Linux Patch 2.4.2 for AVM A1 PCMCIA

2001-03-15 Thread Jochen Friedrich
Hello, this patch includes the ISDN driver for AVM A1 PCMCIA from Carsten Paeth into the linux kernel sources. Without the patch, it might be confusing for a user to be able to select AVM A1 PCMCIA support for the kernel, but it still doesn't work (because the PCMCIA part is missing). Cheers, Jo

PATCH 2.6: tms380tr update: move to DMA API

2005-07-23 Thread Jochen Friedrich
longer works, as the firmware loader now calls get_kobj_path_length() and the kernel promptly oopses, as the home-grown device doesn't have a parent. Of course, this doesn't happen with a "real" device which has its bus (or pseudo bus in the case of platform) as parent. Signed-off-

Re: Wireless support

2005-08-09 Thread Jochen Friedrich
Adrian Bunk wrote: >I see at least two disadvantages: > >First, it doesn't encourage hardware manufacturers to support open >source development. > >Linux has only a small market share, but it's slowly growing. > >Linux driver support does sometimes influence the decision which >hardware to buy.

Re: Wireless support

2005-08-09 Thread Jochen Friedrich
Rafael J. Wysocki wrote: >On Tuesday, 9 of August 2005 15:52, Kyle Moffett wrote: > > >>On Aug 9, 2005, at 05:09:55, Jochen Friedrich wrote: >> >> >>>Third, both ndiswrapper and binary-only drivers only work on one >>>platform. >>> &g

[PATCH 2.6-mm] tms380tr: remove prototypes in Space.c

2005-07-30 Thread Jochen Friedrich
Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> Cleanup: remove two prototypes. --- commit 12dd61e649920ddc5164971e36ed2a6aeb300708 tree 2558f9767b0fa94b31bd6fe8de67cb17cab7e8df parent 6407300cd8c7368f6bfcaa476e4dd50ce7421ab2 author Jochen Friedrich <[EMAIL PROTECTED]> Fri, 29 Ju

[PATCH 2.6-mm] tms380tr: new MCA API for madgemc.

2005-07-30 Thread Jochen Friedrich
Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> Convert madgemc to new MCA API. Now that all tms380 devices have a valid struct device with dma_mask, remove dmalimit from tmsdev_init(). Kconfig: depend tms380tr and madgemc on MCA. abyss.c, proteon.c, skisa.c, tmspci.c, tms380tr.h:

Re: [PATCHv3] powerpc: DBox2 Board Support

2008-01-03 Thread Jochen Friedrich
Hi David, +/ { + model = "unknown,dbox2"; // boot wrapper fills in correct manufacturer Probably better just to leave model out of the dts and let the bootwrapper add it. Unfortunately, dtc requires a model: $ dtc arch/powerpc/boot/dts/dbox2.dts DTC: dts->dts on file "arch/powerpc/bo

[PATCH/RFC] [POWERPC] Add fixed-phy support for fs_enet

2007-12-12 Thread Jochen Friedrich
This patch adds support to use the fixed-link property of an ethernet node to fs_enet for the CONFIG_PPC_CPM_NEW_BINDING case. Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- drivers/net/fs_enet/fs_enet-main.c |9 - 1 files changed, 8 insertions(+), 1 deletions(-) diff

Re: [PATCH/RFCv2] [POWERPC] Add support for freescale watchdog to CPM serial driver.

2008-01-18 Thread Jochen Friedrich
Hi Kumar, Ok now that makes sense, thanks So I'll ask, what serial input are you waiting for from the boot wrapper? It's the editor for the kernel command line. Thanks, Jochen -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTE

Re: [PATCH/RFCv2] [POWERPC] Add support for freescale watchdog to CPM serial driver.

2008-01-18 Thread Jochen Friedrich
Scott Wood schrieb: +void watchdog_poke(void) +{ +if (wdt) { +out_be16(&wdt->swsrr, 0x556c); +out_be16(&wdt->swsrr, 0xaa39); +} +} This should be a function pointer, to allow for other watchdog types. Thanks for the comments. Stephen Rothwell also asked if the filenam

Re: [PATCH/RFCv2] [POWERPC] Add support for freescale watchdog to CPM serial driver.

2008-01-18 Thread Jochen Friedrich
Hi Alan, If a freescale watchdog device node is present, reset the watchdog while waiting for serial input. Why ? We normally rely on user space for watchdog management as only the fact user space is behaving really proves a box is happy ? This is in the boot wrapper code, not in the linux k

[PATCH/RFCv3] [POWERPC] Add support for freescale watchdog to CPM serial driver.

2008-01-18 Thread Jochen Friedrich
If a freescale watchdog device node is present, reset the watchdog while waiting for serial input. Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- arch/powerpc/boot/Makefile |2 +- arch/powerpc/boot/cpm-serial.c |6 +++ arch/powerpc/boot/cuboot-8xx.c |1 + arch/powerp

Re: [PATCHv2] i2c: adds support for i2c bus on Frescale CPM1/CPM2 controllers

2008-01-23 Thread Jochen Friedrich
Hi Jean, Do you have an updated patch addressing Stephen's comment? Note: you'd rather send updates of this patch to the i2c list rather than LKML. I'm currently looking at that last patches from Jon and try to make this driver fit in there (+ the class override stuff). Note: will do. I just

[PATCHv2 0/8] [POWERPC] 8xx cleanups

2008-01-23 Thread Jochen Friedrich
Hi, this is a series against paulus for-2.6.25 tree to clean up various 8xx related stuff. The series can be pulled from git://git.bocc.de/dbox2.git cleanup. Patch 6 has been modified to remove the #ifdefs as suggested by Arndt Bergmann. Patch 8 is a new one. [POWERPC] Remove unused m8xx_cpm_ho

[PATCHv2 1/8] [POWERPC] Remove unused m8xx_cpm_hostalloc/free/dump()

2008-01-23 Thread Jochen Friedrich
m8xx_cpm_hostalloc is still defined in commproc.c, but no users are left in the kernel tree. m8xx_cpm_hostfree and m8xx_cpm_hostdump are only defined in the headers. Remove this dead code. Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/commproc.c

[PATCHv2 3/8] [POWERPC] Remove unneeded and misspelled prototype m8xx_calibrate_decr

2008-01-23 Thread Jochen Friedrich
m8xx_calibrate_decr seems to be a misspelled prototype for mpc8xx_calibrate_decr. As it's not needed anyways, just remove it. Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- arch/powerpc/platforms/8xx/m8xx_setup.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) d

[PATCHv2 4/8] [POWERPC] Remove declaration of m8xx_pic_init.

2008-01-23 Thread Jochen Friedrich
m8xx_pic_init is declared in ppc8xx_pic.h but defined nowhere in the ppc tree. Remove it. Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- arch/ppc/syslib/ppc8xx_pic.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/arch/ppc/syslib/ppc8xx_pic.h b/arch/ppc/

[PATCHv2 2/8] [POWERPC] Rename m8xx_pic_init to mpc8xx_pics_init

2008-01-23 Thread Jochen Friedrich
m8xx_pic_init calls both mpc8xx_pic_init and cpm_pic_init. Renaming the function to use the same name space as the rest of the mpc8xx specific funtions and to be more meaningful. Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- arch/powerpc/platforms/8xx/ep88xc.c |2 +-

[PATCHv2 5/8] [POWERPC] Remove sysdev/commproc.h

2008-01-23 Thread Jochen Friedrich
Move cpm1 specific prototypes to asm/commproc.h and mpc8xx specific prototypes to asm/mpc8xx.h. Adjust includes accordingly. Remove now unneeded sysdev/commproc.h. Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- arch/powerpc/platforms/8xx/ep88xc.c |3 +-- arch/p

[PATCHv2 6/8] [POWERPC] Get rid of conditional includes of board specific setup

2008-01-23 Thread Jochen Friedrich
Directly include mpc885ads.h from mpc885ads_setup.c. Now we can get rid of the arch dependent includes in mpc8xx.h. Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- arch/powerpc/platforms/8xx/mpc885ads_setup.c |2 + include/asm-powerpc/mpc8xx.h

[PATCHv2 7/8] [POWERPC] Rename commproc to cpm1 and cpm2_common.c to cpm2.c

2008-01-23 Thread Jochen Friedrich
Rename commproc.[ch] to cpm1.[ch] to be more consistent with cpm2. Also rename cpm2_common.c to cpm2.c as suggested by Scott Wood. Adjust the includes accordingly. Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- arch/powerpc/platforms/8xx/ep88xc.c |2 +- arch/p

[PATCHv2 8/8] [POWERPC] Move definition of buffer descriptor to cpm.h

2008-01-23 Thread Jochen Friedrich
Buffer descriptors are used by both CPM1 and CPM2. Move the definitions from the cpm dependent include file to common cpm.h Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- include/asm-powerpc/cpm.h | 73 include/asm-powerpc/cpm1.h

Re: [PATCHv2 5/8] [POWERPC] Remove sysdev/commproc.h

2008-01-23 Thread Jochen Friedrich
Hi Kumar, Do we really need the prototypes you moved into asm/mpc8xx.h here? can they just live in platforms/8xx/8xx.h or something like that? At least drivers/pcmcia/m8xx_pcmcia.c uses the symbol m8xx_pcmcia_ops which is conditionally defined in platforms/8xx/m8xx_setup.c. However, this driv

[PATCHv3 0/7] [POWERPC] 8xx cleanups

2008-01-24 Thread Jochen Friedrich
Hi, this is a series against paulus for-2.6.25 tree to clean up various 8xx related stuff. The series can be pulled from git://git.bocc.de/dbox2.git cleanup. Old patches 2+4 have been merged into Patch 2. Patch 4 has been modified to move the prototypes into a new platforms/8xx/mpc8xx.h. Patch

[PATCHv3 1/7] [POWERPC] Remove unused m8xx_cpm_hostalloc/free/dump()

2008-01-24 Thread Jochen Friedrich
m8xx_cpm_hostalloc is still defined in commproc.c, but no users are left in the kernel tree. m8xx_cpm_hostfree and m8xx_cpm_hostdump are only defined in the headers. Remove this dead code. Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/commproc.c

[PATCHv3 2/7] [POWERPC] Rename m8xx_pic_init to mpc8xx_pics_init

2008-01-24 Thread Jochen Friedrich
m8xx_pic_init calls both mpc8xx_pic_init and cpm_pic_init. Renaming the function to use the same name space as the rest of the mpc8xx specific funtions and to be more meaningful. m8xx_pic_init is declared in ppc8xx_pic.h but defined nowhere in the ppc tree. Remove it. Signed-off-by: Jochen

[PATCHv3 3/7] [POWERPC] Remove unneeded and misspelled prototype m8xx_calibrate_decr

2008-01-24 Thread Jochen Friedrich
m8xx_calibrate_decr seems to be a misspelled prototype for mpc8xx_calibrate_decr. As it's not needed anyways, just remove it. Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- arch/powerpc/platforms/8xx/m8xx_setup.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) d

[PATCHv3 5/7] [POWERPC] Get rid of conditional includes of board specific setup

2008-01-24 Thread Jochen Friedrich
Directly include mpc885ads.h from mpc885ads_setup.c. Now we can get rid of the arch dependent includes in mpc8xx.h. Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- arch/powerpc/platforms/8xx/m8xx_setup.c |3 +-- arch/powerpc/platforms/8xx/mpc885ads_setup.c |1 + inclu

[PATCHv3 4/7] [POWERPC] Remove sysdev/commproc.h

2008-01-24 Thread Jochen Friedrich
Move cpm1 specific prototypes to asm/commproc.h and mpc8xx specific prototypes to asm/mpc8xx.h. Adjust includes accordingly. Remove now unneeded sysdev/commproc.h. Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- arch/powerpc/platforms/8xx/ep88xc.c |2 +- arch/p

[PATCHv3 6/7] [POWERPC] Rename commproc to cpm1 and cpm2_common.c to cpm2.c

2008-01-24 Thread Jochen Friedrich
Rename commproc.[ch] to cpm1.[ch] to be more consistent with cpm2. Also rename cpm2_common.c to cpm2.c as suggested by Scott Wood. Adjust the includes accordingly. Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- arch/powerpc/platforms/8xx/ep88xc.c |1 + arch/p

[PATCHv3 7/7] [POWERPC] Move definition of buffer descriptor to cpm.h

2008-01-24 Thread Jochen Friedrich
Buffer descriptors are used by both CPM1 and CPM2. Move the definitions from the cpm dependent include file to common cpm.h Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- include/asm-powerpc/cpm.h | 73 include/asm-powerpc/cpm1.h

[PATCH POWERPC] i2c: adds support for i2c bus on Frescale CPM1/CPM2 controllers

2007-12-21 Thread Jochen Friedrich
driver. Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/mpc866ads.dts | 10 + arch/powerpc/boot/dts/mpc885ads.dts | 10 + arch/powerpc/platforms/8xx/mpc885ads_setup.c |5 + drivers/i2c/busses/Kconfig | 10 + drivers/i2c/bus

Re: [PATCH POWERPC] i2c: adds support for i2c bus on Frescale CPM1/CPM2 controllers

2007-12-22 Thread Jochen Friedrich
Hi Vitaly, I had an attempt a while ago to do this but haven't had enough time to get it completed, so I am glad to see it finally picked up. There was some sort of discussion that time, you seem to have some of those points addressed but something not, please check: http://lkml.org/lkml/2007

[PATCH] powerpc: DBox2 Board Support

2007-12-23 Thread Jochen Friedrich
This patch adds device tree source, default config and setup code for DBox2 devices. Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/dbox2.dts | 263 arch/powerpc/configs/dbox2_defconfig | 1042 ++ arch/p

Re: [PATCH] powerpc: DBox2 Board Support

2007-12-23 Thread Jochen Friedrich
Jochen Friedrich schrieb: This patch adds device tree source, default config and setup code for DBox2 devices. please ignore this posting. This patch doesn't compile cleanly, i'll repost a fixed patch. Thanks, Jochen -- To unsubscribe from this list: send the line "unsubscri

[PATCHv2] powerpc: DBox2 Board Support

2007-12-23 Thread Jochen Friedrich
This patch adds device tree source, default config and setup code for DBox2 devices. Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/dbox2.dts | 263 arch/powerpc/configs/dbox2_defconfig | 1042 ++ arch/p

[PATCH] i2c: adds support for i2c bus on Frescale CPM1/CPM2 controllers

2007-12-23 Thread Jochen Friedrich
driver. Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/mpc8272ads.dts | 10 + arch/powerpc/boot/dts/mpc866ads.dts | 10 + arch/powerpc/boot/dts/mpc885ads.dts | 10 + arch/powerpc/platforms/8xx/mpc885ads_setup.c |5 + drivers/i2c/bu

Re: [PATCHv2] powerpc: DBox2 Board Support

2007-12-26 Thread Jochen Friedrich
Hi Arnd, This patch adds device tree source, default config and setup code for DBox2 devices. ia > Cool stuff. I used to have one of these boxes myself, maybe I should get one again when it's hitting mainline. Is this already a complete port, or do you also need some device drivers or boot

[PATCH/RFC] Add support for PowerQUICC watchdog

2007-12-28 Thread Jochen Friedrich
t the watchdog in early board setup. Later, a kernel timer is used to reset the watchdog until the watchdog driver is opened from user space. This replaces mpc8xx_wdt.c (only usable for ARCH=ppc) and mpc83xx_wdt.c (untested on this platform). Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]&g

[PATCH/RFC] Add support for freescale watchdog to CPM serial driver.

2007-12-28 Thread Jochen Friedrich
If a freescale watchdog device node is present, reset the watchdog while waiting for serial input. Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- arch/powerpc/boot/cpm-serial.c | 33 - 1 files changed, 32 insertions(+), 1 deletions(-) diff --git

[PATCHv3] powerpc: DBox2 Board Support

2007-12-28 Thread Jochen Friedrich
This patch adds device tree source, default config and setup code for DBox2 devices. Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- arch/powerpc/boot/Makefile |4 +- arch/powerpc/boot/cuboot-dbox2.c | 280 arch/powerpc/boot/dts/dbox2.dts

[PATCHv2] i2c: adds support for i2c bus on Frescale CPM1/CPM2 controllers

2008-01-02 Thread Jochen Friedrich
driver. Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/mpc8272ads.dts | 10 + arch/powerpc/boot/dts/mpc866ads.dts | 10 + arch/powerpc/boot/dts/mpc885ads.dts | 10 + arch/powerpc/platforms/8xx/mpc885ads_setup.c |5 + drivers/i2c/bu

Re: [PATCH 1/3] [NET] phy/fixed.c: rework to not duplicate PHY layer functionality

2007-12-01 Thread Jochen Friedrich
Hi Vitaly, With that patch fixed.c now fully emulates MDIO bus, thus no need to duplicate PHY layer functionality. That, in turn, drastically simplifies the code, and drops down line count. As an additional bonus, now there is no need to register MDIO bus for each PHY, all emulated PHYs placed

[PATCH try2] powerpc: Add support for PORTA and PORTB odr registers

2007-11-20 Thread Jochen Friedrich
PORTA and PORTB have odr registers, as well. However, the PORTB odr register is only 16bit. Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/commproc.c | 19 --- 1 files changed, 16 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/

[PATCH] powerpc: Change _tlbie arguments to reflect new API

2007-11-20 Thread Jochen Friedrich
A new pid argument has been added to _tlbie for 4xx platforms. Add this argument to the 8xx path in mem.c, as well. As 8xx does not need th epid information, this argument can always be 0. Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> CC arch/powerpc/mm/mem.o arch/powerpc/mm

Re: [i2c] [PATCH 0/5] Version 17, series to add device tree naming to i2c

2008-01-11 Thread Jochen Friedrich
Hi Jon, >>> The following series implements standard linux module aliasing for i2c >>> modules on arch=powerpc. It then converts the mpc i2c driver from being a >>> platform driver to an open firmware one. I2C device names are picked up >>> from the device tree. Module aliasing is used to trans

[PATCH/RFCv2] wdt: Add support for PowerQUICC watchdog

2008-01-17 Thread Jochen Friedrich
t the watchdog in early board setup. Later, a kernel timer is used to reset the watchdog until the watchdog driver is opened from user space. This replaces mpc8xx_wdt.c (only usable for ARCH=ppc) and mpc83xx_wdt.c (untested on this platform). Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]&g

[PATCH/RFCv2] [POWERPC] Add support for freescale watchdog to CPM serial driver.

2008-01-17 Thread Jochen Friedrich
If a freescale watchdog device node is present, reset the watchdog while waiting for serial input. Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- arch/powerpc/boot/Makefile |2 +- arch/powerpc/boot/cpm-serial.c |6 arch/powerpc/boot/cuboot-8xx.c |1 + arch/powerp

Re: [PATCH/RFCv2] wdt: Add support for PowerQUICC watchdog

2008-01-17 Thread Jochen Friedrich
Hi Kumar, Why are you commenting on mpc83xx_wdt with respect to pq1_wdt? Also, is this driver just for PQ1 platforms or PQ1 & PQ2? If its just pq1 we should probably call it pq1_wdt* It should be for pq1, pq2 and pq2pro. However, i only have the possibility to test this on pq1. arch/power

Re: [PATCH] dio: fix kernel-doc notation

2007-12-14 Thread Jochen Friedrich
> From: Randy Dunlap <[EMAIL PROTECTED]> > > Fix kernel-doc in drivers/dio/ so that it is formatted correctly > and the parameter names match the function parameters. > > Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]> Acked-By: Jochen Friedrich <[EMAIL PROTEC

Re: [PATCH/RFC] [POWERPC] Add fixed-phy support for fs_enet

2007-12-18 Thread Jochen Friedrich
Hi Jeff, > ACK, pass this through paulus? Yes, that's fine for me. Thanks, Jochen -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at ht

[PATCH] [POWERPC] Add fixed-phy support for fs_enet

2007-12-18 Thread Jochen Friedrich
This patch adds support to use the fixed-link property of an ethernet node to fs_enet for the CONFIG_PPC_CPM_NEW_BINDING case. Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> Acked-by: Jeff Garzik <[EMAIL PROTECTED]> Acked-by: Vitali Bordug <[EMAIL PROTECTED]> --- drivers/n

Re: [PATCHv3 6/7] [POWERPC] Rename commproc to cpm1 and cpm2_common.c to cpm2.c

2008-01-25 Thread Jochen Friedrich
Hi Kumar, >> drivers/net/fec.c |8 >> drivers/net/fec.h |2 +- > > asm-m68knommu/commproc.h ?? these are only built on coldfire. Yes. Here I just removed dead code (commented out using #ifdef on coldfire). Apparently the dri

Re: [PATCH] [NET]: Remove PowerPC code from fec.c

2008-01-25 Thread Jochen Friedrich
Hi Frans, > Jochen Friedrich wrote: >> +++ b/drivers/net/fec.c >> @@ -23,6 +23,9 @@ >> * >> * Bug fixes and cleanup by Philippe De Muyter ([EMAIL PROTECTED]) >> * Copyright (c) 2004-2006 Macq Electronique SA. >> + * >> + * This driver is

[PATCH] [NET]: Remove PowerPC code from fec.c

2008-01-25 Thread Jochen Friedrich
fec.c is only used on M68k Coldfire CPUs. Remove leftover PowerPC code from this driver. Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- drivers/net/fec.c | 136 +--- 1 files changed, 3 insertions(+), 133 deletions(-) diff --git a/d

[PATCH for-2.6.25] [POWERPC] Rename commproc to cpm1 and cpm2_common.c to cpm2.c

2008-01-25 Thread Jochen Friedrich
Rename commproc.[ch] to cpm1.[ch] to be more consistent with cpm2. Also rename cpm2_common.c to cpm2.c as suggested by Scott Wood. Adjust the includes accordingly. Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- arch/powerpc/platforms/8xx/ep88xc.c |1 + arch/p

[PATCHv3 2.6.25] i2c: adds support for i2c bus on Freescale CPM1/CPM2 controllers

2008-01-25 Thread Jochen Friedrich
Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/mpc8272ads.dts | 10 + arch/powerpc/boot/dts/mpc866ads.dts | 10 + arch/powerpc/boot/dts/mpc885ads.dts | 10 + arch/powerpc/platforms/8xx/mpc885ads_setup.c |5 + drivers/i2c/bu

Re: [PATCHv3 2.6.25] i2c: adds support for i2c bus on Freescale CPM1/CPM2 controllers

2008-01-28 Thread Jochen Friedrich
Hi Bryan, >> + >> + /* register new adapter to i2c module... */ >> + >> + result = i2c_add_adapter(&cpm->adap); > > As I was pointed before, please use the new style i2c driver interface: > http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=991dee591a99d035796

[PATCH] powerpc: Add EXPORT_SYMBOL for symbols required by fs_enet and cpm_uart

2007-11-11 Thread Jochen Friedrich
ned! ERROR: "cpmp" [drivers/net/fs_enet/fs_enet.ko] undefined! make[1]: *** [__modpost] Error 1 make: *** [modules] Error 2 Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/commproc.c|3 +++ arch/powerpc/sysdev/cpm2_common.c |3 +++ 2 files c

[PATCH] powerpc: Add support for PORTA sor and PORTB odr registers

2007-11-11 Thread Jochen Friedrich
PORTA has an so register and PORTB had an odr register, as well. However, the PORTB odr register is only 16bit. Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/commproc.c |9 - 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/arch/p

[PATCH] powerpc: Add support for PORTA and PORTB odr registers

2007-11-13 Thread Jochen Friedrich
PORTA and PORTB have odr registers, as well. However, the PORTB odr register is only 16bit. Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/commproc.c | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/sysdev/commpr

[PATCH] powerpc: Fix fs_enet module build

2007-11-13 Thread Jochen Friedrich
. Building modules, stage 2. MODPOST 5 modules ERROR: "fs_scc_ops" [drivers/net/fs_enet/fs_enet.ko] undefined! make[1]: *** [__modpost] Error 1 make: *** [modules] Error 2 Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- This patch replaces powerpc-fs_enet-select-phyl

Re: [PATCH] powerpc: Fix fs_enet module build

2007-11-14 Thread Jochen Friedrich
Hi David, > This is truly ugly and creates an unnecessarily hard to > maintain and complex driver. > > Please find a way to fix this for real, so that the > PPC_CPM_NEW_BINDING ifdef is not necessary at all and > things get built modular or not naturally as we handle > things for other cases like

[PATCH] ppc32/8xx: Fix r3 trashing due to 8MB TLB page instantiation

2007-08-28 Thread Jochen Friedrich
patch has been applied in c51e078f82096a7d35ac8ec2416272e843a0e1c4. This patch adds the rest of the fix. Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- arch/ppc/kernel/head_8xx.S |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) This can be pulled from git://git.bocc.de/d

Re: [PATCH] ppc32/8xx: Fix r3 trashing due to 8MB TLB page instantiation

2007-08-30 Thread Jochen Friedrich
Hi Kumar, > do we need this in arch/powerpc as well? No. At least not until these patches are applied to powerpc, as well: 8f069b1a90bd97bf6d59a02ecabf0173d9175609 [PATCH] powerpc/8xx: Use 8MB D-TLB's for kernel static mapping faults 3ea4807de7b2c5c903380ba2c2e7150bee942f42 [PATCH] powerpc/8xx:

Re: [i2c] [PATCH take2] [POWERPC] i2c: adds support for i2c bus on 8xx

2007-10-23 Thread Jochen Friedrich
Hi Jean, > On Wed, 17 Oct 2007 21:20:37 +0200, Jochen Friedrich wrote: >>>> + /* Select an arbitrary address. Just make sure it is unique. >>>> + */ >>>> + out_8(&i2c->i2c_i2add, 0xfe); >>>> >>> It's a 7-bit addr

[PATCH take2] [POWERPC] i2c: adds support for i2c bus on 8xx

2007-10-15 Thread Jochen Friedrich
2c-8xx-ppc.c for pre-OF (arch ppc) devices. Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- This can be pulled from git://git.bocc.de/dbox2.git i2c arch/powerpc/boot/dts/mpc885ads.dts |9 + arch/powerpc/platforms/8xx/mpc885ads_setup.c |6 + arch/powerpc/sysd

Re: [PATCH take2] [POWERPC] i2c: adds support for i2c bus on 8xx

2007-10-17 Thread Jochen Friedrich
Hi Scott, Do we really need to be adding features for arch/ppc at this point? It'll be going away in June. arch/ppc-specific things outside of arch/ppc itself will also be more likely to be missed in the removal. Also, please post inline rather than as an attachment; attachments are harder to

[PATCH0/2] [POWERPC] Two bug fixes for 2.6.24

2007-11-03 Thread Jochen Friedrich
Here is a series fixing some bugs for 8xx powerpc CPUs. 1. [POWERPC] Kill non-existant symbols from ksyms and commproc.h 2. [POWERPC] fs_enet: select PHYLIB as the driver needs it This series can be pulled from git://git.bocc.de/dbox2.git for-2.6.24 Thanks, Jochen - To unsubscribe from this l

[PATCH1/2] [POWERPC] Kill non-existant symbols from ksyms and commproc.h

2007-11-03 Thread Jochen Friedrich
/kernel/built-in.o:(__ksymtab+0x198): undefined reference to `cpm_free_handler' arch/powerpc/kernel/built-in.o:(__ksymtab+0x1a0): undefined reference to `cpm_install_handler' make: *** [.tmp_vmlinux1] Error 1 Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- arch/powerpc

[PATCH2/2] [POWERPC] fs_enet: select PHYLIB as the driver needs it.

2007-11-03 Thread Jochen Friedrich
Add a select PHYLIB to config FS_ENET as the driver uses functions of libphy. LD .tmp_vmlinux1 drivers/built-in.o: In function `fs_ioctl': drivers/net/fs_enet/fs_enet-main.c:952: undefined reference to `phy_mii_ioctl' [...] make: *** [.tmp_vmlinux1] Error 1 Signed-off-by: Jochen

[PATCH] [POWERPC] Fix typo #ifdef -> #ifndef

2007-11-03 Thread Jochen Friedrich
fpi->cp_command should be overwritten only if CONFIG_PPC_CPM_NEW_BINDING is NOT set. Otherwise it is already set from the device tree. Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- This can be pulled from git://git.bocc.de/dbox2.git for-2.6.24 drivers/net/fs_enet/mac-scc

[PATCH] [POWERPC] Fix fs_enet module build

2007-11-03 Thread Jochen Friedrich
* [modules] Error 2 Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- This can be pulled from git://git.bocc.de/dbox2.git for-2.6.24 drivers/net/fs_enet/Makefile | 12 ++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/drivers/net/fs_enet/Makefile b/drivers/net/

Re: ANNOUNCE: SFLC helps developers assess ar5k (enabling free Atheros HAL)

2006-11-16 Thread Jochen Friedrich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Michael, >> I don't think anyone likes the HAL-based architecture. I don't think >> we will accept a HAL-based driver into the upstream kernel. > > Yeah, wanted to hear that. ;) +1 At least, this way we have a chance to get USB working as well

Re: [PATCH4/4] [POWERPC] Fix cpm_uart driver

2007-09-24 Thread Jochen Friedrich
Scott Wood schrieb: Jochen Friedrich wrote: In cpm_uart_core, functions cpm_uart_init_bd and cpm_uart_init_scc an offset into DP RAM is calculated by substracting a physical memory constant from an virtual address. This patch fixes the problem by converting the virtual address into a physical

[PATCH#2 0/4] Various bug fixes

2007-09-24 Thread Jochen Friedrich
Here is a series fixing some bugs for 8xx powerpc CPUs. 1. [POWERPC] Fix copy'n'paste typo in commproc.c 2. [PPC] Fix cpm_dpram_addr returning phys mem instead of virt mem 3. [PPC] Compile fix for 8xx CPM Ehernet driver 4. [POWERPC] Fix cpm_uart driver (updated) This series can be pulled from gi

[PATCH#2 1/4] [POWERPC] Fix copy'n'paste typo in commproc.c

2007-09-24 Thread Jochen Friedrich
here arch/powerpc/sysdev/commproc.c:398: error: redefinition of '__ksymtab_cpm_dpram_addr' arch/powerpc/sysdev/commproc.c:392: error: previous definition of '__ksymtab_cpm_dpram_addr' was here make[1]: *** [arch/powerpc/sysdev/commproc.o] Error 1 make: *** [arch/powerpc/sysdev

[PATCH#2 2/4] [PPC] Fix cpm_dpram_addr returning phys mem instead of virt mem

2007-09-24 Thread Jochen Friedrich
console to fail. This patch fixes the problem (copied from the powerpc tree). Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- arch/ppc/8xx_io/commproc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/ppc/8xx_io/commproc.c b/arch/ppc/8xx_io/commproc.c index 7

[PATCH#2 3/4] [PPC] Compile fix for 8xx CPM Ehernet driver

2007-09-24 Thread Jochen Friedrich
8xx_io/enet.o] Error 1 make: *** [arch/ppc/8xx_io] Error 2 Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- arch/ppc/8xx_io/enet.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/ppc/8xx_io/enet.c b/arch/ppc/8xx_io/enet.c index 703d47e..eace3bc 100644 --

[PATCH#2 4/4] [POWERPC] Fix cpm_uart driver

2007-09-24 Thread Jochen Friedrich
_addr as well, like in cpm_uart_cpm2.h. Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- drivers/serial/cpm_uart/cpm_uart_cpm1.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/serial/cpm_uart/cpm_uart_cpm1.h b/drivers/serial/cpm_uart/cpm_uart_cpm1.h in

Re: [PATCH4/4] [POWERPC] Fix cpm_uart driver

2007-09-25 Thread Jochen Friedrich
Hi Scott, Yikes. Please don't change cpm_uart_cpm1.h, as it's correct for arch/powerpc, and there are numerous other places that assume cpmp is virtual (including in the very same function that assigns it a physical address). I'm still not convinced cpm_uart_cpm1.h is correct: pinfo->rx_bd_

[PATCH0/4] Various bug fixes

2007-09-23 Thread Jochen Friedrich
Here is a series fixing some bugs for 8xx powerpc CPUs. 1. [POWERPC] Fix copy'n'paste typo in commproc.c 2. [PPC] Fix cpm_dpram_addr returning phys mem instead of virt mem 3. [PPC] Compile fix for 8xx CPM Ehernet driver 4. [POWERPC] Fix cpm_uart driver This series can be pulled from git://git.bo

[PATCH1/4] [POWERPC] Fix copy'n'paste typo in commproc.c

2007-09-23 Thread Jochen Friedrich
#x27; was here arch/powerpc/sysdev/commproc.c:398: error: redefinition of '__ksymtab_cpm_dpram_addr' arch/powerpc/sysdev/commproc.c:392: error: previous definition of '__ksymtab_cpm_dpram_addr' was here make[1]: *** [arch/powerpc/sysdev/commproc.o] Error 1 make: *** [arch

[PATCH2/4] [PPC] Fix cpm_dpram_addr returning phys mem instead of virt mem

2007-09-23 Thread Jochen Friedrich
console to fail. This patch fixes the problem (copied from the powerpc tree). Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- arch/ppc/8xx_io/commproc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/ppc/8xx_io/commproc.c b/arch/ppc/8xx_io/commproc.c index 7

[PATCH3/4] [PPC] Compile fix for 8xx CPM Ehernet driver

2007-09-23 Thread Jochen Friedrich
8xx_io/enet.o] Error 1 make: *** [arch/ppc/8xx_io] Error 2 Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- arch/ppc/8xx_io/enet.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/ppc/8xx_io/enet.c b/arch/ppc/8xx_io/enet.c index 703d47e..eace3bc 100644 --

[PATCH4/4] [POWERPC] Fix cpm_uart driver

2007-09-23 Thread Jochen Friedrich
In cpm_uart_core, functions cpm_uart_init_bd and cpm_uart_init_scc an offset into DP RAM is calculated by substracting a physical memory constant from an virtual address. This patch fixes the problem by converting the virtual address into a physical first. Signed-off-by: Jochen Friedrich

Re: [PATCH] i2c: remove casting dma_alloc

2019-07-02 Thread Jochen Friedrich
From: Vasyl Generated by: alloc_cast.cocci Signed-off-by: Vasyl Acked-by: Jochen Friedrich --- drivers/i2c/busses/i2c-cpm.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-cpm.c b/drivers/i2c/busses/i2c-cpm.c index 187900594e3d