From: Ludovic Desroches
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 so the ASAP configuration.
From: Ludovic Desroches
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 value due to the concatenation
From: Ludovic Desroches
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 backward compatibility. Most de
From: Ludovic Desroches
Acked-by: Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Ludovic Desroches
---
arch/arm/boot/dts/at91sam9g45.dtsi | 5 +++--
arch/arm/boot/dts/at91sam9n12.dtsi | 11 ++-
arch/arm/boot/dts/at91sam9x5.dtsi | 17 +
arch/arm/boot/dts/sama5d3.dtsi
From: Ludovic Desroches
SAMA5D3 devices also embed CAN feature. Moreover if we want to produce a single
kernel image it is not useful to be too restrictive.
Signed-off-by: Ludovic Desroches
---
Changes in v2:
- depends on ARM instead of ARCH_AT91 (compilation tested with
exynos4_defconfig and i
From: Ludovic Desroches
Add device tree support.
Signed-off-by: Ludovic Desroches
---
Changes in v2:
- code cleanup
- correct typo
.../devicetree/bindings/net/can/atmel-can.txt | 14
drivers/net/can/at91_can.c | 74 --
2 files changed, 69
From: Ludovic Desroches
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
---
drivers/net/can/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 delet
From: Ludovic Desroches
Signed-off-by: Ludovic Desroches
---
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
--- a/drivers/net/can/at91_can.c
+++ b/drivers/net/can/at91_
From: Ludovic Desroches
Add device tree support.
Signed-off-by: Ludovic Desroches
---
.../devicetree/bindings/net/can/atmel-can.txt | 14
drivers/net/can/at91_can.c | 75 --
2 files changed, 70 insertions(+), 19 deletions(-)
create mode 10
From: Ludovic Desroches
Hi,
This set of patches add device tree and pinctrl support to the at91_can driver.
Regards
Ludovic Desroches (3):
can: at91_can: add dt support
can: at91_can: add pinctrl support
can: Kconfig: CAN_AT91 depends on ARCH_AT91
.../devicetree/bindings/net/can/atmel
From: Ludovic Desroches
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
Acked-by: Nicolas Ferre
---
arch/arm/boot/dts/at91sam9g25ek.dts| 12
arch/arm/boot/dts/at91sam9m10g45
From: Ludovic Desroches
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
Acked-by: Nicolas Ferre
---
arch/arm/boot/dts/at91sam9260.dtsi | 10 ++
arch/arm/boot/dts/at91sam9263.dtsi | 10 ++
From: Ludovic Desroches
Signed-off-by: Ludovic Desroches
Acked-by: Nikolaus Voss
Acked-by: Nicolas Ferre
---
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 ++
arch/arm/mach-at91/at9
From: Ludovic Desroches
Signed-off-by: Ludovic Desroches
Acked-by: Nikolaus Voss
Acked-by: Nicolas Ferre
---
.../devicetree/bindings/i2c/atmel-i2c.txt | 30 +
drivers/i2c/busses/i2c-at91.c | 49 ++
2 files changed, 79 insertions(+)
From: Ludovic Desroches
As indicated in the datasheet, TWD and TWCK must not be programmed as
open-drain.
Signed-off-by: Ludovic Desroches
Acked-by: Nikolaus Voss
Acked-by: Nicolas Ferre
---
arch/arm/mach-at91/at91sam9261_devices.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
From: Ludovic Desroches
Use the id_table to store configuration structures which are depending
on SoC.
Signed-off-by: Ludovic Desroches
Acked-by: Nikolaus Voss
Acked-by: Nicolas Ferre
---
arch/arm/mach-at91/at91rm9200.c | 2 +-
arch/arm/mach-at91/at91rm9200_devices.c | 11 +
a
From: Ludovic Desroches
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 Desroches
Acked-by: Nikolaus Voss
From: Ludovic Desroches
Use managed resources to ease the cleanup.
Signed-off-by: Ludovic Desroches
Acked-by: Nikolaus Voss
Acked-by: Nicolas Ferre
---
drivers/i2c/busses/i2c-at91.c | 85 +--
1 file changed, 25 insertions(+), 60 deletions(-)
diff --gi
From: Ludovic Desroches
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 dtsi files
- don't enable TWI
From: Ludovic Desroches
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
Acked-by: Nicolas Ferre
---
arch/arm/boot/dts/at91sam9g25ek.dts| 12
arch/arm/boot/dts/at91sam9m10g45
From: Ludovic Desroches
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
Acked-by: Nicolas Ferre
---
arch/arm/boot/dts/at91sam9260.dtsi | 10 ++
arch/arm/boot/dts/at91sam9263.dtsi | 10 ++
From: Ludovic Desroches
Signed-off-by: Ludovic Desroches
Acked-by: Nikolaus Voss
Acked-by: Nicolas Ferre
---
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 ++
arch/arm/mach-at91/at9
From: Ludovic Desroches
Signed-off-by: Ludovic Desroches
Acked-by: Nikolaus Voss
Acked-by: Nicolas Ferre
---
.../devicetree/bindings/i2c/atmel-i2c.txt | 30 +
drivers/i2c/busses/i2c-at91.c | 49 ++
2 files changed, 79 insertions(+)
From: Ludovic Desroches
As indicated in the datasheet, TWD and TWCK must not be programmed as
open-drain.
Signed-off-by: Ludovic Desroches
Acked-by: Nikolaus Voss
Acked-by: Nicolas Ferre
---
arch/arm/mach-at91/at91sam9261_devices.c | 18 ++
1 file changed, 10 insertions(+), 8
From: Ludovic Desroches
Use the id_table to store configuration structures which are depending
on SoC.
Signed-off-by: Ludovic Desroches
Acked-by: Nikolaus Voss
Acked-by: Nicolas Ferre
---
arch/arm/mach-at91/at91rm9200.c | 2 +-
arch/arm/mach-at91/at91rm9200_devices.c | 11 +
a
From: Ludovic Desroches
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 Desroches
Acked-by: Nikolaus Voss
From: Ludovic Desroches
Use managed resources to ease the cleanup.
Signed-off-by: Ludovic Desroches
Acked-by: Nikolaus Voss
Acked-by: Nicolas Ferre
---
drivers/i2c/busses/i2c-at91.c | 85 +--
1 file changed, 25 insertions(+), 60 deletions(-)
diff --gi
From: Ludovic Desroches
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 tranmission mode
Ludovic Des
From: Ludovic Desroches
Use the atmel twi instead of gpio for i2c stuff.
Signed-off-by: Ludovic Desroches
---
arch/arm/boot/dts/at91sam9263ek.dts | 20 ++--
arch/arm/boot/dts/at91sam9g20ek_common.dtsi | 28 ++--
arch/arm/boot/dts/at91sam9g25ek.dt
From: Ludovic Desroches
As indicated in the datasheet, TWD and TWCK must not be programmed as
open-drain.
Signed-off-by: Ludovic Desroches
---
arch/arm/mach-at91/at91sam9261_devices.c | 18 ++
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/arch/arm/mach-at91/at9
From: Ludovic Desroches
Add twi nodes for atmel SOCs and remove i2c-gpio ones.
Signed-off-by: Ludovic Desroches
---
arch/arm/boot/dts/at91sam9260.dtsi | 23 ++---
arch/arm/boot/dts/at91sam9263.dtsi | 23 ++---
arch/arm/boot/dts/at91sam9g20.dtsi | 4 +++
arch/arm/boot/dts/at91s
From: Ludovic Desroches
As indicated in the datasheet, TWD and TWCK must not be programmed as
open-drain.
Signed-off-by: Ludovic Desroches
---
arch/arm/mach-at91/at91sam9261_devices.c | 18 ++
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/arch/arm/mach-at91/at9
From: Ludovic Desroches
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 parameters
ARM: at91: do not confi
From: Ludovic Desroches
Use managed resources to ease the cleanup.
Signed-off-by: Ludovic Desroches
---
drivers/i2c/busses/i2c-at91.c | 85 +--
1 file changed, 25 insertions(+), 60 deletions(-)
diff --git a/drivers/i2c/busses/i2c-at91.c b/drivers/i2c/bu
From: Ludovic Desroches
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 Desroches
---
drivers/i2c/busses/
From: Ludovic Desroches
Signed-off-by: Ludovic Desroches
---
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 ++
arch/arm/mach-at91/at91sam9x5.c | 6 +++---
5 files changed, 9 insertio
From: Ludovic Desroches
Use the id_table to store configuration structures which are depending on
SoC.
Signed-off-by: Ludovic Desroches
---
arch/arm/mach-at91/at91rm9200.c | 2 +-
arch/arm/mach-at91/at91rm9200_devices.c | 11 +
arch/arm/mach-at91/at91sam9260.c | 3 +-
a
From: Ludovic Desroches
Signed-off-by: Ludovic Desroches
---
.../devicetree/bindings/i2c/atmel-i2c.txt | 30 +
drivers/i2c/busses/i2c-at91.c | 49 ++
2 files changed, 79 insertions(+)
create mode 100644 Documentation/devicetree/bind
From: Ludovic Desroches
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 callbacks for AIC5.
Power ma
From: Ludovic Desroches
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
---
arch/arm/mach-at91/Kconfig |1 +
arch/arm/mach-at91/at91rm9200.c
From: Ludovic Desroches
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 to get an error when it has
From: Ludovic Desroches
SOC_AT91SAM9 selects MULTI_IRQ_HANDLER in order to let machines specify their
own IRQ handler at run time.
Signed-off-by: Ludovic Desroches
---
arch/arm/mach-at91/Kconfig|1 +
arch/arm/mach-at91/board-1arm.c |1 +
arch/arm/mach-
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
Add nodes for mci controllers.
Signed-off-by: Ludovic Desroches
---
v4: add new chips and boards
arch/arm/boot/dts/at91sam9260.dtsi |9 +
arch/arm/boot/dts/at91sam9263.dtsi | 18 ++
arch/arm/boot/dts/at91sam9263ek.dts
From: Ludovic Desroches
Add clocks to clock lookup table for DT entries.
Signed-off-by: Ludovic Desroches
---
v4: add new chips
arch/arm/mach-at91/at91sam9260.c |1 +
arch/arm/mach-at91/at91sam9263.c |2 ++
arch/arm/mach-at91/at91sam9g45.c |2 ++
arch/arm/mach-at91/at91sam9n12.c |
From: Ludovic Desroches
Signed-off-by: Ludovic Desroches
---
.../devicetree/bindings/mmc/atmel-hsmci.txt| 67 +++
drivers/mmc/host/atmel-mci.c | 87 +++-
2 files changed, 152 insertions(+), 2 deletions(-)
create mode 100644 Document
From: Ludovic Desroches
Add nodes for mci controllers.
Signed-off-by: Ludovic Desroches
---
arch/arm/boot/dts/at91sam9g20.dtsi | 12
arch/arm/boot/dts/at91sam9g25ek.dts| 16
arch/arm/boot/dts/at91sam9g45.dtsi | 24
arch/a
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:
- s
From: Ludovic Desroches
Signed-off-by: Ludovic Desroches
---
.../devicetree/bindings/mmc/atmel-hsmci.txt| 67 +++
drivers/mmc/host/atmel-mci.c | 89 +++-
2 files changed, 154 insertions(+), 2 deletions(-)
create mode 100644 Document
From: Ludovic Desroches
Add clocks to clock lookup table for DT entries.
Signed-off-by: Ludovic Desroches
---
arch/arm/mach-at91/at91sam9260.c |1 +
arch/arm/mach-at91/at91sam9g45.c |2 ++
arch/arm/mach-at91/at91sam9x5.c |2 ++
3 files changed, 5 insertions(+), 0 deletions(-)
dif
50 matches
Mail list logo