[PULL REQUEST] i2c for 3.10

2013-05-02 Thread Wolfram Sang
Kumar (1): i2c: Add bus recovery infrastructure Vishwanathrao Badarkhe, Manish (1): i2c: davinci: update to devm_* API Wolfram Sang (6): i2c: ismt: remove duplicate const i2c: davinci: rename recover bus functions MAINTAINERS: Ben Dooks is inactive regarding I2C

[PATCH] gpio: devres: make comments proper

2013-06-04 Thread Wolfram Sang
The free-function mentioned interrupt instead of GPIO. While we are here, use GPIO (capital letters) consistently. Signed-off-by: Wolfram Sang w...@the-dreams.de --- drivers/gpio/devres.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/gpio/devres.c b

Re: [PATCH] i2c: Let users disable Probe an I2C bus for certain devices

2013-06-04 Thread Wolfram Sang
On Tue, Jun 04, 2013 at 08:33:42PM +0300, Grygorii Strashko wrote: Currently the I2C devices instantiation Method 3 Probe an I2C bus for certain devices (see Documentation/i2c/instantiating-devices) is always enabled for all platforms (boards) and can't be disabled. Not true. Set .class = 0

Re: [PATCH 1/2] i2c: omap: convert to module_platform_driver()

2013-06-05 Thread Wolfram Sang
The similar patch already exists: https://patchwork.kernel.org/patch/2448251/ - [v2,1/2] RTC: rtc-twl: Fix rtc_reg_map initialization from Peter Ujfalusi So, I think it is best if you resend this patch after all the fixes it needs are applied or you resend the series with all patches it

Re: [PATCH 1/3] drivers: pinctrl sleep and idle states in the core

2013-06-05 Thread Wolfram Sang
broo...@kernel.org Cc: Dmitry Torokhov dmitry.torok...@gmail.com Cc: Kevin Hilman khil...@linaro.org Cc: Greg Kroah-Hartman gre...@linuxfoundation.org Cc: Stephen Warren swar...@wwwdotorg.org Cc: Wolfram Sang w...@the-dreams.de Signed-off-by: Linus Walleij linus.wall...@linaro.org Some nits

Re: [PATCH] i2c: Let users disable Probe an I2C bus for certain devices

2013-06-07 Thread Wolfram Sang
3) Thinking about Mainline: To reach the same target - no I2C detection - and taking into account above assumption No changes in default behavior the following will need to be done: - change i2c-omap/i2c-gpio DT bindings and add parameter which will allow to change .class value for

[RFC] i2c: add deprecation warning for class based instantiation

2013-06-07 Thread Wolfram Sang
for drivers who want to disable class based in the near future to gain boot-up time, so users relying on this technique can switch to something better. They really should. Signed-off-by: Wolfram Sang w...@the-dreams.de --- drivers/i2c/busses/i2c-omap.c |2 +- drivers/i2c/i2c-core.c|6

Re: i2c: introduce i2c helper i2c_find_client_by_name()

2013-06-23 Thread Wolfram Sang
I also wonder about the need to unregister. I have to admit I don't know much about I2C handling in v4l2. But if it requires unregistering from i2c core and registering to v4l2 core, then it sounds to me like we could check if there is a more fundamential cleanup needed? Deferring for now,

Re: [PATCH v3 0/4] Kontron PLD drivers

2013-06-24 Thread Wolfram Sang
I am happy to take the sub devices driver as well, although the respective maintainers can safely carry them as they all have a Kconfig dependency on MFD_KEMPLD. So it's up to them. I'd like to push it via the i2c tree. Thanks! signature.asc Description: Digital signature

Re: [PATCH v9] i2c-designware: make SDA hold time configurable

2013-06-25 Thread Wolfram Sang
Hi, On Fri, Jun 21, 2013 at 11:53:42AM +0200, Christian Ruppert wrote: This patch makes the SDA hold time configurable through device tree. Signed-off-by: Christian Ruppert christian.rupp...@abilis.com Signed-off-by: Pierrick Hascoet pierrick.hasc...@abilis.com ---

Re: [PATCH v10] i2c-designware: make SDA hold time configurable

2013-06-26 Thread Wolfram Sang
On Wed, Jun 26, 2013 at 10:55:06AM +0200, Christian Ruppert wrote: This patch makes the SDA hold time configurable through device tree. Signed-off-by: Christian Ruppert christian.rupp...@abilis.com Signed-off-by: Pierrick Hascoet pierrick.hasc...@abilis.com Applied to for-next, thanks for

Re: [PATCH] PM: Add pm_ops_ptr() macro

2013-05-30 Thread Wolfram Sang
On Fri, May 03, 2013 at 11:23:11AM +0200, Pavel Machek wrote: Hi! Add pm_ops_ptr() macro that allows the .pm entry in the driver structures to be assigned without having an #define xxx NULL for the case that PM is not enabled. Signed-off-by: Jingoo Han jg1@samsung.com

[PATCH] pwm: devm: alloc correct pointer size

2013-06-03 Thread Wolfram Sang
The allocated object should be the size of what the pointer is pointing to and not the size of the pointer itself. Signed-off-by: Wolfram Sang w...@the-dreams.de --- drivers/pwm/core.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pwm/core.c b/drivers/pwm

Re: Re: Re: [PATCH] I2C: Change the value of octeon i2c adapter timeout value

2013-04-23 Thread Wolfram Sang
Hi, what mail client do you use? It seems to break message threading on my side :( Have you been writing to EEPROMS? Their erase/write cycle might be longer. But I am not forcing you to change the value, just giving some suggestions. My board has i2c mux, temp sensor, eeprom. And I

Re: [PATCH] i2c-designware: fix RX FIFO overrun

2013-04-23 Thread Wolfram Sang
On Mon, Apr 22, 2013 at 03:08:59PM +0100, Josef Ahmad wrote: From a969728248c3b439dc97a69e7dac133b5efa34e7 Mon Sep 17 00:00:00 2001 From: Josef Ahmad josef.ah...@linux.intel.com Date: Fri, 19 Apr 2013 17:28:10 +0100 Subject: [PATCH] i2c-designware: fix RX FIFO overrun i2c_dw_xfer_msg()

Re: [PATCH] i2c-designware: fix RX FIFO overrun

2013-04-23 Thread Wolfram Sang
This driver had a major cleanup meanwhile. Could you rebase your patch on top of my for-next branch? I guess this version should make it into stable? This patch applies just fine on top of your i2c-embedded/for-next branch. i2c-embedded? Ah, this one is outdated. Please check

Re: [PATCH] i2c-designware: fix RX FIFO overrun

2013-04-25 Thread Wolfram Sang
On Wed, Apr 24, 2013 at 11:11:38AM +0100, Josef Ahmad wrote: From 8a4773d0c0df6fe2e816ad37fde30a2d90a1ad31 Mon Sep 17 00:00:00 2001 From: Josef Ahmad josef.ah...@linux.intel.com Date: Fri, 19 Apr 2013 17:28:10 +0100 Subject: [PATCH] i2c-designware: fix RX FIFO overrun i2c_dw_xfer_msg()

[PATCH 02/33] drivers/char/hw_random: don't check resource with devm_ioremap_resource

2013-05-16 Thread Wolfram Sang
devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang w...@the-dreams.de --- drivers/char/hw_random/mxc-rnga.c |6 -- drivers/char/hw_random/omap-rng.c |5 - 2 files changed, 11 deletions(-) diff

[PATCH 07/33] drivers/gpu/host1x/drm: don't check resource with devm_ioremap_resource

2013-05-16 Thread Wolfram Sang
devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang w...@the-dreams.de --- drivers/gpu/host1x/drm/dc.c |5 - 1 file changed, 5 deletions(-) diff --git a/drivers/gpu/host1x/drm/dc.c b/drivers/gpu/host1x/drm

[PATCH 11/33] drivers/misc: don't check resource with devm_ioremap_resource

2013-05-16 Thread Wolfram Sang
devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang w...@the-dreams.de --- drivers/misc/atmel-ssc.c |5 - 1 file changed, 5 deletions(-) diff --git a/drivers/misc/atmel-ssc.c b/drivers/misc/atmel-ssc.c

[PATCH 15/33] drivers/pwm: don't check resource with devm_ioremap_resource

2013-05-16 Thread Wolfram Sang
devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang w...@the-dreams.de --- drivers/pwm/pwm-imx.c |5 - drivers/pwm/pwm-puv3.c |5 - drivers/pwm/pwm-pxa.c |5 - drivers/pwm/pwm

[PATCH 22/33] drivers/usb/gadget: don't check resource with devm_ioremap_resource

2013-05-16 Thread Wolfram Sang
devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang w...@the-dreams.de --- drivers/usb/gadget/bcm63xx_udc.c | 10 -- 1 file changed, 10 deletions(-) diff --git a/drivers/usb/gadget/bcm63xx_udc.c b/drivers

[PATCH 24/33] drivers/usb/phy: don't check resource with devm_ioremap_resource

2013-05-16 Thread Wolfram Sang
devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang w...@the-dreams.de --- drivers/usb/phy/phy-mv-u3d-usb.c |5 - drivers/usb/phy/phy-mxs-usb.c |5 - drivers/usb/phy/phy-samsung-usb2.c |5

[PATCH 26/33] drivers/video/omap2/dss: don't check resource with devm_ioremap_resource

2013-05-16 Thread Wolfram Sang
devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang w...@the-dreams.de --- drivers/video/omap2/dss/hdmi.c |4 1 file changed, 4 deletions(-) diff --git a/drivers/video/omap2/dss/hdmi.c b/drivers/video

[PATCH 32/33] sound/soc/fsl: don't check resource with devm_ioremap_resource

2013-05-16 Thread Wolfram Sang
devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang w...@the-dreams.de --- sound/soc/fsl/imx-ssi.c |6 -- 1 file changed, 6 deletions(-) diff --git a/sound/soc/fsl/imx-ssi.c b/sound/soc/fsl/imx-ssi.c index

[PATCH 27/33] drivers/w1/masters: don't check resource with devm_ioremap_resource

2013-05-16 Thread Wolfram Sang
devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang w...@the-dreams.de --- drivers/w1/masters/omap_hdq.c |5 - 1 file changed, 5 deletions(-) diff --git a/drivers/w1/masters/omap_hdq.c b/drivers/w1/masters

[PATCH 33/33] sound/soc/kirkwood: don't check resource with devm_ioremap_resource

2013-05-16 Thread Wolfram Sang
devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang w...@the-dreams.de --- sound/soc/kirkwood/kirkwood-i2s.c |5 - 1 file changed, 5 deletions(-) diff --git a/sound/soc/kirkwood/kirkwood-i2s.c b/sound/soc

[PATCH 31/33] arch/mips/lantiq/xway: don't check resource with devm_ioremap_resource

2013-05-16 Thread Wolfram Sang
devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang w...@the-dreams.de --- arch/mips/lantiq/xway/gptu.c |4 1 file changed, 4 deletions(-) diff --git a/arch/mips/lantiq/xway/gptu.c b/arch/mips/lantiq/xway

[PATCH 30/33] arch/arm/plat-samsung: don't check resource with devm_ioremap_resource

2013-05-16 Thread Wolfram Sang
devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang w...@the-dreams.de --- arch/arm/plat-samsung/adc.c |5 - 1 file changed, 5 deletions(-) diff --git a/arch/arm/plat-samsung/adc.c b/arch/arm/plat-samsung

[PATCH 28/33] drivers/watchdog: don't check resource with devm_ioremap_resource

2013-05-16 Thread Wolfram Sang
devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang w...@the-dreams.de --- drivers/watchdog/ath79_wdt.c |5 - drivers/watchdog/davinci_wdt.c |5 - drivers/watchdog/imx2_wdt.c|5 - 3

[PATCH 29/33] arch/arm/mach-tegra: don't check resource with devm_ioremap_resource

2013-05-16 Thread Wolfram Sang
devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang w...@the-dreams.de --- arch/arm/mach-tegra/tegra2_emc.c |5 - 1 file changed, 5 deletions(-) diff --git a/arch/arm/mach-tegra/tegra2_emc.c b/arch/arm/mach

[PATCH 25/33] drivers/video/omap2: don't check resource with devm_ioremap_resource

2013-05-16 Thread Wolfram Sang
devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang w...@the-dreams.de --- drivers/video/omap2/vrfb.c |5 - 1 file changed, 5 deletions(-) diff --git a/drivers/video/omap2/vrfb.c b/drivers/video/omap2

[PATCH 23/33] drivers/usb/host: don't check resource with devm_ioremap_resource

2013-05-16 Thread Wolfram Sang
devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang w...@the-dreams.de --- drivers/usb/host/ohci-nxp.c |6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/usb/host/ohci-nxp.c b/drivers/usb/host/ohci

[PATCH 20/33] drivers/thermal: don't check resource with devm_ioremap_resource

2013-05-16 Thread Wolfram Sang
devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang w...@the-dreams.de --- drivers/thermal/armada_thermal.c | 10 -- drivers/thermal/dove_thermal.c |4 drivers/thermal/exynos_thermal.c |5

[PATCH 17/33] drivers/spi: don't check resource with devm_ioremap_resource

2013-05-16 Thread Wolfram Sang
devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang w...@the-dreams.de --- drivers/spi/spi-tegra20-sflash.c |5 - 1 file changed, 5 deletions(-) diff --git a/drivers/spi/spi-tegra20-sflash.c b/drivers/spi

[PATCH 09/33] drivers/memory: don't check resource with devm_ioremap_resource

2013-05-16 Thread Wolfram Sang
devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang w...@the-dreams.de --- drivers/memory/emif.c |6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/memory/emif.c b/drivers/memory/emif.c index

[PATCH 18/33] drivers/staging/dwc2: don't check resource with devm_ioremap_resource

2013-05-16 Thread Wolfram Sang
devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang w...@the-dreams.de --- drivers/staging/dwc2/platform.c |5 - 1 file changed, 5 deletions(-) diff --git a/drivers/staging/dwc2/platform.c b/drivers/staging

[PATCH 21/33] drivers/usb/chipidea: don't check resource with devm_ioremap_resource

2013-05-16 Thread Wolfram Sang
devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang w...@the-dreams.de --- drivers/usb/chipidea/core.c |5 - 1 file changed, 5 deletions(-) diff --git a/drivers/usb/chipidea/core.c b/drivers/usb/chipidea

[PATCH 19/33] drivers/staging/nvec: don't check resource with devm_ioremap_resource

2013-05-16 Thread Wolfram Sang
devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang w...@the-dreams.de --- drivers/staging/nvec/nvec.c |5 - 1 file changed, 5 deletions(-) diff --git a/drivers/staging/nvec/nvec.c b/drivers/staging/nvec

[PATCH 16/33] drivers/rtc: don't check resource with devm_ioremap_resource

2013-05-16 Thread Wolfram Sang
devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang w...@the-dreams.de --- drivers/rtc/rtc-nuc900.c |5 - drivers/rtc/rtc-omap.c |5 - drivers/rtc/rtc-s3c.c|5 - drivers/rtc/rtc-tegra.c

[PATCH 14/33] drivers/pinctrl: don't check resource with devm_ioremap_resource

2013-05-16 Thread Wolfram Sang
devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang w...@the-dreams.de --- drivers/pinctrl/pinctrl-coh901.c |5 - drivers/pinctrl/pinctrl-exynos5440.c |5 - drivers/pinctrl/pinctrl-samsung.c

[PATCH 13/33] drivers/net/ethernet/renesas: don't check resource with devm_ioremap_resource

2013-05-16 Thread Wolfram Sang
devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang w...@the-dreams.de --- drivers/net/ethernet/renesas/sh_eth.c |5 - 1 file changed, 5 deletions(-) diff --git a/drivers/net/ethernet/renesas/sh_eth.c b

[PATCH 12/33] drivers/mtd/nand: don't check resource with devm_ioremap_resource

2013-05-16 Thread Wolfram Sang
devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang w...@the-dreams.de --- drivers/mtd/nand/lpc32xx_mlc.c |5 - 1 file changed, 5 deletions(-) diff --git a/drivers/mtd/nand/lpc32xx_mlc.c b/drivers/mtd/nand

[PATCH 10/33] drivers/mfd: don't check resource with devm_ioremap_resource

2013-05-16 Thread Wolfram Sang
devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang w...@the-dreams.de --- drivers/mfd/intel_msic.c |5 - 1 file changed, 5 deletions(-) diff --git a/drivers/mfd/intel_msic.c b/drivers/mfd/intel_msic.c

[PATCH 01/33] drivers/ata: don't check resource with devm_ioremap_resource

2013-05-16 Thread Wolfram Sang
devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang w...@the-dreams.de --- drivers/ata/pata_ep93xx.c |5 - 1 file changed, 5 deletions(-) diff --git a/drivers/ata/pata_ep93xx.c b/drivers/ata/pata_ep93xx.c

[PATCH 04/33] drivers/dma: don't check resource with devm_ioremap_resource

2013-05-16 Thread Wolfram Sang
devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang w...@the-dreams.de --- drivers/dma/tegra20-apb-dma.c |5 - 1 file changed, 5 deletions(-) diff --git a/drivers/dma/tegra20-apb-dma.c b/drivers/dma/tegra20

[PATCH 05/33] drivers/gpio: don't check resource with devm_ioremap_resource

2013-05-16 Thread Wolfram Sang
devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang w...@the-dreams.de --- drivers/gpio/gpio-mvebu.c |5 - drivers/gpio/gpio-tegra.c |5 - 2 files changed, 10 deletions(-) diff --git a/drivers/gpio

[PATCH 08/33] drivers/i2c/busses: don't check resource with devm_ioremap_resource

2013-05-16 Thread Wolfram Sang
devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang w...@the-dreams.de --- drivers/i2c/busses/i2c-s3c2410.c |5 - drivers/i2c/busses/i2c-sirf.c|6 -- drivers/i2c/busses/i2c-tegra.c |5

[PATCH 06/33] drivers/gpu/drm/exynos: don't check resource with devm_ioremap_resource

2013-05-16 Thread Wolfram Sang
devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang w...@the-dreams.de --- drivers/gpu/drm/exynos/exynos_hdmi.c |5 - 1 file changed, 5 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b

[PATCH 03/33] drivers/cpufreq: don't check resource with devm_ioremap_resource

2013-05-16 Thread Wolfram Sang
devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang w...@the-dreams.de --- drivers/cpufreq/kirkwood-cpufreq.c |4 1 file changed, 4 deletions(-) diff --git a/drivers/cpufreq/kirkwood-cpufreq.c b/drivers

Re: [PATCH] i2c-designware: fix RX FIFO overrun

2013-05-17 Thread Wolfram Sang
On Wed, May 08, 2013 at 02:34:36PM +0100, Josef Ahmad wrote: From 8a4773d0c0df6fe2e816ad37fde30a2d90a1ad31 Mon Sep 17 00:00:00 2001 From: Josef Ahmad josef.ah...@linux.intel.com Date: Fri, 19 Apr 2013 17:28:10 +0100 Subject: [PATCH] i2c-designware: fix RX FIFO overrun i2c_dw_xfer_msg()

Re: [PATCH v7] i2c-designware: make SDA hold time configurable

2013-05-17 Thread Wolfram Sang
On Tue, May 14, 2013 at 02:07:45PM +0300, Mika Westerberg wrote: On Tue, Apr 09, 2013 at 12:59:54PM +0200, Christian Ruppert wrote: This patch makes the SDA hold time configurable through device tree. Signed-off-by: Christian Ruppert christian.rupp...@abilis.com Signed-off-by: Pierrick

Re: [PATCH 1/2] i2c-designware: always clear interrupts before enabling them

2013-05-17 Thread Wolfram Sang
On Mon, May 13, 2013 at 01:54:30PM +0300, Mika Westerberg wrote: If the I2C bus is put to a low power state by an ACPI method it might pull the SDA line low (as its power is removed). Once the bus is put to full power state again, the SDA line is pulled back to high. This transition looks like

Re: [PATCH 2/2] i2c-designware: add Intel BayTrail ACPI ID

2013-05-17 Thread Wolfram Sang
On Mon, May 13, 2013 at 01:54:31PM +0300, Mika Westerberg wrote: This is the same controller as on Intel Lynxpoint but the ACPI ID is different (8086F41). Add support for this. Signed-off-by: Mika Westerberg mika.westerb...@linux.intel.com Applied to for-current, thanks! -- To unsubscribe

Re: [PATCH] i2c-designware: fix RX FIFO overrun

2013-05-17 Thread Wolfram Sang
Applied to for-current, thanks! Added stable, too. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH v7] i2c-designware: make SDA hold time configurable

2013-05-17 Thread Wolfram Sang
New bindings are complicated. I need to check if there is an existing/similar one, check if it is generic enough for drivers still to come, etc. I didn't have the time to do this for 3.10, so it is 3.11 material. OK, thanks. I just wanted to be sure this patch wasn't forgotten as it is

Re: [PATCH v2 0/2] i2c: fix two wrong mem release

2013-05-17 Thread Wolfram Sang
On Thu, May 09, 2013 at 04:27:22PM +0800, Libo Chen wrote: fix two wrong mem release * Changelog from v1: * exchange out_error_no_irq and out_error_pin_mux suggested by Sonic sonic.zh...@analog.com * add some new tag , make code cleanly Thanks for the submission. I do think the

[PULL REQUEST] devm usage cleanup #1, no resource check needed with devm_ioremap_resource()

2013-05-18 Thread Wolfram Sang
/linux.git devm_no_resource_check for you to fetch changes up to 12716cd44da7e6c935e2fb1783417ca31fbbaa97: sound/soc/kirkwood: don't check resource with devm_ioremap_resource (2013-05-18 11:59:45 +0200) Wolfram Sang (33): drivers

Re: [PATCH] gpio: max7300: Fix trivial typo in Kconfig help text

2013-05-19 Thread Wolfram Sang
On Sun, May 19, 2013 at 02:25:48PM +0800, Axel Lin wrote: max7301 is controlled through SPI interface which means another driver. Signed-off-by: Axel Lin axel@ingics.com Acked-by: Wolfram Sang w...@the-dreams.de -- To unsubscribe from this list: send the line unsubscribe linux-kernel

Re: [PATCH 30/33] arch/arm/plat-samsung: don't check resource with devm_ioremap_resource

2013-05-20 Thread Wolfram Sang
On Tue, May 21, 2013 at 01:38:23AM +0900, Kukjin Kim wrote: On 05/16/13 20:15, Wolfram Sang wrote: devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sangw...@the-dreams.de Looks good to me, applied into Samsung

Re: [PATCH 14/33] drivers/pinctrl: don't check resource with devm_ioremap_resource

2013-05-20 Thread Wolfram Sang
On Mon, May 20, 2013 at 01:39:28PM +0200, Linus Walleij wrote: On Thu, May 16, 2013 at 1:15 PM, Wolfram Sang w...@the-dreams.de wrote: devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang w...@the-dreams.de

[PULL REQUEST] i2c for 3.10

2013-05-21 Thread Wolfram Sang
Linus, please pull the bugfixes for the i2c subsystem. Those should have been in rc1 but I missed it due to working on devm longer than expected. There is one ID addition, since we are touching the driver anyhow. And the feature bit documentation is one outcome of a debug session and will make it

[PATCH 2/2] drivers/mfd: Remove obsolete cleanup for clientdata

2013-05-21 Thread Wolfram Sang
A few new i2c-drivers came into the kernel which clear the clientdata-pointer on exit or error. This is obsolete meanwhile, the core will do it. Signed-off-by: Wolfram Sang w...@the-dreams.de --- drivers/mfd/twl6040.c |7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git

[PATCH 1/3] drivers/char/hw_random: remove leftover release_mem_region

2013-05-22 Thread Wolfram Sang
When converting this driver to devm_ioremap_resource, the removal of this now unneeded function has been forgotten. Signed-off-by: Wolfram Sang w...@the-dreams.de --- drivers/char/hw_random/omap-rng.c |8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/char

[PATCH 3/3] sound/soc/fsl: remove leftover release_mem_region

2013-05-22 Thread Wolfram Sang
When converting this driver to devm_ioremap_resource, the removal of this now unneeded function has been forgotten. Signed-off-by: Wolfram Sang w...@the-dreams.de --- sound/soc/fsl/imx-ssi.c |3 --- 1 file changed, 3 deletions(-) diff --git a/sound/soc/fsl/imx-ssi.c b/sound/soc/fsl/imx

[PATCH 2/3] drivers/usb/host: remove leftover release_mem_region

2013-05-22 Thread Wolfram Sang
When converting this driver to devm_ioremap_resource, the removal of this now unneeded function has been forgotten. Signed-off-by: Wolfram Sang w...@the-dreams.de --- drivers/usb/host/ohci-nxp.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/usb/host/ohci-nxp.c b/drivers/usb/host

Re: [PATCH 3/3] sound/soc/fsl: remove leftover release_mem_region

2013-05-22 Thread Wolfram Sang
On Wed, May 22, 2013 at 10:56:28AM -0500, Mark Brown wrote: On Wed, May 22, 2013 at 03:21:26PM +0200, Wolfram Sang wrote: When converting this driver to devm_ioremap_resource, the removal of this now unneeded function has been forgotten. This doesn't apply against current code, can you

Re: [PATCH 1/2] i2c-mux-gpio: use gpio_set_value_cansleep()

2013-10-30 Thread Wolfram Sang
On Fri, Oct 11, 2013 at 02:17:10PM +0200, Ionut Nicu wrote: Some gpio chips may have get/set operations that can sleep. gpio_set_value() only works for chips which do not sleep, for the others we will get a kernel warning. Using gpio_set_value_cansleep() will work for both chips that do sleep

Re: [PATCH 2/2] i2c-mux-gpio: use reg value for i2c_add_mux_adapter

2013-10-30 Thread Wolfram Sang
On Fri, Oct 11, 2013 at 12:09:57PM +0200, Ionut Nicu wrote: The i2c-mux driver requires that the chan_id parameter passed to the i2c_add_mux_adapter() function is equal to the reg value for that adapter: for_each_child_of_node(mux_dev-of_node, child) { ret =

Re: [PATCH v5 1/4] i2c: busses: i2c-st: Add ST I2C controller

2013-11-01 Thread Wolfram Sang
Hi, On Mon, Oct 14, 2013 at 02:46:49PM +0200, Maxime COQUELIN wrote: This patch adds support to SSC (Synchronous Serial Controller) I2C driver. This IP also supports SPI protocol, but this is not the aim of this driver. This IP is embedded in all ST SoCs for Set-top box platorms, and

Re: [PATCH v12] i2c: exynos5: add High Speed I2C controller driver

2013-11-01 Thread Wolfram Sang
On Wed, Oct 16, 2013 at 11:00:42AM +0530, Naveen Krishna Chatradhi wrote: Adds support for High Speed I2C driver found in Exynos5 and later SoCs from Samsung. Driver only supports Device Tree method. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Signed-off-by: Taekgyun Ko

Re: [RESEND PATCH 1/4] i2c: i2c-bcm-kona: Introduce Broadcom I2C Driver

2013-11-01 Thread Wolfram Sang
On Wed, Oct 16, 2013 at 03:01:46PM -0700, Tim Kryger wrote: Introduce support for Broadcom Serial Controller (BSC) I2C bus found in the Kona family of Mobile SoCs. FIFO hardware is utilized but only standard mode (100kHz), fast mode (400kHz), and fast mode plus (1MHz) bus speeds are

Re: [RESEND PATCH 2/4] i2c: i2c-bcm-kona: Add support for high-speed mode

2013-11-01 Thread Wolfram Sang
On Wed, Oct 16, 2013 at 03:01:47PM -0700, Tim Kryger wrote: Add support for I2C high-speed mode (3.4 MHz). Signed-off-by: Tim Kryger tim.kry...@linaro.org Reviewed-by: Matt Porter matt.por...@linaro.org Reviewed-by: Markus Mayer markus.ma...@linaro.org Mostly good as well: +enum

[PATCH 8/9] spi: spi-s3c64xx: replace platform_driver_probe to support deferred probing

2013-10-08 Thread Wolfram Sang
-off-by: Wolfram Sang w...@the-dreams.de --- drivers/spi/spi-s3c64xx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c index 512b889..3df81c6 100644 --- a/drivers/spi/spi-s3c64xx.c +++ b/drivers/spi/spi-s3c64xx.c @@ -1633,6

[PATCH 9/9] spi: spi-txx9: replace platform_driver_probe to support deferred probing

2013-10-08 Thread Wolfram Sang
-off-by: Wolfram Sang w...@the-dreams.de --- drivers/spi/spi-txx9.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/spi/spi-txx9.c b/drivers/spi/spi-txx9.c index 7c6d157..c67a1b8 100644 --- a/drivers/spi/spi-txx9.c +++ b/drivers/spi/spi-txx9.c @@ -440,6 +440,7 @@ static

[PATCH 5/9] spi: spi-au1550: replace platform_driver_probe to support deferred probing

2013-10-08 Thread Wolfram Sang
-off-by: Wolfram Sang w...@the-dreams.de --- drivers/spi/spi-au1550.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/spi/spi-au1550.c b/drivers/spi/spi-au1550.c index 1d00d9b3..313dd49 100644 --- a/drivers/spi/spi-au1550.c +++ b/drivers/spi/spi-au1550.c @@ -985,6 +985,7

[PATCH 7/9] spi: spi-omap-uwire: replace platform_driver_probe to support deferred probing

2013-10-08 Thread Wolfram Sang
-off-by: Wolfram Sang w...@the-dreams.de --- drivers/spi/spi-omap-uwire.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/spi/spi-omap-uwire.c b/drivers/spi/spi-omap-uwire.c index a6a8f09..9313fd3 100644 --- a/drivers/spi/spi-omap-uwire.c +++ b/drivers/spi/spi-omap

[PATCH 6/9] spi: spi-bfin5xx: replace platform_driver_probe to support deferred probing

2013-10-08 Thread Wolfram Sang
-off-by: Wolfram Sang w...@the-dreams.de --- drivers/spi/spi-bfin5xx.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/spi/spi-bfin5xx.c b/drivers/spi/spi-bfin5xx.c index 45bdf73..a563bd5 100644 --- a/drivers/spi/spi-bfin5xx.c +++ b/drivers/spi/spi-bfin5xx.c

[PATCH 1/9] i2c: i2c-designware-platdrv: replace platform_driver_probe to support deferred probing

2013-10-08 Thread Wolfram Sang
-off-by: Wolfram Sang w...@the-dreams.de Cc: Zhangfei Gao zhangfei@linaro.org --- drivers/i2c/busses/i2c-designware-platdrv.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/i2c/busses/i2c-designware-platdrv.c b/drivers/i2c/busses/i2c-designware-platdrv.c index

[PATCH 0/9] fix deferred probing issue of platform_driver_probe

2013-10-08 Thread Wolfram Sang
-rc4 and was compile-tested. It is available at git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git platform_driver_probe_drop Regards, Wolfram Wolfram Sang (9): i2c: i2c-designware-platdrv: replace platform_driver_probe to support deferred probing i2c: i2c-imx: replace

[PATCH 4/9] i2c: i2c-stu300: replace platform_driver_probe to support deferred probing

2013-10-08 Thread Wolfram Sang
-off-by: Wolfram Sang w...@the-dreams.de Cc: Linus Walleij linus.wall...@linaro.org --- drivers/i2c/busses/i2c-stu300.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/i2c/busses/i2c-stu300.c b/drivers/i2c/busses/i2c-stu300.c index f8f6f2e..04a17b9 100644

[PATCH 3/9] i2c: i2c-mxs: replace platform_driver_probe to support deferred probing

2013-10-08 Thread Wolfram Sang
-off-by: Wolfram Sang w...@the-dreams.de Cc: Marek Vasut ma...@denx.de --- drivers/i2c/busses/i2c-mxs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-mxs.c b/drivers/i2c/busses/i2c-mxs.c index f4a0167..b7c8577 100644 --- a/drivers/i2c/busses/i2c-mxs.c

[PATCH 2/9] i2c: i2c-imx: replace platform_driver_probe to support deferred probing

2013-10-08 Thread Wolfram Sang
-off-by: Wolfram Sang w...@the-dreams.de Cc: ker...@pengutronix.de --- drivers/i2c/busses/i2c-imx.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/i2c/busses/i2c-imx.c b/drivers/i2c/busses/i2c-imx.c index ccf4665..1d7efa3 100644 --- a/drivers/i2c/busses/i2c

Re: [PATCH 1/2] i2c-mux-gpio: use deferred probing with the device tree

2013-10-08 Thread Wolfram Sang
On Tue, Oct 08, 2013 at 03:51:50PM +0200, Ionut Nicu wrote: If the i2c-parent bus driver is not loaded, returning -EINVAL will force people to unload and then reload the module again to get it working. Signed-off-by: Ionut Nicu ioan.nicu@nsn.com Doesn't the non-DT case need fixing, too?

Re: [PATCH 1/2] i2c-mux-gpio: use deferred probing with the device tree

2013-10-09 Thread Wolfram Sang
WS Doesn't the non-DT case need fixing, too? Arguably yes. Yes, and it's also a one line fix. Should I do it in a separate patch or should I change this one and resubmit? Resubmit please. signature.asc Description: Digital signature

Re: [PATCH] i2c: omap: Clear ARDY bit twice

2013-10-10 Thread Wolfram Sang
On Mon, Oct 07, 2013 at 01:41:59PM +0300, Taras Kondratiuk wrote: Initially commit cb527ede1bf6ff2008a025606f25344b8ed7b4ac i2c-omap: Double clear of ARDY status in IRQ handler added a workaround for undocumented errata ProDB0017052. But then commit 1d7afc95946487945cc7f5019b41255b72224b70

Re: [PATCH 2/3] i2c: attach/detach I2C client device to the ACPI power domain

2013-10-10 Thread Wolfram Sang
); I'd prefer to drop the 'if's in case they are checked inside the acpi_* calls anyway. Not a show-stopper, though, so: Acked-by: Wolfram Sang w...@the-dreams.de signature.asc Description: Digital signature

Re: [PATCH 1/2] i2c-mux-gpio: test if the gpio can sleep

2013-10-10 Thread Wolfram Sang
On Thu, Oct 10, 2013 at 10:39:32AM +0200, Ionut Nicu wrote: Some gpio chips may have get/set operations that can sleep. For this type of chips we must use the _cansleep() version of gpio_set_value. Signed-off-by: Ionut Nicu ioan.nicu@nsn.com --- drivers/i2c/muxes/i2c-mux-gpio.c | 11

Re: [PATCH v4 0/4] Add I2C support to ST SoCs

2013-10-10 Thread Wolfram Sang
Changes since v3: - Switch back to vendor specific DT properties regarding the anti-glitch filter configuration, as this IP is the only one having such a filter. Do you agree to keep these properties vendor-specifics? My preference is generic bindings. There are no other users

Re: [PATCH 1/2] i2c-mux-gpio: test if the gpio can sleep

2013-10-10 Thread Wolfram Sang
On Thu, Oct 10, 2013 at 10:46:41AM +0200, Lars-Peter Clausen wrote: + if (gpio_cansleep(gpio)) + gpio_set_value_cansleep(gpio, val (1 i)); + else + gpio_set_value(gpio, val (1 i)); The proper way to do this is just always use

[RFC 07/42] drivers/gpu/host1x: don't check resource with devm_ioremap_resource

2013-05-10 Thread Wolfram Sang
devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang w...@the-dreams.de --- drivers/gpu/host1x/dev.c |7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/gpu/host1x/dev.c b/drivers/gpu

[RFC 19/42] drivers/pinctrl/spear: don't check resource with devm_ioremap_resource

2013-05-10 Thread Wolfram Sang
devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang w...@the-dreams.de --- drivers/pinctrl/spear/pinctrl-plgpio.c |7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/pinctrl/spear

[RFC 26/42] drivers/thermal: don't check resource with devm_ioremap_resource

2013-05-10 Thread Wolfram Sang
devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang w...@the-dreams.de --- drivers/thermal/dove_thermal.c | 11 +-- drivers/thermal/exynos_thermal.c |5 - drivers/thermal/kirkwood_thermal.c

[RFC 29/42] drivers/usb/gadget: don't check resource with devm_ioremap_resource

2013-05-10 Thread Wolfram Sang
devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang w...@the-dreams.de --- drivers/usb/gadget/bcm63xx_udc.c | 10 -- 1 file changed, 10 deletions(-) diff --git a/drivers/usb/gadget/bcm63xx_udc.c b/drivers

[RFC 41/42] sound/soc/fsl: don't check resource with devm_ioremap_resource

2013-05-10 Thread Wolfram Sang
devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang w...@the-dreams.de --- sound/soc/fsl/imx-ssi.c |6 -- 1 file changed, 6 deletions(-) diff --git a/sound/soc/fsl/imx-ssi.c b/sound/soc/fsl/imx-ssi.c index

[RFC 42/42] sound/soc/kirkwood: don't check resource with devm_ioremap_resource

2013-05-10 Thread Wolfram Sang
devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang w...@the-dreams.de --- sound/soc/kirkwood/kirkwood-i2s.c |5 - 1 file changed, 5 deletions(-) diff --git a/sound/soc/kirkwood/kirkwood-i2s.c b/sound/soc

[RFC 40/42] arch/mips/lantiq/xway: don't check resource with devm_ioremap_resource

2013-05-10 Thread Wolfram Sang
devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang w...@the-dreams.de --- arch/mips/lantiq/xway/gptu.c |7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/arch/mips/lantiq/xway/gptu.c b

[RFC 38/42] arch/arm/plat-omap: don't check resource with devm_ioremap_resource

2013-05-10 Thread Wolfram Sang
devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang w...@the-dreams.de --- arch/arm/plat-omap/dmtimer.c |7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/arch/arm/plat-omap/dmtimer.c b

[RFC 34/42] drivers/video/omap2/dss: don't check resource with devm_ioremap_resource

2013-05-10 Thread Wolfram Sang
devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang w...@the-dreams.de --- drivers/video/omap2/dss/hdmi.c |7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/video/omap2/dss/hdmi.c b

[RFC 36/42] drivers/watchdog: don't check resource with devm_ioremap_resource

2013-05-10 Thread Wolfram Sang
devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang w...@the-dreams.de --- drivers/watchdog/imx2_wdt.c |5 - 1 file changed, 5 deletions(-) diff --git a/drivers/watchdog/imx2_wdt.c b/drivers/watchdog

<    1   2   3   4   5   6   7   8   9   10   >