Re: [patch 2.6.27-rc7] i2c: smbalert# support

2008-11-21 Thread Jean Delvare
Hi Trent. On Thu, 20 Nov 2008 14:00:21 -0800 (PST), Trent Piepho wrote: On Wed, 19 Nov 2008, Jean Delvare wrote: On Wed, 19 Nov 2008 01:51:08 -0800 (PST), Trent Piepho wrote: On Tue, 18 Nov 2008, David Brownell wrote: --- drivers/i2c/busses/i2c-gpio.c | 10 ++ drivers/i2c/i2c-core.c

Re: [patch 2.6.27-rc7] i2c: smbalert# support

2008-11-22 Thread Jean Delvare
Hi Trent, On Fri, 21 Nov 2008 22:04:26 -0800 (PST), Trent Piepho wrote: On Fri, 21 Nov 2008, Jean Delvare wrote: You are unfair. We have been continuously cleaning up the i2c subsystem over the past few years, shrinking the main structures regularly, killing unused code, etc

[PATCH] i2c: Use snprintf to set adapter names

2008-11-24 Thread Jean Delvare
Use snprintf instead of sprintf to set adapter names, it's safer. Signed-off-by: Jean Delvare [EMAIL PROTECTED] --- drivers/i2c/busses/i2c-ali1563.c |4 ++-- drivers/i2c/busses/i2c-amd756-s4882.c |4 ++-- drivers/i2c/busses/i2c-amd756.c |5 +++-- drivers/i2c/busses/i2c

Re: wrong driver remove order

2008-11-25 Thread Jean Delvare
On Mon, 17 Nov 2008 22:04:17 +0100, Jean Delvare wrote: Hi Guennadi, On Thu, 30 Oct 2008 15:13:14 +0100 (CET), Guennadi Liakhovetski wrote: Hi, I have two i2c modules, one of which uses the other one: a camera and a GPIO-extender, and the camera uses a GPIO from that extender. I

Re: [patch 2.6.28-rc5] i2c: remove i2c_adapter.clist_lock

2008-11-25 Thread Jean Delvare
/legacy_i2c_driver.list Drivers that are neither marked * (done) nor - (deleted) are left to convert. Thanks, -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-i2c in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo

[GIT PULL] i2c fixes for 2.6.28

2008-11-28 Thread Jean Delvare
files changed, 50 insertions(+), 21 deletions(-) --- David Brownell (1): i2c/isp1301_omap: Build fixes Jean Delvare (2): i2c: Remove i2c clients in reverse order i2c-parport: Fix misplaced parport_release call Thanks, -- Jean Delvare -- To unsubscribe from

Re: SMBus quick command problem

2009-01-09 Thread Jean Delvare
yet to see any real-world use case for the Quick command with data bit = 1. So what problem are you trying to solve exactly? -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-i2c in the body of a message to majord...@vger.kernel.org More majordomo info at http

Re: SMBus quick command problem

2009-01-09 Thread Jean Delvare
. Whatever works best for you. -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-i2c in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH] powerpc/83xx: Move mcu_mpc8349emitx driver out of drivers/i2c/chips/

2009-01-13 Thread Jean Delvare
On Tue, 13 Jan 2009 08:39:37 -0600, Kumar Gala wrote: On Jan 11, 2009, at 10:55 AM, Anton Vorontsov wrote: This patch is used to help Jean Delvare to get rid of drivers/i2c/ chips/ directory. The new location suggested by Kumar Gala: as the driver is 83xx specific it's placed

Re: Moving at24 out of i2c/chips?

2009-01-14 Thread Jean Delvare
, but that driver doesn't use the SPI stack.) Yes, makes sense to me. The old eeprom driver could go along as well. Thanks for taking care of this! -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-i2c in the body of a message to majord...@vger.kernel.org More majordomo

Re: i2c-probe in 2.6.28 returns -EOPNOTSUPP

2009-01-20 Thread Jean Delvare
has never supported the SMBus quick command. Anyway old-style i2c chip drivers must be converted to new-style, as support for old style is deprecated and will be removed soon. So your best chance is to do just that. This really isn't difficult. -- Jean Delvare -- To unsubscribe from this list

[PATCH] i2c-nforce2: Add support for MCP67, MCP73 and MCP79

2009-01-22 Thread Jean Delvare
The MCP79 appears to be compatible with the previous nForce chips as far as the SMBus controller is concerned. The MCP67 and MCP73 were not tested yet but I'd be very surprised if they weren't compatible too. Signed-off-by: Jean Delvare kh...@linux-fr.org Cc: Oleg Ryjkov ol...@olegr.ca Cc

Re: Implementing a new driver

2009-01-23 Thread Jean Delvare
#New_I2C_bus_drivers If you have more detailed questions while writing the code, post them on the list and we'll try to help. -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-i2c in the body of a message to majord...@vger.kernel.org More majordomo info at http

Re: Implementing a new driver

2009-01-24 Thread Jean Delvare
Hi Alessio, On Fri, 23 Jan 2009 13:35:28 -0800, Alessio Sangalli wrote: Jean Delvare wrote: Examples of I2C chip drivers can be found under drivers/rtc (for RTC Thanks. I guess there is already a driver for DDC/EDID monitor parameters right? Should be a fairly common feature

Re: [PATCH] rtc-ds1307: True SMBus compatibility

2009-01-26 Thread Jean Delvare
to read or write a block of registers without conflict. Signed-off-by: Ed Swierk eswi...@aristanetworks.com Looks alright to me this time. Acked-by: Jean Delvare kh...@linux-fr.org -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-i2c in the body of a message

[PATCH v2] i2c: Quilt tree has moved

2009-01-26 Thread Jean Delvare
My i2c quilt tree will now be hosted on kernel.org, because I can conveniently use rsync there. Also list the new i2c wiki. Signed-off-by: Jean Delvare kh...@linux-fr.org --- MAINTAINERS |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- linux-2.6.29-rc2.orig/MAINTAINERS 2009-01

[GIT PULL] i2c updates for 2.6.29

2009-01-26 Thread Jean Delvare
(100%) rename drivers/{spi = misc/eeprom}/at25.c (100%) rename drivers/{i2c/chips = misc/eeprom}/eeprom.c (100%) rename drivers/misc/{ = eeprom}/eeprom_93cx6.c (100%) --- Jean Delvare (5): i2c: Delete 10 unused driver IDs i2c: Delete many unused adapter IDs i2c: Quilt

Re: New home for i2c-tools (RFC)

2009-01-29 Thread Jean Delvare
Hi Mike, On Thu, 29 Jan 2009 10:56:10 -0500, Mike Frysinger wrote: On Thursday 29 January 2009 04:37:17 Jean Delvare wrote: And there are other options available, such as Gna! or BerliOS. Never used these myself though. [2] https://gna.org/ [3] http://developer.berlios.de/ As far

Re: [PATCH] i2c,algo: timeout reaches -1

2009-02-02 Thread Jean Delvare
On Mon, 02 Feb 2009 22:09:11 +0100, Roel Kluin wrote: Jean Delvare wrote: Hi Roel, On Sat, 31 Jan 2009 16:04:43 +0100, Roel Kluin wrote: The postfix decrement decrements timeout till -1, but the warning is already triggered on 0 Signed-off-by: Roel Kluin roel.kl...@gmail.com

Re: [PATCH] ir-kbd-i2c: support Hauppauge HVR-1600 R/C port

2009-02-03 Thread Jean Delvare
for this patch. Please post to linux-media and/or video4linux-l...@redhat.com as listed in file MAINTAINERS. Thanks, -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-i2c in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org

Re: [PATCH] i2c: timeouts reach -1

2009-02-03 Thread Jean Delvare
On Mon, 02 Feb 2009 22:50:47 +0100, Roel Kluin wrote: Jean Delvare wrote: On Sat, 31 Jan 2009 22:10:43 +0100, Jean Delvare wrote: Hi Roel, On Sat, 31 Jan 2009 11:22:58 +0100, Roel Kluin wrote: With a postfix decrement these timeouts reach -1 rather than 0, but after the loop

Re: [PATCH 3/6] i2c: ignore active clients detaching during adapter removal.

2009-02-06 Thread Jean Delvare
which is still referenced.) This should be a rare case. -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-i2c in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 2/2 v2] i2c,algo: handle timeout correctly

2009-02-06 Thread Jean Delvare
reach -1 rather than 0, but after the loop it is tested whether they have become 0. As pointed out by Jean Delvare, the msg_num should be tested before the timeout. With the current order, you could exit with a timeout error while all the messages were successfully transferred. Signed-off

Re: [PATCH 3/6] i2c: ignore active clients detaching during adapter removal.

2009-02-06 Thread Jean Delvare
On Fri, 6 Feb 2009 13:59:07 +0100, Rodolfo Giometti wrote: On Fri, Feb 06, 2009 at 01:15:20PM +0100, Jean Delvare wrote: Taking the old, deprecated, notoriously broken i2c model as an example doesn't necessarily serve your cause ;) I see, but till this part is in we should consider

Re: [PATCH] i2c: add missing KERN_* constants to printks

2009-02-06 Thread Jean Delvare
On Fri, 06 Feb 2009 20:59:44 +0100, Frank Seidel wrote: KERN_WARNING is just the standard/default loglevel so that this change doesn't introduce different behaviour. Default log level? That's news to me. Care to elaborate? -- Jean Delvare -- To unsubscribe from this list: send the line

Re: [PATCH] i2c: add missing KERN_* constants to printks

2009-02-07 Thread Jean Delvare
On Sat, 7 Feb 2009 11:52:19 +0100, Uwe Kleine-König wrote: On Sat, Feb 07, 2009 at 11:37:48AM +0100, Frank Seidel wrote: Jean Delvare wrote: Default log level? That's news to me. Care to elaborate? printk (in kernel/printk.c) uses vprintk and vprintk: asmlinkage int vprintk(const char

Re: [PATCH] i2c: add missing KERN_* constants to printks

2009-02-07 Thread Jean Delvare
) { - DEBPROTO(printk(S )); + DEBPROTO(printk(KERN_WARNING S )); set_pcf(adap, 1, I2C_PCF_START); } This one is a clear KERN_DEBUG. -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-i2c in the body of a message to majord...@vger.kernel.org

Re: [PATCH] i2c: add missing KERN_* constants to printks

2009-02-08 Thread Jean Delvare
On Sun, 08 Feb 2009 14:11:52 +0100, Frank Seidel wrote: Hi, Jean Delvare wrote: + printk(KERN_ERR i2c: ICR: %08x ISR: %08x\n i2c: log: , readl(_ICR(i2c)), readl(_ISR(i2c))); for (i = 0; i i2c-irqlogidx; i++) printk([%08x:%08x] , i2c-isrlog[i], i2c-icrlog[i

Re: [PATCH] i2c: add missing KERN_* constants to printks

2009-02-09 Thread Jean Delvare
with this, this can be fixed in a later patch if anybody cares. -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-i2c in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCHv2 1/2] i2c: add missing KERN_* constants to printks

2009-02-09 Thread Jean Delvare
. -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-i2c in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCHv2 2/2] i2c: adapt debug macros for KERN_* constants

2009-02-09 Thread Jean Delvare
the patch and confirm it doesn't break anything: ftp://ftp.kernel.org/pub/linux/kernel/people/jdelvare/linux-2.6/jdelvare-i2c/i2c-algo-pca-adapt-debug-macros-for-KERN-constants.patch Thanks, -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-i2c in the body of a message

Re: [PATCH 1/2] i2c: add reset sysfs entry for adapters.

2009-02-09 Thread Jean Delvare
drivers will get locking right and won't allow resetting in the middle of a (non-stuck) transaction. -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-i2c in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo

Re: [PATCH 1/2] i2c: add reset sysfs entry for adapters.

2009-02-09 Thread Jean Delvare
; + + void (*reset)(struct i2c_adapter *);/* user request adap reset */ }; #define to_i2c_adapter(d) container_of(d, struct i2c_adapter, dev) -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-i2c in the body of a message to majord...@vger.kernel.org

Re: [PATCH] Add static bus numbering support to i2c-versatile

2009-02-09 Thread Jean Delvare
); +subsys_initcall(i2c_versatile_init); module_exit(i2c_versatile_exit); MODULE_DESCRIPTION(ARM Versatile I2C bus driver); -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-i2c in the body of a message to majord...@vger.kernel.org More majordomo info at http

Re: [PATCH 1/2] i2c: add reset sysfs entry for adapters.

2009-02-10 Thread Jean Delvare
On Mon, 9 Feb 2009 21:41:08 +0100, Rodolfo Giometti wrote: On Mon, Feb 09, 2009 at 05:17:20PM +0100, Jean Delvare wrote: On Fri, 6 Feb 2009 16:23:17 +0100, Rodolfo Giometti wrote: It could happen that an i2c adapter may lock the bus due due Typo: due due - due to. Ok

Re: [PATCH] Add static bus numbering support to i2c-versatile

2009-02-10 Thread Jean Delvare
); +subsys_initcall(i2c_versatile_init); module_exit(i2c_versatile_exit); MODULE_DESCRIPTION(ARM Versatile I2C bus driver); Acked-by: Jean Delvare kh...@linux-fr.org Note that i2c-versatile is not under my jurisdiction so you will have to push this patch through either Ben Dooks or the arm tree

Re: [PATCH] i2c-mpc: do not allow interruptions when waiting for I2C to complete

2009-02-10 Thread Jean Delvare
) or the powerpc tree. -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-i2c in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH] i2c-mpc: do not allow interruptions when waiting for I2C to complete

2009-02-10 Thread Jean Delvare
On Tue, 10 Feb 2009 10:01:54 -0600, Timur Tabi wrote: Jean Delvare wrote: No, that's something for either Ben Dooks (Cc'd) or the powerpc tree. This patch has nothing to do with ARM, so Kumar will pick it up, if you ACK it. Why are you mentioning ARM? From MAINTAINERS: I2C SUBSYSTEM P

Re: [PATCH] I2C: Rename struct s3c2410_platform_i2c to s3c_platform_i2c

2009-02-12 Thread Jean Delvare
. And for another, they may need to be reverted if incompatible hardware appears in the future. Personally, I read s3c2410 in these structure names as S3C 2410 and compatible, so it looks perfectly right to me, I don't see this as something which needs to be changed. -- Jean Delvare -- To unsubscribe from

Re: [PATCH] Add support to SB800 SMBus changes

2009-02-17 Thread Jean Delvare
be more readable. -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-i2c in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: I2C query regarding baud rate

2009-02-20 Thread Jean Delvare
driver change the bus speed doesn't make sense. The I2C bus speed must be set once and for all according to which devices are present on the bus (which is something only the system designer knows.) -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-i2c in the body

Re: Handling of i2c arbitration loss

2009-02-20 Thread Jean Delvare
On Thu, 19 Feb 2009 22:23:25 +0100, Clifford Wolf wrote: Hi Jean, On Thu, Feb 19, 2009 at 05:26:05PM +0100, Jean Delvare wrote: @@ -1000,7 +1000,8 @@ module_exit(i2c_exit); */ int i2c_transfer(struct i2c_adapter * adap, struct i2c_msg *msgs, int num) { - int ret

[PATCH] i2c-dev: Clarify the unit of ioctl I2C_TIMEOUT

2009-02-20 Thread Jean Delvare
, this unit should be 10 ms, for compatibility. Signed-off-by: Jean Delvare kh...@linux-fr.org --- drivers/i2c/i2c-dev.c |6 +- include/linux/i2c-dev.h |2 +- include/linux/i2c.h |2 +- 3 files changed, 7 insertions(+), 3 deletions(-) --- linux-2.6.29-rc5.orig/drivers/i2c/i2c

Re: Request for Clarification: old - legacy - new driver model

2009-02-20 Thread Jean Delvare
have the time to look at, sadly.) -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-i2c in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH] i2c: Set a default timeout value for all adapters

2009-02-22 Thread Jean Delvare
of the value of HZ. Signed-off-by: Jean Delvare kh...@linux-fr.org --- drivers/i2c/algos/i2c-algo-bit.c |4 +--- drivers/i2c/algos/i2c-algo-pcf.c |1 - drivers/i2c/i2c-core.c |5 + 3 files changed, 6 insertions(+), 4 deletions(-) --- linux-2.6.29-rc5.orig/drivers/i2c/algos/i2c

[PATCH] i2c: Make sure i2c_algo_bit_data.timeout is HZ-independent

2009-02-22 Thread Jean Delvare
i2c_algo_bit_data.timeout is supposed to be in jiffies, so drivers should use set this value in terms of HZ. Ultimately I think this field should be discarded in favor of i2c_adapter.timeout, but that's left for a future patch. Signed-off-by: Jean Delvare kh...@linux-fr.org Cc: Russell King rmk

[PATCH] i2c-davinci: Fix timeout handling

2009-02-23 Thread Jean Delvare
Properly set the adapter timeout value in jiffies, and then use that value in the driver, rather than a hard-coded constant. Signed-off-by: Jean Delvare kh...@linux-fr.org Cc: Troy Kisky troy.ki...@boundarydevices.com Cc: Kevin Hilman khil...@mvista.com --- Troy, Kevin, can either of you please

Clarification on i2c-pca-platform driver timeout

2009-02-23 Thread Jean Delvare
it matters to get all i2c bus drivers right first. Thanks, -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-i2c in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH] i2c: Make sure i2c_algo_bit_data.timeout is HZ-independent

2009-02-23 Thread Jean Delvare
On Mon, 23 Feb 2009 10:00:12 -0500, Lennart Sorensen wrote: On Sun, Feb 22, 2009 at 12:50:05PM +0100, Jean Delvare wrote: i2c_algo_bit_data.timeout is supposed to be in jiffies, so drivers should use set this value in terms of HZ. Ultimately I think this field should be discarded

[GIT PULL] i2c fixes for 2.6.29

2009-02-24 Thread Jean Delvare
changed, 23 insertions(+), 11 deletions(-) --- Jean Delvare (2): i2c-dev: Clarify the unit of ioctl I2C_TIMEOUT i2c: Make sure i2c_algo_bit_data.timeout is HZ-independent Roel Kluin (2): i2c: Fix misplaced parentheses i2c: Timeouts reach -1 Russell King (1

Re: Request for Clarification: old - legacy - new driver model

2009-02-25 Thread Jean Delvare
Hi Michael, On Tue, 24 Feb 2009 16:09:33 +0100, Michael Lawnick wrote: Jean Delvare said the following: On Thu, 19 Feb 2009 15:17:13 +0100, Michael Lawnick wrote: snip Our situation: main board is up and running, all drivers loaded. Now an extension board will be plugged

Re: [PATCH 3/3] i2c/pca-platform: use defaults if no platform_data given

2009-02-26 Thread Jean Delvare
-gpio, i2c-adap.name); Applied, thanks. -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-i2c in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH V2 1/3] i2c/algo-pca: rework waiting for a free bus

2009-02-27 Thread Jean Delvare
;/* values are defined in linux/i2c-algo-pca.h */ - int timeout;/* timeout = this value * 10us */ + int timeout;/* timeout in jiffies */ }; #endif /* I2C_PCA9564_PLATFORM_H */ Applied, thanks. -- Jean Delvare -- To unsubscribe from this list: send

Re: [PATCH UPDATED] Add support to SB800 SMBus changes

2009-02-27 Thread Jean Delvare
)) + /* base address location etc changed in SB800 */ + retval = piix4_setup_sb800(dev, id); + else + retval = piix4_setup(dev, id); + if (retval) return retval; All the rest looks good, I'll apply your patch now. -- Jean Delvare

Re: legacy drivers in staging?

2009-03-01 Thread Jean Delvare
will mark them as broken and leave it to somebody else to fix them. They will not delay us. [1] To be honest I was not really fond of the idea of a staging drivers directory in the first place anyway. -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-i2c in the body

Re: Request for Clarification: old - legacy - new driver model

2009-03-05 Thread Jean Delvare
Hi Michael, On Fri, 27 Feb 2009 10:36:04 +0100, Michael Lawnick wrote: Jean Delvare said the following: I have no idea what you mean here, sorry. Correct identification of what? Probably I'm still hanging around with what you might call the legacy model. When I started with I2C devices

Re: Need help on selecting one (and only one) i2c bus

2009-03-11 Thread Jean Delvare
the I2C standard. -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-i2c in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Need help on selecting one (and only one) i2c bus

2009-03-11 Thread Jean Delvare
improperly reported success in all cases. You really should check your I2C bus driver and in particular the implementation of 0-byte messages before going further with the device driver. -- Jean Delvare http://khali.linux-fr.org/wishlist.html -- To unsubscribe from this list: send the line

Re: Need help on selecting one (and only one) i2c bus

2009-03-11 Thread Jean Delvare
said, the i2c_device_id structure doesn't exist in this kernel... There is no equivalent, just omit this part. -- Jean Delvare http://khali.linux-fr.org/wishlist.html -- To unsubscribe from this list: send the line unsubscribe linux-i2c in the body of a message to majord...@vger.kernel.org More

[PATCH] i2c: Let checkpatch shout on users of the legacy model

2009-03-12 Thread Jean Delvare
As suggested by Mauro Carvalho Chehab. Signed-off-by: Jean Delvare kh...@linux-fr.org Cc: Mauro Carvalho Chehab mche...@infradead.org --- Documentation/feature-removal-schedule.txt |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- linux-2.6.29-rc7.orig/Documentation/feature-removal

Re: [PATCH]i2c: Make test for force on client probe possible

2009-03-13 Thread Jean Delvare
the sysfs interface to instantiate devices is implemented (we have already discussed about it), they will be redundant so we will be able to remove them (and good riddance.) Signed-off-by: nospam_lawnick-mmb7mzph...@public.gmane.org Cc: Jean Delvare khali-puyad+kwke1g9huczpv...@public.gmane.org Nice

Re: [PATCH] tdfxfb: move I2C functionality into the tdfxfb

2009-03-23 Thread Jean Delvare
On 23 Mar 2009 12:01:33 +0100, krzysztof...@poczta.fm wrote: Jean Delvare napisał(a): On Sat, 21 Mar 2009 20:29:54 +0100, Krzysztof Helt wrote: + depends on FB_3DFX EXPERIMENTAL + select FB_DDC + default y + help + Say Y here if you want DDC/I2C support for your 3dfx Voodoo3

Re: [PATCH 1/2] tdfxfb: move I2C functionality into the tdfxfb

2009-03-24 Thread Jean Delvare
. The tdfxfb does not make use from the DDC functionality yet but provides all the functionality of the i2c-voodoo3 driver. Signed-off-by: Krzysztof Helt krzysztof...@wp.pl Acked-by: Jean Delvare kh...@linux-fr.org --- I prefer to send these patches through Andrew Morton's tree

Re: [PATCH] i2c-piix4: Add support for the Broadcom HT1100 chipset

2009-03-24 Thread Jean Delvare
://ftp.kernel.org/pub/linux/kernel/people/jdelvare/linux-2.6/jdelvare-i2c/i2c-piix4-add-support-for-broadcom-ht1100.patch and will be merged in 2.6.30. -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-i2c in the body of a message to majord...@vger.kernel.org More majordomo

Re: [PATCH 2/2] tdfxfb: make use of DDC information about connected monitor

2009-03-24 Thread Jean Delvare
: switching to colour frame buffer device 80x30 With the patch: fb: 3Dfx Voodoo3 memory = 16384K Console: switching to colour frame buffer device 128x48 Much better! :) This is on a Voodoo3. If you want me to test something in particular, just let me know. Thanks, -- Jean Delvare -- To unsubscribe

Re: [PATCH 2/2] tdfxfb: make use of DDC information about connected monitor

2009-03-25 Thread Jean Delvare
. Controlling the video output using the BT869 should really be up to the video driver (framebuffer or X) and not to the user. -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-i2c in the body of a message to majord...@vger.kernel.org More majordomo info at http

Re: [PATCH 3/4] imxmmc: add MX1 support

2009-03-25 Thread Jean Delvare
mailbox, with all the Signed-off-by and Acked-by. -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-i2c in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [patch] add pca9543 driver

2009-03-26 Thread Jean Delvare
/i2c/chips/pca9543.c | 188 +++ 3 files changed, 192 insertions(+), 0 deletions(-) create mode 100644 drivers/i2c/chips/pca9543.c (...) -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-i2c in the body of a message

Re: [PATCH]i2c-dev: add ioctls PROBE and REMOVE

2009-04-07 Thread Jean Delvare
Hi Michael, Sorry for the late answer, I am pretty busy with the 2.6.30 merge window. On Thu, 02 Apr 2009 14:36:27 +0200, Michael Lawnick wrote: Jean Delvare said the following: BTW, if you don't want your problem to be overlooked, I strongly suggest that you create yourself a wiki account

Re: [GIT PULL] i2c updates for 2.6.30

2009-04-08 Thread Jean Delvare
Hi Geert, On Tue, 7 Apr 2009 22:20:29 +0200, Geert Uytterhoeven wrote: On Sat, Mar 28, 2009 at 22:39, Jean Delvare kh...@linux-fr.org wrote: Please pull the i2c subsystem updates for Linux 2.6.30 from: Wolfram Sang (4):      i2c-algo-pca: Rework waiting for a free bus This one

Re: [PATCH] Fix sparse warnings for I2C_BOARD_INFO()

2009-04-08 Thread Jean Delvare
= (dev_type), .addr = (dev_addr) + .type = dev_type, .addr = (dev_addr) /* Add-on boards should register/unregister their devices; e.g. a board Good catch! Applied, thanks. -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-i2c in the body of a message

Re: Handling of i2c arbitration loss

2009-04-09 Thread Jean Delvare
On Fri, 20 Feb 2009 12:45:46 +0100, Jean Delvare wrote: On Thu, 19 Feb 2009 22:23:25 +0100, Clifford Wolf wrote: Hi Jean, On Thu, Feb 19, 2009 at 05:26:05PM +0100, Jean Delvare wrote: @@ -1000,7 +1000,8 @@ module_exit(i2c_exit); */ int i2c_transfer(struct i2c_adapter * adap

Re: [PATCH] i2c: support for hmc6343 3-Axis digital compass module.

2009-04-09 Thread Jean Delvare
On Thu, 9 Apr 2009 17:29:44 +0200, Rodolfo Giometti wrote: From: Rodolfo Giometti giome...@linux.it Signed-off-by: Rodolfo Giometti giome...@linux.it --- drivers/i2c/chips/Kconfig | 10 + drivers/i2c/chips/Makefile |1 + Nack. Go read these files, thanks. -- Jean Delvare

[GIT PULL] i2c fixes for 2.6.30

2009-04-13 Thread Jean Delvare
-- drivers/i2c/i2c-core.c |3 +-- include/linux/i2c.h|2 +- 5 files changed, 16 insertions(+), 6 deletions(-) --- Ben Hutchings (1): i2c: Fix sparse warnings for I2C_BOARD_INFO() Jean Delvare (3): i2c-algo-pca: Fix use

Re: Questions for submitting driver to I2C subsystem

2009-04-16 Thread Jean Delvare
reviewed, when it is finally ready to be merged, then of course we will ask you to first push all the dependencies upstream, before we (most likely Ben) can push your code to Linus. I can send the driver patch for your preview if it is ok. Please do. -- Jean Delvare -- To unsubscribe from

Re: [PATCH] assign a default class to MPC adapter

2009-04-17 Thread Jean Delvare
Hi Michael, please keep the list CC'd. On Fri, 17 Apr 2009 08:32:16 +0200, Michael Lawnick wrote: Jean Delvare said the following: That's right, but why do you insist on instantiating them at runtime? Because we have 2 different boards with same main processor but different on-board

Re: i2cset question

2009-04-17 Thread Jean Delvare
, or try on another system. -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-i2c in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 1/5] [ARM] pxa: lx: add PCON i2c driver

2009-04-18 Thread Jean Delvare
drivers/i2c/chips/Kconfig| 10 + drivers/i2c/chips/Makefile |1 + Nack. Really, people, please read the files you modify, it isn't that hard. -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-i2c in the body of a message

[GIT PULL] i2c fixes for 2.6.30

2009-04-21 Thread Jean Delvare
+++--- drivers/staging/go7007/wis-uda1342.c| 52 ++-- 13 files changed, 176 insertions(+), 418 deletions(-) --- Jean Delvare (1): go7007: Convert to the new i2c device binding model Thanks, -- Jean Delvare -- To unsubscribe from this list: send

Re: [Patch v2] MPC Adapter: read class attribute from device tree

2009-04-22 Thread Jean Delvare
device tree. If class assignment is not set in device tree .class stays default (0) Necessary device tree entry: linux,i2c-class = 1; /* I2C_CLASS_HWMON (iic.h) */ Based on kernel 2.6.29 Signed-off-by: Michael Lawnick ml.lawn...@gmx.de Cc: Jean Delvare kh...@linux-fr.org Cc: Sang, Wolfram

Re: [PATCH 0/1] I2C: I2C controller driver for Intel Moorestown platform

2009-04-23 Thread Jean Delvare
On Thu, 23 Apr 2009 17:55:42 +0800, Wang, Wen W wrote: Hi Jean, -Original Message- From: Jean Delvare [mailto:kh...@linux-fr.org] Sent: 2009年4月23日 17:30 To: Wang, Wen W Cc: linux-i2c@vger.kernel.org Subject: Re: [PATCH 0/1] I2C: I2C controller driver for Intel Moorestown

Re: Handling of i2c arbitration loss

2009-04-23 Thread Jean Delvare
On Thu, 9 Apr 2009 10:35:53 +0200, Clifford Wolf wrote: Hi Jean, On Thu, Apr 09, 2009 at 08:47:26AM +0200, Jean Delvare wrote: Clifford, any news? I didn't get any update for this patch. If I don't get one soon, I'll have to just discard it. oops. has been pretty busy the last weeks

Re: [PATCH] i2c: timeouts off by 1

2009-04-23 Thread Jean Delvare
a separate patch for i2c-pxa? Thanks. -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-i2c in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH] i2c-pxa.c: timeouts off by 1

2009-04-23 Thread Jean Delvare
-adap.dev, i2c_pxa: timeout waiting for bus free\n); -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-i2c in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH, v3] Let PCA9564 recover from unacked data byte (state 0x30)

2009-04-24 Thread Jean Delvare
unsubscribe linux-i2c in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-i2c in the body of a message to majord...@vger.kernel.org More

Re: 2.6.30-rc3 i2c build warnings

2009-04-25 Thread Jean Delvare
) but this seems a lot of work for something that will go away in 2.6.31 anyway. Thanks, -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-i2c in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH] i2c: Do not probe for TV chips on Voodoo3 adapters

2009-04-25 Thread Jean Delvare
on these boards is a BT869 video encoder, for which no support exists currently. Signed-off-by: Jean Delvare kh...@linux-fr.org Cc: Krzysztof Helt krzysztof...@wp.pl --- drivers/i2c/busses/i2c-voodoo3.c |1 - drivers/video/tdfxfb.c |1 - 2 files changed, 2 deletions(-) --- linux

[PATCH] i2c: Warn when adapters have no parent

2009-04-26 Thread Jean Delvare
Warn more loudly when an i2c-adapter is registered without a parent. There should be almost no driver left in this case, and it's about time to fix these. Signed-off-by: Jean Delvare kh...@linux-fr.org --- drivers/i2c/i2c-core.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions

Re: [Patch] MPC Adapter: read class attribute from device tree

2009-04-27 Thread Jean Delvare
. This is still on my todo list, but I am very busy these days :( -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-i2c in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: pxa i2c unit busy caused unrecoverable phone hang problem

2009-04-27 Thread Jean Delvare
could be done but remove the battery and reboot. So could you give a suggestion? Is there any useful way to protect from entering this abnormal UNIT-BUSY i2c status or recover from that? I don't know anything about PXA platforms, there's nothing I can do for you, sorry. -- Jean Delvare

[PATCH 1/6] i2c: Kill client_register and client_unregister methods

2009-05-02 Thread Jean Delvare
These methods were useful in the legacy binding model but no longer in the new (standard) binding model. There are no users left so we can drop them. Signed-off-by: Jean Delvare kh...@linux-fr.org Cc: David Brownell dbrown...@users.sourceforge.net --- Documentation/feature-removal-schedule.txt

[PATCH 2/6] i2c: Get rid of the legacy binding model

2009-05-02 Thread Jean Delvare
We converted all the legacy i2c drivers so we can finally get rid of the legacy binding model. Hooray! Signed-off-by: Jean Delvare kh...@linux-fr.org Cc: David Brownell dbrown...@users.sourceforge.net --- Documentation/feature-removal-schedule.txt |9 --- Documentation/i2c/writing-clients

[PATCH 4/6] i2c: Merge i2c_attach_client into i2c_new_device

2009-05-02 Thread Jean Delvare
Now that i2c_attach_client is no longer exported, it doesn't need to be a separate function. Merge it into its only user, i2c_new_device. Signed-off-by: Jean Delvare kh...@linux-fr.org Cc: David Brownell dbrown...@users.sourceforge.net --- drivers/i2c/i2c-core.c | 100

[PATCH 5/6] i2c: Kill is_newstyle_driver

2009-05-02 Thread Jean Delvare
Legacy i2c drivers are gone, all drivers are new-style now, so there is no point to check. Signed-off-by: Jean Delvare kh...@linux-fr.org Cc: David Brownell dbrown...@users.sourceforge.net --- drivers/i2c/i2c-core.c | 32 +--- include/linux/i2c.h|2 -- 2

Re: [PATCH 0/6] i2c: Get rid of the legacy binding model

2009-05-03 Thread Jean Delvare
On Sat, 2 May 2009 12:14:02 -0700, David Brownell wrote: On Saturday 02 May 2009, Jean Delvare wrote:  Documentation/feature-removal-schedule.txt |   10 -  Documentation/i2c/writing-clients          |   16 -  drivers/i2c/i2c-core.c                     |  366

Re: [PATCH 2/6] i2c: Get rid of the legacy binding model

2009-05-03 Thread Jean Delvare
On Sat, 2 May 2009 12:03:43 -0700, David Brownell wrote: On Saturday 02 May 2009, Jean Delvare wrote: @@ -100,9 +100,8 @@ extern s32 i2c_smbus_write_i2c_block_dat   * @class: What kind of i2c device we instantiate (for detect)   * @attach_adapter: Callback for bus addition (for legacy

[PATCH] i2c: Do not give adapters a default parent

2009-05-04 Thread Jean Delvare
We don't need to give adapters a parent if they don't have one. The driver core will put them in the virtual device directory and all will be fine. Signed-off-by: Jean Delvare kh...@linux-fr.org --- Much better than my first attempt. Not sure what will happen if we ever turn i2c-adapters into bus

Re: Moving to new driver model: probe never called

2009-05-04 Thread Jean Delvare
gracefully. I'll Cc you when I post it (in a minute), please give it a try if you can. -- Jean Delvare http://khali.linux-fr.org/wishlist.html -- To unsubscribe from this list: send the line unsubscribe linux-i2c in the body of a message to majord...@vger.kernel.org More majordomo info at http

[PATCH] i2c: Add a sysfs interface to instantiate devices

2009-05-04 Thread Jean Delvare
developing a driver on a self-soldered board which doesn't yet have proper I2C device declaration at the platform level, and presumably for various debugging situations. Signed-off-by: Jean Delvare kh...@linux-fr.org Cc: David Brownell davi...@pacbell.net --- Documentation/i2c/instantiating-devices

Re: [stable] [PATCH] i2c: fix bit algorithm timeout for low values.

2009-05-05 Thread Jean Delvare
Hi Greg, On Mon, 4 May 2009 14:53:25 -0700, Greg KH wrote: On Fri, Apr 24, 2009 at 11:42:59AM +0200, Jean Delvare wrote: Hi Dave, On Fri, 24 Apr 2009 09:09:13 +1000, Dave Airlie wrote: From: Dave Airlie airl...@redhat.com When fetching DDC using i2c algo bit, we were often

  1   2   3   4   5   6   7   8   9   10   >