Re: I2C_M_RECV_LEN for i2c-mxs

2013-04-16 Thread Uwe Kleine-König
Hi Wolfram, On Sun, Apr 14, 2013 at 01:57:58PM +0200, Wolfram Sang wrote: Ah, ok. But then there is a different problem: Even though my driver only advertises I2C_FUNC_I2C | I2C_FUNC_SMBUS_EMUL calling i2c_smbus_read_block_data in userspace results in .master_xfer being called with

Re: [PATCH 2/3] i2c: at91: convert to dma_request_slave_channel_compat()

2013-04-16 Thread Wolfram Sang
On Mon, Apr 15, 2013 at 02:16:56PM +0200, ludovic.desroc...@atmel.com wrote: From: Ludovic Desroches ludovic.desroc...@atmel.com Use generic DMA DT helper. Platforms booting with or without DT populated are both supported. Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com

Re: [PATCH] i2c: imx: use of_alias_get_id to order i2c devices

2013-04-16 Thread Wolfram Sang
On Tue, Apr 09, 2013 at 07:09:39PM +0200, Philipp Zabel wrote: This allows to order i2c character devices as they are numbered in the reference manual, instead of ordering them by register base address. Signed-off-by: Philipp Zabel p.za...@pengutronix.de

Re: [PATCH] i2c: imx: use of_alias_get_id to order i2c devices

2013-04-16 Thread Philipp Zabel
Am Dienstag, den 16.04.2013, 11:17 +0200 schrieb Wolfram Sang: On Tue, Apr 09, 2013 at 07:09:39PM +0200, Philipp Zabel wrote: This allows to order i2c character devices as they are numbered in the reference manual, instead of ordering them by register base address. Signed-off-by:

Re: [PATCH v5 1/3] i2c: mux: Add i2c-arb-gpio-challenge 'mux' driver

2013-04-16 Thread Wolfram Sang
Doug, On Tue, Apr 09, 2013 at 02:34:28PM -0700, Doug Anderson wrote: The i2c-arb-gpio-challenge driver implements an I2C arbitration scheme where masters need to claim the bus with a GPIO before they can start a transcation. This should generally only be used when standard I2C multimaster

Re: [PATCH v5 1/3] i2c: mux: Add i2c-arb-gpio-challenge 'mux' driver

2013-04-16 Thread Peter Korsgaard
Wolfram == Wolfram Sang w...@the-dreams.de writes: Hi, +- their-claim-gpios: The GPIOs that the other sides use the claim the bus. + Note that some implementations may only support a single other master. Wolfram Stronger? Currently, only one other master is supported? Also there's a

Re: [PATCH 2/4] i2c: Kontron PLD i2c bus driver

2013-04-16 Thread Wolfram Sang
On Wed, Apr 10, 2013 at 10:02:12AM -0700, Guenter Roeck wrote: On Mon, Apr 08, 2013 at 10:15:19AM -0700, Kevin Strasser wrote: From: Michael Brunner michael.brun...@kontron.com Add i2c support for the on-board PLD found on some Kontron embedded modules. Signed-off-by: Michael

Re: [PATCH 1/3] at_hdmac: move to generic DMA binding

2013-04-16 Thread Nicolas Ferre
On 04/15/2013 02:16 PM, ludovic.desroc...@atmel.com : From: Ludovic Desroches ludovic.desroc...@atmel.com Update at_hdmac driver to support generic DMA device tree binding. Devices can still request channel with dma_request_channel() then it doesn't break DMA for non DT boards.

Re: [PATCH 3/3] mci: at91: convert to dma_request_slave_channel_compat()

2013-04-16 Thread Nicolas Ferre
On 04/15/2013 02:16 PM, ludovic.desroc...@atmel.com : From: Ludovic Desroches ludovic.desroc...@atmel.com Use generic DMA DT helper. Platforms booting with or without DT populated are both supported. Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com Acked-by: Nicolas Ferre

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

2013-04-16 Thread Wolfram Sang
Hi, thanks for the submission. On Thu, Apr 04, 2013 at 09:52:01PM -0700, Naveen Krishna Chatradhi wrote: From: Naveen Krishna Chatradhi ch.nav...@samsung.com Adds support for High Speed I2C driver found in Exynos5 and later SoCs from Samsung. This driver currently supports Auto mode.

[PATCH v2 0/6] ARM: at91: move to generic DMA device tree binding

2013-04-16 Thread ludovic.desroches
From: Ludovic Desroches ludovic.desroc...@atmel.com Hi, This set of patches introduces DMA device tree bindings support for the atmel DMA controller and first driver conversions. Patch 3/6 has already been taken by Wolfram. v2 changes: - update documentation about dma bindings according to

[PATCH 1/6] at_hdmac: move to generic DMA binding

2013-04-16 Thread ludovic.desroches
From: Ludovic Desroches ludovic.desroc...@atmel.com Update at_hdmac driver to support generic DMA device tree binding. Devices can still request channel with dma_request_channel() then it doesn't break DMA for non DT boards. Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com Acked-by:

[PATCH 2/6] ARM: at91: dts: set #dma-cells to the correct value

2013-04-16 Thread ludovic.desroches
From: Ludovic Desroches ludovic.desroc...@atmel.com Moving to generic DMA DT binding involves to set #dma-cells to 2. Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com --- arch/arm/boot/dts/at91sam9g45.dtsi | 1 + arch/arm/boot/dts/at91sam9n12.dtsi | 1 +

[PATCH 3/6] i2c: at91: convert to dma_request_slave_channel_compat()

2013-04-16 Thread ludovic.desroches
From: Ludovic Desroches ludovic.desroc...@atmel.com Use generic DMA DT helper. Platforms booting with or without DT populated are both supported. Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com --- drivers/i2c/busses/i2c-at91.c | 49 ++- 1

[PATCH 4/6] ARM: at91: dts: add i2c dma support

2013-04-16 Thread ludovic.desroches
From: Ludovic Desroches ludovic.desroc...@atmel.com Add DMA resources to i2c nodes. Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com --- arch/arm/boot/dts/at91sam9n12.dtsi | 6 ++ arch/arm/boot/dts/at91sam9x5.dtsi | 9 + arch/arm/boot/dts/sama5d3.dtsi | 9 +

[PATCH 5/6] mci: at91: convert to dma_request_slave_channel_compat()

2013-04-16 Thread ludovic.desroches
From: Ludovic Desroches ludovic.desroc...@atmel.com Use generic DMA DT helper. Platforms booting with or without DT populated are both supported. Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com Acked-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com Acked-by: Nicolas Ferre

[PATCH 6/6] ARM: at91: dts: add MCI DMA support

2013-04-16 Thread ludovic.desroches
From: Ludovic Desroches ludovic.desroc...@atmel.com Add DMA resources to MCI nodes. Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com --- arch/arm/boot/dts/at91sam9g45.dtsi | 4 arch/arm/boot/dts/at91sam9n12.dtsi | 2 ++ arch/arm/boot/dts/at91sam9x5.dtsi | 4

Re: [PATCH v5 1/3] i2c: mux: Add i2c-arb-gpio-challenge 'mux' driver

2013-04-16 Thread Guenter Roeck
On Tue, Apr 16, 2013 at 11:36:33AM +0200, Wolfram Sang wrote: Doug, [ ... ] callenge response? ... diff --git a/drivers/i2c/muxes/i2c-arb-gpio-challenge.c b/drivers/i2c/muxes/i2c-arb-gpio-challenge.c new file mode 100644 index 000..bda020a --- /dev/null +++

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

2013-04-16 Thread Christian Ruppert
Looks like this was eaten by the spam filter last time so i'm resending it to the lists only: 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 v5 1/3] i2c: mux: Add i2c-arb-gpio-challenge 'mux' driver

2013-04-16 Thread Stephen Warren
On 04/16/2013 03:36 AM, Wolfram Sang wrote: Doug, On Tue, Apr 09, 2013 at 02:34:28PM -0700, Doug Anderson wrote: The i2c-arb-gpio-challenge driver implements an I2C arbitration scheme where masters need to claim the bus with a GPIO before they can start a transcation. This should generally

[PATCH v6 1/3] i2c: mux: Add i2c-arb-gpio-challenge 'mux' driver

2013-04-16 Thread Doug Anderson
The i2c-arb-gpio-challenge driver implements an I2C arbitration scheme where masters need to claim the bus with a GPIO before they can start a transcation. This should generally only be used when standard I2C multimaster isn't appropriate for some reason (errata/bugs). This driver is based on

Re: [PATCH v6 1/3] i2c: mux: Add i2c-arb-gpio-challenge 'mux' driver

2013-04-16 Thread Olof Johansson
Overdue, should have added a few iterations ago: :) On Tue, Apr 16, 2013 at 09:29:00AM -0700, Doug Anderson wrote: The i2c-arb-gpio-challenge driver implements an I2C arbitration scheme where masters need to claim the bus with a GPIO before they can start a transcation. This should generally

Re: [PATCH v6 1/3] i2c: mux: Add i2c-arb-gpio-challenge 'mux' driver

2013-04-16 Thread Guenter Roeck
On Tue, Apr 16, 2013 at 09:29:00AM -0700, Doug Anderson wrote: The i2c-arb-gpio-challenge driver implements an I2C arbitration scheme where masters need to claim the bus with a GPIO before they can start a transcation. This should generally only be used when standard I2C I am having fun with