[PATCH v2 1/2] clk: at91: add a new compatible string for Flexcom in the DT documentation

2015-06-02 Thread Cyrille Pitchen
This patches documents the new bindings for the Flexcom clock, which will be introduced by Atmel sama5d2x chips. Signed-off-by: Cyrille Pitchen cyrille.pitc...@atmel.com --- .../devicetree/bindings/clock/at91-clock.txt | 20 1 file changed, 20 insertions(+) diff

[PATCH v2 0/2] clk: at91: add new driver for Flexcom

2015-06-02 Thread Cyrille Pitchen
ChangeLog v2: - fix commit message v1: This series of patches introduces a new driver for the Atmel Flexcom. Cyrille Pitchen (2): clk: at91: add a new compatible string for Flexcom in the DT documentation clk: at91: add Flexcom clock .../devicetree/bindings/clock/at91-clock.txt

[PATCH v2 2/2] clk: at91: add Flexcom clock

2015-06-02 Thread Cyrille Pitchen
of this new feature. Signed-off-by: Cyrille Pitchen cyrille.pitc...@atmel.com --- arch/arm/mach-at91/Kconfig | 3 + drivers/clk/at91/Makefile | 1 + drivers/clk/at91/clk-flexcom.c | 160 + 3 files changed, 164 insertions(+) create mode 100644 drivers

Re: [PATCH 2/2] clk: at91: add Flexcom clock

2015-06-02 Thread Cyrille Pitchen
Le 02/06/2015 18:49, Cyrille Pitchen a écrit : Signed-off-by: Cyrille Pitchen cyrille.pitc...@atmel.com This driver supports the new Atmel Flexcom. The Flexcom is a wrapper which integrates one SPI controller, one I2C controller and one USART. Only one function can be enabled at a time

[PATCH v2 3/5] i2c: at91: add support for new alternative command mode

2015-06-01 Thread Cyrille Pitchen
of the ACR is not used so its Data Length 8bit counter is cleared. For each byte sent or received by the device, the Data Length 8bit counter is decremented. When it reaches 0, a STOP condition is automatically sent. Signed-off-by: Cyrille Pitchen cyrille.pitc...@atmel.com --- drivers/i2c/busses

[PATCH v2 2/5] i2c: at91: update documentation for DT bindings

2015-06-01 Thread Cyrille Pitchen
add a new value atmel,at91sama5d2-i2c for the compatible property. add a new optional property atmel,fifo-size to enable FIFO support when available. add missing optional properties dmas and dma-names. Signed-off-by: Cyrille Pitchen cyrille.pitc...@atmel.com --- Documentation/devicetree/bindings

[PATCH v2 1/5] i2c: at91: use BIT() macro to define register bits

2015-06-01 Thread Cyrille Pitchen
This patch just fixes typo before applying later patches which will use register bits with index above 16. Signed-off-by: Cyrille Pitchen cyrille.pitc...@atmel.com --- drivers/i2c/busses/i2c-at91.c | 29 +++-- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git

[PATCH v2 0/5] i2c: at91: add support to FIFOs and alternative command

2015-06-01 Thread Cyrille Pitchen
to the Receive Holding Register. Currently only DMA transfers take advantage of FIFOs. Cyrille Pitchen (5): i2c: at91: use BIT() macro to define register bits i2c: at91: update documentation for DT bindings i2c: at91: add support for new alternative command mode i2c: at91: print hardware version

[PATCH v2 5/5] i2c: at91: add support to FIFOs

2015-06-01 Thread Cyrille Pitchen
properly in the I2C controller node of the device tree. Signed-off-by: Cyrille Pitchen cyrille.pitc...@atmel.com --- drivers/i2c/busses/i2c-at91.c | 146 +- 1 file changed, 129 insertions(+), 17 deletions(-) diff --git a/drivers/i2c/busses/i2c-at91.c b

[PATCH v2 4/5] i2c: at91: print hardware version

2015-06-01 Thread Cyrille Pitchen
The probe() function now prints the hardware version of the I2C controller Signed-off-by: Cyrille Pitchen cyrille.pitc...@atmel.com --- drivers/i2c/busses/i2c-at91.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/i2c/busses/i2c-at91.c b/drivers/i2c/busses/i2c-at91.c index

<    1   2   3