Re: [PATCH v2 3/4] ARM: at91/dt: sama5d4: update i2c compatible string

2015-12-03 Thread Nicolas Ferre
will go into arm-soc. It'll be queued in at91-4.5-dt branch soon. Acked-by: Nicolas Ferre > --- > arch/arm/boot/dts/sama5d4.dtsi | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/arch/arm/boot/dts/sama5d4.dtsi b/arch/arm/boot/dts/sama5d4

Re: [PATCH v2 4/4] ARM: at91/dt: sama5d2 Xplained: pmic needs a specific sda hold time

2015-12-03 Thread Nicolas Ferre
.5-dt branch soon. Acked-by: Nicolas Ferre Thanks, bye. > --- > arch/arm/boot/dts/at91-sama5d2_xplained.dts | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm/boot/dts/at91-sama5d2_xplained.dts > b/arch/arm/boot/dts/at91-sama5d2_xplained.dts > index ad6de73

Re: [PATCH v2 2/4] i2c: at91: update bindings documention

2015-12-03 Thread Nicolas Ferre
Le 03/12/2015 10:53, Ludovic Desroches a écrit : > The i2c-sda-hold-time-ns property is supported from atmel,sama5d4-i2c. > > Signed-off-by: Ludovic Desroches > Acked-by: Rob Herring Acked-by: Nicolas Ferre > --- > Documentation/devicetree/bindings/i2c/i2c-at91.txt |

Re: [PATCH v2 1/4] i2c: at91: add support for the HOLD field

2015-12-03 Thread Nicolas Ferre
ovic Desroches Acked-by: Nicolas Ferre > --- > drivers/i2c/busses/i2c-at91.c | 53 > --- > 1 file changed, 50 insertions(+), 3 deletions(-) > > diff --git a/drivers/i2c/busses/i2c-at91.c b/drivers/i2c/busses/i2c-at91.c > index 10835d1.

Re: [PATCH 4/4] ARM: at91/dt: sama5d2 Xplained: pmic needs a specific sda hold time

2015-12-02 Thread Nicolas Ferre
i2c-sda-hold-time-ns = <350>; > status = "okay"; > > pmic: act8865@5b { > -- Nicolas Ferre -- 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 3/4] ARM: at91/dt: sama5d4: update i2c compatible string

2015-12-02 Thread Nicolas Ferre
Le 02/12/2015 11:39, Ludovic Desroches a écrit : > A new compatible string has been introduced: atmel,sama5d4-i2c. It > allows to use the i2c-sda-hold-time-ns property if needed. > > Signed-off-by: Ludovic Desroches Acked-by: Nicolas Ferre Ok, we'll need to synchronize with

Re: [PATCH 2/4] i2c: at91: update bindings documention

2015-12-02 Thread Nicolas Ferre
amples : > @@ -52,6 +53,7 @@ i2c0: i2c@f8034600 { > #size-cells = <0>; > clocks = <&flx0>; > atmel,fifo-size = <16>; > + i2c-sda-hold-time-ns = <336>; > > wm8731: wm8731@1a { > compatible = "wm8731"; > -- Nicolas Ferre -- 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/4] i2c: at91: add upport for the HOLD field

2015-12-02 Thread Nicolas Ferre
ama5d2_config = { > @@ -861,6 +905,7 @@ static struct at91_twi_pdata sama5d2_config = { > .clk_offset = 4, > .has_unre_flag = true, > .has_alt_cmd = true, > + .has_hold_field = true, > }; > > static const struct of_device_id atmel_twi_dt_ids[] = { > @@ -883,6 +928,9 @@ stat

Re: [PATCH v5 4/6] i2c: at91: add support for new alternative command mode

2015-06-09 Thread Nicolas Ferre
= { > .clk_max_div = 5, > .clk_offset = 4, > .has_unre_flag = false, > + .has_alt_cmd = false, > }; > > static struct at91_twi_pdata at91sam9260_config = { > .clk_max_div = 7, > .clk_offset = 4, > .has_unre_flag = false, > +

Re: [PATCH v5 3/6] i2c: at91: update documentation for DT bindings

2015-06-09 Thread Nicolas Ferre
interrupts = <19 IRQ_TYPE_LEVEL_HIGH 7>; > + dmas = <&dma0 > + (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1)) > + AT91_XDMAC_DT_PERID(11)>, > + <&dma0 > + (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_

Re: [PATCH] at91: dt: i2c: add a new compatibility string for the at91sam9261

2014-01-15 Thread Nicolas Ferre
On 15/01/2014 11:24, Jean-Jacques Hiblot : > Signed-off-by: Jean-Jacques Hiblot Acked-by: Nicolas Ferre Thanks Jean-Jacques. Side note: do not forget i2c maintainer and ml. > --- > drivers/i2c/busses/i2c-at91.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/

Re: [PATCH] i2c: at91: document clock properties

2013-12-19 Thread Nicolas Ferre
On 17/12/2013 16:54, Boris BREZILLON : > Document the clock properties required by the at91 i2c bus driver. > > Signed-off-by: Boris BREZILLON Acked-by: Nicolas Ferre > --- > Documentation/devicetree/bindings/i2c/i2c-at91.txt |2 ++ > 1 file changed, 2 insertions(+)

Re: [PATCH v2] ARM: at91: sama5d3: reduce TWI internal clock frequency

2013-12-02 Thread Nicolas Ferre
On 02/12/2013 09:42, Nicolas Ferre : On 22/11/2013 17:08, ludovic.desroc...@atmel.com : From: Ludovic Desroches With some devices, transfer hangs during I2C frame transmission. This issue disappears when reducing the internal frequency of the TWI IP. Even if it is indicated that internal

Re: [PATCH v2] ARM: at91: sama5d3: reduce TWI internal clock frequency

2013-12-02 Thread Nicolas Ferre
have oversampling on I2C signals making TWI believe that a transfer in progress is done. This fix has no impact on the I2C bus frequency. Cc: #3.10+ Acked-by: Nicolas Ferre Signed-off-by: Ludovic Desroches added to at91-3.14-dt branch. thanks, --- v2: update commit message arch/arm

Re: [PATCH] ARM: at91: sama5d3: reduce TWI internal clock frequency

2013-11-22 Thread Nicolas Ferre
= AT91_PMC_PCR_DIV2, + .div= AT91_PMC_PCR_DIV8, }; static struct clk mmc0_clk = { .name = "mci0_clk", -- Nicolas Ferre -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a messa

Re: [PATCH] ARM: at91: sama5d3: reduce TWI internal clock frequency

2013-11-22 Thread Nicolas Ferre
essage IMO :) Ok I'll update it. Ludo, you can also add my: Acked-by: Nicolas Ferre Bye, Thanks for the review Wolfram. Regards Ludovic -- Nicolas Ferre -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to major

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

2013-04-30 Thread Nicolas Ferre
On 04/19/2013 11:11 AM, ludovic.desroc...@atmel.com : > From: Ludovic Desroches > > Use generic DMA DT helper. Platforms booting with or without DT populated are > both supported. > > Signed-off-by: Ludovic Desroches > Acked-by: Jean-Christophe PLAGNIOL-VILLARD > Acke

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

2013-04-29 Thread Nicolas Ferre
On 04/23/2013 05:44 AM, Vinod Koul : > On Mon, Apr 22, 2013 at 12:22:32PM +0200, Nicolas Ferre wrote: >> On 04/19/2013 11:11 AM, ludovic.desroc...@atmel.com : >>> From: Ludovic Desroches > >>> +#ifdef CONFIG_OF >>> +static bool at_dma_filter(struct dma

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

2013-04-22 Thread Nicolas Ferre
gt; Signed-off-by: Ludovic Desroches > Acked-by: Nicolas Ferre > Acked-by: Jean-Christophe PLAGNIOL-VILLARD > Acked-by: Arnd Bergmann Hi Vinod, As you were not in copy of the patch, I send you a little reminder for it. It is part of a series by Ludovic and is adding the generic slave DMA d

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

2013-04-19 Thread Nicolas Ferre
ma phandle name] Acked-by: Nicolas Ferre And stacked in at91-3.10-soc. thanks, > --- > arch/arm/boot/dts/at91sam9n12.dtsi | 6 ++ > arch/arm/boot/dts/at91sam9x5.dtsi | 9 + > arch/arm/boot/dts/sama5d3.dtsi | 9 + > 3 files changed, 24 insertions(+) >

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

2013-04-19 Thread Nicolas Ferre
ma phandle name] Acked-by: Nicolas Ferre And stacked in at91-3.10-soc. thanks, > --- > arch/arm/boot/dts/at91sam9g45.dtsi | 4 > arch/arm/boot/dts/at91sam9n12.dtsi | 2 ++ > arch/arm/boot/dts/at91sam9x5.dtsi | 4 > arch/arm/boot/dts/sama5d3.dtsi | 6 ++ >

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

2013-04-19 Thread Nicolas Ferre
On 04/19/2013 11:11 AM, ludovic.desroc...@atmel.com : > From: Ludovic Desroches > > Moving to generic DMA DT binding involves to set #dma-cells to 2. > > Signed-off-by: Ludovic Desroches Acked-by: Nicolas Ferre And stacked in at91-3.10-soc. thanks, > --- > arch/arm

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

2013-04-18 Thread Nicolas Ferre
gt; Signed-off-by: Ludovic Desroches > Acked-by: Nicolas Ferre > Acked-by: Jean-Christophe PLAGNIOL-VILLARD I plan to make this whole series go forward for 3.10 because of the sensitive nature of DMA bindings and the expectations of everybody on this topic ;-) Arnd, Do you feel like giving your &

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 > > Use generic DMA DT helper. Platforms booting with or without DT populated are > both supported. > > Signed-off-by: Ludovic Desroches Acked-by: Nicolas Ferre > --- > drivers/m

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

2013-04-16 Thread Nicolas Ferre
gt; Signed-off-by: Ludovic Desroches Some minor comments but the overall is good: so, after adding a little more explanation to documentation: Acked-by: Nicolas Ferre Very nice and concise patch for adding such an important feature: kudos! > --- > .../devicetree/bindings/dma/atmel-dma.txt

Re: [PATCH] MAINTAINERS: add maintainer entry for atmel i2c driver

2013-03-15 Thread Nicolas Ferre
On 03/15/2013 04:32 PM, ludovic.desroc...@atmel.com : > From: Ludovic Desroches > > Create an entry for atmel i2c driver: i2c-at91.c > > Signed-off-by: Ludovic Desroches Acked-by: Nicolas Ferre > --- > Hello, > > If there are no objections, I'll take the ma

Re: [PATCH 3/3] i2c: at91: add dma support

2012-11-15 Thread Nicolas Ferre
ng this should cause to send the > STOP command too late and then to get extra data in the receive > register. > > Signed-off-by: Ludovic Desroches Even nicer ;-) Acked-by: Nicolas Ferre > --- > drivers/i2c/busses/i2c-at91.c | 306 > ++

Re: [PATCH 2/3] i2c: at91: change struct members indentation

2012-11-15 Thread Nicolas Ferre
ce... You know my preferences ;-) > Signed-off-by: Ludovic Desroches Ok, then: Acked-by: Nicolas Ferre > --- > drivers/i2c/busses/i2c-at91.c | 30 +++--- > 1 file changed, 15 insertions(+), 15 deletions(-) > > diff --git a/drivers/i2c/busses/i2c-at91.c b/dr

Re: [PATCH 1/3] i2c: at91: fix compilation warning

2012-11-15 Thread Nicolas Ferre
On 11/14/2012 05:44 PM, ludovic.desroc...@atmel.com : > From: Ludovic Desroches > > Signed-off-by: Ludovic Desroches Acked-by: Nicolas Ferre Maybe tell Wolfram to remove this one from the series and add it to his 3.7 tree... Bye, > --- > drivers/i2c/busses/i2c-at91.c |

Re: [PATCH] i2c: at91: add dma support

2012-10-17 Thread Nicolas Ferre
ng this should cause to send the > STOP command too late and then to get extra data in the receive > register. > > Signed-off-by: Ludovic Desroches Acked-by: Nicolas Ferre Nice work Ludo ;-) ! Bye, > --- > drivers/i2c/busses/i2c-at91.c | 326 > +

Re: [PATCH v2] i2c: change the id to let the i2c-gpio work

2012-10-15 Thread Nicolas Ferre
On 10/15/2012 10:26 AM, Bo Shen : > Hi Nicolas, > > On 10/15/2012 16:12, Nicolas Ferre wrote: >> On 10/15/2012 04:09 AM, Bo Shen : >>> Hi Joachim Eastwood, >>> >>> On 10/13/2012 1:42, Joachim Eastwood wrote: >>>> Hi Bo Shen, >>>>

Re: [PATCH v2] i2c: change the id to let the i2c-gpio work

2012-10-15 Thread Nicolas Ferre
c you might want to fix >> them as well. > > Thanks for your information. > After I test these boards, I will send patches to fix them, while not in > this patch. I am in favor of doing a comprehensive patch series that covers all aspects of this issue: - each boards - both

Re: [PATCH v3 0/8] i2c: at91: cleanup and dt support

2012-09-12 Thread Nicolas Ferre
sam9rl.c| 4 +- > arch/arm/mach-at91/at91sam9rl_devices.c| 2 +- > arch/arm/mach-at91/at91sam9x5.c| 6 +- > drivers/i2c/busses/Kconfig | 6 + > drivers/i2c/busses/i2c-at91.c | 217 > +

Re: [PATCH v11 0/4] AT91: replace old i2c-at91.c TWI driver

2012-09-12 Thread Nicolas Ferre
ubject, it is actually the real v12 patch series from Nikolaus. BTW, I suspect that you were not in copy... In addition to the "Tested-By" tag by Ludovic, you can add my: Reviewed-by: Nicolas Ferre > Nikolaus Voss (4): > drivers/i2c/busses/i2c-at91.c: remove old polling driver

Re: [PATCH 0/8] i2c: at91: cleanup and dt support

2012-09-03 Thread Nicolas Ferre
dts: add twi nodes for atmel boards For the whole patch series (with Jean-Christophe remarks about *dts modifications*): Acked-by: Nicolas Ferre > .../devicetree/bindings/i2c/atmel-i2c.txt | 30 +++ > arch/arm/boot/dts/at91sam9260.dtsi | 23 +-- > ar

Re: [PATCH 8/8] ARM: dts: add twi nodes for atmel boards

2012-08-31 Thread Nicolas Ferre
and break the Calao Yes, Ludovic shall keep i2c-gpio at the side of the new twi driver. But for the platform, the platform maintainer will have to choose the one or the other. Bye, -- Nicolas Ferre -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message

Re: [PATCH 7/8] ARM: dts: add twi nodes for atmel SOCs

2012-08-31 Thread Nicolas Ferre
no issue on the hw > IP. For hte onther one keep both in the dtsi Yes, I agree with this. Bye, -- Nicolas Ferre -- 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 3/8] i2c: at91: use an id table for SoC dependent parameters

2012-08-31 Thread Nicolas Ferre
; as we need to touch the driver to add a new soc So what? We still keep the compatibility if the new SoC has it compatibility assured with previous revision: there is nothing to modify. > please use platform data No, it does not have to be exposed to the user: these data are highly dependent

Re: [PATCH 5/5] ARM: dts: add twi nodes for atmel boards

2012-08-21 Thread Nicolas Ferre
On 08/21/2012 04:32 PM, ludovic.desroc...@atmel.com : > From: Ludovic Desroches > > Use the atmel twi instead of gpio for i2c stuff. > > Signed-off-by: Ludovic Desroches Seems good. Maybe we will have to test wm8731 a little bit more. Acked-by: Nicolas Ferre > --- &g

Re: [PATCH 4/5] ARM: dts: add twi nodes for atmel SOCs

2012-08-21 Thread Nicolas Ferre
On 08/21/2012 04:29 PM, ludovic.desroc...@atmel.com : > From: Ludovic Desroches > > Add twi nodes for atmel SOCs and remove i2c-gpio ones. > > Signed-off-by: Ludovic Desroches Yes, we will move to it once people test it a little bit... Acked-by: Nicolas Ferre > --- &g

Re: [PATCH 3/5] ARM: at91: add clocks for i2c DT entries

2012-08-21 Thread Nicolas Ferre
On 08/21/2012 04:29 PM, ludovic.desroc...@atmel.com : > From: Ludovic Desroches > > Signed-off-by: Ludovic Desroches Acked-by: Nicolas Ferre > --- > arch/arm/mach-at91/at91sam9260.c | 1 + > arch/arm/mach-at91/at91sam9263.c | 1 + > arch/arm/mach-at91/at91sam9g45.c |

Re: [PATCH 2/5] i2c: at91: add dt support to i2c-at91

2012-08-21 Thread Nicolas Ferre
91_twi_pm_ops NULL > #endif > > +#ifdef CONFIG_OF > +static const struct of_device_id at91_twi_dt_ids[] = { > + { .compatible = "atmel,at91rm9200-i2c", }, > + { .compatible = "atmel,at91sam9260-i2c", }, > + { .compatible = "atmel,at91sam9261-i2c&q

Re: [PATCH 1/5] i2c: at91: add new fixes for some TWI ip versions

2012-08-21 Thread Nicolas Ferre
offset); > + ckdiv = fls(div >> 8); > + cdiv = div >> ckdiv; > + > + if (ckdiv > max_ckdiv) { > + dev_warn(dev->dev, "%d exceeds ckdiv max value which is %d.\n", > + ckdiv, max_ckdiv); > +

Re: [PATCH V3 2/4] drivers/i2c/busses/i2c-at91.c: add new driver

2011-11-08 Thread Nicolas Ferre
and has worked for ages. Do you think it is related to the need to be able to compile the driver for any SoC in the case of multi-SoC zImage support? Best regards, - -- Nicolas Ferre -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - htt

Re: [PATCH V2] drivers/i2c/busses/i2c-at91.c: fix brokeness

2011-11-07 Thread Nicolas Ferre
iver falls under > his jurisdiction. But for what it's worth, I consider the small-steps > rule void when it comes to fixing a plain broken driver by almost fully > rewriting it. The reviewer should really review the resulting code > rather than the patch. If it makes everybody happier,