Irq argument as been removed from irq flow handlers so use the irq
descriptor to retrieve data we need.
Signed-off-by: Ludovic Desroches
---
drivers/pinctrl/pinctrl-at91-pio4.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/pinctrl/pinctrl-at91-pio4.c
b
Hi Stephen, Linus,
Here are fixes for next. I did the at91-pio4 patches on top of next-20150916
which doesn't contain some tglx's updates about irqs.
Ludovic Desroches (2):
pinctrl: at91-pio4: use irq_set_handler_locked
pinctrl: at91-pio4: irq argument as been removed from irq flow
Use irq_set_handler_locked() as it avoids a redundant lookup of the
irq descriptor.
Signed-off-by: Ludovic Desroches <ludovic.desroc...@atmel.com>
---
drivers/pinctrl/pinctrl-at91-pio4.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/pinctrl/pinctr
Irq argument as been removed from irq flow handlers so use the irq
descriptor to retrieve data we need.
Signed-off-by: Ludovic Desroches <ludovic.desroc...@atmel.com>
---
drivers/pinctrl/pinctrl-at91-pio4.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/p
Hi Stephen, Linus,
Here are fixes for next. I did the at91-pio4 patches on top of next-20150916
which doesn't contain some tglx's updates about irqs.
Ludovic Desroches (2):
pinctrl: at91-pio4: use irq_set_handler_locked
pinctrl: at91-pio4: irq argument as been removed from irq flow
Sorry I have forgotten:
--in-reply-to=20150925133410.3c9e2...@canb.auug.org.au
(linux-next: build failure after merge of the pinctrl tree)
On Mon, Sep 28, 2015 at 11:41:11AM +0200, Ludovic Desroches wrote:
> Hi Stephen, Linus,
>
> Here are fixes for next. I did the at91-pio4 patch
Allow GPIOs to be configured as wakeup sources. When going to suspend,
disable all GPIO irqs excepting the one configured as wakeup sources.
Signed-off-by: Ludovic Desroches
---
drivers/pinctrl/pinctrl-at91-pio4.c | 76 +
1 file changed, 76 insertions
Allow GPIOs to be configured as wakeup sources. When going to suspend,
disable all GPIO irqs excepting the one configured as wakeup sources.
Signed-off-by: Ludovic Desroches <ludovic.desroc...@atmel.com>
---
drivers/pinctrl/pinctrl-at91-pio4.c | 76 +
Commit-ID: 414a431ad6217a03e561fcb199048141db3fc024
Gitweb: http://git.kernel.org/tip/414a431ad6217a03e561fcb199048141db3fc024
Author: Ludovic Desroches
AuthorDate: Mon, 21 Sep 2015 15:46:05 +0200
Committer: Thomas Gleixner
CommitDate: Tue, 22 Sep 2015 16:04:42 +0200
irqchip/atmel
On Tue, Sep 22, 2015 at 03:50:30PM +0200, Thomas Gleixner wrote:
> On Tue, 22 Sep 2015, Boris Brezillon wrote:
> > On Tue, 22 Sep 2015 12:27:08 +0200 (CEST)
> > Thomas Gleixner wrote:
> > > Why is this locking dgc->gc[0] and fiddling with some other generic
> > > chip?
> >
> > Actually, we
Commit-ID: b55a3bb8650ddb096624175c55176d7fdbcad4ae
Gitweb: http://git.kernel.org/tip/b55a3bb8650ddb096624175c55176d7fdbcad4ae
Author: Ludovic Desroches
AuthorDate: Mon, 21 Sep 2015 15:46:06 +0200
Committer: Thomas Gleixner
CommitDate: Tue, 22 Sep 2015 16:04:43 +0200
irqchip/atmel
Commit-ID: d32dc9aa10c739363c775baf4499416b2e0dc11f
Gitweb: http://git.kernel.org/tip/d32dc9aa10c739363c775baf4499416b2e0dc11f
Author: Ludovic Desroches
AuthorDate: Mon, 21 Sep 2015 15:46:04 +0200
Committer: Thomas Gleixner
CommitDate: Tue, 22 Sep 2015 15:55:51 +0200
irqchip/atmel
Commit-ID: 478cc7b33413a4ad50852239d931d55e622f1cde
Gitweb: http://git.kernel.org/tip/478cc7b33413a4ad50852239d931d55e622f1cde
Author: Ludovic Desroches
AuthorDate: Mon, 21 Sep 2015 15:46:04 +0200
Committer: Thomas Gleixner
CommitDate: Tue, 22 Sep 2015 12:25:12 +0200
irqchip/atmel
Commit-ID: 478cc7b33413a4ad50852239d931d55e622f1cde
Gitweb: http://git.kernel.org/tip/478cc7b33413a4ad50852239d931d55e622f1cde
Author: Ludovic Desroches <ludovic.desroc...@atmel.com>
AuthorDate: Mon, 21 Sep 2015 15:46:04 +0200
Committer: Thomas Gleixner <t...@linutronix.de>
Commit-ID: d32dc9aa10c739363c775baf4499416b2e0dc11f
Gitweb: http://git.kernel.org/tip/d32dc9aa10c739363c775baf4499416b2e0dc11f
Author: Ludovic Desroches <ludovic.desroc...@atmel.com>
AuthorDate: Mon, 21 Sep 2015 15:46:04 +0200
Committer: Thomas Gleixner <t...@linutronix.de>
On Tue, Sep 22, 2015 at 03:50:30PM +0200, Thomas Gleixner wrote:
> On Tue, 22 Sep 2015, Boris Brezillon wrote:
> > On Tue, 22 Sep 2015 12:27:08 +0200 (CEST)
> > Thomas Gleixner wrote:
> > > Why is this locking dgc->gc[0] and fiddling with some other generic
> > > chip?
> >
>
Commit-ID: 414a431ad6217a03e561fcb199048141db3fc024
Gitweb: http://git.kernel.org/tip/414a431ad6217a03e561fcb199048141db3fc024
Author: Ludovic Desroches <ludovic.desroc...@atmel.com>
AuthorDate: Mon, 21 Sep 2015 15:46:05 +0200
Committer: Thomas Gleixner <t...@linutronix.de>
Commit-ID: b55a3bb8650ddb096624175c55176d7fdbcad4ae
Gitweb: http://git.kernel.org/tip/b55a3bb8650ddb096624175c55176d7fdbcad4ae
Author: Ludovic Desroches <ludovic.desroc...@atmel.com>
AuthorDate: Mon, 21 Sep 2015 15:46:06 +0200
Committer: Thomas Gleixner <t...@linutronix.de>
To avoid errors, use an explicit variable name when accessing the 'base'
generic chip.
Signed-off-by: Ludovic Desroches
---
drivers/irqchip/irq-atmel-aic5.c | 44
1 file changed, 22 insertions(+), 22 deletions(-)
diff --git a/drivers/irqchip/irq-atmel
Use irq_get_domain_generic_chip() to select the base chip.
Signed-off-by: Ludovic Desroches
---
drivers/irqchip/irq-atmel-aic5.c | 28 ++--
1 file changed, 10 insertions(+), 18 deletions(-)
diff --git a/drivers/irqchip/irq-atmel-aic5.c b/drivers/irqchip/irq-atmel-aic5.c
-by: Ludovic Desroches
Fixes: b1479ebb7720 ("irqchip: atmel-aic: Add atmel AIC/AIC5 drivers")
Cc: sta...@vger.kernel.org #3.18
---
Sasha,
This fix won't apply without conflicts because of irq_reg_writel changes. I
can provide you a fix for 3.18 if you need.
Regards
Ludovic
drivers/irqchip
To avoid errors, use an explicit variable name when accessing the 'base'
generic chip.
Signed-off-by: Ludovic Desroches <ludovic.desroc...@atmel.com>
---
drivers/irqchip/irq-atmel-aic5.c | 44
1 file changed, 22 insertions(+), 22 deletions(-)
diff
Use irq_get_domain_generic_chip() to select the base chip.
Signed-off-by: Ludovic Desroches <ludovic.desroc...@atmel.com>
---
drivers/irqchip/irq-atmel-aic5.c | 28 ++--
1 file changed, 10 insertions(+), 18 deletions(-)
diff --git a/drivers/irqchip/irq-atmel-ai
-by: Ludovic Desroches <ludovic.desroc...@atmel.com>
Fixes: b1479ebb7720 ("irqchip: atmel-aic: Add atmel AIC/AIC5 drivers")
Cc: sta...@vger.kernel.org #3.18
---
Sasha,
This fix won't apply without conflicts because of irq_reg_writel changes. I
can provide you a fix for 3.18 if you need.
The Atmel sdhci device needs the
SDHCI_QUIRK2_NEED_DELAY_AFTER_INT_CLK_RST quirk. Without it, the
internal clock could never stabilised when changing the sd clock
frequency.
Signed-off-by: Ludovic Desroches
---
drivers/mmc/host/sdhci-of-at91.c | 1 +
1 file changed, 1 insertion(+)
diff --git
of the internal clock, so a delay is needed. This
delay is about 2-3 cycles of the base clock. To be safe, a 1 ms delay is
used.
Signed-off-by: Ludovic Desroches
---
Hi Ulf,
Can you take these patches as fixes? I thought it was better to introduce a
quirk instead of duplicating a part
The Atmel sdhci device needs the
SDHCI_QUIRK2_NEED_DELAY_AFTER_INT_CLK_RST quirk. Without it, the
internal clock could never stabilised when changing the sd clock
frequency.
Signed-off-by: Ludovic Desroches <ludovic.desroc...@atmel.com>
---
drivers/mmc/host/sdhci-of-at91.c | 1 +
1 file c
of the internal clock, so a delay is needed. This
delay is about 2-3 cycles of the base clock. To be safe, a 1 ms delay is
used.
Signed-off-by: Ludovic Desroches <ludovic.desroc...@atmel.com>
---
Hi Ulf,
Can you take these patches as fixes? I thought it was better to introduce a
quirk i
Add device pin muxing for the sama5d2 Xplained board.
Signed-off-by: Ludovic Desroches
---
arch/arm/boot/dts/at91-sama5d2_xplained.dts | 61 +
1 file changed, 61 insertions(+)
diff --git a/arch/arm/boot/dts/at91-sama5d2_xplained.dts
b/arch/arm/boot/dts/at91
Add sama5d2 pin descriptions.
Signed-off-by: Ludovic Desroches
---
arch/arm/boot/dts/sama5d2-pinfunc.h | 880
1 file changed, 880 insertions(+)
create mode 100644 arch/arm/boot/dts/sama5d2-pinfunc.h
diff --git a/arch/arm/boot/dts/sama5d2-pinfunc.h
b/arch
SAMA5D2 chip family has a new PIO controller.
Signed-off-by: Ludovic Desroches
---
arch/arm/mach-at91/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
index 89a755b..9e4067c 100644
--- a/arch/arm/mach-at91/Kconfig
+++ b/arch/arm
Add an entry for the Atmel PIO4 controller driver.
Signed-off-by: Ludovic Desroches
---
MAINTAINERS | 7 +++
1 file changed, 7 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 169ad39..ec41bfe 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -8166,6 +8166,13 @@ L: linux-arm
Add pio4 controller node to enable pinmux and gpio.
Signed-off-by: Ludovic Desroches
---
arch/arm/boot/dts/sama5d2.dtsi | 14 ++
1 file changed, 14 insertions(+)
diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi
index 034cd48..cc05cde 100644
--- a/arch
Add documentation for the Atmel PIO4 controller introduced with SAMA5D2
chip family.
Signed-off-by: Ludovic Desroches
Acked-by: Sascha Hauer
---
.../bindings/pinctrl/atmel,at91-pio4-pinctrl.txt | 90 ++
1 file changed, 90 insertions(+)
create mode 100644
Documentation
Add a pinctrl/gpio driver for Atmel PIO4 controller available on SAMA5D2
chip family.
Signed-off-by: Ludovic Desroches
---
drivers/pinctrl/Kconfig | 13 +
drivers/pinctrl/Makefile|1 +
drivers/pinctrl/pinctrl-at91-pio4.c | 1017
, gpio_disable_free and gpio_set_direction).
- code styling fixes.
- add sama5d2 pin description and device pin muxing.
Ludovic Desroches (7):
pinctrl: introduce driver for Atmel PIO4 controller
pinctrl: dt-binding: Add DT binding documentation for Atmel PIO4
MAINTAINERS: Add an entry for pinctrl-at91-pio4
Add a pinctrl/gpio driver for Atmel PIO4 controller available on SAMA5D2
chip family.
Signed-off-by: Ludovic Desroches <ludovic.desroc...@atmel.com>
---
drivers/pinctrl/Kconfig | 13 +
drivers/pinctrl/Makefile|1 +
drivers/pinctrl/pinctrl-at91-pio4.c
, gpio_disable_free and gpio_set_direction).
- code styling fixes.
- add sama5d2 pin description and device pin muxing.
Ludovic Desroches (7):
pinctrl: introduce driver for Atmel PIO4 controller
pinctrl: dt-binding: Add DT binding documentation for Atmel PIO4
MAINTAINERS: Add an entry for pinctrl-at91-pio4
SAMA5D2 chip family has a new PIO controller.
Signed-off-by: Ludovic Desroches <ludovic.desroc...@atmel.com>
---
arch/arm/mach-at91/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
index 89a755b..9e4067c 100644
--- a/ar
Add sama5d2 pin descriptions.
Signed-off-by: Ludovic Desroches <ludovic.desroc...@atmel.com>
---
arch/arm/boot/dts/sama5d2-pinfunc.h | 880
1 file changed, 880 insertions(+)
create mode 100644 arch/arm/boot/dts/sama5d2-pinfunc.h
diff --git a/arch/ar
Add device pin muxing for the sama5d2 Xplained board.
Signed-off-by: Ludovic Desroches <ludovic.desroc...@atmel.com>
---
arch/arm/boot/dts/at91-sama5d2_xplained.dts | 61 +
1 file changed, 61 insertions(+)
diff --git a/arch/arm/boot/dts/at91-sama5d2_xplained.
Add documentation for the Atmel PIO4 controller introduced with SAMA5D2
chip family.
Signed-off-by: Ludovic Desroches <ludovic.desroc...@atmel.com>
Acked-by: Sascha Hauer <s.ha...@pengutronix.de>
---
.../bindings/pinctrl/atmel,at91-pio4-pinctrl.txt | 90 ++
1
Add an entry for the Atmel PIO4 controller driver.
Signed-off-by: Ludovic Desroches <ludovic.desroc...@atmel.com>
---
MAINTAINERS | 7 +++
1 file changed, 7 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 169ad39..ec41bfe 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -
Add pio4 controller node to enable pinmux and gpio.
Signed-off-by: Ludovic Desroches <ludovic.desroc...@atmel.com>
---
arch/arm/boot/dts/sama5d2.dtsi | 14 ++
1 file changed, 14 insertions(+)
diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi
index 0
When putting back a descriptor to the free descs list, some fields are
not set to 0, it can cause bugs if someone uses it without having this
in mind.
Descriptor are not put back one by one so it is easier to clean
descriptors when we request them.
Signed-off-by: Ludovic Desroches
Cc: sta
In interleaved mode, when numf > 1, we have only one descriptor for the
transfer but this descriptor has to be added to the descs_list. If not,
when doing remove_xfer, the descriptor won't be put back in the
free_descs_list.
Signed-off-by: Ludovic Desroches
---
drivers/dma/at_xdmac.c
to get back to an
acceptable performance level.
Signed-off-by: Maxime Ripard
Signed-off-by: Ludovic Desroches
Fixes: 6007ccb57744 ("dmaengine: xdmac: Add interleaved transfer support")
Cc: sta...@vger.kernel.org #4.2
---
drivers/dma/at_xdmac.c | 4 ++--
1 file changed, 2 insert
From: Maxime Ripard
Handle 'numf > 1' case for interleaved mode.
Signed-off-by: Maxime Ripard
Signed-off-by: Ludovic Desroches
---
drivers/dma/at_xdmac.c | 104 -
1 file changed, 50 insertions(+), 54 deletions(-)
diff --git a/drivers/
> 1'
patch. Can you check if I have not done a mistake. Thanks.
Regards
Ludovic Desroches (2):
dmaengine: at_xdmac: fix memory leak in interleaved mode
dmaengine: at_xdmac: clean used descriptor
Maxime Ripard (2):
dmaengine: at_xdmac: handle numf > 1
dmaengine: at_xdmac: change block
Hi Sascha,
On Tue, Sep 15, 2015 at 10:57:03AM +0200, Sascha Hauer wrote:
> Hi Ludovic,
>
> On Mon, Sep 07, 2015 at 03:12:10PM +0200, Ludovic Desroches wrote:
> > Hi Sascha,
> >
> > Any comments about this version? Maybe you missed it since you answered
> > me o
Hi Sascha,
On Tue, Sep 15, 2015 at 10:57:03AM +0200, Sascha Hauer wrote:
> Hi Ludovic,
>
> On Mon, Sep 07, 2015 at 03:12:10PM +0200, Ludovic Desroches wrote:
> > Hi Sascha,
> >
> > Any comments about this version? Maybe you missed it since you answered
> > me o
> 1'
patch. Can you check if I have not done a mistake. Thanks.
Regards
Ludovic Desroches (2):
dmaengine: at_xdmac: fix memory leak in interleaved mode
dmaengine: at_xdmac: clean used descriptor
Maxime Ripard (2):
dmaengine: at_xdmac: handle numf > 1
dmaengine: at_xdmac: change block
From: Maxime Ripard <maxime.rip...@free-electrons.com>
Handle 'numf > 1' case for interleaved mode.
Signed-off-by: Maxime Ripard <maxime.rip...@free-electrons.com>
Signed-off-by: Ludovic Desroches <ludovic.desroc...@atmel.com>
---
drivers
Switch to the micro block increment only in order to get back to an
acceptable performance level.
Signed-off-by: Maxime Ripard <maxime.rip...@free-electrons.com>
Signed-off-by: Ludovic Desroches <ludovic.desroc...@atmel.com>
Fixes: 6007ccb57744 ("dmaengine: xdmac: Add interleaved tra
In interleaved mode, when numf > 1, we have only one descriptor for the
transfer but this descriptor has to be added to the descs_list. If not,
when doing remove_xfer, the descriptor won't be put back in the
free_descs_list.
Signed-off-by: Ludovic Desroches <ludovic.desroc...@atm
When putting back a descriptor to the free descs list, some fields are
not set to 0, it can cause bugs if someone uses it without having this
in mind.
Descriptor are not put back one by one so it is easier to clean
descriptors when we request them.
Signed-off-by: Ludovic Desroches <ludovic.des
+0200, Ludovic Desroches wrote:
> Hi,
>
> The Atmel PIO4 controller has been introduced with SAMA5D2 chip family. This
> drivers manages both pinmux/pinconf and gpio stuff. It is inspired by Mediatek
> pinctrl driver.
>
> Ludovic Desroches (5):
> pinctrl: introduce driver f
+0200, Ludovic Desroches wrote:
> Hi,
>
> The Atmel PIO4 controller has been introduced with SAMA5D2 chip family. This
> drivers manages both pinmux/pinconf and gpio stuff. It is inspired by Mediatek
> pinctrl driver.
>
> Ludovic Desroches (5):
> pinctrl: introduce driver f
On Thu, Aug 20, 2015 at 09:05:07AM +0200, Sascha Hauer wrote:
> On Mon, Aug 10, 2015 at 08:53:34AM +0200, Ludovic Desroches wrote:
> > Hi Sascha,
> >
> > On Wed, Aug 05, 2015 at 09:31:17AM +0200, Sascha Hauer wrote:
> > > On Fri, Jul 31, 2015 at 05:08:07PM
On Thu, Aug 20, 2015 at 09:05:07AM +0200, Sascha Hauer wrote:
On Mon, Aug 10, 2015 at 08:53:34AM +0200, Ludovic Desroches wrote:
Hi Sascha,
On Wed, Aug 05, 2015 at 09:31:17AM +0200, Sascha Hauer wrote:
On Fri, Jul 31, 2015 at 05:08:07PM +0200, Ludovic Desroches wrote:
Hi
Hi,
On Wed, Jul 29, 2015 at 04:22:45PM +0200, Ludovic Desroches wrote:
> Hi,
>
> This set of patches introduce a driver for the new Atmel SDMMC device avaible
> on SAMA5D2 SoC.
>
> There is also a resend of an old patch which has not been taken. Ulf asked
> for some r
Hi,
On Wed, Jul 29, 2015 at 04:22:45PM +0200, Ludovic Desroches wrote:
Hi,
This set of patches introduce a driver for the new Atmel SDMMC device avaible
on SAMA5D2 SoC.
There is also a resend of an old patch which has not been taken. Ulf asked
for some reviews since it could impact all
On Mon, Aug 10, 2015 at 04:26:48PM +0200, Alexandre Belloni wrote:
> Definitions from linux/platform_data/atmel.h are not used, remove the
> include.
>
> Signed-off-by: Alexandre Belloni
Acked-by: Ludovic Desroches
> ---
> drivers/mmc/host/atmel-mci.c | 1 -
> 1 fil
On Mon, Aug 10, 2015 at 04:26:48PM +0200, Alexandre Belloni wrote:
Definitions from linux/platform_data/atmel.h are not used, remove the
include.
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com
Acked-by: Ludovic Desroches ludovic.desroc...@atmel.com
---
drivers/mmc
SAMA5D2 chip family has a new PIO controller.
Signed-off-by: Ludovic Desroches
---
arch/arm/mach-at91/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
index 89a755b..9e4067c 100644
--- a/arch/arm/mach-at91/Kconfig
+++ b/arch/arm
Add pio4 controller node to enable pinmux and gpio.
Signed-off-by: Ludovic Desroches
---
arch/arm/boot/dts/sama5d2.dtsi | 14 ++
1 file changed, 14 insertions(+)
diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi
index f39258f..55df0ae 100644
--- a/arch
Add an entry for the Atmel PIO4 controller driver.
Signed-off-by: Ludovic Desroches
---
MAINTAINERS | 7 +++
1 file changed, 7 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 8b37fdf..62c243a 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -8041,6 +8041,13 @@ L: linux-arm
Add documentation for the Atmel PIO4 controller introduced with SAMA5D2
chip family.
Signed-off-by: Ludovic Desroches
---
.../bindings/pinctrl/atmel,at91-pio4-pinctrl.txt | 90 ++
1 file changed, 90 insertions(+)
create mode 100644
Documentation/devicetree/bindings
Add a pinctrl/gpio driver for Atmel PIO4 controller available on SAMA5D2
chip family.
Signed-off-by: Ludovic Desroches
---
drivers/pinctrl/Kconfig | 13 +
drivers/pinctrl/Makefile|1 +
drivers/pinctrl/pinctrl-at91-pio4.c | 1063
Hi,
The Atmel PIO4 controller has been introduced with SAMA5D2 chip family. This
drivers manages both pinmux/pinconf and gpio stuff. It is inspired by Mediatek
pinctrl driver.
Ludovic Desroches (5):
pinctrl: introduce driver for Atmel PIO4 controller
pinctrl: dt-binding: Add DT binding
Add documentation for the Atmel PIO4 controller introduced with SAMA5D2
chip family.
Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com
---
.../bindings/pinctrl/atmel,at91-pio4-pinctrl.txt | 90 ++
1 file changed, 90 insertions(+)
create mode 100644
Add a pinctrl/gpio driver for Atmel PIO4 controller available on SAMA5D2
chip family.
Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com
---
drivers/pinctrl/Kconfig | 13 +
drivers/pinctrl/Makefile|1 +
drivers/pinctrl/pinctrl-at91-pio4.c | 1063
Hi,
The Atmel PIO4 controller has been introduced with SAMA5D2 chip family. This
drivers manages both pinmux/pinconf and gpio stuff. It is inspired by Mediatek
pinctrl driver.
Ludovic Desroches (5):
pinctrl: introduce driver for Atmel PIO4 controller
pinctrl: dt-binding: Add DT binding
Add an entry for the Atmel PIO4 controller driver.
Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com
---
MAINTAINERS | 7 +++
1 file changed, 7 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 8b37fdf..62c243a 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -8041,6
Add pio4 controller node to enable pinmux and gpio.
Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com
---
arch/arm/boot/dts/sama5d2.dtsi | 14 ++
1 file changed, 14 insertions(+)
diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi
index f39258f
SAMA5D2 chip family has a new PIO controller.
Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com
---
arch/arm/mach-at91/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
index 89a755b..9e4067c 100644
--- a/arch/arm/mach
Hi Sascha,
On Wed, Aug 05, 2015 at 09:31:17AM +0200, Sascha Hauer wrote:
> On Fri, Jul 31, 2015 at 05:08:07PM +0200, Ludovic Desroches wrote:
> > Hi,
> >
> > Following our discussion, I send an RFC version of my driver. RFC because
> > it is
> > not totally a
Hi Sascha,
On Wed, Aug 05, 2015 at 09:31:17AM +0200, Sascha Hauer wrote:
On Fri, Jul 31, 2015 at 05:08:07PM +0200, Ludovic Desroches wrote:
Hi,
Following our discussion, I send an RFC version of my driver. RFC because
it is
not totally achieved, some cleanup and feature addition
Hi Josh,
On Mon, Aug 03, 2015 at 02:40:18PM +0800, Josh Wu wrote:
> Hi, Ludovic
>
> On 7/31/2015 11:08 PM, Ludovic Desroches wrote:
> >Signed-off-by: Ludovic Desroches
> >---
> > arch/arm/boot/dts/sama5d2-pinfunc.h | 760
> >
Hi Josh,
On Mon, Aug 03, 2015 at 02:40:18PM +0800, Josh Wu wrote:
Hi, Ludovic
On 7/31/2015 11:08 PM, Ludovic Desroches wrote:
Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com
---
arch/arm/boot/dts/sama5d2-pinfunc.h | 760
1 file
Signed-off-by: Ludovic Desroches
---
arch/arm/boot/dts/at91-sama5d2_xplained.dts | 386 ++
arch/arm/boot/dts/sama5d2.dtsi | 1076 +++
2 files changed, 1462 insertions(+)
create mode 100644 arch/arm/boot/dts/at91-sama5d2_xplained.dts
create mode
Signed-off-by: Ludovic Desroches
---
drivers/pinctrl/pinctrl-at91-pio4.c | 959
1 file changed, 959 insertions(+)
create mode 100644 drivers/pinctrl/pinctrl-at91-pio4.c
diff --git a/drivers/pinctrl/pinctrl-at91-pio4.c
b/drivers/pinctrl/pinctrl-at91-pio4.c
Signed-off-by: Ludovic Desroches
---
arch/arm/boot/dts/sama5d2-pinfunc.h | 760
1 file changed, 760 insertions(+)
create mode 100644 arch/arm/boot/dts/sama5d2-pinfunc.h
diff --git a/arch/arm/boot/dts/sama5d2-pinfunc.h
b/arch/arm/boot/dts/sama5d2-pinfunc.h
are using.
Thanks for your reviews.
Ludovic Desroches (3):
pinctrl: introduce driver for Atmel PIO4 controller
ARM: at91/dt: add sama5d2 pinmux
ARM: at91/dt: add pinctrl
arch/arm/boot/dts/at91-sama5d2_xplained.dts | 386 ++
arch/arm/boot/dts/sama5d2-pinfunc.h | 760
are using.
Thanks for your reviews.
Ludovic Desroches (3):
pinctrl: introduce driver for Atmel PIO4 controller
ARM: at91/dt: add sama5d2 pinmux
ARM: at91/dt: add pinctrl
arch/arm/boot/dts/at91-sama5d2_xplained.dts | 386 ++
arch/arm/boot/dts/sama5d2-pinfunc.h | 760
Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com
---
drivers/pinctrl/pinctrl-at91-pio4.c | 959
1 file changed, 959 insertions(+)
create mode 100644 drivers/pinctrl/pinctrl-at91-pio4.c
diff --git a/drivers/pinctrl/pinctrl-at91-pio4.c
b/drivers
Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com
---
arch/arm/boot/dts/sama5d2-pinfunc.h | 760
1 file changed, 760 insertions(+)
create mode 100644 arch/arm/boot/dts/sama5d2-pinfunc.h
diff --git a/arch/arm/boot/dts/sama5d2-pinfunc.h
b/arch/arm
Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com
---
arch/arm/boot/dts/at91-sama5d2_xplained.dts | 386 ++
arch/arm/boot/dts/sama5d2.dtsi | 1076 +++
2 files changed, 1462 insertions(+)
create mode 100644 arch/arm/boot/dts/at91
On Thu, Jul 30, 2015 at 10:33:43AM +0200, Sylvain Rochet wrote:
> Hello Ludovic,
>
> On Tue, Jul 28, 2015 at 03:12:53PM +0200, Ludovic Desroches wrote:
> > On Tue, Jul 28, 2015 at 02:48:09PM +0200, Linus Walleij wrote:
> > > On Tue, Jul 28, 2015 at 9:
On Thu, Jul 30, 2015 at 10:33:43AM +0200, Sylvain Rochet wrote:
Hello Ludovic,
On Tue, Jul 28, 2015 at 03:12:53PM +0200, Ludovic Desroches wrote:
On Tue, Jul 28, 2015 at 02:48:09PM +0200, Linus Walleij wrote:
On Tue, Jul 28, 2015 at 9:48 AM, Ludovic Desroches
Introduce driver for he Atmel SDMMC available on sama5d2. It is a sdhci
compliant controller.
Signed-off-by: Ludovic Desroches
---
.../devicetree/bindings/mmc/sdhci-atmel.txt| 21 +++
drivers/mmc/host/Kconfig | 8 +
drivers/mmc/host/Makefile
In programmable mode, if the clock frequency is too high, the divider
can be too small to meet the clock frequency requirement especially to
init the SD card. In this case, switch to the divided clock mode.
Signed-off-by: Ludovic Desroches
---
drivers/mmc/host/sdhci.c | 29
Add an entry for Atmel SDMMC device.
Signed-off-by: Ludovic Desroches
---
MAINTAINERS | 6 ++
1 file changed, 6 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index e7bdbac..6480ce9 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1880,6 +1880,12 @@ L: linux
. It only fixes a special use case. If
there are objections about it, drop it, I don't want to delay the Atmel SDMMC
driver inclusion only for this patch.
Changes:
- from v1:
- update license
Ludovic Desroches (3):
mmc: sdhci: switch from programmable clock mode to divided one if
needed
mmc
Add an entry for Atmel SDMMC device.
Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com
---
MAINTAINERS | 6 ++
1 file changed, 6 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index e7bdbac..6480ce9 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1880,6 +1880,12 @@ L
Introduce driver for he Atmel SDMMC available on sama5d2. It is a sdhci
compliant controller.
Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com
---
.../devicetree/bindings/mmc/sdhci-atmel.txt| 21 +++
drivers/mmc/host/Kconfig | 8 +
drivers/mmc
. It only fixes a special use case. If
there are objections about it, drop it, I don't want to delay the Atmel SDMMC
driver inclusion only for this patch.
Changes:
- from v1:
- update license
Ludovic Desroches (3):
mmc: sdhci: switch from programmable clock mode to divided one if
needed
mmc
In programmable mode, if the clock frequency is too high, the divider
can be too small to meet the clock frequency requirement especially to
init the SD card. In this case, switch to the divided clock mode.
Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com
---
drivers/mmc/host/sdhci.c
On Tue, Jul 28, 2015 at 02:48:09PM +0200, Linus Walleij wrote:
> On Tue, Jul 28, 2015 at 9:48 AM, Ludovic Desroches
> wrote:
>
> > From: David Dueck
> >
> > Not all gpio banks are necessarily enabled, in the current code this can
> > lead to null pointer de
) from []
(ret_fast_syscall+0x0/0x3c)
[ 51.14] Code: eb010ec2 e30a0d08 e34c005a eb0ae5a7 (e5993000)
[ 51.15] ---[ end trace fb3c370da3ea4794 ]---
Signed-off-by: David Dueck
Acked-by: Ludovic Desroches
Acked-by: Alexandre Belloni
CC: Nicolas Ferre
CC: Boris Brezillon
CC: linux-arm-ker
901 - 1000 of 1240 matches
Mail list logo