[PATCH v3 0/4] Add I2C support to ST SoCs

2013-10-01 Thread Maxime COQUELIN
updates taking into account Stephen's comments - Use "clock-names" property to comply with GCF - DT cosmetic changes reported by Lee and Gabriel Signed-off-by: Maxime Coquelin Maxime Coquelin (4): i2c: busses: i2c-st: Add ST I2C controller ARM: STi: Supply I2C configuration

[PATCH 2/4] ARM: STi: Supply I2C configuration to STiH416 SoC

2013-10-01 Thread Maxime COQUELIN
This patch supplies I2C configuration to STiH416 SoC. Cc: Srinivas Kandagatla Signed-off-by: Maxime Coquelin --- arch/arm/boot/dts/stih416-pinctrl.dtsi | 35 + arch/arm/boot/dts/stih416.dtsi | 53 2 files changed, 88 insertions

[PATCH 1/4] i2c: busses: i2c-st: Add ST I2C controller

2013-10-01 Thread Maxime COQUELIN
This patch adds support to SSC (Synchronous Serial Controller) I2C driver. This IP also supports SPI protocol, but this is not the aim of this driver. This IP is embedded in all ST SoCs for Set-top box platorms, and supports I2C Standard and Fast modes. Signed-off-by: Maxime Coquelin Cc

[PATCH 4/4] ARM: STi: Add I2C config to B2000 and B2020 boards

2013-10-01 Thread Maxime COQUELIN
This patch supplies I2C configuration to B2000 and B2020 based on either STiH415 or STiH416 SoCs. Cc: Srinivas Kandagatla Signed-off-by: Maxime Coquelin --- arch/arm/boot/dts/stih41x-b2000.dtsi |9 + arch/arm/boot/dts/stih41x-b2020.dtsi | 22 ++ 2 files

[PATCH 3/4] ARM: STi: Supply I2C configuration to STiH415 SoC

2013-10-01 Thread Maxime COQUELIN
This patch supplies I2C configuration to STiH415 SoC. Cc: Srinivas Kandagatla Signed-off-by: Maxime Coquelin --- arch/arm/boot/dts/stih415-pinctrl.dtsi | 36 ++ arch/arm/boot/dts/stih415.dtsi | 53 2 files changed, 89 insertions

Re: [PATCH 1/4] i2c: busses: i2c-st: Add ST I2C controller

2013-10-02 Thread Maxime COQUELIN
On 10/01/2013 10:45 PM, Stephen Warren wrote: > On 10/01/2013 04:39 AM, Maxime COQUELIN wrote: >> This patch adds support to SSC (Synchronous Serial Controller) >> I2C driver. This IP also supports SPI protocol, but this is not >> the aim of this driver. >> >> T

Re: [PATCH 1/4] i2c: busses: i2c-st: Add ST I2C controller

2013-10-02 Thread Maxime COQUELIN
On 10/02/2013 11:02 AM, Wolfram Sang wrote: +Optional properties : +- i2c-min-scl-pulse-width-us : The minimum valid SCL pulse width that is allowed + through the deglitch circuit. In units of us. +- i2c-min-sda-pulse-width-us : The minimum valid SDA pulse width that is

Re: [PATCH 1/4] i2c: busses: i2c-st: Add ST I2C controller

2013-10-02 Thread Maxime COQUELIN
Hi Pawel, On 10/02/2013 11:35 AM, Maxime Coquelin wrote: > > On 10/02/2013 11:02 AM, Wolfram Sang wrote: >>>>> +Optional properties : >>>>> +- i2c-min-scl-pulse-width-us : The minimum valid SCL pulse width >>>>> that is allowed >>>>

[PATCH 3/4] ARM: STi: Supply I2C configuration to STiH415 SoC

2013-09-18 Thread Maxime COQUELIN
This patch supplies I2C configuration to STiH415 SoC. Cc: Srinivas Kandagatla Signed-off-by: Maxime Coquelin --- arch/arm/boot/dts/stih415-pinctrl.dtsi | 36 arch/arm/boot/dts/stih415.dtsi | 57 2 files changed, 93 insertions

[PATCH 1/4] i2c: busses: i2c-st: Add ST I2C controller

2013-09-18 Thread Maxime COQUELIN
: Maxime Coquelin --- Documentation/devicetree/bindings/i2c/i2c-st.txt | 35 ++ drivers/i2c/busses/Kconfig | 10 + drivers/i2c/busses/Makefile |1 + drivers/i2c/busses/i2c-st.c | 713 ++ drivers/i2c/busses/i2c

[PATCH 4/4] ARM: STi: Add I2C config to B2000 and B2020 boards

2013-09-18 Thread Maxime COQUELIN
This patch supplies I2C configuration to B2000 and B2020 based on either STiH415 or STiH416 SoCs. Cc: Srinivas Kandagatla Signed-off-by: Maxime Coquelin --- arch/arm/boot/dts/stih41x-b2000.dtsi |7 +++ arch/arm/boot/dts/stih41x-b2020.dtsi | 20 2 files changed

[PATCH 2/4] ARM: STi: Supply I2C configuration to STiH416 SoC

2013-09-18 Thread Maxime COQUELIN
This patch supplies I2C configuration to STiH416 SoC. Cc: Srinivas Kandagatla Signed-off-by: Maxime Coquelin --- arch/arm/boot/dts/stih416-pinctrl.dtsi | 35 arch/arm/boot/dts/stih416.dtsi | 57 2 files changed, 92 insertions

[PATCH 0/4] Add I2C support to ST SoCs

2013-09-18 Thread Maxime COQUELIN
The goal of this series is to add I2C support to ST SoCs. The DT definition is added for STiH415 and STiH416 SoCs on B2000 and B2020 boards. Signed-off-by: Maxime Coquelin Maxime Coquelin (4): i2c: busses: i2c-st: Add ST I2C controller ARM: STi: Supply I2C configuration to STiH416 SoC ARM

Re: [PATCH 4/4] ARM: STi: Add I2C config to B2000 and B2020 boards

2013-09-18 Thread Maxime COQUELIN
Hi Lee, On 09/18/2013 01:40 PM, Lee Jones wrote: > On Wed, 18 Sep 2013, Maxime COQUELIN wrote: > >> This patch supplies I2C configuration to B2000 and B2020 >> based on either STiH415 or STiH416 SoCs. >> >> Cc: Srinivas Kandagatla >> Signed-off-by: Maxime Co

Re: [PATCH 3/4] ARM: STi: Supply I2C configuration to STiH415 SoC

2013-09-18 Thread Maxime COQUELIN
On 09/18/2013 02:00 PM, Lee Jones wrote: > On Wed, 18 Sep 2013, Maxime COQUELIN wrote: > >> This patch supplies I2C configuration to STiH415 SoC. >> >> Cc: Srinivas Kandagatla >> Signed-off-by: Maxime Coquelin >> --- >> arch/arm/boot/dts/stih415-pinctrl

Re: [PATCH 2/4] ARM: STi: Supply I2C configuration to STiH416 SoC

2013-09-18 Thread Maxime COQUELIN
On 09/18/2013 02:03 PM, Lee Jones wrote: >> This patch supplies I2C configuration to STiH416 SoC. >> >> Cc: Srinivas Kandagatla >> Signed-off-by: Maxime Coquelin >> --- >> arch/arm/boot/dts/stih416-pinctrl.dtsi | 35 >> arc

Re: [PATCH 2/4] ARM: STi: Supply I2C configuration to STiH416 SoC

2013-09-19 Thread Maxime COQUELIN
Hi Srini, On 09/18/2013 03:17 PM, Srinivas KANDAGATLA wrote: > On 18/09/13 13:46, Maxime COQUELIN wrote: >> On 09/18/2013 02:03 PM, Lee Jones wrote: >>>>>> This patch supplies I2C configuration to STiH416 SoC. >>>>>> >>>>>>

Re: [PATCH 2/4] ARM: STi: Supply I2C configuration to STiH416 SoC

2013-09-19 Thread Maxime COQUELIN
On 09/19/2013 03:01 PM, Srinivas KANDAGATLA wrote: > On 19/09/13 08:16, Maxime COQUELIN wrote: >> Hi Srini, >> >> On 09/18/2013 03:17 PM, Srinivas KANDAGATLA wrote: >>> On 18/09/13 13:46, Maxime COQUELIN wrote: >>>> On 09/18/2013 02:03 PM, Lee Jon

[PATCH v4 3/4] ARM: STi: Supply I2C configuration to STiH415 SoC

2013-10-08 Thread Maxime COQUELIN
This patch supplies I2C configuration to STiH415 SoC. Signed-off-by: Maxime Coquelin --- arch/arm/boot/dts/stih415-pinctrl.dtsi | 36 ++ arch/arm/boot/dts/stih415.dtsi | 53 2 files changed, 89 insertions(+) diff --git a/arch/arm

[PATCH v4 4/4] ARM: STi: Add I2C config to B2000 and B2020 boards

2013-10-08 Thread Maxime COQUELIN
This patch supplies I2C configuration to B2000 and B2020 based on either STiH415 or STiH416 SoCs. Signed-off-by: Maxime Coquelin --- arch/arm/boot/dts/stih41x-b2000.dtsi |9 + arch/arm/boot/dts/stih41x-b2020.dtsi | 22 ++ 2 files changed, 31 insertions(+) diff

[PATCH v4 1/4] i2c: busses: i2c-st: Add ST I2C controller

2013-10-08 Thread Maxime COQUELIN
This patch adds support to SSC (Synchronous Serial Controller) I2C driver. This IP also supports SPI protocol, but this is not the aim of this driver. This IP is embedded in all ST SoCs for Set-top box platorms, and supports I2C Standard and Fast modes. Signed-off-by: Maxime Coquelin

[PATCH v4 0/4] Add I2C support to ST SoCs

2013-10-08 Thread Maxime COQUELIN
- Handle spurious interrupts properly - DT binding updates taking into account Stephen's comments - Use "clock-names" property to comply with GCF - DT cosmetic changes reported by Lee and Gabriel Signed-off-by: Maxime Coquelin Maxime Coquelin (4): i2c: busses: i2c-st: Add ST

[PATCH v4 2/4] ARM: STi: Supply I2C configuration to STiH416 SoC

2013-10-08 Thread Maxime COQUELIN
This patch supplies I2C configuration to STiH416 SoC. Signed-off-by: Maxime Coquelin --- arch/arm/boot/dts/stih416-pinctrl.dtsi | 35 + arch/arm/boot/dts/stih416.dtsi | 53 2 files changed, 88 insertions(+) diff --git a/arch/arm

Re: [PATCH v4 0/4] Add I2C support to ST SoCs

2013-10-10 Thread Maxime COQUELIN
Hi Wolfram, On 10/08/2013 06:42 PM, Maxime COQUELIN wrote: > The goal of this series is to add I2C support to ST SoCs. > The DT definition is added for STiH415 and STiH416 SoCs on > B2000 and B2020 boards. > > The series has been tested working on STiH416-B2020 board. > It appli

Re: [PATCH v4 3/4] ARM: STi: Supply I2C configuration to STiH415 SoC

2013-10-10 Thread Maxime COQUELIN
On 10/10/2013 02:33 PM, Stephen GALLIMORE wrote: >> -Original Message- >> From: Maxime COQUELIN [mailto:maxime.coque...@st.com] >> Sent: 08 October 2013 17:43 >> . >> + >> +i2c@fed4 { >> +

Re: [PATCH v4 0/4] Add I2C support to ST SoCs

2013-10-10 Thread Maxime COQUELIN
On 10/10/2013 12:03 PM, Wolfram Sang wrote: >>> Changes since v3: >>> - Switch back to vendor specific DT properties regarding the anti-glitch >>> filter configuration, as this IP is the only one having such a filter. >> Do you agree to keep these properties vendor-specifics? > My prefer

Re: [PATCH 1/4] i2c: busses: i2c-st: Add ST I2C controller

2013-09-26 Thread Maxime COQUELIN
On 09/24/2013 05:59 PM, Wolfram Sang wrote: >> "glitch" is is used to tune the I2C timing requirements, and has a >> nanosecond granularity. >> These values are added to default timing values. >> I'm not 100% sure, but it looks like the "samsung,i2c-sda-delay" in the >> i2c-s3c2410 driver. > For t

[PATCH v2 0/4] Add I2C support to ST SoCs

2013-09-26 Thread Maxime COQUELIN
Signed-off-by: Maxime Coquelin Maxime Coquelin (4): i2c: busses: i2c-st: Add ST I2C controller ARM: STi: Supply I2C configuration to STiH416 SoC ARM: STi: Supply I2C configuration to STiH415 SoC ARM: STi: Add I2C config to B2000 and B2020 boards Documentation/devicetree/bindings/i2c/i2

[PATCH v2 1/4] i2c: busses: i2c-st: Add ST I2C controller

2013-09-26 Thread Maxime COQUELIN
This patch adds support to SSC (Synchronous Serial Controller) I2C driver. This IP also supports SPI protocol, but this is not the aim of this driver. This IP is embedded in all ST SoCs for Set-top box platorms, and supports I2C Standard and Fast modes. Signed-off-by: Maxime Coquelin Cc

[PATCH v2 2/4] ARM: STi: Supply I2C configuration to STiH416 SoC

2013-09-26 Thread Maxime COQUELIN
This patch supplies I2C configuration to STiH416 SoC. Cc: Srinivas Kandagatla Signed-off-by: Maxime Coquelin --- arch/arm/boot/dts/stih416-pinctrl.dtsi | 35 + arch/arm/boot/dts/stih416.dtsi | 65 2 files changed, 100 insertions

[PATCH v2 4/4] ARM: STi: Add I2C config to B2000 and B2020 boards

2013-09-26 Thread Maxime COQUELIN
This patch supplies I2C configuration to B2000 and B2020 based on either STiH415 or STiH416 SoCs. Cc: Srinivas Kandagatla Signed-off-by: Maxime Coquelin --- arch/arm/boot/dts/stih41x-b2000.dtsi |7 +++ arch/arm/boot/dts/stih41x-b2020.dtsi | 20 2 files changed

[PATCH v2 3/4] ARM: STi: Supply I2C configuration to STiH415 SoC

2013-09-26 Thread Maxime COQUELIN
This patch supplies I2C configuration to STiH415 SoC. Cc: Srinivas Kandagatla Signed-off-by: Maxime Coquelin --- arch/arm/boot/dts/stih415-pinctrl.dtsi | 36 ++ arch/arm/boot/dts/stih415.dtsi | 65 2 files changed, 101 insertions

Re: [PATCH v2 1/4] i2c: busses: i2c-st: Add ST I2C controller

2013-09-30 Thread Maxime COQUELIN
Hi Wolfram, On 09/27/2013 07:50 PM, Wolfram Sang wrote: > Hi, > > Please make one mail thread out of a patch series. That helps reviewing. Ok, sorry for the inconvenience. > On Thu, Sep 26, 2013 at 11:53:58AM +0200, Maxime COQUELIN wrote: >> This patch adds support to SSC (

[PATCH v3 0/4] Add I2C support to ST SoCs

2013-10-01 Thread Maxime COQUELIN
taking into account Stephen's comments - Use "clock-names" property to comply with GCF - DT cosmetic changes reported by Lee and Gabriel Signed-off-by: Maxime Coquelin Maxime Coquelin (4): i2c: busses: i2c-st: Add ST I2C controller ARM: STi: Supply I2C configuration to ST

Re: [PATCH 1/4] i2c: busses: i2c-st: Add ST I2C controller

2013-09-24 Thread Maxime COQUELIN
On 09/23/2013 11:06 PM, Stephen Warren wrote: > On 09/18/2013 04:01 AM, Maxime COQUELIN wrote: >> This patch adds support to SSC (Synchronous Serial Controller) >> I2C driver. This IP also supports SPI protocol, but this is not >> the aim of this driver. >> >> T

[PATCH] clk: ux500: Fix prcmu clocks registration

2013-03-26 Thread Maxime Coquelin
From: Maxime Coquelin In clk_reg_prcmu(), clk->hw.init field is assigned with a reference local to clk_reg_prcmu() function. This patch replaces references to clk->hw.init with calls to __clk_get_name when called after clock registration. This patch applies on top of v3.9-rc4. Signed-

Re: [PATCH] clk: ux500: Fix prcmu clocks registration

2013-03-27 Thread Maxime COQUELIN
Le 03/26/2013 09:05 PM, Mike Turquette a écrit : > Quoting Maxime Coquelin (2013-03-26 07:27:15) >> From: Maxime Coquelin >> >> In clk_reg_prcmu(), clk->hw.init field is assigned with a >> reference local to clk_reg_prcmu() function. >> >> This patch repl

Re: [PATCH v6 2/4] drivers: irqchip: Add STM32 external interrupts support

2016-09-21 Thread Maxime Coquelin
either on rising, falling or both edges. Each line can also >> > > be masked independently. >> > > >> > > Signed-off-by: Maxime Coquelin >> > > Signed-off-by: Alexandre TORGUE >> > >> > That all looks very reasonable now. The only

Re: [PATCH V2 47/63] clocksource/drivers/timer-stm32: Convert init function to return error

2016-06-20 Thread Maxime Coquelin
ust return back an error or success in the init > function. > > Signed-off-by: Daniel Lezcano > --- > drivers/clocksource/timer-stm32.c | 10 ++ > 1 file changed, 6 insertions(+), 4 deletions(-) Acked-by: Maxime Coquelin Thanks! Maxime

Re: [PATCH V2 18/63] clocksource/drivers/arm_global_timer: Convert init function to return error

2016-06-20 Thread Maxime Coquelin
. Signed-off-by: Daniel Lezcano --- drivers/clocksource/arm_global_timer.c | 28 ++-- 1 file changed, 18 insertions(+), 10 deletions(-) Acked-by: Maxime Coquelin Thanks! Maxime

Re: [PATCH V2 08/63] clocksource/drivers/st_lpc: Convert init function to return error

2016-06-20 Thread Maxime Coquelin
-off-by: Daniel Lezcano --- drivers/clocksource/clksrc_st_lpc.c | 22 +- 1 file changed, 13 insertions(+), 9 deletions(-) Acked-by: Maxime Coquelin Thanks! Maxime

Re: [PATCH V2 12/63] clocksource/drivers/armv7m_systick: Convert init function to return error

2016-06-20 Thread Maxime Coquelin
eturn back an error or success in the init > function. > > Signed-off-by: Daniel Lezcano > --- > drivers/clocksource/armv7m_systick.c | 18 -- > 1 file changed, 12 insertions(+), 6 deletions(-) Acked-by: Maxime Coquelin Thanks! Maxime

[PATCH] MAINTAINERS: update STi maintainer list

2016-06-21 Thread Maxime Coquelin
Remove myself as STi maintainer as I will no longer have access to STi platforms, and remove Srini too, who now works on other platforms. Patrice will manage the pull requests. Signed-off-by: Maxime Coquelin Cc: Patrice Chotard Cc: Srinivas Kandagatla Cc: Arnd Bergmann --- MAINTAINERS | 2

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(&fdev->fw_ack); >+ >+ st_fdma_clk_disable(fdev); >+ >+ return 0; >+} Since this dri

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 1/4] dt-bindings: Document the STM32 DMA bindings

2015-10-12 Thread Maxime Coquelin
le changed, 98 insertions(+) create mode 100644 Documentation/devicetree/bindings/dma/stm32-dma.txt Acked-by: Maxime Coquelin Thanks! Maxime -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More maj

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 | 1193 ++

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 --- arch/arm/configs/stm32_defconfig | 2 ++ 1 file changed, 2 insertions(+) Acked-by: Maxime Coquelin I will apply it

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

2015-10-14 Thread Maxime Coquelin
hwrng/ to .../rng/ and renamed to match >>convention in new directory (Rob Herring). >> * Adopted runtime PM and auto-suspend instead of managing the clocks >>from the read function (Linus Walleij). Increased bandwidth by ~30%. >> * Simplified error detection in ma

[PATCH v2 0/3] ARMv7-M: Make FORCE_MAX_ZONE_ORDER configurable from defconfig

2015-09-08 Thread Maxime Coquelin
This series makes possible to set MAX_ZONE_ORDER from defconfig for ARMv7-M platforms when build as single platform. It sets the FORCE_MAX_ZONE_ORDER value to 9 for STM32 and EFM32 for consistency for the later, as it was the case before this series. Maxime Coquelin (3): ARM: Make

[PATCH v2 2/3] ARM: configs: Set FORCE_MAX_ZONE_ORDER to 9 in stm32_defconfig

2015-09-08 Thread Maxime Coquelin
STM32 boards having small amount of RAM, we can optimize by reducing max order page blocks size. Suggested-by: Andreas Färber Signed-off-by: Maxime Coquelin --- arch/arm/configs/stm32_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/stm32_defconfig b/arch/arm

[PATCH v2 3/3] ARM: configs: Set FORCE_MAX_ZONEORDER to 9 in efm32_defconfig

2015-09-08 Thread Maxime Coquelin
FORCE_MAX_ZONEORDER has now to be configured in defconfig for ARMV7 platforms. Cc: Uwe Kleine-König Signed-off-by: Maxime Coquelin --- arch/arm/configs/efm32_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/efm32_defconfig b/arch/arm/configs/efm32_defconfig index

[PATCH v2 1/3] ARM: Make FORCE_MAX_ZONEORDER configurable if ARM_SINGLE_ARMV7M

2015-09-08 Thread Maxime Coquelin
This patch makes FORCE_MAX_ZONEORDER configurable in defconfig for ARMV7-M when built for a single platform. Suggested-by: Arnd Bergmann Signed-off-by: Maxime Coquelin --- arch/arm/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm

Re: [PATCH v2 1/3] ARM: Make FORCE_MAX_ZONEORDER configurable if ARM_SINGLE_ARMV7M

2015-09-08 Thread Maxime Coquelin
2015-09-09 0:19 GMT+02:00 Russell King - ARM Linux : > On Tue, Sep 08, 2015 at 10:38:04PM +0200, Maxime Coquelin wrote: >> This patch makes FORCE_MAX_ZONEORDER configurable in defconfig for ARMV7-M >> when built for a single platform. > > I'd prefer if we didn

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

2015-10-14 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin --- 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/pinctrl-stm32.h create mode 100644

[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 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 --- arch/arm/boot/dts/stm32f429.dtsi | 97 1 file changed, 97 insertions(+) diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/arch/arm/boot/dts/stm32f429.dtsi index

[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 --- drivers/pinctrl/Kc

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

2015-10-14 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin --- 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 100644 --- a/arch/arm/Kconfig +++ b/arch

[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 --- arch/arm/boot/dts/stm32429i-eval.dts | 2 ++ arch/arm/boot/dts/stm32f429-disco.dts | 2 ++ arch/arm/boot/dts/stm32f429.dtsi | 13 + 3 files changed

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

2015-10-14 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin --- .../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/Documentation/devicetree/bindings/pinctrl/st

[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 --- arch/arm/Kconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm

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 : > On 14/10/15 21:07, Maxime Coquelin wrote: >> >> Signed-off-by: Maxime Coquelin >> --- >> include/dt-bindings/pinctrl/pinctrl-stm32.h | 12 + >> include/dt-bindings/pinctrl/stm32f429-pinfunc.h | 1241 >&g

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 Acked-by: Maxime Coquelin --- arch/arm/boot/dts/stih418.dtsi | 6 ++ 1 file changed, 6 insertions(+) Applied, thanks. Maxime

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

[PATCH] ARM: configs: Enable FIXED_PHY in multi_v7 defconfig

2015-10-15 Thread Maxime Coquelin
CONFIG_FIXED_PHY is needed to have Ethernet working on STi boards. Select it as built-in since RootFS is accessible from NFS on these boards. Signed-off-by: Maxime Coquelin --- Hi Arnd, Olof, Could you please apply it directly as this is the only defconfig patch I have in my queue for v4.4

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 --- arch/arm/Kconfig | 1 + drivers/pinctrl/stm32/pinctrl-stm32f429.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff

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

2015-10-17 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin --- .../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/Documentation/devicetree/bindings/pinctrl/st

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

2015-10-17 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin --- 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/pinctrl-stm32.h create mode 100644

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

2015-10-17 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin --- 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 +++ b/arch/arm/configs/stm32_defconfig

[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 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 --- 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/boot/dts/stm32429i-eval.dts index 71fe17a

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

2015-10-17 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin --- 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 select CLKSRC_STM32 select

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

2015-10-17 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin --- 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 +++ b/arch/arm/boot/dts

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

2015-10-17 Thread Maxime Coquelin
. Signed-off-by: Maxime Coquelin --- drivers/irqchip/Kconfig | 4 + drivers/irqchip/Makefile | 1 + drivers/irqchip/irq-stm32-exti.c | 169 +++ 3 files changed, 174 insertions(+) create mode 100644 drivers/irqchip/irq-stm32-exti.c diff --git a

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

2015-10-17 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin --- 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/configs/stm32_defconfig +++ b/arch/arm

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

2015-10-17 Thread Maxime Coquelin
System Config registers. Signed-off-by: Maxime Coquelin --- drivers/pinctrl/stm32/Kconfig | 1 + drivers/pinctrl/stm32/pinctrl-stm32.c | 68 +++ 2 files changed, 69 insertions(+) diff --git a/drivers/pinctrl/stm32/Kconfig b/drivers/pinctrl/stm32/Kconfig

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

2015-10-17 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin --- 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/stm32f429.dtsi +++ b/arch/arm/boot/dts

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

2015-10-17 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin --- 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,stm32-pinctrl.txt index 7b4800c

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

2015-10-17 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin --- .../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 --git a/Documentation/devicetree/bindings

[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 --- drivers/pinctrl/Kc

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

2015-10-17 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin --- 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 select ARCH_HAS_RESET_CONTROLLER

[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 --- arch/arm/boot/dts/stm32f429.dtsi | 97 1 file changed, 97 insertions(+) diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/arch/arm/boot/dts/stm32f429.dtsi index

[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 --- arch/arm/boot/dts/stm32429i-eval.dts | 2 ++ arch/arm/boot/dts/stm32f429-disco.dts | 2 ++ arch/arm/boot/dts/stm32f429.dtsi | 13 + 3 files changed

[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 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 --- arch/arm/Kconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm

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

2015-10-17 Thread Maxime Coquelin
Signed-off-by: Maxime Coquelin --- 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/boot/dts/stm32f429-disco.dts +++ b

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 : > On 17/10/15 18:23, Maxime Coquelin wrote: >> >> Signed-off-by: Maxime Coquelin >> --- >> include/dt-bindings/pinctrl/pinctrl-stm32.h | 12 + >> include/dt-bindings/pinctrl/stm32f429-pinfunc.h | 1241 >&g

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 b/arch/arm/boot/dts/stih407-family.dtsi index 838b812..9452b

[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 --- arch/arm/boot/dts/stih418-b2199.dts | 8 1 file changed, 8 insertions

[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 to

[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 --- arch/arm/boot/dts/stih407-b2120.dts | 1 + arch/arm/boot/dts/stih410-b2120.dts

[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 --- 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/arch/arm/boot/dts/stih407

[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 --- 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-family.dtsi index 582154b..c944d3a

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 -- To unsubscribe from this lis

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

2015-10-04 Thread Maxime Coquelin
+ 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 Thanks! Maxime -- To unsubscribe from this list: send the line "unsubs

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. S

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

2015-10-04 Thread Maxime Coquelin
: Maxime Coquelin 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 linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo

Re: [PATCH v5 4/4] vduse: Add LSM hook to check Virtio device type

2024-01-04 Thread Maxime Coquelin
On 12/18/23 18:33, Stephen Smalley wrote: On Mon, Dec 18, 2023 at 12:21 PM Stephen Smalley wrote: On Tue, Dec 12, 2023 at 8:17 AM Maxime Coquelin wrote: This patch introduces a LSM hook for devices creation, destruction (ioctl()) and opening (open()) operations, checking the application

[PATCH v6 1/3] vduse: validate block features only with block devices

2024-01-04 Thread Maxime Coquelin
This patch is preliminary work to enable network device type support to VDUSE. As VIRTIO_BLK_F_CONFIG_WCE shares the same value as VIRTIO_NET_F_HOST_TSO4, we need to restrict its check to Virtio-blk device type. Acked-by: Jason Wang Reviewed-by: Xie Yongji Signed-off-by: Maxime Coquelin

  1   2   3   4   5   6   7   8   >