[PATCH v3 6/9] ARM: dts: Add pinctrl node to STM32F429

2015-12-11 Thread Maxime Coquelin
The STM32F429 MCU has 11 GPIO banks, with 16 pins per bank. Signed-off-by: Maxime Coquelin <mcoquelin.st...@gmail.com> --- arch/arm/boot/dts/stm32f429.dtsi | 97 1 file changed, 97 insertions(+) diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/ar

[PATCH v3 7/9] ARM: dts: Add USART1 pin config to STM32F429 boards

2015-12-11 Thread Maxime Coquelin
This patch selects USART1 pin configuration on PA9/PA10 pins for both Eval and Disco boards. Acked-by: Linus Walleij <linus.wall...@linaro.org> Signed-off-by: Maxime Coquelin <mcoquelin.st...@gmail.com> --- arch/arm/boot/dts/stm32429i-eval.dts | 2 ++ arch/arm/boot/dts/stm32f429-di

Re: [PATCH v2 4/9] pinctrl: Add support STM32 MCUs

2015-12-11 Thread Maxime Coquelin
2015-12-11 9:20 GMT+01:00 Patrice Chotard : > Hi Linus > > I will try to review it before end of next week Thanks Patrice, I resent the series. Regards, Maxime -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to

[PATCH v3 4/9] pinctrl: Add STM32 MCUs support

2015-12-11 Thread Maxime Coquelin
This patch adds pinctrl and GPIO support to STMicroelectronic's STM32 family of MCUs. While it only supports STM32F429 for now, it has been designed to enable support of other MCUs of the family (e.g. STM32F746). Signed-off-by: Maxime Coquelin <mcoquelin.st...@gmail.com> --- drivers/p

[PATCH RESEND v3 0/9] Add STM32 pinctrl/GPIO driver

2015-12-11 Thread Maxime Coquelin
commit fixup and rebase issues. Kind regards, Maxime Maxime Coquelin (9): ARM: Kconfig: Introduce MACH_STM32F429 flag Documentation: dt-bindings: Document STM32 pinctrl driver DT bindings includes: dt-bindings: Add STM32F429 pinctrl DT bindings pinctrl: Add STM32 MCUs support ARM: mach

[PATCH v3 9/9] ARM: config: Enable GPIO Led driver in stm32_defconfig

2015-12-11 Thread Maxime Coquelin
Acked-by: Linus Walleij <linus.wall...@linaro.org> Signed-off-by: Maxime Coquelin <mcoquelin.st...@gmail.com> --- arch/arm/configs/stm32_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/stm32_defconfig b/arch/arm/configs/stm32_defconfig index 4725fab..92

[PATCH v3 8/9] ARM: dts: Add leds support to STM32F429 boards

2015-12-11 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin <mcoquelin.st...@gmail.com> --- arch/arm/boot/dts/stm32429i-eval.dts | 17 + arch/arm/boot/dts/stm32f429-disco.dts | 11 +++ 2 files changed, 28 insertions(+) diff --git a/arch/arm/boot/dts/stm32429i-eval.dts b/arch/arm/boot/dts/stm

[PATCH v3 5/9] ARM: mach-stm32: Select pinctrl

2015-12-11 Thread Maxime Coquelin
Acked-by: Linus Walleij <linus.wall...@linaro.org> Signed-off-by: Maxime Coquelin <mcoquelin.st...@gmail.com> --- arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 4d2fcba..365714b 100644 --- a/arch/arm/Kconfig +++ b/arch

[PATCH v3 2/9] Documentation: dt-bindings: Document STM32 pinctrl driver DT bindings

2015-12-11 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin <mcoquelin.st...@gmail.com> --- .../bindings/pinctrl/st,stm32-pinctrl.txt | 126 + 1 file changed, 126 insertions(+) create mode 100644 Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.txt diff --git a/Documen

[PATCH v3 3/9] includes: dt-bindings: Add STM32F429 pinctrl DT bindings

2015-12-11 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin <mcoquelin.st...@gmail.com> --- include/dt-bindings/pinctrl/pinctrl-stm32.h | 12 + include/dt-bindings/pinctrl/stm32f429-pinfunc.h | 1241 +++ 2 files changed, 1253 insertions(+) create mode 100644 include/dt-bindings/pinctrl/p

[PATCH v3 1/9] ARM: Kconfig: Introduce MACH_STM32F429 flag

2015-12-11 Thread Maxime Coquelin
This patch introduces the MACH_STM32F429 to make possible to only select STM32F429 pinctrl driver. By default, all the MACH_STM32Fxxx flags will be set with STM32 defconfig. Signed-off-by: Maxime Coquelin <mcoquelin.st...@gmail.com> --- arch/arm/Kconfig | 5 + 1 file changed, 5 inse

Re: [PATCH v3 2/9] Documentation: dt-bindings: Document STM32 pinctrl driver DT bindings

2015-12-09 Thread Maxime Coquelin
Hi Rob, 2015-12-09 4:41 GMT+01:00 Rob Herring <r...@kernel.org>: > On Tue, Dec 08, 2015 at 01:45:04PM +0100, Maxime Coquelin wrote: >> Signed-off-by: Maxime Coquelin <mcoquelin.st...@gmail.com> >> --- >> .../bindings/pinctrl/st,stm32-pinctrl.txt | 12

[PATCH v3 5/9] ARM: mach-stm32: Select pinctrl

2015-12-08 Thread Maxime Coquelin
Acked-by: Linus Walleij <linus.wall...@linaro.org> Signed-off-by: Maxime Coquelin <mcoquelin.st...@gmail.com> --- arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 4d2fcba..365714b 100644 --- a/arch/arm/Kconfig +++ b/arch

[PATCH v3 4/9] pinctrl: Add STM32 MCUs support

2015-12-08 Thread Maxime Coquelin
This patch adds pinctrl and GPIO support to STMicroelectronic's STM32 family of MCUs. While it only supports STM32F429 for now, it has been designed to enable support of other MCUs of the family (e.g. STM32F746). Signed-off-by: Maxime Coquelin <mcoquelin.st...@gmail.com> --- drivers/p

[PATCH v3 7/9] ARM: dts: Add USART1 pin config to STM32F429 boards

2015-12-08 Thread Maxime Coquelin
This patch selects USART1 pin configuration on PA9/PA10 pins for both Eval and Disco boards. Acked-by: Linus Walleij <linus.wall...@linaro.org> Signed-off-by: Maxime Coquelin <mcoquelin.st...@gmail.com> --- arch/arm/boot/dts/stm32429i-eval.dts | 2 ++ arch/arm/boot/dts/stm32f429-di

[PATCH v3 9/9] ARM: config: Enable GPIO Led driver in stm32_defconfig

2015-12-08 Thread Maxime Coquelin
Acked-by: Linus Walleij <linus.wall...@linaro.org> Signed-off-by: Maxime Coquelin <mcoquelin.st...@gmail.com> --- arch/arm/configs/stm32_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/stm32_defconfig b/arch/arm/configs/stm32_defconfig index 4725fab..92

[PATCH v3 6/9] ARM: dts: Add pinctrl node to STM32F429

2015-12-08 Thread Maxime Coquelin
The STM32F429 MCU has 11 GPIO banks, with 16 pins per bank. Signed-off-by: Maxime Coquelin <mcoquelin.st...@gmail.com> --- arch/arm/boot/dts/stm32f429.dtsi | 97 1 file changed, 97 insertions(+) diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/ar

[PATCH v3 8/9] ARM: dts: Add leds support to STM32F429 boards

2015-12-08 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin <mcoquelin.st...@gmail.com> --- arch/arm/boot/dts/stm32429i-eval.dts | 17 + arch/arm/boot/dts/stm32f429-disco.dts | 11 +++ 2 files changed, 28 insertions(+) diff --git a/arch/arm/boot/dts/stm32429i-eval.dts b/arch/arm/boot/dts/stm

[PATCH v3 0/9] Add STM32 pinctrl/GPIO driver

2015-12-08 Thread Maxime Coquelin
as heartbeat - Collect some acks Changes since v1: - - Add GPIO LEDs support in DT and defconfig - Changes pinmux DT bindings from macros to raw values (Daniel) - Improve DT bindings documentation (Daniel) - Fix some commit fixup and rebase issues. Kind regards, Maxime Maxime Coquelin

[PATCH v3 3/9] includes: dt-bindings: Add STM32F429 pinctrl DT bindings

2015-12-08 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin <mcoquelin.st...@gmail.com> --- include/dt-bindings/pinctrl/pinctrl-stm32.h | 12 + include/dt-bindings/pinctrl/stm32f429-pinfunc.h | 1241 +++ 2 files changed, 1253 insertions(+) create mode 100644 include/dt-bindings/pinctrl/p

[PATCH v3 2/9] Documentation: dt-bindings: Document STM32 pinctrl driver DT bindings

2015-12-08 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin <mcoquelin.st...@gmail.com> --- .../bindings/pinctrl/st,stm32-pinctrl.txt | 126 + 1 file changed, 126 insertions(+) create mode 100644 Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.txt diff --git a/Documen

[PATCH v3 1/9] ARM: Kconfig: Introduce MACH_STM32F429 flag

2015-12-08 Thread Maxime Coquelin
This patch introduces the MACH_STM32F429 to make possible to only select STM32F429 pinctrl driver. By default, all the MACH_STM32Fxxx flags will be set with STM32 defconfig. Signed-off-by: Maxime Coquelin <mcoquelin.st...@gmail.com> --- arch/arm/Kconfig | 5 + 1 file changed, 5 inse

[PATCH] ARM: dts: stm32f429: Boost perfs by remapping SDRAM Bank 1 to 0x0

2015-12-02 Thread Maxime Coquelin
the other masters than the M4 CPU still see SDRAM in 0xc000. Note that the Discovery board cannot benefit from this feature, since the SDRAM is connected to Bank 2. Signed-off-by: Maxime Coquelin <mcoquelin.st...@gmail.com> --- arch/arm/boot/dts/stm32429i-eval.dts | 2 +- arch/arm/boot/dt

Re: [PATCH v2 4/9] pinctrl: Add support STM32 MCUs

2015-12-01 Thread Maxime Coquelin
Hi Linus, 2015-10-17 19:23 GMT+02:00 Maxime Coquelin <mcoquelin.st...@gmail.com>: > This patch adds pinctrl and GPIO support to STMicroelectronic's STM32 > family of MCUs. > > While it only supports STM32F429 for now, it has been designed to enable > support of other MC

Re: [PATCH v4 3/4] ARM: dts: Add STM32 DMA support for STM32F429 MCU

2015-12-01 Thread Maxime Coquelin
2015-10-16 15:59 GMT+02:00 M'boumba Cedric Madianga : > This patch adds STM32 DMA bindings for STM32F429. > > Signed-off-by: M'boumba Cedric Madianga > --- > arch/arm/boot/dts/stm32f429.dtsi | 31 +++ > 1 file

Re: [PATCH v2 3/9] includes: dt-bindings: Add STM32F429 pinctrl DT bindings

2015-11-30 Thread Maxime Coquelin
2015-11-17 12:00 GMT+01:00 Linus Walleij <linus.wall...@linaro.org>: > On Fri, Nov 6, 2015 at 1:57 PM, Maxime Coquelin > <mcoquelin.st...@gmail.com> wrote: > >> Thinking again at it, I persist to believe have the defines makes it >> easier to use. >> W

Re: [PATCH v2 3/9] includes: dt-bindings: Add STM32F429 pinctrl DT bindings

2015-11-06 Thread Maxime Coquelin
2015-10-22 14:35 GMT+02:00 Linus Walleij <linus.wall...@linaro.org>: > On Tue, Oct 20, 2015 at 6:32 PM, Maxime Coquelin > <mcoquelin.st...@gmail.com> wrote: >> 2015-10-20 12:06 GMT+02:00 Daniel Thompson <daniel.thomp...@linaro.org>: >>> On 17/10/15 18:23, Ma

Re: [PATCH v2 8/9] ARM: dts: Add leds support to STM32F429 Discovery board

2015-10-28 Thread Maxime Coquelin
2015-10-28 9:09 GMT+01:00 Daniel Thompson : > On 27/10/15 21:52, Andreas Färber wrote: >> >> Am 27.10.2015 um 22:46 schrieb Linus Walleij: >>> >>> Heartbeat is awesome. >> >> >> Yes, it's awesome for testing, but not for a .dts file that ends up in a >> distro (not the

Re: [PATCH v2 8/9] ARM: dts: Add leds support to STM32F429 Discovery board

2015-10-27 Thread Maxime Coquelin
2015-10-26 14:41 GMT+01:00 Linus Walleij <linus.wall...@linaro.org>: > On Sat, Oct 17, 2015 at 7:23 PM, Maxime Coquelin > <mcoquelin.st...@gmail.com> wrote: > >> Signed-off-by: Maxime Coquelin <mcoquelin.st...@gmail.com> > (...) >> + leds {

Re: [PATCH v2 3/9] includes: dt-bindings: Add STM32F429 pinctrl DT bindings

2015-10-20 Thread Maxime Coquelin
2015-10-20 12:06 GMT+02:00 Daniel Thompson <daniel.thomp...@linaro.org>: > On 17/10/15 18:23, Maxime Coquelin wrote: >> >> Signed-off-by: Maxime Coquelin <mcoquelin.st...@gmail.com> >> --- >> include/dt-bindings/pinctrl/pinctrl-stm32.h | 12 + >

[PATCH v2 0/9] Add STM32 pinctrl/GPIO driver

2015-10-17 Thread Maxime Coquelin
macros to raw values (Daniel) - Improve DT bindings documentation (Daniel) - Fix some commit fixup and rebase issues. Kind regards, Maxime Maxime Coquelin (9): ARM: Kconfig: Introduce MACH_STM32F429 flag Documentation: dt-bindings: Document STM32 pinctrl driver DT bindings includes: dt

[PATCH 2/9] drivers: irqchip: Add STM32 external interrupts support

2015-10-17 Thread Maxime Coquelin
. Signed-off-by: Maxime Coquelin <mcoquelin.st...@gmail.com> --- drivers/irqchip/Kconfig | 4 + drivers/irqchip/Makefile | 1 + drivers/irqchip/irq-stm32-exti.c | 169 +++ 3 files changed, 174 insertions(+) create mode 100644 drivers/irqch

[PATCH 9/9] ARM: config: Enable GPIO Key driver in stm32_defconfig

2015-10-17 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin <mcoquelin.st...@gmail.com> --- arch/arm/configs/stm32_defconfig | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm/configs/stm32_defconfig b/arch/arm/configs/stm32_defconfig index 92ade2e..31894ef 100644 --- a/arch/arm/c

[PATCH 7/9] ARM: dts: Add GPIO irq support to STM2F429

2015-10-17 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin <mcoquelin.st...@gmail.com> --- arch/arm/boot/dts/stm32f429.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/arch/arm/boot/dts/stm32f429.dtsi index a2c3aaa..bc84e8b 100644 --- a/arch/arm/boot/dts/stm32f429.dtsi

[PATCH 5/9] Documentation: dt-bindings: Add IRQ related properties of STM32 pinctrl

2015-10-17 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin <mcoquelin.st...@gmail.com> --- Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/st

[PATCH 0/9] Add STM32 EXTI interrupt controller support

2015-10-17 Thread Maxime Coquelin
, and triggers either on rising, fallin or both edges. Each line can also be masked independently. This series applies on top of STM32 pinctrl v2 series. Regards, Maxime Maxime Coquelin (9): Documentation: dt-bindings: Document STM32 EXTI controller bindings drivers: irqchip: Add STM32 external

[PATCH 3/9] ARM: STM32: Select external interrupts controller

2015-10-17 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin <mcoquelin.st...@gmail.com> --- arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 8a764ba..8ca5b2b 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -986,6 +986,7 @@ config ARCH_STM32

[PATCH 6/9] pinctrl: Add IRQ support to STM32 gpios

2015-10-17 Thread Maxime Coquelin
into System Config registers. Signed-off-by: Maxime Coquelin <mcoquelin.st...@gmail.com> --- drivers/pinctrl/stm32/Kconfig | 1 + drivers/pinctrl/stm32/pinctrl-stm32.c | 68 +++ 2 files changed, 69 insertions(+) diff --git a/drivers/pinctrl/stm32/Kco

[PATCH 4/9] ARM: dts: Add EXTI controller node to stm32f429

2015-10-17 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin <mcoquelin.st...@gmail.com> --- arch/arm/boot/dts/stm32f429.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/arch/arm/boot/dts/stm32f429.dtsi index eb3580e..a2c3aaa 100644 --- a/arch/arm/boot/dts/stm32f42

[PATCH 8/9] ARM: dts: Declare push button as GPIO key on stm32f429 Disco board

2015-10-17 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin <mcoquelin.st...@gmail.com> --- arch/arm/boot/dts/stm32429i-eval.dts | 19 +++ arch/arm/boot/dts/stm32f429-disco.dts | 13 + 2 files changed, 32 insertions(+) diff --git a/arch/arm/boot/dts/stm32429i-eval.dts b/arch/arm/bo

[PATCH v2 3/9] includes: dt-bindings: Add STM32F429 pinctrl DT bindings

2015-10-17 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin <mcoquelin.st...@gmail.com> --- include/dt-bindings/pinctrl/pinctrl-stm32.h | 12 + include/dt-bindings/pinctrl/stm32f429-pinfunc.h | 1241 +++ 2 files changed, 1253 insertions(+) create mode 100644 include/dt-bindings/pinctrl/p

[PATCH 1/9] Documentation: dt-bindings: Document STM32 EXTI controller bindings

2015-10-17 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin <mcoquelin.st...@gmail.com> --- .../bindings/interrupt-controller/st,stm32-exti.txt | 20 1 file changed, 20 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/st,stm32-exti.txt diff

[PATCH v2 8/9] ARM: dts: Add leds support to STM32F429 Discovery board

2015-10-17 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin <mcoquelin.st...@gmail.com> --- arch/arm/boot/dts/stm32f429-disco.dts | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/stm32f429-disco.dts b/arch/arm/boot/dts/stm32f429-disco.dts index e3ce796..532c499 100644 --- a/arch/arm/bo

[PATCH v2 9/9] ARM: config: Enable GPIO Led driver in stm32_defconfig

2015-10-17 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin <mcoquelin.st...@gmail.com> --- arch/arm/configs/stm32_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/stm32_defconfig b/arch/arm/configs/stm32_defconfig index 4725fab..92ade2e 100644 --- a/arch/arm/configs/stm32_defconfig +++

[PATCH v2 1/9] ARM: Kconfig: Introduce MACH_STM32F429 flag

2015-10-17 Thread Maxime Coquelin
This patch introduces the MACH_STM32F429 to make possible to only select STM32F429 pinctrl driver. By default, all the MACH_STM32Fxxx flags will be set with STM32 defconfig. Signed-off-by: Maxime Coquelin <mcoquelin.st...@gmail.com> --- arch/arm/Kconfig | 5 + 1 file changed, 5 inse

[PATCH v2 7/9] ARM: dts: Add USART1 pin config to STM32F429 boards

2015-10-17 Thread Maxime Coquelin
This patch selects USART1 pin configuration on PA9/PA10 pins for both Eval and Disco boards. Signed-off-by: Maxime Coquelin <mcoquelin.st...@gmail.com> --- arch/arm/boot/dts/stm32429i-eval.dts | 2 ++ arch/arm/boot/dts/stm32f429-disco.dts | 2 ++ arch/arm/boot/dts/stm32f429.dtsi

[PATCH v2 5/9] ARM: mach-stm32: Select pinctrl

2015-10-17 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin <mcoquelin.st...@gmail.com> --- arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index bf94e54..8a764ba 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -984,6 +984,7 @@ config ARCH_STM32

[PATCH v2 6/9] ARM: dts: Add pinctrl node to STM32F429

2015-10-17 Thread Maxime Coquelin
The STM32F429 MCU has 11 GPIO banks, with 16 pins per bank. Signed-off-by: Maxime Coquelin <mcoquelin.st...@gmail.com> --- arch/arm/boot/dts/stm32f429.dtsi | 97 1 file changed, 97 insertions(+) diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/ar

[PATCH v2 4/9] pinctrl: Add support STM32 MCUs

2015-10-17 Thread Maxime Coquelin
This patch adds pinctrl and GPIO support to STMicroelectronic's STM32 family of MCUs. While it only supports STM32F429 for now, it has been designed to enable support of other MCUs of the family (e.g. STM32F746). Signed-off-by: Maxime Coquelin <mcoquelin.st...@gmail.com> --- drivers/p

[PATCH v2 2/9] Documentation: dt-bindings: Document STM32 pinctrl driver DT bindings

2015-10-17 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin <mcoquelin.st...@gmail.com> --- .../bindings/pinctrl/st,stm32-pinctrl.txt | 126 + 1 file changed, 126 insertions(+) create mode 100644 Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.txt diff --git a/Documen

Re: [PATCH 2/7] includes: dt-bindings: Add STM32F429 pinctrl DT bindings

2015-10-15 Thread Maxime Coquelin
2015-10-15 13:14 GMT+02:00 Daniel Thompson <daniel.thomp...@linaro.org>: > On 14/10/15 21:07, Maxime Coquelin wrote: >> >> Signed-off-by: Maxime Coquelin <mcoquelin.st...@gmail.com> >> --- >> include/dt-bindings/pinctrl/pinctrl-stm32.h | 12 + >

Re: [PATCH 0/4] Enable Ethernet on StiH407 family boards

2015-10-15 Thread Maxime Coquelin
On 10/01/2015 05:56 PM, Maxime Coquelin wrote: This series enables Ethernet support on STiH407 family reference design boards. These boards use the RTL8367 Switch as PHY. As it is previously configured by the bootloader, we declare it as a fixed link. Maxime Coquelin (4): ARM: dts: Fix

Re: [PATCH v2] ARM: DT: STi: STiH418: Fix mmc0 clock configuration

2015-10-15 Thread Maxime Coquelin
On 08/24/2015 04:23 PM, Gabriel Fernandez wrote: This patch configure correctly the MMC-0 clock for STiH418 platform. Signed-off-by: Gabriel Fernandez <gabriel.fernan...@linaro.org> Acked-by: Maxime Coquelin <maxime.coque...@st.com> --- arch/arm/boot/dts/stih418.dtsi | 6 +++

Re: [PATCH 5/7] ARM: mach-stm32: Select pinctrl

2015-10-15 Thread Maxime Coquelin
Hi, Commenting myself before someone else does... On 10/14/2015 10:07 PM, Maxime Coquelin wrote: Signed-off-by: Maxime Coquelin <mcoquelin.st...@gmail.com> --- arch/arm/Kconfig | 1 + drivers/pinctrl/stm32/pinctrl-stm32f429.c | 2 +- 2 files changed, 2 inse

Re: [PATCH 0/3] hwrng: stm32 - add support for STM32 HW RNG

2015-10-14 Thread Maxime Coquelin
* Simplified error detection in main read loop (Linus Walleij, Maxime >>Coquelin). >> * Only WARN_ONCE() when hardware failure mechanisms trigger (Maxime >>Coquelin). >> * Simplify end of probe function after cocci warning (Fengguang Wu). >> * Switch to devm_hwrn

[PATCH 0/7] Add STM32 pinctrl/GPIO driver

2015-10-14 Thread Maxime Coquelin
in GPIO mode, alternate function (up to 15 functions per pin) or analog (for ADC/DAC). Kind regards, Maxime Maxime Coquelin (7): ARM: Kconfig: Introduce MACH_STM32F429 flag includes: dt-bindings: Add STM32F429 pinctrl DT bindings Documentation: dt-bindings: Document STM32 pinctrl driver DT

[PATCH 1/7] ARM: Kconfig: Introduce MACH_STM32F429 flag

2015-10-14 Thread Maxime Coquelin
This patch introduces the MACH_STM32F429 to make possible to only select STM32F429 pinctrl driver. By default, all the MACH_STM32Fxxx flags will be set with STM32 defconfig. Signed-off-by: Maxime Coquelin <mcoquelin.st...@gmail.com> --- arch/arm/Kconfig | 5 + 1 file changed, 5 inse

[PATCH 4/7] pinctrl: Add support STM32 MCUs

2015-10-14 Thread Maxime Coquelin
This patch adds pinctrl and GPIO support to STMicroelectronic's STM32 family of MCUs. While it only supports STM32F429 for now, it has been designed to enable support of other MCUs of the family (e.g. STM32F746). Signed-off-by: Maxime Coquelin <mcoquelin.st...@gmail.com> --- drivers/p

[PATCH 5/7] ARM: mach-stm32: Select pinctrl

2015-10-14 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin <mcoquelin.st...@gmail.com> --- arch/arm/Kconfig | 1 + drivers/pinctrl/stm32/pinctrl-stm32f429.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index bf94e54..8b1afd4

[PATCH 2/7] includes: dt-bindings: Add STM32F429 pinctrl DT bindings

2015-10-14 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin <mcoquelin.st...@gmail.com> --- include/dt-bindings/pinctrl/pinctrl-stm32.h | 12 + include/dt-bindings/pinctrl/stm32f429-pinfunc.h | 1241 +++ 2 files changed, 1253 insertions(+) create mode 100644 include/dt-bindings/pinctrl/p

[PATCH 7/7] ARM: dts: Add USART1 pin config to STM32F429 boards

2015-10-14 Thread Maxime Coquelin
This patch selects USART1 pin configuration on PA9/PA10 pins for both Eval and Disco boards. Signed-off-by: Maxime Coquelin <mcoquelin.st...@gmail.com> --- arch/arm/boot/dts/stm32429i-eval.dts | 2 ++ arch/arm/boot/dts/stm32f429-disco.dts | 2 ++ arch/arm/boot/dts/stm32f429.dtsi

[PATCH 3/7] Documentation: dt-bindings: Document STM32 pinctrl driver DT bindings

2015-10-14 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin <mcoquelin.st...@gmail.com> --- .../bindings/pinctrl/st,stm32-pinctrl.txt | 113 + 1 file changed, 113 insertions(+) create mode 100644 Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.txt diff --git a/Documen

[PATCH 6/7] ARM: dts: Add pinctrl node to STM32F429

2015-10-14 Thread Maxime Coquelin
The STM32F429 MCU has 11 GPIO banks, with 16 pins per bank. Signed-off-by: Maxime Coquelin <mcoquelin.st...@gmail.com> --- arch/arm/boot/dts/stm32f429.dtsi | 97 1 file changed, 97 insertions(+) diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/ar

Re: [PATCH 1/4] dt-bindings: Document the STM32 DMA bindings

2015-10-12 Thread Maxime Coquelin
| 98 ++ 1 file changed, 98 insertions(+) create mode 100644 Documentation/devicetree/bindings/dma/stm32-dma.txt Acked-by: Maxime Coquelin <maxime.coque...@st.com> Thanks! Maxime -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body

Re: [PATCH 2/4] dmaengine: Add STM32 DMA driver

2015-10-12 Thread Maxime Coquelin
Hi Cedric, On 10/08/2015 05:20 PM, M'boumba Cedric Madianga wrote: This patch adds support for the STM32 DMA controller. Signed-off-by: M'boumba Cedric Madianga --- drivers/dma/Kconfig | 12 + drivers/dma/Makefile|1 + drivers/dma/stm32-dma.c |

Re: [PATCH 4/4] ARM: configs: Add STM32 DMA support in STM32 defconfig

2015-10-12 Thread Maxime Coquelin
On 10/08/2015 05:20 PM, M'boumba Cedric Madianga wrote: This patch adds STM32 DMA support in stm32_defconfig file Signed-off-by: M'boumba Cedric Madianga <cedric.madia...@gmail.com> --- arch/arm/configs/stm32_defconfig | 2 ++ 1 file changed, 2 insertions(+) Acked-by: Maxime Co

Re: [PATCH 1/3] dt-bindings: Document the STM32 HW RNG bindings

2015-10-04 Thread Maxime Coquelin
ng.txt | 21 + 1 file changed, 21 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwrng/stm32-rng.txt Except the typo, the patch looks good to me. When fixed, you can add my: Acked-by: Maxime Coquelin <mcoquelin.st...@gmail.com> Th

Re: [PATCH 2/3] hwrng: stm32 - add support for STM32 HW RNG

2015-10-04 Thread Maxime Coquelin
Hi Daniel, On 10/03/2015 10:35 PM, Daniel Thompson wrote: Add support for STMicroelectronics STM32 random number generator. The config value defaults to N, reflecting the fact that STM32 is a very low resource microcontroller platform and unlikely to be targeted by any "grown up" defconfigs.

Re: [PATCH 3/3] ARM: dts: stm32f429: Adopt STM32 RNG driver

2015-10-04 Thread Maxime Coquelin
ged, 7 insertions(+) Acked-by: Maxime Coquelin <mcoquelin.st...@gmail.com> I will queue it to STM32 tree as soon as the DT bindings are accepted. Thanks, Maxime -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majord...@vger.ker

Re: [PATCH v2 4/4] ARM: STi: DT: Add support for stih418 A9 pll

2015-10-03 Thread Maxime Coquelin
On 10/02/2015 09:32 PM, Stephen Boyd wrote: On 08/24, Gabriel Fernandez wrote: Add support for new PLL-type for stih418 A9-PLL. Signed-off-by: Gabriel Fernandez --- I assume this will go through arm-soc? Yes, I will take it through STi tree. Thanks, Maxime

Re: [STLinux Kernel] [PATCH v2 6/7] ARM: STi: STiH407: Enable the 2 HW Random Number Generators for STiH4{07, 10}

2015-10-01 Thread Maxime Coquelin
Hi Lee, Herbert, On 09/17/2015 03:45 PM, Lee Jones wrote: Signed-off-by: Lee Jones --- arch/arm/boot/dts/stih407-family.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/stih407-family.dtsi

[PATCH 2/4] ARM: dts: Add Ethernet node to STiH407 family

2015-10-01 Thread Maxime Coquelin
STiH407 family uses the Synopsys IP. Signed-off-by: Maxime Coquelin <maxime.coque...@st.com> --- arch/arm/boot/dts/stih407-family.dtsi | 27 +++ 1 file changed, 27 insertions(+) diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-famil

[PATCH 0/4] Enable Ethernet on StiH407 family boards

2015-10-01 Thread Maxime Coquelin
This series enables Ethernet support on STiH407 family reference design boards. These boards use the RTL8367 Switch as PHY. As it is previously configured by the bootloader, we declare it as a fixed link. Maxime Coquelin (4): ARM: dts: Fix RGMII pinctrl timings ARM: dts: Add Ethernet node

[PATCH 4/4] ARM: dts: Enable Ethernet on STi's B2199 board

2015-10-01 Thread Maxime Coquelin
The B2199 board is mounted with Realtek RTL8367 switch. We consider the bootloader will have intiliazed the switch before jumping into the kernel, so we declare it as a fixed link. Signed-off-by: Maxime Coquelin <maxime.coque...@st.com> --- arch/arm/boot/dts/stih418-b2199.dts | 8 +

[PATCH 3/4] ARM: dts: Enable Ethernet on STi's B2120 boards

2015-10-01 Thread Maxime Coquelin
These boards are mounted with Realtek RTL8367 switch. We consider the bootloader will have intiliazed the switch before jumping into the kernel, so we declare it as a fixed link. Signed-off-by: Maxime Coquelin <maxime.coque...@st.com> --- arch/arm/boot/dts/stih407-b2120.dts | 1 + arch/ar

[PATCH 1/4] ARM: dts: Fix RGMII pinctrl timings

2015-10-01 Thread Maxime Coquelin
These new re-timing values provides a better stability on Ethernet link. Signed-off-by: Maxime Coquelin <maxime.coque...@st.com> --- arch/arm/boot/dts/stih407-pinctrl.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/ar

Re: [PATCH v2 00/11] Hi Maxime / Patrice / Srini,

2015-09-30 Thread Maxime Coquelin
Hi Peter, On 09/28/2015 02:37 PM, Peter Griffin wrote: This series makes a series of updates to the stih407 pinctrl groups and makes the upstream kernel more closely aligned in terms of pin configuration to the vendor kernel. A number of new periphs are added such as spi fsm, nand, cec0, and

Re: [PATCH 0/3] ARM: dts: Various STi DT clean-ups

2015-09-30 Thread Maxime Coquelin
On 09/23/2015 09:37 PM, Maxime Coquelin wrote: This series cleans the STi407 family DTs, by factorizing common nodes between STiH407 and STiH410, and also by only enabling PWM and USB nodes at board level, as they could not be exposed on some boards. Maxime Coquelin (3): ARM: dts: stih407

Re: [PATCH] ARM: STi: DT: STiH407: Rename incorrect interrupt related binding

2015-09-30 Thread Maxime Coquelin
Hi Lee, On 09/29/2015 10:52 AM, Lee Jones wrote: interrupts-names => interrupt-names Signed-off-by: Lee Jones --- arch/arm/boot/dts/stih407-pinctrl.dtsi | 8 1 file changed, 4 insertions(+), 4 deletions(-) Good spot! Applied to sti-dt-for-v4.4. thanks,

Re: [STLinux Kernel] [PATCH v2 0/7] hwrng: Add support for STMicroelectronics' RNG IP

2015-09-30 Thread Maxime Coquelin
On 09/30/2015 04:28 PM, Herbert Xu wrote: On Wed, Sep 30, 2015 at 03:15:39PM +0100, Lee Jones wrote: I prefer not to merge patches that cannot be tested. Without the DT bits in patch 6 the other five patches are useless. So I think patch 6 should be applied together with the other five

Re: [STLinux Kernel] [PATCH 3/3] ARM: dts: stih410: Enable USB2.0 and related PHY nodes at board level

2015-09-29 Thread Maxime Coquelin
On 09/24/2015 08:58 AM, Patrice Chotard wrote: Hi Max On 09/23/2015 09:37 PM, Maxime Coquelin wrote: A borad might not expose the USB2.0 ports, so disable them by default in SoC typo borad Otherwise, for the series Acked-by: Patrice Chotard <patrice.chot...@st.com> Thanks Patr

[PATCH 0/3] ARM: dts: Various STi DT clean-ups

2015-09-23 Thread Maxime Coquelin
This series cleans the STi407 family DTs, by factorizing common nodes between STiH407 and STiH410, and also by only enabling PWM and USB nodes at board level, as they could not be exposed on some boards. Maxime Coquelin (3): ARM: dts: stih407: Enable PWM nodes only board level ARM: dts

[PATCH 3/3] ARM: dts: stih410: Enable USB2.0 and related PHY nodes at board level

2015-09-23 Thread Maxime Coquelin
A borad might not expose the USB2.0 ports, so disable them by default in SoC file, and enable them in b2120 board. Signed-off-by: Maxime Coquelin <maxime.coque...@st.com> --- arch/arm/boot/dts/stih410-b2120.dts | 24 arch/arm/boot/dts/stih410.dtsi

[PATCH 1/3] ARM: dts: stih407: Enable PWM nodes only board level

2015-09-23 Thread Maxime Coquelin
The PWM may not be used on some boards, so enable them only the board file. Signed-off-by: Maxime Coquelin <maxime.coque...@st.com> --- arch/arm/boot/dts/stih407-family.dtsi | 6 -- arch/arm/boot/dts/stihxxx-b2120.dtsi | 8 2 files changed, 12 insertions(+), 2 deletions(-)

[PATCH 2/3] ARM: dts: stih407/410: Tidy up display nodes

2015-09-23 Thread Maxime Coquelin
The display nodes are common to both STiH407 and STiH410, move them to the family file. Signed-off-by: Maxime Coquelin <maxime.coque...@st.com> --- arch/arm/boot/dts/stih407-family.dtsi | 13 + arch/arm/boot/dts/stih407.dtsi| 13 - arch/arm/boot/dts/stih41

Re: [RESEND PATCH 0/2] ST PLL fixes for 4.3-rc2

2015-09-18 Thread Maxime Coquelin
On 09/17/2015 08:14 PM, Stephen Boyd wrote: On 09/17, Maxime Coquelin wrote: On 09/17/2015 12:30 AM, Stephen Boyd wrote: On 09/16, Gabriel Fernandez wrote: This patch set fixes a kernel crash : [..] This kernel crash is due to a broken compatibility with this commit: commit 5eb26c605909

Re: [PATCH 2/2] drivers: clk: st: Rename st_pll3200c32_407_c0_x into st_pll3200c32_cx_x

2015-09-18 Thread Maxime Coquelin
On 09/17/2015 08:51 PM, Stephen Boyd wrote: On 09/16, Gabriel Fernandez wrote: Use a generic name for this kind of PLL Correction in dts files are already done here: commit 5eb26c605909 ("ARM: STi: DT: Rename st_pll3200c32_407_c0_x into st_pll3200c32_cx_x") Signed-off-by: Gabriel Fernandez

Re: [RESEND PATCH 0/2] ST PLL fixes for 4.3-rc2

2015-09-17 Thread Maxime Coquelin
On 09/17/2015 12:30 AM, Stephen Boyd wrote: On 09/16, Gabriel Fernandez wrote: This patch set fixes a kernel crash : [..] This kernel crash is due to a broken compatibility with this commit: commit 5eb26c605909 ("ARM: STi: DT: Rename st_pll3200c32_407_c0_x into st_pll3200c32_cx_x") It

Re: [PATCH 3/7] dmaengine: st_fdma: Add STMicroelectronics FDMA engine driver support

2015-08-31 Thread Maxime Coquelin
On 08/31/2015 10:08 AM, Paul Bolle wrote: Hi Maxime, On ma, 2015-08-31 at 09:49 +0200, Maxime Coquelin wrote: On 07/09/2015 10:17 AM, Paul Bolle wrote: +static int __exit st_fdma_remove(struct platform_device *pdev) +{ + struct st_fdma_dev *fdev = platform_get_drvdata(pdev

Re: [PATCH 3/7] dmaengine: st_fdma: Add STMicroelectronics FDMA engine driver support

2015-08-31 Thread Maxime Coquelin
Hi Paul, On 07/09/2015 10:17 AM, Paul Bolle wrote: >+static int __exit st_fdma_remove(struct platform_device *pdev) >+{ >+ struct st_fdma_dev *fdev = platform_get_drvdata(pdev); >+ >+ wait_for_completion(>fw_ack); >+ >+ st_fdma_clk_disable(fdev); >+ >+ return 0; >+} Since this driver

Re: [PATCH 1/1] ARM: DT: STi: STiH418: Fix mmc0 clock configuration

2015-08-24 Thread Maxime Coquelin
file, i.e. stih418.dtsi. If you agree to change, you can add: Acked-by: Maxime Coquelin maxime.coque...@st.com Thanks! Maxime -- To unsubscribe from this list: send the line unsubscribe devicetree in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org

Re: [PATCH] enable HQVDP for stih410 platform

2015-08-14 Thread Maxime Coquelin
Hi Benjamin, The title needs to be appended with ARM: dts:. If you agree, I can fix this when applying it. On 08/11/2015 05:12 PM, Benjamin Gaignard wrote: From: Vincent Abriou vincent.abr...@st.com Add HQVDP in stih410 devicetree to enable it. HQVDP bindings have been describe in

Re: [PATCH 2/2] drm: sti: adapt DT to fix probe/bind issues in DRM driver

2015-08-11 Thread Maxime Coquelin
Hi Olof, On 07/17/2015 01:51 PM, Maxime Coquelin wrote: Dear ARM SoC Maintainers, On 07/17/2015 01:45 PM, Benjamin Gaignard wrote: STI drm drivers probe and bind using component framework was incorrect. In addition to drivers fix DT update is needed to make all sub-components become childs

Re: [PATCH] ARM: dts: Add STM32429i-EVAL board support

2015-07-22 Thread Maxime Coquelin
On 07/12/2015 11:39 AM, Maxime Coquelin wrote: Main features of STM32429i-EVAL evaluation kit are: - STM32F429 Cortex-M4 MCU @180MHz * 2MB internal Flash * 256KB internal RAM - 32MB SDRAM - 16MB NOR Flash - 2MB SRAM - 4.3 TFT LCD with resistive touchscreen - SDCard

Re: [PATCH v2 3/3] ARM: STi: DT: STiH418: Add cpu-release-addr dt property.

2015-07-22 Thread Maxime Coquelin
HI Peter, On 06/09/2015 03:33 PM, Peter Griffin wrote: To enable SMP when booting via u-boot we need to specify the newly implemented cpu-release-addr DT property for cores 2 3. Cores 0 1 are inherited from stih407-family.dtsi. Signed-off-by: Peter Griffin peter.grif...@linaro.org ---

Re: [PATCH 9/9] ARM: STi: DT: Rename st_pll3200c32_407_c0_x into st_pll3200c32_cx_x

2015-07-22 Thread Maxime Coquelin
Hi Gabriel, On 06/23/2015 04:09 PM, Gabriel Fernandez wrote: Use a generic name for this kind of PLL Signed-off-by: Gabriel Fernandez gabriel.fernan...@linaro.org --- Documentation/devicetree/bindings/clock/st/st,clkgen-pll.txt | 4 ++-- arch/arm/boot/dts/stih407-clock.dtsi

Re: [PATCH v2 2/3] ARM: STi: DT: STiH407: Add cpu-release-addr dt property.

2015-07-22 Thread Maxime Coquelin
HI Peter, On 06/09/2015 03:33 PM, Peter Griffin wrote: To enable SMP when booting via u-boot we need to specify the newly implemented cpu-release-addr DT property. Signed-off-by: Peter Griffin peter.grif...@linaro.org Acked-by: Maxime Coquelin maxime.coque...@st.com --- arch/arm/boot/dts

Re: [PATCH v2 1/3] ARM: STi: Add code to release secondary cores from holding pen.

2015-07-22 Thread Maxime Coquelin
[0.065089] SMP: Total of 2 processors activated (5983.43 BogoMIPS). [0.065092] CPU: All CPU(s) started in SVC mode. Signed-off-by: Peter Griffin peter.grif...@linaro.org Acked-by: Maxime Coquelin maxime.coque...@st.com --- arch/arm/mach-sti/headsmp.S | 1 + arch/arm/mach-sti/platsmp.c | 55

Re: [PATCH] ARM: DT: STiH410: Add bdisp dt nodes

2015-07-22 Thread Maxime Coquelin
Hi Fabien, On 06/16/2015 03:30 PM, Fabien Dessenne wrote: Add the bdisp (2D blitter for STMicroelectronics SoC) dt nodes for the first of the two bdisp devices, defining register address, interrupt and clock. Signed-off-by: Fabien Dessenne fabien.desse...@st.com ---

Re: [PATCH 0/9] Add STiH407 fanmily pinctrl DT for tsin, tsout and mtsin channels

2015-07-22 Thread Maxime Coquelin
Hi Peter, On 06/10/2015 04:03 PM, Peter Griffin wrote: Hi folks, This set adds in the necessary DT pinctrl configuration for the transport stream input channels, transport stream output channels and merged transport stream input channels for STiH407 family silicon. Some of these channels

  1   2   3   4   5   >