From: Ludovic Desroches ludovic.desroc...@atmel.com
Acked-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com
Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com
---
arch/arm/boot/dts/at91sam9g45.dtsi | 5 +++--
arch/arm/boot/dts/at91sam9n12.dtsi | 11 ++-
From: Ludovic Desroches ludovic.desroc...@atmel.com
DMA-cell content is a concatenation of several values. In order to keep this
stuff human readable, macros are introduced.
The values for the FIFO configuration are not the same as the ones used in the
configuration register in order to keep
From: Ludovic Desroches ludovic.desroc...@atmel.com
Hi,
This set of patches update the dt dma binding for at_hdmac since we need one
more parameter. In order to keep backward compatibility, an existing cell will
be used to add this parameter. Since the content of that cell will become a
magic
From: Ludovic Desroches ludovic.desroc...@atmel.com
For most devices the FIFO configuration is the same i.e. when half FIFO size is
available/filled, a source/destination request is serviced. But USART devices
have to do it when there is enough space/data available to perform a single
AHB access
From: Ludovic Desroches ludovic.desroc...@atmel.com
Add device tree support.
Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com
---
Changes in v2:
- code cleanup
- correct typo
.../devicetree/bindings/net/can/atmel-can.txt | 14
drivers/net/can/at91_can.c
From: Ludovic Desroches ludovic.desroc...@atmel.com
Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com
---
drivers/net/can/at91_can.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/net/can/at91_can.c b/drivers/net/can/at91_can.c
index c7f70d4..56fb2aa 100644
---
From: Ludovic Desroches ludovic.desroc...@atmel.com
SAMA5D3 devices also embed CAN feature. Moreover if we want to produce a single
kernel image (at least for Atmel devices) it is not useful to be too
restrictive.
Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com
---
From: Ludovic Desroches ludovic.desroc...@atmel.com
Hi,
This set of patches is based on Nikolaus at91_i2c driver.
Changes:
v3:
- only put multi-drive lines in the if...else statement (suggested
by Warner Losh)
v2:
- change driver name from xxx_i2c to i2c-xxx
- keep i2c-gpio nodes in
From: Ludovic Desroches ludovic.desroc...@atmel.com
Use managed resources to ease the cleanup.
Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com
Acked-by: Nikolaus Voss n.v...@weinmann.de
Acked-by: Nicolas Ferre nicolas.fe...@atmel.com
---
drivers/i2c/busses/i2c-at91.c | 85
From: Ludovic Desroches ludovic.desroc...@atmel.com
Use the id_table to store configuration structures which are depending
on SoC.
Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com
Acked-by: Nikolaus Voss n.v...@weinmann.de
Acked-by: Nicolas Ferre nicolas.fe...@atmel.com
---
From: Ludovic Desroches ludovic.desroc...@atmel.com
As indicated in the datasheet, TWD and TWCK must not be programmed as
open-drain.
Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com
Acked-by: Nikolaus Voss n.v...@weinmann.de
Acked-by: Nicolas Ferre nicolas.fe...@atmel.com
---
From: Ludovic Desroches ludovic.desroc...@atmel.com
Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com
Acked-by: Nikolaus Voss n.v...@weinmann.de
Acked-by: Nicolas Ferre nicolas.fe...@atmel.com
---
.../devicetree/bindings/i2c/atmel-i2c.txt | 30 +
From: Ludovic Desroches ludovic.desroc...@atmel.com
Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com
Acked-by: Nikolaus Voss n.v...@weinmann.de
Acked-by: Nicolas Ferre nicolas.fe...@atmel.com
---
arch/arm/mach-at91/at91sam9260.c | 1 +
arch/arm/mach-at91/at91sam9263.c | 1 +
From: Ludovic Desroches ludovic.desroc...@atmel.com
Add TWI nodes for atmel SoCs but keep i2c-gpio ones in order to let the
choice to the user in dts files.
Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com
Acked-by: Nicolas Ferre nicolas.fe...@atmel.com
---
From: Ludovic Desroches ludovic.desroc...@atmel.com
Still use i2c-gpio on boards which have a SoC with a TWI IP which
doesn't have clock stretching in transmission mode.
Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com
Acked-by: Nicolas Ferre nicolas.fe...@atmel.com
---
From: Ludovic Desroches ludovic.desroc...@atmel.com
Hi,
This set of patches is based on Nikolaus at91_i2c driver.
Changes:
v2:
- change driver name from xxx_i2c to i2c-xxx
- keep i2c-gpio nodes in dtsi files
- don't enable TWI on boards whose TWI IP doesn't support clock
stretching in
From: Ludovic Desroches ludovic.desroc...@atmel.com
Use managed resources to ease the cleanup.
Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com
Acked-by: Nikolaus Voss n.v...@weinmann.de
Acked-by: Nicolas Ferre nicolas.fe...@atmel.com
---
drivers/i2c/busses/i2c-at91.c | 85
From: Ludovic Desroches ludovic.desroc...@atmel.com
Some devices don't have clock streching in transmission mode. It can
lead to premature stop sendings if the latency to write data in the
transmission register is too long. In this case, prefer the i2c-gpio
driver.
Signed-off-by: Ludovic
From: Ludovic Desroches ludovic.desroc...@atmel.com
Use the id_table to store configuration structures which are depending
on SoC.
Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com
Acked-by: Nikolaus Voss n.v...@weinmann.de
Acked-by: Nicolas Ferre nicolas.fe...@atmel.com
---
From: Ludovic Desroches ludovic.desroc...@atmel.com
As indicated in the datasheet, TWD and TWCK must not be programmed as
open-drain.
Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com
Acked-by: Nikolaus Voss n.v...@weinmann.de
Acked-by: Nicolas Ferre nicolas.fe...@atmel.com
---
From: Ludovic Desroches ludovic.desroc...@atmel.com
Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com
Acked-by: Nikolaus Voss n.v...@weinmann.de
Acked-by: Nicolas Ferre nicolas.fe...@atmel.com
---
.../devicetree/bindings/i2c/atmel-i2c.txt | 30 +
From: Ludovic Desroches ludovic.desroc...@atmel.com
Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com
Acked-by: Nikolaus Voss n.v...@weinmann.de
Acked-by: Nicolas Ferre nicolas.fe...@atmel.com
---
arch/arm/mach-at91/at91sam9260.c | 1 +
arch/arm/mach-at91/at91sam9263.c | 1 +
From: Ludovic Desroches ludovic.desroc...@atmel.com
Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com
---
.../devicetree/bindings/i2c/atmel-i2c.txt | 30 +
drivers/i2c/busses/i2c-at91.c | 49 ++
2 files changed, 79
From: Ludovic Desroches ludovic.desroc...@atmel.com
Use the id_table to store configuration structures which are depending on
SoC.
Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com
---
arch/arm/mach-at91/at91rm9200.c | 2 +-
arch/arm/mach-at91/at91rm9200_devices.c | 11
From: Ludovic Desroches ludovic.desroc...@atmel.com
Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com
---
arch/arm/mach-at91/at91sam9260.c | 1 +
arch/arm/mach-at91/at91sam9263.c | 1 +
arch/arm/mach-at91/at91sam9g45.c | 2 ++
arch/arm/mach-at91/at91sam9n12.c | 2 ++
From: Ludovic Desroches ludovic.desroc...@atmel.com
Some devices don't have clock streching in transmission mode. It can
lead to premature stop sendings if the latency to write data in the
transmission register is too long. In this case, prefer the i2c-gpio
driver.
Signed-off-by: Ludovic
From: Ludovic Desroches ludovic.desroc...@atmel.com
Use managed resources to ease the cleanup.
Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com
---
drivers/i2c/busses/i2c-at91.c | 85 +--
1 file changed, 25 insertions(+), 60 deletions(-)
diff
From: Ludovic Desroches ludovic.desroc...@atmel.com
Hi,
This set of patches is based on Nikolaus at91_i2c driver.
Ludovic Desroches (8):
i2c: at91: use managed resources
i2c: at91: add warning about transmission issues for some devices
i2c: at91: use an id table for SoC dependent
From: Ludovic Desroches ludovic.desroc...@atmel.com
As indicated in the datasheet, TWD and TWCK must not be programmed as
open-drain.
Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com
---
arch/arm/mach-at91/at91sam9261_devices.c | 18 ++
1 file changed, 10
From: Ludovic Desroches ludovic.desroc...@atmel.com
Add twi nodes for atmel SOCs and remove i2c-gpio ones.
Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com
---
arch/arm/boot/dts/at91sam9260.dtsi | 23 ++---
arch/arm/boot/dts/at91sam9263.dtsi | 23 ++---
From: Ludovic Desroches ludovic.desroc...@atmel.com
As indicated in the datasheet, TWD and TWCK must not be programmed as
open-drain.
Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com
---
arch/arm/mach-at91/at91sam9261_devices.c | 18 ++
1 file changed, 10
From: Ludovic Desroches ludovic.desroc...@atmel.com
Use the atmel twi instead of gpio for i2c stuff.
Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com
---
arch/arm/boot/dts/at91sam9263ek.dts | 20 ++--
arch/arm/boot/dts/at91sam9g20ek_common.dtsi | 28
Hi,
This set of patches introduces AIC5 support with the goal to have only one
kernel image for all SOCs.
AIC5 can manage up to 128 irq lines and introduces a new register map and
a source select register to select the IRQ line we want to configure.
Regards
Ludovic
From: Ludovic Desroches ludovic.desroc...@atmel.com
SOC_AT91SAM9 selects MULTI_IRQ_HANDLER in order to let machines specify their
own IRQ handler at run time.
Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com
---
arch/arm/mach-at91/Kconfig|1 +
From: Ludovic Desroches ludovic.desroc...@atmel.com
When SPARSE_IRQ is enabled, all NR_IRQS or mach_desc-nr_irqs will be allocated
by arch_probe_nr_irqs(). This caused irq_alloc_descs to allocate irq_descs
after the pre-allocated space. Make irq_alloc_descs search for an exact irq
range in order
From: Ludovic Desroches ludovic.desroc...@atmel.com
If we want to have one kernel for all atmel SOCs, nr_irqs has to be set at
runtime since the number of irqs managed by AIC depends on its version.
Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com
---
arch/arm/mach-at91/Kconfig
From: Ludovic Desroches ludovic.desroc...@atmel.com
The number of lines of AIC5 has increased from 32 to 128. Due to this
increase, a source select register has been introduced for the interrupt
line selection. Moreover, register mapping has been changed. For that reasons,
we need some dedicated
From: Ludovic Desroches ludovic.desroc...@atmel.com
Add clocks to clock lookup table for DT entries.
Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com
---
v4: add new chips
arch/arm/mach-at91/at91sam9260.c |1 +
arch/arm/mach-at91/at91sam9263.c |2 ++
From: Ludovic Desroches ludovic.desroc...@atmel.com
Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com
---
.../devicetree/bindings/mmc/atmel-hsmci.txt| 67 +++
drivers/mmc/host/atmel-mci.c | 89 +++-
2 files changed, 154
Hi,
This patch-set adds device tree support for atmel-mci.
Regards
Ludovic
v3:
- use cd-inverted instead of cd-invert to follow mmc common binding.
- don't assign a pointer to pdev-dev.platform.
- add mci controller nodes to other chips and boards.
- put all dts file changes together.
v2:
-
From: Ludovic Desroches ludovic.desroc...@atmel.com
Add nodes for mci controllers.
Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com
---
arch/arm/boot/dts/at91sam9g20.dtsi | 12
arch/arm/boot/dts/at91sam9g25ek.dts| 16
41 matches
Mail list logo