Re: [PATCH 1/2] dt-bindings: pinctrl: add syscfg mask parameter

2018-07-17 Thread Alexandre Torgue
handle): phandle of pin-controller. Acked-by: Alexandre TORGUE

Re: [PATCH 1/2] dt-bindings: pinctrl: add syscfg mask parameter

2018-07-17 Thread Alexandre Torgue
handle): phandle of pin-controller. Acked-by: Alexandre TORGUE

[PATCH 1/2] pinctrl: stm32: fix bank io port number

2018-07-16 Thread Alexandre Torgue
In case the exti line is not in line with the bank number (that is the case when there is an hole between two banks, for example GPIOK and then GPIOZ), use "st,bank-ioport" DT property to get the right exti line. Signed-off-by: Amelie Delaunay Signed-off-by: Alexandre Torgue

[PATCH 1/2] pinctrl: stm32: fix bank io port number

2018-07-16 Thread Alexandre Torgue
In case the exti line is not in line with the bank number (that is the case when there is an hole between two banks, for example GPIOK and then GPIOZ), use "st,bank-ioport" DT property to get the right exti line. Signed-off-by: Amelie Delaunay Signed-off-by: Alexandre Torgue

[PATCH 0/2] STM32 pinctrl updates

2018-07-16 Thread Alexandre Torgue
Hi, This series includes two updates for stm32 pinctrl driver: -Fixes the way to map a gpio bank to an EXTi line. -Check "status" devicetree entry (in gpio-contriller node) before registering a new gpio bank. Regards Alex Alexandre Torgue (2): pinctrl: stm32: fix bank io p

[PATCH 0/2] STM32 pinctrl updates

2018-07-16 Thread Alexandre Torgue
Hi, This series includes two updates for stm32 pinctrl driver: -Fixes the way to map a gpio bank to an EXTi line. -Check "status" devicetree entry (in gpio-contriller node) before registering a new gpio bank. Regards Alex Alexandre Torgue (2): pinctrl: stm32: fix bank io p

[PATCH 2/2] pinctrl: stm32: check node status before new gpio bank registering

2018-07-16 Thread Alexandre Torgue
Register a new GPIO bank only if GPIO bank node is enabled. This patch also adds checks on ranges which are defined only if a bank is registered. Signed-off-by: Alexandre Torgue diff --git a/drivers/pinctrl/stm32/pinctrl-stm32.c b/drivers/pinctrl/stm32/pinctrl-stm32.c index eb6ae14..111225e

[PATCH 2/2] pinctrl: stm32: check node status before new gpio bank registering

2018-07-16 Thread Alexandre Torgue
Register a new GPIO bank only if GPIO bank node is enabled. This patch also adds checks on ranges which are defined only if a bank is registered. Signed-off-by: Alexandre Torgue diff --git a/drivers/pinctrl/stm32/pinctrl-stm32.c b/drivers/pinctrl/stm32/pinctrl-stm32.c index eb6ae14..111225e

Re: [PATCH V5 0/5] add iwdg2 support for stm32mp157c

2018-07-13 Thread Alexandre Torgue
Hi Ludovic On 06/25/2018 05:42 PM, Ludovic Barre wrote: From: Ludovic Barre This patch series updates stm32_iwdg driver to manage pclk clock by compatible. stm32mp1 requires a pclk clock. v5: -update stm32f429.dtsi v4: -dt-bindings: split and review v3: -remove stm32_iwdg_config structure,

Re: [PATCH V5 0/5] add iwdg2 support for stm32mp157c

2018-07-13 Thread Alexandre Torgue
Hi Ludovic On 06/25/2018 05:42 PM, Ludovic Barre wrote: From: Ludovic Barre This patch series updates stm32_iwdg driver to manage pclk clock by compatible. stm32mp1 requires a pclk clock. v5: -update stm32f429.dtsi v4: -dt-bindings: split and review v3: -remove stm32_iwdg_config structure,

Re: [PATCH V5 0/5] add iwdg2 support for stm32mp157c

2018-06-27 Thread Alexandre Torgue
Hi Guenter On 06/25/2018 05:42 PM, Ludovic Barre wrote: From: Ludovic Barre This patch series updates stm32_iwdg driver to manage pclk clock by compatible. stm32mp1 requires a pclk clock. v5: -update stm32f429.dtsi v4: -dt-bindings: split and review v3: -remove stm32_iwdg_config structure,

Re: [PATCH V5 0/5] add iwdg2 support for stm32mp157c

2018-06-27 Thread Alexandre Torgue
Hi Guenter On 06/25/2018 05:42 PM, Ludovic Barre wrote: From: Ludovic Barre This patch series updates stm32_iwdg driver to manage pclk clock by compatible. stm32mp1 requires a pclk clock. v5: -update stm32f429.dtsi v4: -dt-bindings: split and review v3: -remove stm32_iwdg_config structure,

Re: [PATCH 0/3] Add STM32 SPI support on stm32mp157c

2018-06-26 Thread Alexandre Torgue
Hi Amélie, On 05/17/2018 04:21 PM, Amelie Delaunay wrote: This patch adds STM32 SPI support on stm32mp157c SoC. SPI1, available on GPIO expansion connector, is kept disabled, so these pins can be used as GPIOs by default. Amelie Delaunay (3): ARM: dts: stm32: add STM32 SPI support on

Re: [PATCH 0/3] Add STM32 SPI support on stm32mp157c

2018-06-26 Thread Alexandre Torgue
Hi Amélie, On 05/17/2018 04:21 PM, Amelie Delaunay wrote: This patch adds STM32 SPI support on stm32mp157c SoC. SPI1, available on GPIO expansion connector, is kept disabled, so these pins can be used as GPIOs by default. Amelie Delaunay (3): ARM: dts: stm32: add STM32 SPI support on

Re: [PATCH] ARM: dts: stm32: Add DFSDM support to stm32mp157c

2018-06-26 Thread Alexandre Torgue
Hi Fabrice, On 05/23/2018 11:30 AM, Fabrice Gasnier wrote: stm32mp157c has DFSDM (Digital Filter For Sigma Delta Modulators) hardware with 6 filter instances. Signed-off-by: Fabrice Gasnier --- arch/arm/boot/dts/stm32mp157c.dtsi | 70 ++ 1 file changed,

Re: [PATCH] ARM: dts: stm32: Add DFSDM support to stm32mp157c

2018-06-26 Thread Alexandre Torgue
Hi Fabrice, On 05/23/2018 11:30 AM, Fabrice Gasnier wrote: stm32mp157c has DFSDM (Digital Filter For Sigma Delta Modulators) hardware with 6 filter instances. Signed-off-by: Fabrice Gasnier --- arch/arm/boot/dts/stm32mp157c.dtsi | 70 ++ 1 file changed,

Re: [PATCH 3/3] ARM: multi_v7_defconfig: enable STM32 SPI

2018-06-26 Thread Alexandre Torgue
On 06/26/2018 01:47 PM, Amelie DELAUNAY wrote: Hi Alex On 06/26/2018 10:44 AM, Alexandre Torgue wrote: Hi Amélie On 05/17/2018 04:21 PM, Amelie Delaunay wrote: Enable the STM32 SPI driver, implemented on STM32MP1 SoC. Signed-off-by: Amelie Delaunay ---   arch/arm/configs

Re: [PATCH 3/3] ARM: multi_v7_defconfig: enable STM32 SPI

2018-06-26 Thread Alexandre Torgue
On 06/26/2018 01:47 PM, Amelie DELAUNAY wrote: Hi Alex On 06/26/2018 10:44 AM, Alexandre Torgue wrote: Hi Amélie On 05/17/2018 04:21 PM, Amelie Delaunay wrote: Enable the STM32 SPI driver, implemented on STM32MP1 SoC. Signed-off-by: Amelie Delaunay ---   arch/arm/configs

Re: [PATCH v3] ARM: dts: stm32: Add ADC support to stm32mp157c

2018-06-26 Thread Alexandre Torgue
Hi Fabrice On 05/22/2018 05:45 PM, Fabrice Gasnier wrote: stm32mp157c has an ADC block with two physical ADCs. Signed-off-by: Fabrice Gasnier --- Changes in v3: - Add dmas since dmamux1 has been added on top of stm32-next --- arch/arm/boot/dts/stm32mp157c.dtsi | 36

Re: [PATCH v3] ARM: dts: stm32: Add ADC support to stm32mp157c

2018-06-26 Thread Alexandre Torgue
Hi Fabrice On 05/22/2018 05:45 PM, Fabrice Gasnier wrote: stm32mp157c has an ADC block with two physical ADCs. Signed-off-by: Fabrice Gasnier --- Changes in v3: - Add dmas since dmamux1 has been added on top of stm32-next --- arch/arm/boot/dts/stm32mp157c.dtsi | 36

Re: [PATCH 0/2] Add USB OTG HS support on stm32mp157c

2018-06-26 Thread Alexandre Torgue
Hi Amélie On 05/17/2018 05:47 PM, Amelie Delaunay wrote: This patchset adds support for USB OTG HS on stm32mp157c SoC. It also enables USB OTG HS on stm32mp157c-ev1 board in Peripheral mode. Amelie Delaunay (2): ARM: dts: stm32: add USB OTG HS support for stm32mp157c SoC ARM: dts: stm32:

Re: [PATCH 0/2] Add USB OTG HS support on stm32mp157c

2018-06-26 Thread Alexandre Torgue
Hi Amélie On 05/17/2018 05:47 PM, Amelie Delaunay wrote: This patchset adds support for USB OTG HS on stm32mp157c SoC. It also enables USB OTG HS on stm32mp157c-ev1 board in Peripheral mode. Amelie Delaunay (2): ARM: dts: stm32: add USB OTG HS support for stm32mp157c SoC ARM: dts: stm32:

Re: [PATCH v1] ARM: multi_v7_defconfig: enable STM32 DMAv2, DMAMUX and MDMA

2018-06-26 Thread Alexandre Torgue
Hi, Pierre-Yves On 05/28/2018 11:08 AM, Pierre-Yves MORDRET wrote: This enables drivers for STM32: - DMAv2 - DMMAUX - MDMA Signed-off-by: Pierre-Yves MORDRET --- Version history: v1: * Initial --- --- arch/arm/configs/multi_v7_defconfig | 3 +++ 1 file changed, 3

Re: [PATCH v1] ARM: multi_v7_defconfig: enable STM32 DMAv2, DMAMUX and MDMA

2018-06-26 Thread Alexandre Torgue
Hi, Pierre-Yves On 05/28/2018 11:08 AM, Pierre-Yves MORDRET wrote: This enables drivers for STM32: - DMAv2 - DMMAUX - MDMA Signed-off-by: Pierre-Yves MORDRET --- Version history: v1: * Initial --- --- arch/arm/configs/multi_v7_defconfig | 3 +++ 1 file changed, 3

Re: [PATCH] ARM: dts: stm32: enable USB Host (USBH) EHCI controller on stm32mp157c-ev1

2018-06-26 Thread Alexandre Torgue
Hi Amélie, On 05/17/2018 04:36 PM, Amelie Delaunay wrote: This patch enables USB Host (USBH) EHCI controller on stm32mp157c-ev1. As a hub is used between USBH and USB connectors, no need to enable USBH OHCI controller: all low- and full-speed traffic is managed by the hub. Signed-off-by:

Re: [PATCH] ARM: dts: stm32: enable USB Host (USBH) EHCI controller on stm32mp157c-ev1

2018-06-26 Thread Alexandre Torgue
Hi Amélie, On 05/17/2018 04:36 PM, Amelie Delaunay wrote: This patch enables USB Host (USBH) EHCI controller on stm32mp157c-ev1. As a hub is used between USBH and USB connectors, no need to enable USBH OHCI controller: all low- and full-speed traffic is managed by the hub. Signed-off-by:

Re: [PATCH 3/3] ARM: multi_v7_defconfig: enable STM32 SPI

2018-06-26 Thread Alexandre Torgue
Hi Amélie On 05/17/2018 04:21 PM, Amelie Delaunay wrote: Enable the STM32 SPI driver, implemented on STM32MP1 SoC. Signed-off-by: Amelie Delaunay --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig

Re: [PATCH 3/3] ARM: multi_v7_defconfig: enable STM32 SPI

2018-06-26 Thread Alexandre Torgue
Hi Amélie On 05/17/2018 04:21 PM, Amelie Delaunay wrote: Enable the STM32 SPI driver, implemented on STM32MP1 SoC. Signed-off-by: Amelie Delaunay --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig

Re: [PATCH v2 0/3] Add STM32 RTC to stm32mp157c

2018-06-26 Thread Alexandre Torgue
Hi Amélie, On 05/17/2018 02:07 PM, Amelie Delaunay wrote: This series adds support for STM32 RTC to stm32mp157c SoC and enables it on stm32mp157c-ed1 board. --- Changes in v2: * Enable STM32 RTC in multi_v7_defconfig Amelie Delaunay (3): ARM: dts: stm32: add RTC support to stm32mp157c

Re: [PATCH v2 0/3] Add STM32 RTC to stm32mp157c

2018-06-26 Thread Alexandre Torgue
Hi Amélie, On 05/17/2018 02:07 PM, Amelie Delaunay wrote: This series adds support for STM32 RTC to stm32mp157c SoC and enables it on stm32mp157c-ed1 board. --- Changes in v2: * Enable STM32 RTC in multi_v7_defconfig Amelie Delaunay (3): ARM: dts: stm32: add RTC support to stm32mp157c

Re: [PATCH V4 2/4] watchdog: stm32: add pclk feature for stm32mp1

2018-06-25 Thread Alexandre Torgue
On 06/25/2018 03:15 PM, Guenter Roeck wrote: On 06/25/2018 05:52 AM, Alexandre Torgue wrote: Hi Guenter, But you are right I forgot to change stm32f429.dtsi. If I add a commit for stm32f429.dtsi, it's Ok for you ? Not really. You are imposing a personal preference on others, and you

Re: [PATCH V4 2/4] watchdog: stm32: add pclk feature for stm32mp1

2018-06-25 Thread Alexandre Torgue
On 06/25/2018 03:15 PM, Guenter Roeck wrote: On 06/25/2018 05:52 AM, Alexandre Torgue wrote: Hi Guenter, But you are right I forgot to change stm32f429.dtsi. If I add a commit for stm32f429.dtsi, it's Ok for you ? Not really. You are imposing a personal preference on others, and you

Re: [PATCH V4 2/4] watchdog: stm32: add pclk feature for stm32mp1

2018-06-25 Thread Alexandre Torgue
Hi Guenter, But you are right I forgot to change stm32f429.dtsi. If I add a commit for stm32f429.dtsi, it's Ok for you ? Not really. You are imposing a personal preference on others, and you would make stm32f429.dtsi inconsistent since it doesn't use clock names for anything else.This in

Re: [PATCH V4 2/4] watchdog: stm32: add pclk feature for stm32mp1

2018-06-25 Thread Alexandre Torgue
Hi Guenter, But you are right I forgot to change stm32f429.dtsi. If I add a commit for stm32f429.dtsi, it's Ok for you ? Not really. You are imposing a personal preference on others, and you would make stm32f429.dtsi inconsistent since it doesn't use clock names for anything else.This in

Re: [PATCH 1/1] ARM: dts: stm32: Add HASH support on stm32mp157c

2018-06-25 Thread Alexandre Torgue
Hi Lionel, On 05/14/2018 12:00 PM, Lionel Debieve wrote: This patch add HASH instance of the stm32mp157c SoC Signed-off-by: Lionel Debieve --- arch/arm/boot/dts/stm32mp157c.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi

Re: [PATCH 1/1] ARM: dts: stm32: Add HASH support on stm32mp157c

2018-06-25 Thread Alexandre Torgue
Hi Lionel, On 05/14/2018 12:00 PM, Lionel Debieve wrote: This patch add HASH instance of the stm32mp157c SoC Signed-off-by: Lionel Debieve --- arch/arm/boot/dts/stm32mp157c.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi

Re: [PATCH 0/2] ARM: dts: stm32: update rtc st,syscfg

2018-06-25 Thread Alexandre Torgue
Hi Amélie, On 05/09/2018 05:18 PM, Amelie Delaunay wrote: With the lastest STM32 RTC driver updates, it is mandatory to define pwrcfg control register and DBP (Disable Backup Protection) bit through st,syscfg property. This patchset updates RTC nodes on stm32f429 and stm32f746 accordingly.

Re: [PATCH 0/2] ARM: dts: stm32: update rtc st,syscfg

2018-06-25 Thread Alexandre Torgue
Hi Amélie, On 05/09/2018 05:18 PM, Amelie Delaunay wrote: With the lastest STM32 RTC driver updates, it is mandatory to define pwrcfg control register and DBP (Disable Backup Protection) bit through st,syscfg property. This patchset updates RTC nodes on stm32f429 and stm32f746 accordingly.

Re: [PATCH V2 0/3] add iwdg2 support for stm32mp157c

2018-06-20 Thread Alexandre Torgue
Hi Ludovic On 06/20/2018 09:53 AM, Ludovic Barre wrote: From: Ludovic Barre This patch series updates stm32_iwdg driver to manage config by compatible. stm32mp1 config requires a pclk clock. Ludovic Barre (3): watchdog: stm32: add pclk feature for stm32mp1 ARM: dts: stm32: add iwdg2

Re: [PATCH V2 0/3] add iwdg2 support for stm32mp157c

2018-06-20 Thread Alexandre Torgue
Hi Ludovic On 06/20/2018 09:53 AM, Ludovic Barre wrote: From: Ludovic Barre This patch series updates stm32_iwdg driver to manage config by compatible. stm32mp1 config requires a pclk clock. Ludovic Barre (3): watchdog: stm32: add pclk feature for stm32mp1 ARM: dts: stm32: add iwdg2

Re: linux-next: manual merge of the irqchip tree with the arm-soc tree

2018-05-29 Thread Alexandre Torgue
On 05/29/2018 10:39 AM, Marc Zyngier wrote: On 29/05/18 09:16, Alexandre Torgue wrote: Hi Marc On 05/29/2018 09:47 AM, Marc Zyngier wrote: On 29/05/18 08:41, Alexandre Torgue wrote: Hi Stephen On 05/29/2018 07:52 AM, Stephen Rothwell wrote: Hi all, Today's linux-next merge

Re: linux-next: manual merge of the irqchip tree with the arm-soc tree

2018-05-29 Thread Alexandre Torgue
On 05/29/2018 10:39 AM, Marc Zyngier wrote: On 29/05/18 09:16, Alexandre Torgue wrote: Hi Marc On 05/29/2018 09:47 AM, Marc Zyngier wrote: On 29/05/18 08:41, Alexandre Torgue wrote: Hi Stephen On 05/29/2018 07:52 AM, Stephen Rothwell wrote: Hi all, Today's linux-next merge

Re: linux-next: manual merge of the irqchip tree with the arm-soc tree

2018-05-29 Thread Alexandre Torgue
Hi Marc On 05/29/2018 09:47 AM, Marc Zyngier wrote: On 29/05/18 08:41, Alexandre Torgue wrote: Hi Stephen On 05/29/2018 07:52 AM, Stephen Rothwell wrote: Hi all, Today's linux-next merge of the irqchip tree got a conflict in: arch/arm/boot/dts/stm32mp157c.dtsi between commit

Re: linux-next: manual merge of the irqchip tree with the arm-soc tree

2018-05-29 Thread Alexandre Torgue
Hi Marc On 05/29/2018 09:47 AM, Marc Zyngier wrote: On 29/05/18 08:41, Alexandre Torgue wrote: Hi Stephen On 05/29/2018 07:52 AM, Stephen Rothwell wrote: Hi all, Today's linux-next merge of the irqchip tree got a conflict in: arch/arm/boot/dts/stm32mp157c.dtsi between commit

Re: linux-next: manual merge of the irqchip tree with the arm-soc tree

2018-05-29 Thread Alexandre Torgue
Hi Stephen On 05/29/2018 07:52 AM, Stephen Rothwell wrote: Hi all, Today's linux-next merge of the irqchip tree got a conflict in: arch/arm/boot/dts/stm32mp157c.dtsi between commit: 3c00436fdb20 ("ARM: dts: stm32: add USBPHYC support to stm32mp157c") from the arm-soc tree and commit:

Re: linux-next: manual merge of the irqchip tree with the arm-soc tree

2018-05-29 Thread Alexandre Torgue
Hi Stephen On 05/29/2018 07:52 AM, Stephen Rothwell wrote: Hi all, Today's linux-next merge of the irqchip tree got a conflict in: arch/arm/boot/dts/stm32mp157c.dtsi between commit: 3c00436fdb20 ("ARM: dts: stm32: add USBPHYC support to stm32mp157c") from the arm-soc tree and commit:

Re: [RESEND PATCH] clk: stm32: fix: stm32 clock drivers are not compiled by default

2018-05-16 Thread Alexandre Torgue
On 05/16/2018 09:57 AM, Stephen Boyd wrote: Quoting Alexandre Torgue (2018-05-16 00:34:21) Sorry I don't understand. Clock driver is mandatory to boot each platform and depends on machine type. Do you see a use case where we could need to disable the clock driver? (it would impose to change

Re: [RESEND PATCH] clk: stm32: fix: stm32 clock drivers are not compiled by default

2018-05-16 Thread Alexandre Torgue
On 05/16/2018 09:57 AM, Stephen Boyd wrote: Quoting Alexandre Torgue (2018-05-16 00:34:21) Sorry I don't understand. Clock driver is mandatory to boot each platform and depends on machine type. Do you see a use case where we could need to disable the clock driver? (it would impose to change

Re: [PATCH] MAINTAINERS: Add entry for STM32 timer and lptimer drivers

2018-05-16 Thread Alexandre Torgue
Giuseppe Cavallaro <peppe.cavall...@st.com> M: Alexandre Torgue <alexandre.tor...@st.com> Acked-by: Alexandre TORGUE <alexandre.tor...@st.com>

Re: [PATCH] MAINTAINERS: Add entry for STM32 timer and lptimer drivers

2018-05-16 Thread Alexandre Torgue
/pwm-stm32* +F: include/linux/*/stm32-*tim* +F: Documentation/ABI/testing/*timer-stm32 +F: Documentation/devicetree/bindings/*/stm32-*timer +F: Documentation/devicetree/bindings/pwm/pwm-stm32* + STMMAC ETHERNET DRIVER M:Giuseppe Cavallaro M:Alexandre Torgue Acked

Re: [RESEND PATCH] clk: stm32: fix: stm32 clock drivers are not compiled by default

2018-05-16 Thread Alexandre Torgue
On 05/15/2018 11:48 PM, Stephen Boyd wrote: Quoting Alexandre Torgue (2018-05-14 05:45:57) On 05/05/2018 04:45 AM, Stephen Boyd wrote: Quoting Alexandre Torgue (2018-05-04 00:54:16) Stephen On 05/03/2018 08:40 AM, gabriel.fernan...@st.com wrote: From: Gabriel Fernandez <gabriel.fer

Re: [RESEND PATCH] clk: stm32: fix: stm32 clock drivers are not compiled by default

2018-05-16 Thread Alexandre Torgue
On 05/15/2018 11:48 PM, Stephen Boyd wrote: Quoting Alexandre Torgue (2018-05-14 05:45:57) On 05/05/2018 04:45 AM, Stephen Boyd wrote: Quoting Alexandre Torgue (2018-05-04 00:54:16) Stephen On 05/03/2018 08:40 AM, gabriel.fernan...@st.com wrote: From: Gabriel Fernandez Clock driver

Re: linux-next: Signed-off-by missing for commit in the arm-soc tree

2018-05-15 Thread Alexandre Torgue
On 05/14/2018 11:22 PM, Stephen Rothwell wrote: Hi all, Commit 949a0c0dec85 ("ARM: dts: stm32: add USB Host (USBH) support to stm32mp157c") is missing a Signed-off-by from its committer. My fault, I forgot it when I applied patch on my branch. Do we need an update or it is just a

Re: linux-next: Signed-off-by missing for commit in the arm-soc tree

2018-05-15 Thread Alexandre Torgue
On 05/14/2018 11:22 PM, Stephen Rothwell wrote: Hi all, Commit 949a0c0dec85 ("ARM: dts: stm32: add USB Host (USBH) support to stm32mp157c") is missing a Signed-off-by from its committer. My fault, I forgot it when I applied patch on my branch. Do we need an update or it is just a

Re: [RESEND PATCH] clk: stm32: fix: stm32 clock drivers are not compiled by default

2018-05-14 Thread Alexandre Torgue
On 05/05/2018 04:45 AM, Stephen Boyd wrote: Quoting Alexandre Torgue (2018-05-04 00:54:16) Stephen On 05/03/2018 08:40 AM, gabriel.fernan...@st.com wrote: From: Gabriel Fernandez <gabriel.fernan...@st.com> Clock driver is mandatory if the machine is selected. Then don't use

Re: [RESEND PATCH] clk: stm32: fix: stm32 clock drivers are not compiled by default

2018-05-14 Thread Alexandre Torgue
On 05/05/2018 04:45 AM, Stephen Boyd wrote: Quoting Alexandre Torgue (2018-05-04 00:54:16) Stephen On 05/03/2018 08:40 AM, gabriel.fernan...@st.com wrote: From: Gabriel Fernandez Clock driver is mandatory if the machine is selected. Then don't use 'bool' and 'depends on' commands

Re: [RESEND PATCH] clk: stm32: fix: stm32 clock drivers are not compiled by default

2018-05-04 Thread Alexandre Torgue
stm32: add configuration flags for each of the stm32 drivers") Sorry to insist but we need it to have STM32 MCUs booting on Kernel v4.17. Thanks in advance Alex Signed-off-by: Gabriel Fernandez <gabriel.fernan...@st.com> Acked-by: Alexandre TORGUE <alexandre.tor...@st.com> -

Re: [RESEND PATCH] clk: stm32: fix: stm32 clock drivers are not compiled by default

2018-05-04 Thread Alexandre Torgue
flags for each of the stm32 drivers") Sorry to insist but we need it to have STM32 MCUs booting on Kernel v4.17. Thanks in advance Alex Signed-off-by: Gabriel Fernandez Acked-by: Alexandre TORGUE --- drivers/clk/Kconfig | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git

Re: [PATCH] ARM: multi_v7_defconfig: enable STM32 analog & timer drivers

2018-05-04 Thread Alexandre Torgue
On 05/04/2018 12:12 AM, Arnd Bergmann wrote: On Thu, May 3, 2018 at 10:05 AM, Alexandre Torgue <alexandre.tor...@st.com> wrote: Hi Fabrice, On 05/02/2018 05:24 PM, Fabrice Gasnier wrote: This enables drivers for STM32 timer, low power timer and analog hardware that can be used on ST

Re: [PATCH] ARM: multi_v7_defconfig: enable STM32 analog & timer drivers

2018-05-04 Thread Alexandre Torgue
On 05/04/2018 12:12 AM, Arnd Bergmann wrote: On Thu, May 3, 2018 at 10:05 AM, Alexandre Torgue wrote: Hi Fabrice, On 05/02/2018 05:24 PM, Fabrice Gasnier wrote: This enables drivers for STM32 timer, low power timer and analog hardware that can be used on STM32MP1 SoC: - Timer & LP T

Re: [PATCH 3/4] dt-bindings: rtc: update stm32-rtc documentation for st,syscfg property

2018-05-04 Thread Alexandre Torgue
It's a good thing to remove PWR registers information from RTC driver. My only concern was the compatibility with old DT but we can accept it. Indeed, Kernel will continue to boot fine, only RTC will not probe if we use old DT. Acked-by: Alexandre TORGUE <alexandre.tor...@st.com> Regards alex

Re: [PATCH 3/4] dt-bindings: rtc: update stm32-rtc documentation for st,syscfg property

2018-05-04 Thread Alexandre Torgue
registers information from RTC driver. My only concern was the compatibility with old DT but we can accept it. Indeed, Kernel will continue to boot fine, only RTC will not probe if we use old DT. Acked-by: Alexandre TORGUE Regards alex

Re: [PATCH v1 0/2] Add I2C support for STM32H743

2018-05-03 Thread Alexandre Torgue
Hi, On 04/20/2018 11:05 AM, Pierre-Yves MORDRET wrote: Add I2C support on STM32H743 SoC. Activate I2C1 on STM32H743I Evaluation Board. --- Version history: v1: * Initial --- Pierre-Yves MORDRET (2): ARM: dts: stm32: Add I2C support for STM32H743 SoC ARM: dts: stm32: Add

Re: [PATCH v1 0/2] Add I2C support for STM32H743

2018-05-03 Thread Alexandre Torgue
Hi, On 04/20/2018 11:05 AM, Pierre-Yves MORDRET wrote: Add I2C support on STM32H743 SoC. Activate I2C1 on STM32H743I Evaluation Board. --- Version history: v1: * Initial --- Pierre-Yves MORDRET (2): ARM: dts: stm32: Add I2C support for STM32H743 SoC ARM: dts: stm32: Add

Re: [RESEND PATCH 3/3] ARM: dts: stm32: update pwm-cells for LPTimer on stm32h743

2018-05-03 Thread Alexandre Torgue
Hi Fabrice On 02/23/2018 02:36 PM, Fabrice Gasnier wrote: LPTimer pwm cells should be updated to 3, to allow initialization of channel, period and polarity. Signed-off-by: Fabrice Gasnier --- Applied on stm32-next. Thanks. Alex arch/arm/boot/dts/stm32h743.dtsi

Re: [RESEND PATCH 3/3] ARM: dts: stm32: update pwm-cells for LPTimer on stm32h743

2018-05-03 Thread Alexandre Torgue
Hi Fabrice On 02/23/2018 02:36 PM, Fabrice Gasnier wrote: LPTimer pwm cells should be updated to 3, to allow initialization of channel, period and polarity. Signed-off-by: Fabrice Gasnier --- Applied on stm32-next. Thanks. Alex arch/arm/boot/dts/stm32h743.dtsi | 5 + 1 file

Re: [PATCH v1 0/3] Append additional I2C instances and activate I2C1.

2018-05-03 Thread Alexandre Torgue
Hi, On 04/20/2018 11:05 AM, Pierre-Yves MORDRET wrote: This patch intends to appends 3 additional I2C instances (2, 3 and 4). In the same time I2C1 is setup for both STM32F746 and STM32F769 Discovery boards. --- Version history: v1: * Initial --- Pierre-Yves MORDRET (3):

Re: [PATCH v1 0/3] Append additional I2C instances and activate I2C1.

2018-05-03 Thread Alexandre Torgue
Hi, On 04/20/2018 11:05 AM, Pierre-Yves MORDRET wrote: This patch intends to appends 3 additional I2C instances (2, 3 and 4). In the same time I2C1 is setup for both STM32F746 and STM32F769 Discovery boards. --- Version history: v1: * Initial --- Pierre-Yves MORDRET (3):

Re: [PATCH 0/3] ARM: dts: stm32: Add display support on stm32f469-disco

2018-05-03 Thread Alexandre Torgue
Hi Philippe On 02/15/2018 09:20 AM, Philippe Cornu wrote: This serie adds the mipi dsi support to stm32f469 and enables it on the stm32f469-disco board. Philippe CORNU (1): ARM: dts: stm32: Add display support on stm32f469-disco Philippe Cornu (2): ARM: dts: stm32: Add dt-bindings

Re: [PATCH 0/3] ARM: dts: stm32: Add display support on stm32f469-disco

2018-05-03 Thread Alexandre Torgue
Hi Philippe On 02/15/2018 09:20 AM, Philippe Cornu wrote: This serie adds the mipi dsi support to stm32f469 and enables it on the stm32f469-disco board. Philippe CORNU (1): ARM: dts: stm32: Add display support on stm32f469-disco Philippe Cornu (2): ARM: dts: stm32: Add dt-bindings

Re: [PATCH] ARM: multi_v7_defconfig: enable STM32 analog & timer drivers

2018-05-03 Thread Alexandre Torgue
Hi Fabrice, On 05/02/2018 05:24 PM, Fabrice Gasnier wrote: This enables drivers for STM32 timer, low power timer and analog hardware that can be used on STM32MP1 SoC: - Timer & LP Timer MFD core, PWM, trigger & encoder drivers - IIO ADC/DAC/DFSDM - vrefbuf regu driver (voltage reference

Re: [PATCH] ARM: multi_v7_defconfig: enable STM32 analog & timer drivers

2018-05-03 Thread Alexandre Torgue
Hi Fabrice, On 05/02/2018 05:24 PM, Fabrice Gasnier wrote: This enables drivers for STM32 timer, low power timer and analog hardware that can be used on STM32MP1 SoC: - Timer & LP Timer MFD core, PWM, trigger & encoder drivers - IIO ADC/DAC/DFSDM - vrefbuf regu driver (voltage reference

Re: [PATCH 0/2] ARM: dts: stm32: add qspi support for stm32mp157c

2018-05-03 Thread Alexandre Torgue
Hi Ludovic, On 04/30/2018 09:11 AM, Ludovic Barre wrote: From: Ludovic Barre This patch series adds qspi support for stm32mp157c SoC and its eval board. Ludovic Barre (2): ARM: dts: stm32: add qspi support for stm32mp157c ARM: dts: stm32: add flash nor support on

Re: [PATCH 0/2] ARM: dts: stm32: add qspi support for stm32mp157c

2018-05-03 Thread Alexandre Torgue
Hi Ludovic, On 04/30/2018 09:11 AM, Ludovic Barre wrote: From: Ludovic Barre This patch series adds qspi support for stm32mp157c SoC and its eval board. Ludovic Barre (2): ARM: dts: stm32: add qspi support for stm32mp157c ARM: dts: stm32: add flash nor support on stm32mp157c eval board

Re: [PATCH v1 0/3] Enable CEC on stm32mp157c-ev1 board

2018-05-03 Thread Alexandre Torgue
hi, On 04/24/2018 09:54 AM, yannick fertre wrote: This patch-set enables CEC (Consumer Electronics Control) on stm32mp157c eval board. yannick fertre (3): ARM: dts: stm32: add cec support on stm32mp157c ARM: dts: stm32: add cec pins to stm32mp157c ARM: dts: stm32: add cec support on

Re: [PATCH v1 0/3] Enable CEC on stm32mp157c-ev1 board

2018-05-03 Thread Alexandre Torgue
hi, On 04/24/2018 09:54 AM, yannick fertre wrote: This patch-set enables CEC (Consumer Electronics Control) on stm32mp157c eval board. yannick fertre (3): ARM: dts: stm32: add cec support on stm32mp157c ARM: dts: stm32: add cec pins to stm32mp157c ARM: dts: stm32: add cec support on

Re: [PATCH v1 2/3] ARM: dts: stm32: add cec pins to stm32mp157c

2018-05-03 Thread Alexandre Torgue
Hi Yannick On 04/24/2018 09:54 AM, yannick fertre wrote: This patch adds cec support on stm32mp157c eval board. Signed-off-by: Yannick Fertre --- arch/arm/boot/dts/stm32mp157-pinctrl.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git

Re: [PATCH v1 2/3] ARM: dts: stm32: add cec pins to stm32mp157c

2018-05-03 Thread Alexandre Torgue
Hi Yannick On 04/24/2018 09:54 AM, yannick fertre wrote: This patch adds cec support on stm32mp157c eval board. Signed-off-by: Yannick Fertre --- arch/arm/boot/dts/stm32mp157-pinctrl.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi

Re: [PATCH] ARM: dts: stm32: add USB Host (USBH) support to stm32mp157c

2018-05-03 Thread Alexandre Torgue
Hi Amélie, On 04/24/2018 01:24 PM, Amelie Delaunay wrote: Add support for USBH (USB Host) to STM32MP157C SoC. USBH is a USB Host controller supporting the standard registers used for full- and low-speed (OHCI controller) and high-speed (EHCI controller). Signed-off-by: Amelie Delaunay

Re: [PATCH] ARM: dts: stm32: add USB Host (USBH) support to stm32mp157c

2018-05-03 Thread Alexandre Torgue
Hi Amélie, On 04/24/2018 01:24 PM, Amelie Delaunay wrote: Add support for USBH (USB Host) to STM32MP157C SoC. USBH is a USB Host controller supporting the standard registers used for full- and low-speed (OHCI controller) and high-speed (EHCI controller). Signed-off-by: Amelie Delaunay ---

Re: [PATCH v2 0/4] Add STM32 USBPHYC to stm32mp157c

2018-05-03 Thread Alexandre Torgue
Hi Amélie, On 04/24/2018 11:41 AM, Amelie Delaunay wrote: This series adds support for STM32 USB PHY Controller (USBPHYC) to stm32mp157c SoC and enables it on stm32mp157c-ev1 board. --- Changes in v2: * Add reset dt-bindings include * Add fixed regulators * Enable CONFIG_PHY_STM32_USBPHYC in

Re: [PATCH v2 0/4] Add STM32 USBPHYC to stm32mp157c

2018-05-03 Thread Alexandre Torgue
Hi Amélie, On 04/24/2018 11:41 AM, Amelie Delaunay wrote: This series adds support for STM32 USB PHY Controller (USBPHYC) to stm32mp157c SoC and enables it on stm32mp157c-ev1 board. --- Changes in v2: * Add reset dt-bindings include * Add fixed regulators * Enable CONFIG_PHY_STM32_USBPHYC in

Re: [PATCH v1 0/2] Add ltdc & dsi support on stm32mp157c

2018-05-02 Thread Alexandre Torgue
hi On 04/24/2018 09:54 AM, yannick fertre wrote: This patch-set adds display controller & DSI controller support to stm32mp157c SOC. Version 1: - Initial commit yannick fertre (2): ARM: dts: stm32: add ltdc support on stm32mp157c ARM: dts: stm32: add dsi support on stm32mp157c

Re: [PATCH v1 0/2] Add ltdc & dsi support on stm32mp157c

2018-05-02 Thread Alexandre Torgue
hi On 04/24/2018 09:54 AM, yannick fertre wrote: This patch-set adds display controller & DSI controller support to stm32mp157c SOC. Version 1: - Initial commit yannick fertre (2): ARM: dts: stm32: add ltdc support on stm32mp157c ARM: dts: stm32: add dsi support on stm32mp157c

Re: [PATCH v2 0/5] Add STM32F7 I2C Support on STM32MP157C

2018-05-02 Thread Alexandre Torgue
Hi, On 04/23/2018 11:48 AM, Pierre-Yves MORDRET wrote: This patch adds STM32MP157C I2C support on STM32MP157C with configs and device tree. In the same way I2C4 is enabled for STM32MP157C ED1 Daughter bord. I2C2/5 is enabled on STM32MP157C EV1 Daughter board on Evaluation board. --- Version

Re: [PATCH v2 0/5] Add STM32F7 I2C Support on STM32MP157C

2018-05-02 Thread Alexandre Torgue
Hi, On 04/23/2018 11:48 AM, Pierre-Yves MORDRET wrote: This patch adds STM32MP157C I2C support on STM32MP157C with configs and device tree. In the same way I2C4 is enabled for STM32MP157C ED1 Daughter bord. I2C2/5 is enabled on STM32MP157C EV1 Daughter board on Evaluation board. --- Version

Re: [PATCH 0/4] ARM: dts: Add cryptographic support for stm32mp157c

2018-05-02 Thread Alexandre Torgue
Hi Lionel, On 04/23/2018 05:19 PM, Lionel Debieve wrote: Patches serie add support or RNG, CRYP and CRC IPs for stm32mp157c SoC and add RNG default support for ev1 board. Lionel Debieve (4): ARM: dts: stm32: Add RNG support on stm32mp157c ARM: dts: stm32: Enable RNG for stm32mp157c-ed1

Re: [PATCH 0/4] ARM: dts: Add cryptographic support for stm32mp157c

2018-05-02 Thread Alexandre Torgue
Hi Lionel, On 04/23/2018 05:19 PM, Lionel Debieve wrote: Patches serie add support or RNG, CRYP and CRC IPs for stm32mp157c SoC and add RNG default support for ev1 board. Lionel Debieve (4): ARM: dts: stm32: Add RNG support on stm32mp157c ARM: dts: stm32: Enable RNG for stm32mp157c-ed1

Re: [PATCH v1 0/2] Add MDMA Support on STM32MP157C

2018-05-02 Thread Alexandre Torgue
Hi, On 04/20/2018 11:15 AM, Pierre-Yves MORDRET wrote: This patch adds MDMA support on STM32MP157C with configs and device tree. --- Version history: v1: * Initial --- Pierre-Yves MORDRET (2): ARM: configs: stm32: Add MDMA support on STM32MP157C ARM: dts: stm32: Add

Re: [PATCH v1 0/2] Add MDMA Support on STM32MP157C

2018-05-02 Thread Alexandre Torgue
Hi, On 04/20/2018 11:15 AM, Pierre-Yves MORDRET wrote: This patch adds MDMA support on STM32MP157C with configs and device tree. --- Version history: v1: * Initial --- Pierre-Yves MORDRET (2): ARM: configs: stm32: Add MDMA support on STM32MP157C ARM: dts: stm32: Add

Re: [PATCH v1 0/4] Add DMAv2 and DMAMUX Support on STM32MP157C

2018-05-02 Thread Alexandre Torgue
Hi On 04/20/2018 11:14 AM, Pierre-Yves MORDRET wrote: This patch adds DMAv2 and DMAMUX support on STM32MP157C with configs and device tree. --- Version history: v1: * Initial --- Pierre-Yves MORDRET (4): ARM: configs: stm32: Add DMAv2 support on STM32MP157C machine

Re: [PATCH v1 0/4] Add DMAv2 and DMAMUX Support on STM32MP157C

2018-05-02 Thread Alexandre Torgue
Hi On 04/20/2018 11:14 AM, Pierre-Yves MORDRET wrote: This patch adds DMAv2 and DMAMUX support on STM32MP157C with configs and device tree. --- Version history: v1: * Initial --- Pierre-Yves MORDRET (4): ARM: configs: stm32: Add DMAv2 support on STM32MP157C machine

Re: [PATCH] net: stmmac: Avoid VLA usage

2018-05-02 Thread Alexandre Torgue
On 05/02/2018 04:07 PM, Jose Abreu wrote: On 02-05-2018 13:36, Kees Cook wrote: On Wed, May 2, 2018 at 1:54 AM, Jose Abreu wrote: Hi Kees, On 01-05-2018 22:01, Kees Cook wrote: In the quest to remove all stack VLAs from the kernel[1], this switches the "status"

Re: [PATCH] net: stmmac: Avoid VLA usage

2018-05-02 Thread Alexandre Torgue
On 05/02/2018 04:07 PM, Jose Abreu wrote: On 02-05-2018 13:36, Kees Cook wrote: On Wed, May 2, 2018 at 1:54 AM, Jose Abreu wrote: Hi Kees, On 01-05-2018 22:01, Kees Cook wrote: In the quest to remove all stack VLAs from the kernel[1], this switches the "status" stack buffer to use the

Re: [PATCH] ARM: dts: stm32: Add DAC support to stm32mp157c

2018-05-02 Thread Alexandre Torgue
Hi Fabrice On 04/18/2018 05:46 PM, Fabrice Gasnier wrote: Add support for DAC (Digital to Analog Converter) to STM32MP157C. STM32MP157C DAC has two output channels. Signed-off-by: Fabrice Gasnier --- arch/arm/boot/dts/stm32mp157c.dtsi | 24

Re: [PATCH] ARM: dts: stm32: Add DAC support to stm32mp157c

2018-05-02 Thread Alexandre Torgue
Hi Fabrice On 04/18/2018 05:46 PM, Fabrice Gasnier wrote: Add support for DAC (Digital to Analog Converter) to STM32MP157C. STM32MP157C DAC has two output channels. Signed-off-by: Fabrice Gasnier --- arch/arm/boot/dts/stm32mp157c.dtsi | 24 1 file changed, 24

Re: [PATCH] ARM: dts: stm32: add reset binding on stm32mp157c

2018-05-02 Thread Alexandre Torgue
Hi Gabriel, On 04/20/2018 11:09 AM, gabriel.fernan...@st.com wrote: From: Gabriel Fernandez This patch adds reset binding file. Signed-off-by: Gabriel Fernandez --- arch/arm/boot/dts/stm32mp157c.dtsi | 1 + 1 file changed, 1

Re: [PATCH] ARM: dts: stm32: add reset binding on stm32mp157c

2018-05-02 Thread Alexandre Torgue
Hi Gabriel, On 04/20/2018 11:09 AM, gabriel.fernan...@st.com wrote: From: Gabriel Fernandez This patch adds reset binding file. Signed-off-by: Gabriel Fernandez --- arch/arm/boot/dts/stm32mp157c.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi

Re: [PATCH] ARM: dts: stm32: Add LPtimer support to stm32mp157c

2018-05-02 Thread Alexandre Torgue
Hi Fabrice On 04/18/2018 09:43 AM, Fabrice Gasnier wrote: Add LPtimer definitions, depending on features they provide: - lptimer1 & 2 can act as PWM, trigger and encoder/counter - lptimer3 can act as PWM and trigger - lptimer4 & 5 can act as PWM Signed-off-by: Fabrice Gasnier

Re: [PATCH] ARM: dts: stm32: Add LPtimer support to stm32mp157c

2018-05-02 Thread Alexandre Torgue
Hi Fabrice On 04/18/2018 09:43 AM, Fabrice Gasnier wrote: Add LPtimer definitions, depending on features they provide: - lptimer1 & 2 can act as PWM, trigger and encoder/counter - lptimer3 can act as PWM and trigger - lptimer4 & 5 can act as PWM Signed-off-by: Fabrice Gasnier --- Applied on

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