Re: [PATCH] thermal: consistently use int for temperatures

2015-07-06 Thread Jean Delvare
Rui rui.zh...@intel.com Cc: Eduardo Valentin edubez...@gmail.com Cc: linux...@vger.kernel.org Cc: linux-ker...@vger.kernel.org Cc: Jean Delvare jdelv...@suse.de Cc: Peter Feuerer pe...@piie.net Cc: Heiko Stuebner he...@sntech.de Cc: Lukasz Majewski l.majew...@samsung.com Cc: Stephen Warren

[PATCH] usb: dwc3: add glue layer dependencies

2014-04-08 Thread Jean Delvare
Glue layers for the DWC3 driver only make sense on specific platforms. Add dependencies so that they are not built where they aren't needed. Signed-off-by: Jean Delvare jdelv...@suse.de Cc: Felipe Balbi ba...@ti.com Cc: Greg Kroah-Hartman gre...@linuxfoundation.org Cc: WingMan Kwok w-kw...@ti.com

Re: Problem with a hih6130 sensor in a OMAP I2C bus

2013-12-09 Thread Jean Delvare
to make sure there is no side effect to sending a single byte to the chip. If performance is a concern, you may have to enable the workaround only when zero-byte messages aren't supported. You can check with: i2c_get_functionality(i2c_adapter) I2C_FUNC_SMBUS_QUICK -- Jean Delvare -- To unsubscribe

Re: [PATCH 207/493] i2c: remove use of __devinit

2012-11-20 Thread Jean Delvare
easily understand that we want to drop CONFIG_HOTPLUG and always enable hot-plug support, I don't see where we are going with removing __devinit annotations and the like. Thanks, -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message

Re: [PATCH 207/493] i2c: remove use of __devinit

2012-11-20 Thread Jean Delvare
On Tue, 20 Nov 2012 13:23:42 +, Russell King - ARM Linux wrote: On Tue, Nov 20, 2012 at 09:20:46AM +0100, Jean Delvare wrote: Hi Bill, On Mon, 19 Nov 2012 13:22:36 -0500, Bill Pemberton wrote: CONFIG_HOTPLUG is going away as an option so __devinit is no longer needed. Can

Re: [PATCH 065/493] i2c: remove use of __devexit_p

2012-11-20 Thread Jean Delvare
CONTROLLER DRIVERS FOR PC in MAINTAINERS for examples of meaningful groups.) -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 7/8] i2c: add 'transferred' field to struct i2c_msg

2012-10-27 Thread Jean Delvare
On Thu, 25 Oct 2012 15:18:00 +0100, Russell King - ARM Linux wrote: On Thu, Oct 25, 2012 at 03:56:33PM +0200, Jean Delvare wrote: The original idea of using the hole in the i2c_msg structure is from David Brownell, who was apparently familiar with such practice, so I assumed it was OK

Re: [PATCH 7/8] i2c: add 'transferred' field to struct i2c_msg

2012-10-27 Thread Jean Delvare
- you don't even have an excuse of i2c never existing on the architecture in question. You are completely right, we will have to find another way to let bus drivers report how much of each message they managed to transmit or receive. Thanks again, -- Jean Delvare -- To unsubscribe from this list

Re: [PATCH 7/8] i2c: add 'transferred' field to struct i2c_msg

2012-10-25 Thread Jean Delvare
handle it. The exact balance probably depends on the answer to the previous question (initializing a field to 0 is free in many cases.) -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info

Re: [PATCH 7/8] i2c: add 'transferred' field to struct i2c_msg

2012-10-25 Thread Jean Delvare
On Thu, 25 Oct 2012 14:14:59 +0100, Russell King - ARM Linux wrote: On Thu, Oct 25, 2012 at 02:57:48PM +0200, Jean Delvare wrote: Hi Felipe, Shubhrajyoti, On Mon, 22 Oct 2012 12:46:57 +0300, Felipe Balbi wrote: From: Shubhrajyoti D shubhrajy...@ti.com In case of a NACK, it's wise

Re: [PATCH 7/8] i2c: add 'transferred' field to struct i2c_msg

2012-10-25 Thread Jean Delvare
On Thu, 25 Oct 2012 14:46:09 +0100, Russell King - ARM Linux wrote: On Thu, Oct 25, 2012 at 03:42:02PM +0200, Jean Delvare wrote: On Thu, 25 Oct 2012 14:14:59 +0100, Russell King - ARM Linux wrote: You also miss one very very very big point. This will break every I2C using userspace

Re: [PATCH 1/4] i2c: introduce i2c-cbus driver

2012-09-14 Thread Jean Delvare
bit-banging implementation in the kernel which could be used here? Jean: I'd appreciate your general opinion here, too. Out of time at the moment :( -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More

Re: [RFC/PATCH 1/3] i2c: Add SCCB support

2012-07-17 Thread Jean Delvare
this your patch looks fine, I'll apply it, thanks. -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [RFC/PATCH 1/3] i2c: Add SCCB support

2012-07-17 Thread Jean Delvare
On Tue, 17 Jul 2012 13:57:25 +0200, Laurent Pinchart wrote: On Tuesday 17 July 2012 13:53:07 Jean Delvare wrote: On Tue, 26 Jun 2012 16:17:07 +0200, Laurent Pinchart wrote: + if (unlikely(flags I2C_CLIENT_SCCB) size != I2C_SMBUS_BYTE_DATA) { + dev_err(adapter-dev

Re: [RFC/PATCH 2/3] i2c: Fall back to emulated SMBus if the operation isn't supported natively

2012-07-17 Thread Jean Delvare
, + command, protocol, data); } EXPORT_SYMBOL(i2c_smbus_xfer); What do you think? The advantage is that we can skip the tests for adapters which only implement adapter-algo-master_xfer(). -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe

Re: [RFC/PATCH 3/3] i2c: omap: Add support for I2C_M_STOP message flag

2012-07-17 Thread Jean Delvare
idea to let omap_i2c_func() return I2C_FUNC_PROTOCOL_MANGLING now? -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [RFC PATCH 3/3] i2c: inititalise the actual transferred to zero

2012-07-02 Thread Jean Delvare
Hi Felipe, On Mon, 2 Jul 2012 14:54:23 +0300, Felipe Balbi wrote: On Fri, Jun 29, 2012 at 03:18:32PM +0200, Jean Delvare wrote: Well you've seen the caveats I mentioned, this will be no easy ride. If you are willing to take the risk, spend the time documenting the change, and help people

Re: [RFC PATCH 1/3] i2c: add 'actual' field to struct i2c_msg

2012-07-02 Thread Jean Delvare
as a replacement, but maybe transferred or even just done would do. -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [RFC PATCH 1/3] i2c: add 'actual' field to struct i2c_msg

2012-06-29 Thread Jean Delvare
wiki might be the right place for that. -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [RFC PATCH 3/3] i2c: inititalise the actual transferred to zero

2012-06-29 Thread Jean Delvare
though, so that all callers don't have to care. Are you sure there are no other places that need the same fix in the kernel tree? -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http

Re: [RFC PATCH 3/3] i2c: inititalise the actual transferred to zero

2012-06-29 Thread Jean Delvare
On Fri, 29 Jun 2012 14:40:02 +0200, Jean Delvare wrote: On Fri, 29 Jun 2012 16:35:27 +0530, Shubhrajyoti D wrote: In i2c_smbus_xfer_emulated initialise the actual bytes to zero. Signed-off-by: Shubhrajyoti D shubhrajy...@ti.com --- drivers/i2c/i2c-core.c |4 ++-- 1 files

Re: [RFC PATCH 3/3] i2c: inititalise the actual transferred to zero

2012-06-29 Thread Jean Delvare
On Fri, 29 Jun 2012 18:42:08 +0530, Shubhrajyoti wrote: On Friday 29 June 2012 06:27 PM, Jean Delvare wrote: drivers/gpu/drm/nouveau/nouveau_bios.c:3535:3: warning: (near initialization for ‘msg[1].actual’) [enabled by default] This needs to be all fixed (converted to C99-style struct

Re: [RFC/PATCH 0/3] OMAP3 I2C/SCCB support

2012-06-26 Thread Jean Delvare
is trying to do, so you may want to check in that direction (see drivers/base/regmap) first. -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 3/3] ARM: OMAP: I2C: fix compilation when !CONFIG_OF

2012-01-22 Thread Jean Delvare
On Sun, 22 Jan 2012 12:54:21 -0700 (MST), Paul Walmsley wrote: cc Ben, Jean I'm not involved in this at all. Jean On Sun, 22 Jan 2012, Cousson, Benoit wrote: http://lists.ozlabs.org/pipermail/devicetree-discuss/2011-December/010541.html But it looks like it was stuck in linux-omap

Re: [PATCH] lis3lv02d: Add STMicroelectronics lis33ldlh digital

2012-01-18 Thread Jean Delvare
Hi Arnd and all, The lis3lv02d driver was moved outside of drivers/hwmon to make it clear that we (hwmon/lm-sensors people) are not involved in maintaining this driver in any way. So please remove the lm-sensors list (and myself) from this discussion. Thanks, -- Jean Delvare -- To unsubscribe

Re: [PATCH] lis3lv02d: Add STMicroelectronics lis33ldlh digital

2012-01-18 Thread Jean Delvare
On Wed, 18 Jan 2012 14:49:35 +, Arnd Bergmann wrote: On Wednesday 18 January 2012, Jean Delvare wrote: Hi Arnd and all, The lis3lv02d driver was moved outside of drivers/hwmon to make it clear that we (hwmon/lm-sensors people) are not involved in maintaining this driver in any way

[PATCH] MAINTAINERS: List i2c-omap and i2c-davinci drivers

2012-01-10 Thread Jean Delvare
This will ensure that the right people and lists are notified when these drivers are modified. Signed-off-by: Jean Delvare kh...@linux-fr.org Cc: Tony Lindgren t...@atomide.com Cc: Sekhar Nori nsek...@ti.com Cc: Kevin Hilman khil...@ti.com --- If there are no objections, I'll send this to Linus

Re: 10-bit address support in i2c-omap and i2c-davinci

2011-11-07 Thread Jean Delvare
On Mon, 07 Nov 2011 07:09:38 -0800, Kevin Hilman wrote: Adding linux-omap and linux-davinci lists Good point, sorry for missing that. Maybe the following would help? List i2c-omap and i2c-davinci in MAINTAINERS. Signed-off-by: Jean Delvare kh...@linux-fr.org --- MAINTAINERS |3 +++ 1 file

Re: [PATCH 1/2] misc: remove CONFIG_MISC_DEVICES

2011-09-05 Thread Jean Delvare
+ depends on INPUT + select INPUT_POLLDEV + default n + If you patch gets applied, then this one would better be moved to drivers/misc/lis3lv02d/Kconfig. -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord

Re: [PATCH 2/2] mfd: remove CONFIG_MFD_SUPPORT

2011-09-05 Thread Jean Delvare
to Samuel to decide which patch he wants to apply. -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-omap 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/2] misc: remove CONFIG_MISC_DEVICES

2011-09-05 Thread Jean Delvare
On Mon, 5 Sep 2011 16:19:35 +0200, Arnd Bergmann wrote: On Monday 05 September 2011, Jean Delvare wrote: As said before, I'm not sure. Yes, it makes it easier to select misc device drivers from Kconfig files. But it also makes it impossible to deselect all misc device drivers at once

Re: [PATCH] mfd: Combine MFD_SUPPORT and MFD_CORE

2011-09-02 Thread Jean Delvare
Dunlap rdun...@xenotime.net Reported-by: Johannes Berg johan...@sipsolutions.net Cc: Jean Delvare kh...@linux-fr.org Cc: Tony Lindgren t...@atomide.com Cc: Grant Likely grant.lik...@secretlab.ca Signed-off-by: Luciano Coelho coe...@ti.com --- I guess this should fix the problem. I've

Re: [PATCH] mfd: Combine MFD_SUPPORT and MFD_CORE

2011-08-31 Thread Jean Delvare
-driven system wakeups Signed-off-by: Randy Dunlap rdun...@xenotime.net Reported-by: Johannes Berg johan...@sipsolutions.net Cc: Jean Delvare kh...@linux-fr.org Cc: Tony Lindgren t...@atomide.com Cc: Grant Likely grant.lik...@secretlab.ca Signed-off-by: Luciano Coelho coe...@ti.com --- I

Re: [lm-sensors] [PATCH] mfd: twl4030: Fix mismatch in mutex lock-unlock

2011-07-09 Thread Jean Delvare
/twl4030-madc.c +++ b/drivers/mfd/twl4030-madc.c (...) Wrong list. This isn't a hwmon driver, so lm-sensors isn't suitable. scripts/get_maintainer.pl says that you should send this patch to: Samuel Ortiz sa...@linux.intel.com Thanks, -- Jean Delvare -- To unsubscribe from this list: send the line

Re: [PATCH 0/2] twl4030-madc driver

2010-09-16 Thread Jean Delvare
(-) create mode 100644 drivers/hwmon/twl4030-madc.c create mode 100644 include/linux/i2c/twl4030-madc.h Please send hwmon drivers to the lm-sensors list as instructed by MAINTAINERS. -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message

Re: [PATCH] I2C: Fix for suspend/resume issue in i2c-core

2010-09-04 Thread Jean Delvare
pm_runtime_set_active(dev) from i2c_device_pm_resume(). Are there any objections? No objection. Just send an updated patch and I'll be happy to apply it. -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord

Re: [PATCH V2] I2C: Fix for suspend/resume issue in i2c-core

2010-09-04 Thread Jean Delvare
. Signed-off-by: Partha Basak p-bas...@ti.com Signed-off-by: Vishwanath BS vishwanath...@ti.com Cc: Rafael J. Wysocki r...@sisk.pl Cc: Kevin Hilman khil...@deeprootsystems.com Cc: Ben Dooks ben-li...@fluff.org Cc: Jean Delvare kh...@linux-fr.org --- drivers/i2c/i2c-core.c |6 -- 1

Re: [PATCH] I2C: Fix for suspend/resume issue in i2c-core

2010-09-01 Thread Jean Delvare
for i2-core. Also Jean Delvare who maintains the I2C core. To be honest Rafael did all the actual work here (and has since rewritten the code anyway). Sorry for the delay. The fix looks reasonable to me. I take this as an Acked-by. Patch applied, thanks. --- drivers/i2c

Re: [RFC][PATCH] Add support for TMP105

2010-05-26 Thread Jean Delvare
, }, { tmp175, tmp175, }, { tmp275, tmp275, }, { tmp75, tmp75, }, -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [RFC] [PATCH] TMP105 : Driver support for the temperature sensor

2010-05-21 Thread Jean Delvare
the data sheets that closely so may have missed something! We also have a brand new driver for the TMP102, so it might be worth comparing with that one too. -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org

Re: [PATCH] PCA953x : Fix compilation warning.

2010-02-25 Thread Jean Delvare
Andrew Morton accepted this patch so it should go to Linus during the next merge window (that is, within the next 2 weeks.) -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http

Re: [PATCH] mfd: twl4030: Driver for twl4030 madc module

2009-11-30 Thread Jean Delvare
described in Documentation/hwmon/sysfs-interface. It doesn't even register a hwmon class device. So it doesn't belong in drivers/hwmon. -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info

Re: [lm-sensors] [RFC PATCH 1/3] hwmon:driver support for Kionix kxte9 accelerometer

2009-11-10 Thread Jean Delvare
less accelerometer drivers polluting drivers/hwmon, not more. -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [lm-sensors] [RFC PATCH 1/3] hwmon:driver support for Kionix kxte9 accelerometer

2009-11-10 Thread Jean Delvare
drivers/misc, drivers/accel, drivers/input or what do I know. I don't want it in drivers/hwmon, but I don't care about anything else. -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info

Re: [PATCH] I2C: Call request_irq with IRQF_DISABLED

2009-03-05 Thread Jean Delvare
On Thu, 5 Mar 2009 21:35:06 +0200, Felipe Balbi wrote: That and this one should be going via linux-i2c mainling list. Could you send Eero's patch and yours to Jean Delvare (i2c maintainer) ? Please keep linux-omap in the loop. Come on, folks, how many times will I have to repeat myself

Re: [PATCH] I2C: OMAP: Include OMAP_I2C_SYSC_REG in save and restore

2009-01-22 Thread Jean Delvare
patches, I do not deal with embedded platforms. -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

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

Re: [PATCH 6/8] tsl2563: move tsl2563 to drivers/hwmon

2008-10-15 Thread Jean Delvare
. -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 6/8] tsl2563: move tsl2563 to drivers/hwmon

2008-10-14 Thread Jean Delvare
Hi Felipe, On Tue, 14 Oct 2008 16:01:38 +0300, Felipe Balbi wrote: Moving the driver to where it should sit. No functional changes. Cc: Jean Delvare [EMAIL PROTECTED] Signed-off-by: Felipe Balbi [EMAIL PROTECTED] --- drivers/hwmon/Kconfig | 10 ++ drivers

Re: [PATCH 6/8] tsl2563: move tsl2563 to drivers/hwmon

2008-10-14 Thread Jean Delvare
On Tue, 14 Oct 2008 16:52:30 +0300, Felipe Balbi wrote: On Tue, Oct 14, 2008 at 03:38:24PM +0200, ext Jean Delvare wrote: Hi Felipe, On Tue, 14 Oct 2008 16:01:38 +0300, Felipe Balbi wrote: Moving the driver to where it should sit. No functional changes. Cc: Jean Delvare [EMAIL

Re: [PATCH 11/9] move twl4030-gpio to drivers/gpio

2008-10-01 Thread Jean Delvare
when drivers/i2c/chips/twl4030-core.c moves to drivers/mfd/twl4030-core.c (...) Yes, please! I think I'll kill drivers/i2c/chips soon. -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to [EMAIL PROTECTED] More majordomo info at http

Re: testers wanted: isp1301_omap conversion to new-style i2c driver

2008-09-11 Thread Jean Delvare
to Linus for kernel 2.6.28. -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH] ASoC: Convert tlv320aic3x to a new-style i2c driver

2008-09-01 Thread Jean Delvare
On Mon, 1 Sep 2008 15:20:38 +0300, Jarkko Nikula wrote: On Mon, 1 Sep 2008 12:35:09 +0100 ext Mark Brown [EMAIL PROTECTED] wrote: On Mon, Sep 01, 2008 at 02:31:14PM +0300, Jarkko Nikula wrote: ext Jean Delvare [EMAIL PROTECTED] wrote: Thanks. In N810 it's connected into second i2c

Re: [PATCH] Fix isp1301_omap compile (Re: testers wanted: isp1301_omap conversion to new-style i2c driver)

2008-08-18 Thread Jean Delvare
On Mon, 18 Aug 2008 15:21:45 +0300, Tony Lindgren wrote: * Jean Delvare [EMAIL PROTECTED] [080812 12:52]: Hi Tony, On Tue, 12 Aug 2008 12:29:18 +0300, Tony Lindgren wrote: * David Brownell [EMAIL PROTECTED] [080811 21:35]: That one isn't mine, the original code already has

Re: [PATCH] Fix isp1301_omap compile (Re: testers wanted: isp1301_omap conversion to new-style i2c driver)

2008-08-11 Thread Jean Delvare
.git;a=commitdiff;h=f35ae6346850f6c192269b09088b20261760f0e0 The fix should be sent to Linus ASAP, otherwise the driver won't build in 2.6.27. You have my ack. -- Jean Delvare -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to [EMAIL PROTECTED] More

testers wanted: isp1301_omap conversion to new-style i2c driver

2008-06-17 Thread Jean Delvare
and works fine after applying the two attached patches. Thanks, -- Jean Delvare From: Felipe Balbi [EMAIL PROTECTED] Subject: i2c/isp1301_omap: Convert to a new-style i2c driver, part 1 Based on David Brownell's patch for tps65010, this patch starts converting isp1301_omap.c to new-style i2c