Re: [RESEND RFC PATCH] ARM: dts: stm32: change pinctrl bindings definition

2017-07-19 Thread Alexandre Torgue
Hi Vikas On 07/17/2017 10:42 PM, Vikas Manocha wrote: Hi Alex, On 07/17/2017 09:23 AM, Alexandre Torgue wrote: From: Alexandre TORGUE <alexandre.tor...@st.com> Initially each pin was declared in "include/dt-bindings/stm32f429-pinfunc.h" and each definition contain

Re: [RESEND RFC PATCH] ARM: dts: stm32: change pinctrl bindings definition

2017-07-19 Thread Alexandre Torgue
Hi Vikas On 07/17/2017 10:42 PM, Vikas Manocha wrote: Hi Alex, On 07/17/2017 09:23 AM, Alexandre Torgue wrote: From: Alexandre TORGUE Initially each pin was declared in "include/dt-bindings/stm32f429-pinfunc.h" and each definition contained SOC names (ex: STM32F429_PA9_FUNC

[RESEND RFC PATCH] ARM: dts: stm32: change pinctrl bindings definition

2017-07-17 Thread Alexandre Torgue
469-disco-before.dts stm32f469-disco-before.dtb Then diff -u stm32f469-disco-before.dts stm32f469-disco-after.dts Regards Alex Alexandre TORGUE (1): ARM: dts: stm32: change pinctrl bindings definition arch/arm/boot/dts/stm32f429.dtsi| 176 ++-- include/dt-bindings/pinctrl/stm32-

[RESEND RFC PATCH] ARM: dts: stm32: change pinctrl bindings definition

2017-07-17 Thread Alexandre Torgue
From: Alexandre TORGUE <alexandre.tor...@st.com> Initially each pin was declared in "include/dt-bindings/stm32f429-pinfunc.h" and each definition contained SOC names (ex: STM32F429_PA9_FUNC_USART1_TX). Since this approach was approved, the number of supported MCU has incr

[RESEND RFC PATCH] ARM: dts: stm32: change pinctrl bindings definition

2017-07-17 Thread Alexandre Torgue
469-disco-before.dts stm32f469-disco-before.dtb Then diff -u stm32f469-disco-before.dts stm32f469-disco-after.dts Regards Alex Alexandre TORGUE (1): ARM: dts: stm32: change pinctrl bindings definition arch/arm/boot/dts/stm32f429.dtsi| 176 ++-- include/dt-bindings/pinctrl/stm32-

[RESEND RFC PATCH] ARM: dts: stm32: change pinctrl bindings definition

2017-07-17 Thread Alexandre Torgue
From: Alexandre TORGUE Initially each pin was declared in "include/dt-bindings/stm32f429-pinfunc.h" and each definition contained SOC names (ex: STM32F429_PA9_FUNC_USART1_TX). Since this approach was approved, the number of supported MCU has increased (STM32F429/STM32F469/STM32f746

Re: [RFC PATCH] ARM: dts: stm32: change pinctrl bindings definition

2017-07-17 Thread Alexandre Torgue
Hi On 07/17/2017 01:15 PM, Arnd Bergmann wrote: On Mon, Jul 17, 2017 at 1:00 PM, Alexandre TORGUE <alexandre.tor...@st.com> wrote: blabla Signed-off-by: Alexandre TORGUE <alexandre.tor...@st.com> You may want to provide a little more detail here ;-) Oh!! Sorry, I changed it

Re: [RFC PATCH] ARM: dts: stm32: change pinctrl bindings definition

2017-07-17 Thread Alexandre Torgue
Hi On 07/17/2017 01:15 PM, Arnd Bergmann wrote: On Mon, Jul 17, 2017 at 1:00 PM, Alexandre TORGUE wrote: blabla Signed-off-by: Alexandre TORGUE You may want to provide a little more detail here ;-) Oh!! Sorry, I changed it but no sent the good commit :). Please translate blablable

[RFC PATCH] ARM: dts: stm32: change pinctrl bindings definition

2017-07-17 Thread Alexandre TORGUE
blabla Signed-off-by: Alexandre TORGUE <alexandre.tor...@st.com> diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/arch/arm/boot/dts/stm32f429.dtsi index a8113dc..4bb2b4f 100644 --- a/arch/arm/boot/dts/stm32f429.dtsi +++ b/arch/arm/boot/dts/stm32f429.dtsi @@ -47,7 +47,7 @@ #i

[RFC PATCH] ARM: dts: stm32: change pinctrl bindings definition

2017-07-17 Thread Alexandre TORGUE
blabla Signed-off-by: Alexandre TORGUE diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/arch/arm/boot/dts/stm32f429.dtsi index a8113dc..4bb2b4f 100644 --- a/arch/arm/boot/dts/stm32f429.dtsi +++ b/arch/arm/boot/dts/stm32f429.dtsi @@ -47,7 +47,7 @@ #include "skeleton.dtsi" #incl

[RFC PATCH] ARM: dts: stm32: change pinctrl bindings definition

2017-07-17 Thread Alexandre TORGUE
469-disco-before.dts stm32f469-disco-before.dtb Then diff -u stm32f469-disco-before.dts stm32f469-disco-after.dts Regards Alex Alexandre TORGUE (1): ARM: dts: stm32: change pinctrl bindings definition arch/arm/boot/dts/stm32f429.dtsi| 176 ++-- include/dt-bindings/pinctrl/stm32-

[RFC PATCH] ARM: dts: stm32: change pinctrl bindings definition

2017-07-17 Thread Alexandre TORGUE
469-disco-before.dts stm32f469-disco-before.dtb Then diff -u stm32f469-disco-before.dts stm32f469-disco-after.dts Regards Alex Alexandre TORGUE (1): ARM: dts: stm32: change pinctrl bindings definition arch/arm/boot/dts/stm32f429.dtsi| 176 ++-- include/dt-bindings/pinctrl/stm32-

Re: [PATCH 1/2] pinctrl: stm32: select IRQ_DOMAIN_HIERARCHY instead of depends on

2017-07-12 Thread Alexandre Torgue
vers/gpio/Kconfig:502: symbol GPIO_XGENE_SB depends on GPIOLIB Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com --- Thanks for the patch. Tested-by: Alexandre TORGUE <alexandre.tor...@st.com> regards Alex drivers/pinctrl/stm32/Kconfig | 9 + 1 file chang

Re: [PATCH 1/2] pinctrl: stm32: select IRQ_DOMAIN_HIERARCHY instead of depends on

2017-07-12 Thread Alexandre Torgue
vers/gpio/Kconfig:502: symbol GPIO_XGENE_SB depends on GPIOLIB Signed-off-by: Masahiro Yamada Thanks for the patch. Tested-by: Alexandre TORGUE regards Alex drivers/pinctrl/stm32/Kconfig | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/pinctrl/stm32

Re: [PATCH 8/8] ARM: dts: stm32: add support of exti on stm32h743 pinctrl

2017-07-07 Thread Alexandre Torgue
Hi Ludovic On 07/07/2017 09:26 AM, Ludovic Barre wrote: From: Ludovic Barre Signed-off-by: Ludovic Barre --- Can you fill commit message please arch/arm/boot/dts/stm32h743-pinctrl.dtsi | 24 1 file changed, 24

Re: [PATCH 8/8] ARM: dts: stm32: add support of exti on stm32h743 pinctrl

2017-07-07 Thread Alexandre Torgue
Hi Ludovic On 07/07/2017 09:26 AM, Ludovic Barre wrote: From: Ludovic Barre Signed-off-by: Ludovic Barre --- Can you fill commit message please arch/arm/boot/dts/stm32h743-pinctrl.dtsi | 24 1 file changed, 24 insertions(+) diff --git

Re: [PATCH 00/20] Update STM32 usart driver

2017-06-29 Thread Alexandre Torgue
Greg, Rob On 06/26/2017 02:49 PM, Bich HEMON wrote: From: Bich Hemon This patchset updates the stm32 usart driver. It mainly adds support for fifo, dma, debugfs anf fixes various bugs. Bich Hemon (20): serial: stm32: adding fifo support dt-bindings: serial: each

Re: [PATCH 00/20] Update STM32 usart driver

2017-06-29 Thread Alexandre Torgue
Greg, Rob On 06/26/2017 02:49 PM, Bich HEMON wrote: From: Bich Hemon This patchset updates the stm32 usart driver. It mainly adds support for fifo, dma, debugfs anf fixes various bugs. Bich Hemon (20): serial: stm32: adding fifo support dt-bindings: serial: each stm32 usart needs an

Re: [PATCH v3] ARM: dts: stm32f7: add stm32f769I & stm32f746 discovery board support

2017-06-12 Thread Alexandre Torgue
Hi Vikas On 04/13/2017 02:27 AM, Vikas Manocha wrote: Stm32f769I & stm32f746 are MCUs of stm32f7 family. Here are the major specs of the two boards: stm32f769I discovery board: - Cortex-M7 core @216MHz - 2MB mcu internal flash - 512KB internal sram - 16MB sdram

Re: [PATCH v3] ARM: dts: stm32f7: add stm32f769I & stm32f746 discovery board support

2017-06-12 Thread Alexandre Torgue
Hi Vikas On 04/13/2017 02:27 AM, Vikas Manocha wrote: Stm32f769I & stm32f746 are MCUs of stm32f7 family. Here are the major specs of the two boards: stm32f769I discovery board: - Cortex-M7 core @216MHz - 2MB mcu internal flash - 512KB internal sram - 16MB sdram

Re: [PATCH v5 0/5] STM32 Independent watchdog

2017-06-12 Thread Alexandre Torgue
Hi Yannick On 04/06/2017 02:19 PM, Yannick Fertre wrote: Version 5: - Update bindings (add field timeout-sec) - Update driver (rework start, rework settings & remove max_timeout) Version 4: - Update bindings (iwdg > watchdog) - Update typo - Update commit header - remove gerrit tags - Update

Re: [PATCH v5 0/5] STM32 Independent watchdog

2017-06-12 Thread Alexandre Torgue
Hi Yannick On 04/06/2017 02:19 PM, Yannick Fertre wrote: Version 5: - Update bindings (add field timeout-sec) - Update driver (rework start, rework settings & remove max_timeout) Version 4: - Update bindings (iwdg > watchdog) - Update typo - Update commit header - remove gerrit tags - Update

Re: [PATCH v5 0/8] Add support for DCMI camera interface of STMicroelectronics STM32 SoC series

2017-06-12 Thread Alexandre Torgue
Hi Hugues On 05/05/2017 05:31 PM, Hugues Fruchet wrote: This patchset introduces a basic support for Digital Camera Memory Interface (DCMI) of STMicroelectronics STM32 SoC series. This first basic support implements RGB565 & YUV frame grabbing. Cropping and JPEG support will be added later on.

Re: [PATCH v5 0/8] Add support for DCMI camera interface of STMicroelectronics STM32 SoC series

2017-06-12 Thread Alexandre Torgue
Hi Hugues On 05/05/2017 05:31 PM, Hugues Fruchet wrote: This patchset introduces a basic support for Digital Camera Memory Interface (DCMI) of STMicroelectronics STM32 SoC series. This first basic support implements RGB565 & YUV frame grabbing. Cropping and JPEG support will be added later on.

Re: [PATCH v3 0/5] Add support for the STM32F4 CRC32

2017-06-12 Thread Alexandre Torgue
Hi Cosar, On 05/22/2017 04:33 PM, Cosar Dindar wrote: This patch series add hardware CRC32 ("Ethernet") calculation support for STMicroelectronics STM32F429. Polynomial and key setting are not supported, key is fixed as 0x4C11DB7 and poly is 0x. Module is tested on STM32F429-disco

Re: [PATCH v3 0/5] Add support for the STM32F4 CRC32

2017-06-12 Thread Alexandre Torgue
Hi Cosar, On 05/22/2017 04:33 PM, Cosar Dindar wrote: This patch series add hardware CRC32 ("Ethernet") calculation support for STMicroelectronics STM32F429. Polynomial and key setting are not supported, key is fixed as 0x4C11DB7 and poly is 0x. Module is tested on STM32F429-disco

Re: [PATCH 0/3] Add stm32h743i-disco board

2017-06-12 Thread Alexandre Torgue
Hi Patrice, On 06/07/2017 09:16 AM, patrice.chot...@st.com wrote: From: Patrice Chotard This series adds basic support for the stm32h743i discovery board based on stm32h7 MCU. v2: _ update commit messages header with format "ARM: dts: stm32: " Patrice Chotard

Re: [PATCH 0/3] Add stm32h743i-disco board

2017-06-12 Thread Alexandre Torgue
Hi Patrice, On 06/07/2017 09:16 AM, patrice.chot...@st.com wrote: From: Patrice Chotard This series adds basic support for the stm32h743i discovery board based on stm32h7 MCU. v2: _ update commit messages header with format "ARM: dts: stm32: " Patrice Chotard (3): ARM: dts:

Re: [PATCH v2 3/7] includes: dt-bindings: Rename STM32F429 pinctrl DT bindings

2017-06-07 Thread Alexandre Torgue
Hi Rob, Gentle ping. On 04/12/2017 03:31 PM, Alexandre Torgue wrote: Hi Rob, On 04/10/2017 10:27 PM, Rob Herring wrote: On Fri, Apr 07, 2017 at 02:43:00PM +0200, Alexandre TORGUE wrote: STM32F4 MCU series is composed of several SOC (STM32F429, STM32F469, ...). Most of muxing definition

Re: [PATCH v2 3/7] includes: dt-bindings: Rename STM32F429 pinctrl DT bindings

2017-06-07 Thread Alexandre Torgue
Hi Rob, Gentle ping. On 04/12/2017 03:31 PM, Alexandre Torgue wrote: Hi Rob, On 04/10/2017 10:27 PM, Rob Herring wrote: On Fri, Apr 07, 2017 at 02:43:00PM +0200, Alexandre TORGUE wrote: STM32F4 MCU series is composed of several SOC (STM32F429, STM32F469, ...). Most of muxing definition

Re: [PATCH 0/3] Add stm32h743i-disco board

2017-06-07 Thread Alexandre Torgue
Hi Patrice On 06/06/2017 06:13 PM, patrice.chot...@st.com wrote: From: Patrice Chotard This series adds basic support for the stm32h743i discovery board based on stm32h7 MCU. Patrice Chotard (3): ARM: dts: stm32h743: Add usart2_pins ARM: dts: stm32h743: Add usart2

Re: [PATCH 0/3] Add stm32h743i-disco board

2017-06-07 Thread Alexandre Torgue
Hi Patrice On 06/06/2017 06:13 PM, patrice.chot...@st.com wrote: From: Patrice Chotard This series adds basic support for the stm32h743i discovery board based on stm32h7 MCU. Patrice Chotard (3): ARM: dts: stm32h743: Add usart2_pins ARM: dts: stm32h743: Add usart2 support ARM: dts:

Re: [PATCH net] net: stmmac: fix completely hung TX when using TSO

2017-06-06 Thread Alexandre Torgue
: (last_segment) && (buff_size < TSO_MAX_BUFF_SIZE), I don't remember to have seen this kind of issue in the past but for sure I agree with this patch. Acked-by: Alexandre TORGUE <alexandre.tor...@st.com> ... On 6/6/2017 9:25 AM, Niklas Cassel wrote: stmmac_tso_allocato

Re: [PATCH net] net: stmmac: fix completely hung TX when using TSO

2017-06-06 Thread Alexandre Torgue
: (last_segment) && (buff_size < TSO_MAX_BUFF_SIZE), I don't remember to have seen this kind of issue in the past but for sure I agree with this patch. Acked-by: Alexandre TORGUE ... On 6/6/2017 9:25 AM, Niklas Cassel wrote: stmmac_tso_allocator can fail to set the Last Des

[PATCH] pinctrl: stm32: remove useless check

2017-05-31 Thread Alexandre TORGUE
There is no link between the number of elements of tab which contains all pin desc (located in each pinctrl-stm32.c files) and the pin number (defined in the tab). Signed-off-by: Alexandre TORGUE <alexandre.tor...@st.com> diff --git a/drivers/pinctrl/stm32/pinctrl-stm32.c b/drivers/p

[PATCH] pinctrl: stm32: remove useless check

2017-05-31 Thread Alexandre TORGUE
There is no link between the number of elements of tab which contains all pin desc (located in each pinctrl-stm32.c files) and the pin number (defined in the tab). Signed-off-by: Alexandre TORGUE diff --git a/drivers/pinctrl/stm32/pinctrl-stm32.c b/drivers/pinctrl/stm32/pinctrl-stm32.c

[PATCH] pinctrl: stm32: Fix bad function call

2017-05-30 Thread Alexandre TORGUE
In stm32_pconf_parse_conf function, stm32_pmx_gpio_set_direction is called with wrong parameter value. Indeed, using NULL value for range will raise an oops. Fixes: aceb16dc2da5 ("pinctrl: Add STM32 MCUs support") Reported-by: Dan Carpenter <dan.carpen...@oracle.com> Signed-o

[PATCH] pinctrl: stm32: Fix bad function call

2017-05-30 Thread Alexandre TORGUE
In stm32_pconf_parse_conf function, stm32_pmx_gpio_set_direction is called with wrong parameter value. Indeed, using NULL value for range will raise an oops. Fixes: aceb16dc2da5 ("pinctrl: Add STM32 MCUs support") Reported-by: Dan Carpenter Signed-off-by: Alexandre TORGUE diff --git

[PATCH v2 3/3] ARM: dts: stm32: Set gpio controller also as interrupt controller

2017-05-29 Thread Alexandre TORGUE
This patch set each gpio controller as a interrupt controller. User who wants to use gpio as interrupt will have choice to use either "gpiolib" interface or "common" interrupt interface. Acked-by: Linus Walleij <linus.wall...@linaro.org> Signed-off-by: Alexandre TORGU

[PATCH v2 3/3] ARM: dts: stm32: Set gpio controller also as interrupt controller

2017-05-29 Thread Alexandre TORGUE
This patch set each gpio controller as a interrupt controller. User who wants to use gpio as interrupt will have choice to use either "gpiolib" interface or "common" interrupt interface. Acked-by: Linus Walleij Signed-off-by: Alexandre TORGUE diff --git a/arch/arm/boot/

[PATCH v2 2/3] pinctrl: stm32: Implement .get_direction gpio_chip callback

2017-05-29 Thread Alexandre TORGUE
Add .get_direction() gpiochip callback in STM32 pinctrl driver. Signed-off-by: Alexandre TORGUE <alexandre.tor...@st.com> diff --git a/drivers/pinctrl/stm32/pinctrl-stm32.c b/drivers/pinctrl/stm32/pinctrl-stm32.c index 5a15c7d..814f76c 100644 --- a/drivers/pinctrl/stm32/pinctrl-stm32.c

[PATCH v2 2/3] pinctrl: stm32: Implement .get_direction gpio_chip callback

2017-05-29 Thread Alexandre TORGUE
Add .get_direction() gpiochip callback in STM32 pinctrl driver. Signed-off-by: Alexandre TORGUE diff --git a/drivers/pinctrl/stm32/pinctrl-stm32.c b/drivers/pinctrl/stm32/pinctrl-stm32.c index 5a15c7d..814f76c 100644 --- a/drivers/pinctrl/stm32/pinctrl-stm32.c +++ b/drivers/pinctrl/stm32

[PATCH v2 1/3] pinctrl: stm32: set pin to gpio input when used as interrupt

2017-05-29 Thread Alexandre TORGUE
This patch ensures that pin is correctly set as gpio input when it is used as an interrupt. Signed-off-by: Alexandre TORGUE <alexandre.tor...@st.com> diff --git a/drivers/pinctrl/stm32/pinctrl-stm32.c b/drivers/pinctrl/stm32/pinctrl-stm32.c index d3c5f5d..5a15c7d 100644 --- a/drivers/p

[PATCH v2 1/3] pinctrl: stm32: set pin to gpio input when used as interrupt

2017-05-29 Thread Alexandre TORGUE
This patch ensures that pin is correctly set as gpio input when it is used as an interrupt. Signed-off-by: Alexandre TORGUE diff --git a/drivers/pinctrl/stm32/pinctrl-stm32.c b/drivers/pinctrl/stm32/pinctrl-stm32.c index d3c5f5d..5a15c7d 100644 --- a/drivers/pinctrl/stm32/pinctrl-stm32.c +++ b

[PATCH v2 0/3] Add fixes to STM32 pintrl

2017-05-29 Thread Alexandre TORGUE
iolib" interface or "common" interrupt interface. Changes since v1: -rebase on 4.12-rc1 -Let gpiochip and irqchip orthogonal in stm32 pinctrl driver -Don't use gpiolib internal define Regards Alex Alexandre TORGUE (3): pinctrl: stm32: set pin to gpio input when used as interr

[PATCH v2 0/3] Add fixes to STM32 pintrl

2017-05-29 Thread Alexandre TORGUE
iolib" interface or "common" interrupt interface. Changes since v1: -rebase on 4.12-rc1 -Let gpiochip and irqchip orthogonal in stm32 pinctrl driver -Don't use gpiolib internal define Regards Alex Alexandre TORGUE (3): pinctrl: stm32: set pin to gpio input when used as interr

Re: [PATCH v3 4/5] ARM: dts: stm32: enable CRC32 on stm32429-disco board

2017-05-23 Thread Alexandre Torgue
On 05/22/2017 04:34 PM, Cosar Dindar wrote: Enable the CRC32 crypto on stm32429-disco board. Signed-off-by: Cosar Dindar --- Will be applied in STM32 branch for next pull request. Thanks Alex arch/arm/boot/dts/stm32f429-disco.dts | 4 1 file changed, 4

Re: [PATCH v3 4/5] ARM: dts: stm32: enable CRC32 on stm32429-disco board

2017-05-23 Thread Alexandre Torgue
On 05/22/2017 04:34 PM, Cosar Dindar wrote: Enable the CRC32 crypto on stm32429-disco board. Signed-off-by: Cosar Dindar --- Will be applied in STM32 branch for next pull request. Thanks Alex arch/arm/boot/dts/stm32f429-disco.dts | 4 1 file changed, 4 insertions(+) diff --git

Re: [PATCH v3 5/5] ARM: dts: stm32: enable CRC32 on stm32429i-eval board

2017-05-23 Thread Alexandre Torgue
On 05/22/2017 04:35 PM, Cosar Dindar wrote: Enable the CRC32 crypto on stm32429i-eval board. Signed-off-by: Cosar Dindar --- Will be applied in STM32 branch for next pull request. Thanks Alex arch/arm/boot/dts/stm32429i-eval.dts | 4 1 file changed, 4

Re: [PATCH v3 5/5] ARM: dts: stm32: enable CRC32 on stm32429i-eval board

2017-05-23 Thread Alexandre Torgue
On 05/22/2017 04:35 PM, Cosar Dindar wrote: Enable the CRC32 crypto on stm32429i-eval board. Signed-off-by: Cosar Dindar --- Will be applied in STM32 branch for next pull request. Thanks Alex arch/arm/boot/dts/stm32429i-eval.dts | 4 1 file changed, 4 insertions(+) diff --git

Re: [PATCH v3 3/5] ARM: dts: stm32: Add CRC support to stm32f429

2017-05-23 Thread Alexandre Torgue
On 05/22/2017 04:34 PM, Cosar Dindar wrote: Add CRC32 Crypto support to stm32f429. Signed-off-by: Cosar Dindar Will be applied in STM32 branch for next pull request. Thanks Alex --- arch/arm/boot/dts/stm32f429.dtsi | 7 +++ 1 file changed, 7 insertions(+)

Re: [PATCH v3 3/5] ARM: dts: stm32: Add CRC support to stm32f429

2017-05-23 Thread Alexandre Torgue
On 05/22/2017 04:34 PM, Cosar Dindar wrote: Add CRC32 Crypto support to stm32f429. Signed-off-by: Cosar Dindar Will be applied in STM32 branch for next pull request. Thanks Alex --- arch/arm/boot/dts/stm32f429.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git

Re: [PATCH v4 0/8] Add support for DCMI camera interface of STMicroelectronics STM32 SoC series

2017-05-04 Thread Alexandre Torgue
cked-by: Alexandre TORGUE <alexandre.tor...@st.com> I will add it in future pull request. Regards Alex === = history = === version 4: - "v4l2-compliance -s -f" report - fix behaviour in case of start_streaming failure (DMA memory shortage for ex.) - dt-bindin

Re: [PATCH v4 0/8] Add support for DCMI camera interface of STMicroelectronics STM32 SoC series

2017-05-04 Thread Alexandre Torgue
cked-by: Alexandre TORGUE I will add it in future pull request. Regards Alex === = history = === version 4: - "v4l2-compliance -s -f" report - fix behaviour in case of start_streaming failure (DMA memory shortage for ex.) - dt-bindings: Fix remarks from Rob Her

Re: [PATCH 1/4] pinctrl: stm32: set pin to gpio input when used as interrupt

2017-04-24 Thread Alexandre Torgue
Hi Linus, On 04/24/2017 02:36 PM, Linus Walleij wrote: On Fri, Apr 7, 2017 at 5:10 PM, Alexandre TORGUE <alexandre.tor...@st.com> wrote: This patch ensures that pin is correctly set as gpio input when it is used as an interrupt. Signed-off-by: Alexandre TORGUE <alexandre.tor.

Re: [PATCH 1/4] pinctrl: stm32: set pin to gpio input when used as interrupt

2017-04-24 Thread Alexandre Torgue
Hi Linus, On 04/24/2017 02:36 PM, Linus Walleij wrote: On Fri, Apr 7, 2017 at 5:10 PM, Alexandre TORGUE wrote: This patch ensures that pin is correctly set as gpio input when it is used as an interrupt. Signed-off-by: Alexandre TORGUE (...) +static int stm32_gpio_irq_request_resources

Re: [PATCH 3/4] pinctrl: stm32: Implement .get_direction gpio_chip callback

2017-04-24 Thread Alexandre Torgue
Hi Linus, On 04/24/2017 02:37 PM, Linus Walleij wrote: On Fri, Apr 7, 2017 at 5:10 PM, Alexandre TORGUE <alexandre.tor...@st.com> wrote: Add .get_direction() gpiochip callback in STM32 pinctrl driver. Signed-off-by: Alexandre TORGUE <alexandre.tor...@st.com> (...

Re: [PATCH 3/4] pinctrl: stm32: Implement .get_direction gpio_chip callback

2017-04-24 Thread Alexandre Torgue
Hi Linus, On 04/24/2017 02:37 PM, Linus Walleij wrote: On Fri, Apr 7, 2017 at 5:10 PM, Alexandre TORGUE wrote: Add .get_direction() gpiochip callback in STM32 pinctrl driver. Signed-off-by: Alexandre TORGUE (...) +#include No this is wrong, drivers should never include this file

Re: [PATCH v2 6/7] ARM: Kconfig: Introduce MACH_STM32F469 flag

2017-04-24 Thread Alexandre Torgue
Hi On 04/24/2017 02:30 PM, Linus Walleij wrote: On Fri, Apr 7, 2017 at 2:43 PM, Alexandre TORGUE <alexandre.tor...@st.com> wrote: This patch introduces the MACH_STM32F469 to make possible to only select STM32F469 pinctrl driver By default, all the MACH_STM32Fxxx flags will be set with

Re: [PATCH v2 6/7] ARM: Kconfig: Introduce MACH_STM32F469 flag

2017-04-24 Thread Alexandre Torgue
Hi On 04/24/2017 02:30 PM, Linus Walleij wrote: On Fri, Apr 7, 2017 at 2:43 PM, Alexandre TORGUE wrote: This patch introduces the MACH_STM32F469 to make possible to only select STM32F469 pinctrl driver By default, all the MACH_STM32Fxxx flags will be set with STM32 defconfig. Signed-off

Re: [PATCH v2 3/7] includes: dt-bindings: Rename STM32F429 pinctrl DT bindings

2017-04-12 Thread Alexandre Torgue
Hi Rob, On 04/10/2017 10:27 PM, Rob Herring wrote: On Fri, Apr 07, 2017 at 02:43:00PM +0200, Alexandre TORGUE wrote: STM32F4 MCU series is composed of several SOC (STM32F429, STM32F469, ...). Most of muxing definition are identical. So to avoid to duplicate bindings definition, this patch

Re: [PATCH v2 3/7] includes: dt-bindings: Rename STM32F429 pinctrl DT bindings

2017-04-12 Thread Alexandre Torgue
Hi Rob, On 04/10/2017 10:27 PM, Rob Herring wrote: On Fri, Apr 07, 2017 at 02:43:00PM +0200, Alexandre TORGUE wrote: STM32F4 MCU series is composed of several SOC (STM32F429, STM32F469, ...). Most of muxing definition are identical. So to avoid to duplicate bindings definition, this patch

Re: [PATCH v2 2/7] Documentation: dt: Remove bindings for STM32 pinctrl

2017-04-12 Thread Alexandre Torgue
Hi Rob On 04/10/2017 10:20 PM, Rob Herring wrote: On Fri, Apr 07, 2017 at 02:42:59PM +0200, Alexandre TORGUE wrote: Remove "ngpios" bindings definition as it is no more used in stm32 pinctrl driver. I read the subject as "rm Documentation/devicetree/bindings/pinctrl/st,st

Re: [PATCH v2 2/7] Documentation: dt: Remove bindings for STM32 pinctrl

2017-04-12 Thread Alexandre Torgue
Hi Rob On 04/10/2017 10:20 PM, Rob Herring wrote: On Fri, Apr 07, 2017 at 02:42:59PM +0200, Alexandre TORGUE wrote: Remove "ngpios" bindings definition as it is no more used in stm32 pinctrl driver. I read the subject as "rm Documentation/devicetree/bindings/pinctrl/st,st

Re: [PATCH] ARM: dts: stm32f7: add STM32f769I & stm32f746 discovery board support

2017-04-11 Thread Alexandre Torgue
Hi Vikas On 04/10/2017 08:40 PM, Vikas Manocha wrote: Thanks Alex, On 04/10/2017 12:23 AM, Alexandre Torgue wrote: Hi On 04/08/2017 03:12 AM, Vikas Manocha wrote: Stm32f769I & stm32f746 are MCUs of stm32f7 family. Here are the major spces of the two boards: stm32f769I discovery b

Re: [PATCH] ARM: dts: stm32f7: add STM32f769I & stm32f746 discovery board support

2017-04-11 Thread Alexandre Torgue
Hi Vikas On 04/10/2017 08:40 PM, Vikas Manocha wrote: Thanks Alex, On 04/10/2017 12:23 AM, Alexandre Torgue wrote: Hi On 04/08/2017 03:12 AM, Vikas Manocha wrote: Stm32f769I & stm32f746 are MCUs of stm32f7 family. Here are the major spces of the two boards: stm32f769I discovery b

Re: [PATCH net-next] net: stmmac: set total length of the packet to be transmitted in TDES3

2017-04-11 Thread Alexandre Torgue
Hi, On 04/11/2017 07:40 AM, Giuseppe CAVALLARO wrote: Hi Niklas patch looks ok for me, Alex any feedback? It sounds good for me to. peppe On 4/10/2017 8:33 PM, Niklas Cassel wrote: From: Niklas Cassel Field FL/TPL in register TDES3 is not correctly set on GMAC4.

Re: [PATCH net-next] net: stmmac: set total length of the packet to be transmitted in TDES3

2017-04-11 Thread Alexandre Torgue
Hi, On 04/11/2017 07:40 AM, Giuseppe CAVALLARO wrote: Hi Niklas patch looks ok for me, Alex any feedback? It sounds good for me to. peppe On 4/10/2017 8:33 PM, Niklas Cassel wrote: From: Niklas Cassel Field FL/TPL in register TDES3 is not correctly set on GMAC4. TX appears to be

Re: [PATCH] ARM: dts: stm32f7: add STM32f769I & stm32f746 discovery board support

2017-04-10 Thread Alexandre Torgue
Hi On 04/08/2017 03:12 AM, Vikas Manocha wrote: Stm32f769I & stm32f746 are MCUs of stm32f7 family. Here are the major spces of the two boards: stm32f769I discovery board: - Cortex-M7 core @216MHz - 2MB mcu internal flash - 512KB internal sram - 16MB sdram memory

Re: [PATCH] ARM: dts: stm32f7: add STM32f769I & stm32f746 discovery board support

2017-04-10 Thread Alexandre Torgue
Hi On 04/08/2017 03:12 AM, Vikas Manocha wrote: Stm32f769I & stm32f746 are MCUs of stm32f7 family. Here are the major spces of the two boards: stm32f769I discovery board: - Cortex-M7 core @216MHz - 2MB mcu internal flash - 512KB internal sram - 16MB sdram memory

[PATCH 0/4] Add fixes to STM32 pintrl

2017-04-07 Thread Alexandre TORGUE
iolib" interface or "common" interrupt interface. Regards Alex Alexandre TORGUE (4): pinctrl: stm32: set pin to gpio input when used as interrupt pinctrl: stm32: replace device_initcall() with arch_initcall() pinctrl: stm32: Implement .get_direction gpio_chip callback ARM:

[PATCH 0/4] Add fixes to STM32 pintrl

2017-04-07 Thread Alexandre TORGUE
iolib" interface or "common" interrupt interface. Regards Alex Alexandre TORGUE (4): pinctrl: stm32: set pin to gpio input when used as interrupt pinctrl: stm32: replace device_initcall() with arch_initcall() pinctrl: stm32: Implement .get_direction gpio_chip callback ARM:

[PATCH 2/4] pinctrl: stm32: replace device_initcall() with arch_initcall()

2017-04-07 Thread Alexandre TORGUE
Pinctrl has to be registered earlier. Mainly to register bank irqdomain earlier as other devices could use interrupts from those irqdomain. Signed-off-by: Alexandre TORGUE <alexandre.tor...@st.com> diff --git a/drivers/pinctrl/stm32/pinctrl-stm32f429.c b/drivers/pinctrl/stm32/pinctrl-stm

[PATCH 2/4] pinctrl: stm32: replace device_initcall() with arch_initcall()

2017-04-07 Thread Alexandre TORGUE
Pinctrl has to be registered earlier. Mainly to register bank irqdomain earlier as other devices could use interrupts from those irqdomain. Signed-off-by: Alexandre TORGUE diff --git a/drivers/pinctrl/stm32/pinctrl-stm32f429.c b/drivers/pinctrl/stm32/pinctrl-stm32f429.c index 990b867..4bbade2

[PATCH 1/4] pinctrl: stm32: set pin to gpio input when used as interrupt

2017-04-07 Thread Alexandre TORGUE
This patch ensures that pin is correctly set as gpio input when it is used as an interrupt. Signed-off-by: Alexandre TORGUE <alexandre.tor...@st.com> diff --git a/drivers/pinctrl/stm32/pinctrl-stm32.c b/drivers/pinctrl/stm32/pinctrl-stm32.c index abc405b..c8825e5 100644 --- a/drivers/p

[PATCH 1/4] pinctrl: stm32: set pin to gpio input when used as interrupt

2017-04-07 Thread Alexandre TORGUE
This patch ensures that pin is correctly set as gpio input when it is used as an interrupt. Signed-off-by: Alexandre TORGUE diff --git a/drivers/pinctrl/stm32/pinctrl-stm32.c b/drivers/pinctrl/stm32/pinctrl-stm32.c index abc405b..c8825e5 100644 --- a/drivers/pinctrl/stm32/pinctrl-stm32.c +++ b

[PATCH 3/4] pinctrl: stm32: Implement .get_direction gpio_chip callback

2017-04-07 Thread Alexandre TORGUE
Add .get_direction() gpiochip callback in STM32 pinctrl driver. Signed-off-by: Alexandre TORGUE <alexandre.tor...@st.com> diff --git a/drivers/pinctrl/stm32/pinctrl-stm32.c b/drivers/pinctrl/stm32/pinctrl-stm32.c index c8825e5..fdde60f 100644 --- a/drivers/pinctrl/stm32/pinctrl-stm32.c

[PATCH 3/4] pinctrl: stm32: Implement .get_direction gpio_chip callback

2017-04-07 Thread Alexandre TORGUE
Add .get_direction() gpiochip callback in STM32 pinctrl driver. Signed-off-by: Alexandre TORGUE diff --git a/drivers/pinctrl/stm32/pinctrl-stm32.c b/drivers/pinctrl/stm32/pinctrl-stm32.c index c8825e5..fdde60f 100644 --- a/drivers/pinctrl/stm32/pinctrl-stm32.c +++ b/drivers/pinctrl/stm32

[PATCH 4/4] ARM: dts: stm32: Set gpio controller also as interrupt controller

2017-04-07 Thread Alexandre TORGUE
This patch set each gpio controller as a interrupt controller. User who wants to use gpio as interrupt will have choice to use either "gpiolib" interface or "common" interrupt interface. Signed-off-by: Alexandre TORGUE <alexandre.tor...@st.com> diff --git a/arch/arm

[PATCH 4/4] ARM: dts: stm32: Set gpio controller also as interrupt controller

2017-04-07 Thread Alexandre TORGUE
This patch set each gpio controller as a interrupt controller. User who wants to use gpio as interrupt will have choice to use either "gpiolib" interface or "common" interrupt interface. Signed-off-by: Alexandre TORGUE diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/arch/ar

[PATCH v2 7/7] ARM: dts: stm32: create dedicated files for pinctrl definitions

2017-04-07 Thread Alexandre TORGUE
Create dedicated file by MCU for pinmuxing and gpio definitions. Signed-off-by: Alexandre TORGUE <alexandre.tor...@st.com> diff --git a/arch/arm/boot/dts/stm32429i-eval.dts b/arch/arm/boot/dts/stm32429i-eval.dts index 3c99466..de95156 100644 --- a/arch/arm/boot/dts/stm32429i-eval.dts +++

[PATCH v2 4/7] pinctrl: stm32: Add STM32F469 MCU support

2017-04-07 Thread Alexandre TORGUE
This patch which adds STM32F469 pinctrl and GPIO support, relies on the generic STM32 pinctrl driver. Signed-off-by: Alexandre TORGUE <alexandre.tor...@st.com> diff --git a/drivers/pinctrl/stm32/Kconfig b/drivers/pinctrl/stm32/Kconfig index f5ccabd..3b8026f 100644 --- a/drivers/pinctrl

[PATCH v2 7/7] ARM: dts: stm32: create dedicated files for pinctrl definitions

2017-04-07 Thread Alexandre TORGUE
Create dedicated file by MCU for pinmuxing and gpio definitions. Signed-off-by: Alexandre TORGUE diff --git a/arch/arm/boot/dts/stm32429i-eval.dts b/arch/arm/boot/dts/stm32429i-eval.dts index 3c99466..de95156 100644 --- a/arch/arm/boot/dts/stm32429i-eval.dts +++ b/arch/arm/boot/dts/stm32429i

[PATCH v2 4/7] pinctrl: stm32: Add STM32F469 MCU support

2017-04-07 Thread Alexandre TORGUE
This patch which adds STM32F469 pinctrl and GPIO support, relies on the generic STM32 pinctrl driver. Signed-off-by: Alexandre TORGUE diff --git a/drivers/pinctrl/stm32/Kconfig b/drivers/pinctrl/stm32/Kconfig index f5ccabd..3b8026f 100644 --- a/drivers/pinctrl/stm32/Kconfig +++ b/drivers

[PATCH v2 5/7] Documentation: dt: Add new compatible to STM32 pinctrl driver bindings

2017-04-07 Thread Alexandre TORGUE
Add new compatible for stm32f469 MCU. Signed-off-by: Alexandre TORGUE <alexandre.tor...@st.com> diff --git a/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.txt index e4cda3d..d907a74 100644 --- a/Documen

[PATCH v2 5/7] Documentation: dt: Add new compatible to STM32 pinctrl driver bindings

2017-04-07 Thread Alexandre TORGUE
Add new compatible for stm32f469 MCU. Signed-off-by: Alexandre TORGUE diff --git a/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.txt index e4cda3d..d907a74 100644 --- a/Documentation/devicetree/bindings/pinctrl/st

[PATCH v2 3/7] includes: dt-bindings: Rename STM32F429 pinctrl DT bindings

2017-04-07 Thread Alexandre TORGUE
STM32F4 MCU series is composed of several SOC (STM32F429, STM32F469, ...). Most of muxing definition are identical. So to avoid to duplicate bindings definition, this patch create common definitions. Signed-off-by: Alexandre TORGUE <alexandre.tor...@st.com> diff --git a/arch/arm/bo

[PATCH v2 3/7] includes: dt-bindings: Rename STM32F429 pinctrl DT bindings

2017-04-07 Thread Alexandre TORGUE
STM32F4 MCU series is composed of several SOC (STM32F429, STM32F469, ...). Most of muxing definition are identical. So to avoid to duplicate bindings definition, this patch create common definitions. Signed-off-by: Alexandre TORGUE diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/arch/arm/boot

[PATCH v2 6/7] ARM: Kconfig: Introduce MACH_STM32F469 flag

2017-04-07 Thread Alexandre TORGUE
This patch introduces the MACH_STM32F469 to make possible to only select STM32F469 pinctrl driver By default, all the MACH_STM32Fxxx flags will be set with STM32 defconfig. Signed-off-by: Alexandre TORGUE <alexandre.tor...@st.com> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 0

[PATCH v2 0/7] Add STM32F469 pinctrl and fix issues in STM32 pinctrl

2017-04-07 Thread Alexandre TORGUE
rc1. -Fix issues for "gpio-ranges" patch. Regards Alex Alexandre TORGUE (7): pinctrl: stm32: add possibility to use gpio-ranges to declare bank range Documentation: dt: Remove bindings for STM32 pinctrl includes: dt-bindings: Rename STM32F429 pinctrl DT bindings pinctrl: stm3

[PATCH v2 2/7] Documentation: dt: Remove bindings for STM32 pinctrl

2017-04-07 Thread Alexandre TORGUE
Remove "ngpios" bindings definition as it is no more used in stm32 pinctrl driver. Signed-off-by: Alexandre TORGUE <alexandre.tor...@st.com> diff --git a/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.t

[PATCH v2 6/7] ARM: Kconfig: Introduce MACH_STM32F469 flag

2017-04-07 Thread Alexandre TORGUE
This patch introduces the MACH_STM32F469 to make possible to only select STM32F469 pinctrl driver By default, all the MACH_STM32Fxxx flags will be set with STM32 defconfig. Signed-off-by: Alexandre TORGUE diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 0d4e71b..19c43e6 100644 --- a/arch

[PATCH v2 0/7] Add STM32F469 pinctrl and fix issues in STM32 pinctrl

2017-04-07 Thread Alexandre TORGUE
rc1. -Fix issues for "gpio-ranges" patch. Regards Alex Alexandre TORGUE (7): pinctrl: stm32: add possibility to use gpio-ranges to declare bank range Documentation: dt: Remove bindings for STM32 pinctrl includes: dt-bindings: Rename STM32F429 pinctrl DT bindings pinctrl: stm3

[PATCH v2 2/7] Documentation: dt: Remove bindings for STM32 pinctrl

2017-04-07 Thread Alexandre TORGUE
Remove "ngpios" bindings definition as it is no more used in stm32 pinctrl driver. Signed-off-by: Alexandre TORGUE diff --git a/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.txt index eac20aa..e4cd

[PATCH v2 1/7] pinctrl: stm32: add possibility to use gpio-ranges to declare bank range

2017-04-07 Thread Alexandre TORGUE
Use device tree entries to declare gpio range. It will allow to use no contiguous gpio bank and holes inside a bank. Signed-off-by: Alexandre TORGUE <alexandre.tor...@st.com> diff --git a/drivers/pinctrl/stm32/pinctrl-stm32.c b/drivers/pinctrl/stm32/pinctrl-stm32.c index abc405b..d3c5f5d

[PATCH v2 1/7] pinctrl: stm32: add possibility to use gpio-ranges to declare bank range

2017-04-07 Thread Alexandre TORGUE
Use device tree entries to declare gpio range. It will allow to use no contiguous gpio bank and holes inside a bank. Signed-off-by: Alexandre TORGUE diff --git a/drivers/pinctrl/stm32/pinctrl-stm32.c b/drivers/pinctrl/stm32/pinctrl-stm32.c index abc405b..d3c5f5d 100644 --- a/drivers/pinctrl

Re: [PATCH 0/3] Add RTC support on STM32F746

2017-04-03 Thread Alexandre Torgue
Hi On 01/19/2017 02:45 PM, Amelie Delaunay wrote: This patchset enables STM32 RTC on STM32F746 MCU. Amelie Delaunay (3): ARM: dts: stm32: set HSE_RTC clock frequency to 1 MHz on stm32f746 ARM: dts: stm32: Add RTC support for STM32F746 MCU ARM: dts: stm32: enable RTC on stm32746g-eval

Re: [PATCH 0/3] Add RTC support on STM32F746

2017-04-03 Thread Alexandre Torgue
Hi On 01/19/2017 02:45 PM, Amelie Delaunay wrote: This patchset enables STM32 RTC on STM32F746 MCU. Amelie Delaunay (3): ARM: dts: stm32: set HSE_RTC clock frequency to 1 MHz on stm32f746 ARM: dts: stm32: Add RTC support for STM32F746 MCU ARM: dts: stm32: enable RTC on stm32746g-eval

Re: [PATCH v2 0/7] Add support for triggered buffer mode to STM32 ADC

2017-04-03 Thread Alexandre Torgue
Hi On 01/26/2017 03:28 PM, Fabrice Gasnier wrote: The following patches add support for triggered buffer mode. These are based on top of "Add PWM and IIO timer drivers for STM32" series. Reference: https://lkml.org/lkml/2017/1/20/116 STM32 ADC, can use either interrupts or DMA to collect data.

Re: [PATCH v2 0/7] Add support for triggered buffer mode to STM32 ADC

2017-04-03 Thread Alexandre Torgue
Hi On 01/26/2017 03:28 PM, Fabrice Gasnier wrote: The following patches add support for triggered buffer mode. These are based on top of "Add PWM and IIO timer drivers for STM32" series. Reference: https://lkml.org/lkml/2017/1/20/116 STM32 ADC, can use either interrupts or DMA to collect data.

<    2   3   4   5   6   7   8   9   10   11   >