[PATCH 5/7] ARM: dts: stm32: Enable USB HS on stm32f746-disco

2017-08-17 Thread Amelie Delaunay
This patch enables USB HS on stm32f746-disco (Host mode). Signed-off-by: Amelie Delaunay --- arch/arm/boot/dts/stm32f746-disco.dts | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/stm32f746-disco.dts b/arch/arm/boot/dts/stm32f746-disco.dts index 18f6560

[PATCH 4/7] ARM: dts: stm32: Enable USB HS on stm32746g-eval

2017-08-17 Thread Amelie Delaunay
This patch enables USB HS on stm32746g-eval (Host mode). Signed-off-by: Amelie Delaunay --- arch/arm/boot/dts/stm32746g-eval.dts | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/stm32746g-eval.dts b/arch/arm/boot/dts/stm32746g-eval.dts index 69a9579

[PATCH 3/7] ARM: dts: stm32: Add USB HS support for STM32F746 MCU

2017-08-17 Thread Amelie Delaunay
This patch adds the USB pins and nodes for USB HS core on STM32F746 SoC. Signed-off-by: Amelie Delaunay --- arch/arm/boot/dts/stm32f746.dtsi | 49 1 file changed, 49 insertions(+) diff --git a/arch/arm/boot/dts/stm32f746.dtsi b/arch/arm/boot/dts

[PATCH 7/7] ARM: dts: stm32: Enable USB FS on stm32f746-disco

2017-08-17 Thread Amelie Delaunay
This patch enables USB FS on stm32f746-disco (Host mode) with 5V VBUS enable. Signed-off-by: Amelie Delaunay --- arch/arm/boot/dts/stm32f746-disco.dts | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/stm32f746-disco.dts b/arch/arm/boot/dts/stm32f746

[PATCH 6/7] ARM: dts: stm32: Add USB FS support for STM32F746 MCU

2017-08-17 Thread Amelie Delaunay
This patch adds the USB pins and nodes for USB FS core on STM32F746 SoC. Signed-off-by: Amelie Delaunay --- arch/arm/boot/dts/stm32f746.dtsi | 31 +++ 1 file changed, 31 insertions(+) diff --git a/arch/arm/boot/dts/stm32f746.dtsi b/arch/arm/boot/dts/stm32f746.dtsi

[PATCH 1/7] dt-bindings: usb: Document the STM32F7xx DWC2 USB OTG HS core binding

2017-08-17 Thread Amelie Delaunay
This patch adds binding documentation for DWC2 controller in HS mode found on STMicroelectronics STM32F7xx SoC. Signed-off-by: Amelie Delaunay --- Documentation/devicetree/bindings/usb/dwc2.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/dwc2.txt

[PATCH 0/7] Add support for USB OTG on STM32F7xx

2017-08-17 Thread Amelie Delaunay
The STM32F7xx MCU family embeds two DWC2 USB OTG cores. One core is USB OTG FS and the other is USB OTG HS. The USB FS core only works with its internal phy whilst the USB HS core can work in HS with external ULPI phy or in FS/LS with the on-chip FS phy. Amelie Delaunay (7): dt-bindings: usb

[PATCH 2/7] usb: dwc2: add support for STM32F7xx USB OTG HS

2017-08-17 Thread Amelie Delaunay
This patch adds the dwc2_set_params function for STM32F7xx USB OTG HS. Signed-off-by: Amelie Delaunay --- drivers/usb/dwc2/params.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/usb/dwc2/params.c b/drivers/usb/dwc2/params.c index a3ffe97..015d23e 100644 --- a/drivers

Re: [PATCH 4/7] ARM: dts: stm32: Enable USB HS on stm32746g-eval

2017-08-17 Thread Amelie DELAUNAY
Hi! On 08/17/2017 12:44 PM, Sergei Shtylyov wrote: > Hello! > > On 8/17/2017 12:33 PM, Amelie Delaunay wrote: > >> This patch enables USB HS on stm32746g-eval (Host mode). >> >> Signed-off-by: Amelie Delaunay >> --- >> arch/arm/boot/dts/stm32746g-

Re: [PATCH 6/7] ARM: dts: stm32: Add USB FS support for STM32F746 MCU

2017-08-17 Thread Amelie DELAUNAY
On 08/17/2017 12:47 PM, Sergei Shtylyov wrote: > On 8/17/2017 12:33 PM, Amelie Delaunay wrote: > >> This patch adds the USB pins and nodes for USB FS core on STM32F746 SoC. >> >> Signed-off-by: Amelie Delaunay >> --- >> a

[PATCH 1/2] dt-bindings: spi: Document the STM32 SPI bindings

2017-06-21 Thread Amelie Delaunay
This patch adds the documentation of device tree bindings for the STM32 SPI controller. Signed-off-by: Amelie Delaunay --- .../devicetree/bindings/spi/spi-stm32.txt | 60 ++ 1 file changed, 60 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi

[PATCH 2/2] spi: add driver for STM32 SPI controller

2017-06-21 Thread Amelie Delaunay
8-bit embedded Rx and TxFIFOs with DMA capability. It can operate in master or slave mode. Signed-off-by: Amelie Delaunay --- drivers/spi/Kconfig | 10 + drivers/spi/Makefile|1 + drivers/spi/spi-stm32.c | 1266 +++ 3 files changed, 1277

[PATCH 0/2] Add support for STM32 SPI

2017-06-21 Thread Amelie Delaunay
-bit per word. It has two 8x/16x 8-bit embedded Rx and TxFIFOs with DMA capability. It can operate in master or slave mode, but here, only master mode is supported. Amelie Delaunay (2): dt-bindings: spi: Document the STM32 SPI bindings spi: add driver for STM32 SPI controller .../devicetree

Re: [PATCH 2/2] spi: add driver for STM32 SPI controller

2017-06-22 Thread Amelie DELAUNAY
Hi Mark, Thanks for your review. On 06/21/2017 05:13 PM, Mark Brown wrote: On Wed, Jun 21, 2017 at 04:32:06PM +0200, Amelie Delaunay wrote: A few minor stylistic things but overall this looks really nice, please send followup patches fixing these style things. + /* Determine the first

Re: [PATCH 1/2] dt-bindings: spi: Document the STM32 SPI bindings

2017-06-22 Thread Amelie DELAUNAY
On 06/21/2017 05:20 PM, Neil Armstrong wrote: On 06/21/2017 04:32 PM, Amelie Delaunay wrote: This patch adds the documentation of device tree bindings for the STM32 SPI controller. Signed-off-by: Amelie Delaunay --- .../devicetree/bindings/spi/spi-stm32.txt | 60

[PATCH] ARM: dts: stm32: update rtc st,syscfg property on stm32h743

2018-08-22 Thread Amelie Delaunay
To fit with latest rtc driver updates, rtc st,syscfg property must contain the control register offset of pwrcfg and the mask corresponding to the DBP (Disable Backup Protection) bit. Signed-off-by: Amelie Delaunay --- arch/arm/boot/dts/stm32h743.dtsi | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH v2] ARM: multi_v7_defconfig: enable STM32 SPI

2018-08-22 Thread Amelie Delaunay
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 b/arch/arm/configs/multi_v7_defconfig index b749d1e..4cdb622 100644 --- a

Re: [PATCH v4] usb: dwc2: dwc2_vbus_supply_init: fix error check

2018-03-26 Thread Amelie DELAUNAY
t correctly propagate any > other errors. Also propagate the error from _dwc2_hcd_start. > > Fixes: 531ef5ebea96 ("usb: dwc2: add support for host mode external vbus > supply") > Cc: Amelie Delaunay > Signed-off-by: Tomeu Vizoso > > --- > > v2: Only overwrite

[PATCH 5/5] ARM: dts: stm32: add joystick support on stm32746g-eval

2018-04-11 Thread Amelie Delaunay
The joystick (B3) on stm32746g-eval uses gpios on STMFX gpio expander. These gpios need a pin configuration (push-pull and bias-pull-up), described under stmfxpinctrl node. Signed-off-by: Amelie Delaunay --- arch/arm/boot/dts/stm32746g-eval.dts | 44 1 file

[PATCH 0/5] Introduce STMFX I2C GPIO expander

2018-04-11 Thread Amelie Delaunay
://lkml.org/lkml/2018/2/8/300 Amelie Delaunay (5): dt-bindings: pinctrl: document the STMFX pinctrl bindings pinctrl: Add STMFX GPIO expander Pinctrl/GPIO driver ARM: dts: stm32: add STMFX pinctrl/gpio expander support on stm32746g-eval ARM: dts: stm32: add orange and blue leds on stm32746g

[PATCH 2/5] pinctrl: Add STMFX GPIO expander Pinctrl/GPIO driver

2018-04-11 Thread Amelie Delaunay
This patch adds pinctrl/GPIO driver for STMicroelectronics Multi-Function eXpander (STMFX) GPIO expander. STMFX is an I2C slave controller, offering up to 24 GPIOs. The driver relies on generic pin config interface to configure the GPIOs. Signed-off-by: Amelie Delaunay --- drivers/pinctrl

[PATCH 1/5] dt-bindings: pinctrl: document the STMFX pinctrl bindings

2018-04-11 Thread Amelie Delaunay
This patch adds documentation of device tree bindings for the STMicroelectronics Multi-Function eXpander (STMFX) GPIO expander. Signed-off-by: Amelie Delaunay --- .../devicetree/bindings/pinctrl/pinctrl-stmfx.txt | 118 + 1 file changed, 118 insertions(+) create mode

[PATCH 4/5] ARM: dts: stm32: add orange and blue leds on stm32746g-eval

2018-04-11 Thread Amelie Delaunay
Orange (LD2) and blue (LD4) leds on stm32746g-eval are connected on STMFX gpio expander, offset 17 and 19. Signed-off-by: Amelie Delaunay --- arch/arm/boot/dts/stm32746g-eval.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/stm32746g-eval.dts b/arch/arm/boot/dts

[PATCH 3/5] ARM: dts: stm32: add STMFX pinctrl/gpio expander support on stm32746g-eval

2018-04-11 Thread Amelie Delaunay
This patch adds support for STMicroelectronics Multi-Function eXpander pinctrl/gpio expander on stm32746g-eval. It is connected on I2C1. Signed-off-by: Amelie Delaunay --- arch/arm/boot/dts/stm32746g-eval.dts | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot

Re: [PATCH v4 1/2] dt-bindings: usb: ehci: add optional external vbus supply property

2018-03-20 Thread Amelie DELAUNAY
On 03/06/2018 03:40 PM, Rob Herring wrote: > On Tue, Mar 6, 2018 at 8:09 AM, Robin Murphy wrote: >> On 06/03/18 01:57, Rob Herring wrote: >>> >>> On Thu, Mar 01, 2018 at 10:51:38AM +0100, Amelie Delaunay wrote: >>>> >>>> On some boards,

[PATCH -next] phy: stm32: fix usbphyc static checker and checkpatch warnings

2018-03-20 Thread Amelie Delaunay
YC)" Signed-off-by: Amelie Delaunay --- drivers/phy/st/phy-stm32-usbphyc.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/phy/st/phy-stm32-usbphyc.c b/drivers/phy/st/phy-stm32-usbphyc.c index bc4e78a..1255cd1 100644 --- a/drivers/phy/st/phy-stm32-usbphyc

Re: [PATCH -next] phy: stm32: fix using 0 as NULL pointer warnings

2018-03-20 Thread Amelie DELAUNAY
2_usbphyc_probe(struct platform_device > *pdev) > return ret; > } > > - usbphyc->rst = devm_reset_control_get(dev, 0); > + usbphyc->rst = devm_reset_control_get(dev, NULL); > if (!IS_ERR(usbphyc->rst)) { > reset_control_assert(usbphyc->rst); > udelay(2); > Reviewed-by: Amelie Delaunay Thanks, Amelie

Re: [PATCH] usb: dwc2: dwc2_vbus_supply_init: fix error check

2018-03-22 Thread Amelie DELAUNAY
_dwc2_hcd_start. >>> >>> Fixes: 531ef5ebea96 ("usb: dwc2: add support for host mode external vbus >>> supply") Cc: Amelie Delaunay >>> Signed-off-by: Tomeu Vizoso >> >> Thanks for catching that oops in your tests. >> Reviewed-b

[PATCH v3 2/7] mfd: Add ST Multi-Function eXpander (STMFX) core driver

2018-09-27 Thread Amelie Delaunay
- Main MCU IDD measurement - Resistive touchscreen controller Signed-off-by: Amelie Delaunay Reviewed-by: Linus Walleij --- drivers/mfd/Kconfig | 14 ++ drivers/mfd/Makefile | 2 +- drivers/mfd/stmfx.c | 626 ++ include/linux/mfd

[PATCH v3 5/7] ARM: dts: stm32: add STMFX support on stm32746g-eval

2018-09-27 Thread Amelie Delaunay
This patch adds support for STMicroelectronics Multi-Function eXpander (STMFX) on stm32746g-eval. It is connected on i2c1. Signed-off-by: Amelie Delaunay Acked-by: Linus Walleij --- arch/arm/boot/dts/stm32746g-eval.dts | 17 + 1 file changed, 17 insertions(+) diff --git a/arch

[PATCH v3 3/7] dt-bindings: pinctrl: document the STMFX pinctrl bindings

2018-09-27 Thread Amelie Delaunay
This patch adds documentation of device tree bindings for the STMicroelectronics Multi-Function eXpander (STMFX) GPIO expander. Signed-off-by: Amelie Delaunay Reviewed-by: Linus Walleij Reviewed-by: Rob Herring --- .../devicetree/bindings/pinctrl/pinctrl-stmfx.txt | 116

[PATCH v3 6/7] ARM: dts: stm32: add joystick support on stm32746g-eval

2018-09-27 Thread Amelie Delaunay
The joystick (B3) on stm32746g-eval uses gpios on STMFX gpio expander. These gpios need a pin configuration (push-pull and bias-pull-up), described under stmfx_pinctrl node. Signed-off-by: Amelie Delaunay Acked-by: Linus Walleij --- arch/arm/boot/dts/stm32746g-eval.dts | 43

[PATCH v3 0/7] Introduce STMFX I2C Multi-Function eXpander

2018-09-27 Thread Amelie Delaunay
s function Changes in v2: - move to MFD parent driver for i2c stuff and chip initialization - improve regmap configuration - take advantage of the use of gpio-ranges Amelie Delaunay (7): dt-bindings: mfd: Add ST Multi-Function eXpander (STMFX) core bindings mfd: Add ST Multi-Function eXpan

[PATCH v3 4/7] pinctrl: Add STMFX GPIO expander Pinctrl/GPIO driver

2018-09-27 Thread Amelie Delaunay
This patch adds pinctrl/GPIO driver for STMicroelectronics Multi-Function eXpander (STMFX) GPIO expander. STMFX is an I2C slave controller, offering up to 24 GPIOs. The driver relies on generic pin config interface to configure the GPIOs. Signed-off-by: Amelie Delaunay Reviewed-by: Linus Walleij

[PATCH v3 7/7] ARM: dts: stm32: add orange and blue leds on stm32746g-eval

2018-09-27 Thread Amelie Delaunay
Orange (LD2) and blue (LD4) leds on stm32746g-eval are connected on STMFX gpio expander, offset 17 and 19. Signed-off-by: Amelie Delaunay Acked-by: Linus Walleij --- arch/arm/boot/dts/stm32746g-eval.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/stm32746g

[PATCH v3 1/7] dt-bindings: mfd: Add ST Multi-Function eXpander (STMFX) core bindings

2018-09-27 Thread Amelie Delaunay
This patch adds documentation of device tree bindings for the STMicroelectronics Multi-Function eXpander (STMFX) MFD core. Signed-off-by: Amelie Delaunay Reviewed-by: Linus Walleij --- Documentation/devicetree/bindings/mfd/stmfx.txt | 28 + 1 file changed, 28 insertions

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

2018-06-26 Thread Amelie DELAUNAY
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/multi_v7

Re: [PATCH v2 1/3] rtc: stm32: rework register management to prepare other version of RTC

2018-05-17 Thread Amelie DELAUNAY
Hi, On 05/16/2018 10:25 PM, Alexandre Belloni wrote: > Hi, > > On 09/05/2018 17:46:08+0200, Amelie Delaunay wrote: >> static void stm32_rtc_wpr_unlock(struct stm32_rtc *rtc) >> { >> -writel_relaxed(RTC_WPR_1ST_KEY, rtc->base + STM32_RTC_WPR); >> -

Re: [PATCH v2 3/3] rtc: stm32: add stm32mp1 rtc support

2018-05-17 Thread Amelie DELAUNAY
On 05/16/2018 10:32 PM, Alexandre Belloni wrote: > On 09/05/2018 17:46:10+0200, Amelie Delaunay wrote: >> struct stm32_rtc_registers { >> @@ -86,6 +98,9 @@ struct stm32_rtc_registers { >> u8 prer; >> u8 alrmar; >> u8 wpr; >> +u8 sr; >

[PATCH v3 1/4] rtc: stm32: fix misspelling and misalignment issues

2018-05-17 Thread Amelie Delaunay
renthesis #669: FILE: drivers/rtc/rtc-stm32.c:669: + rtc->rtc_dev = devm_rtc_device_register(&pdev->dev, pdev->name, + &stm32_rtc_ops, THIS_MODULE); Signed-off-by: Amelie Delaunay --- drivers/rtc/rtc-stm32.c | 4 ++-- 1 file changed, 2 insertions(+), 2 d

[PATCH v3 3/4] dt-bindings: rtc: update stm32-rtc documentation for stm32mp1 rtc

2018-05-17 Thread Amelie Delaunay
RTC embedded in stm32mp1 SoC is slightly different from stm32h7 one, it doesn't require to disable backup domain write protection, and rtc_ck parent clock assignment isn't allowed. To sum up, stm32mp1 RTC requires 2 clocks, pclk and rtc_ck, and an RTC alarm interrupt. Signed-off-

[PATCH v3 0/4] Introduce STM32MP1 RTC

2018-05-17 Thread Amelie Delaunay
!= ~0) => (0-u16max != (-1))' Changes in v2: * One compatible per line in bindings file * Remove unnecessary comment under rtc_ck as this clock is required for all * Remove interrupts-extended and add stm32mp1 rtc alarm wakeup interrupt in interrupts property description Amelie Delaunay (4):

[PATCH v3 4/4] rtc: stm32: add stm32mp1 rtc support

2018-05-17 Thread Amelie Delaunay
in Status Clear Register (SCR) is required to clear the event. Signed-off-by: Amelie Delaunay --- drivers/rtc/rtc-stm32.c | 103 +--- 1 file changed, 89 insertions(+), 14 deletions(-) diff --git a/drivers/rtc/rtc-stm32.c b/drivers/rtc/rtc-stm32.c

[PATCH v3 2/4] rtc: stm32: rework register management to prepare other version of RTC

2018-05-17 Thread Amelie Delaunay
This patch reworks register/bits management because next version of RTC uses the same way of working but with different register's offset or bits moved in new registers. Signed-off-by: Amelie Delaunay --- drivers/rtc/rtc-stm32.c | 184 +--- 1

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

2018-05-17 Thread Amelie Delaunay
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 ARM: dts: stm32: enable RTC on stm32mp157c-ed1 ARM

[PATCH v2 2/3] ARM: dts: stm32: enable RTC on stm32mp157c-ed1

2018-05-17 Thread Amelie Delaunay
Enable RTC (Real Time Clock) on stm32mp157c-ed1 board. Signed-off-by: Amelie Delaunay --- arch/arm/boot/dts/stm32mp157c-ed1.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp157c-ed1.dts b/arch/arm/boot/dts/stm32mp157c-ed1.dts index ae33653..050c30d 100644

[PATCH v2 1/3] ARM: dts: stm32: add RTC support to stm32mp157c

2018-05-17 Thread Amelie Delaunay
Add support for RTC (Real Time Clock) to STM32MP157C SoC. Signed-off-by: Amelie Delaunay --- arch/arm/boot/dts/stm32mp157c.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi b/arch/arm/boot/dts/stm32mp157c.dtsi index b66f673..df2d874 100644

[PATCH v2 3/3] ARM: multi_v7_defconfig: enable STM32 RTC

2018-05-17 Thread Amelie Delaunay
Enable the STM32 Real Time Clock (RTC) 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 b/arch/arm/configs/multi_v7_defconfig index 89167cd

[PATCH 1/3] ARM: dts: stm32: add STM32 SPI support on stm32mp157c

2018-05-17 Thread Amelie Delaunay
This patch adds all STM32 SPI instances on stm32mp157c. Signed-off-by: Amelie Delaunay --- arch/arm/boot/dts/stm32mp157c.dtsi | 84 ++ 1 file changed, 84 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi b/arch/arm/boot/dts/stm32mp157c.dtsi

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

2018-05-17 Thread Amelie Delaunay
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 stm32mp157c ARM: dts: stm32: add SPI1 support on stm32mp157c-ev1

[PATCH 2/3] ARM: dts: stm32: add SPI1 support on stm32mp157c-ev1

2018-05-17 Thread Amelie Delaunay
This patch adds SPI1 support on stm32mp157c-ev1 board. SPI1 is available on GPIO expansion connector but kept disabled so these pins can be used as GPIOs by default. Signed-off-by: Amelie Delaunay --- arch/arm/boot/dts/stm32mp157-pinctrl.dtsi | 16 +++- arch/arm/boot/dts/stm32mp157c

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

2018-05-17 Thread Amelie Delaunay
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 b/arch/arm/configs/multi_v7_defconfig index 89167cd..f990335 100644 --- a

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

2018-05-17 Thread Amelie Delaunay
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: Amelie Delaunay --- arch/arm/boot/dts/stm32mp157c-ev1.dts | 6

[PATCH 2/2] ARM: dts: stm32: enable USB OTG HS on stm32mp157c-ev1

2018-05-17 Thread Amelie Delaunay
This patch enables USB OTG HS on stm32mp157c-ev1 in Peripheral mode. Signed-off-by: Amelie Delaunay --- arch/arm/boot/dts/stm32mp157c-ev1.dts | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp157c-ev1.dts b/arch/arm/boot/dts/stm32mp157c-ev1.dts index 9382d80

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

2018-05-17 Thread Amelie Delaunay
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: enable USB OTG HS on stm32mp157c-ev1 arch/arm/boot/dts

[PATCH 1/2] ARM: dts: stm32: add USB OTG HS support for stm32mp157c SoC

2018-05-17 Thread Amelie Delaunay
This patch adds support for USB OTG HS on STM32MP157C SoC. USB OTG HS controller is based on DWC2 controller. Signed-off-by: Amelie Delaunay --- arch/arm/boot/dts/stm32mp157c.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi b/arch/arm

Re: [PATCH 1/5] dt-bindings: pinctrl: document the STMFX pinctrl bindings

2018-05-18 Thread Amelie DELAUNAY
On 05/17/2018 08:36 AM, Lee Jones wrote: > On Wed, 16 May 2018, Amelie DELAUNAY wrote: > >> >> >> On 05/16/2018 04:20 PM, Linus Walleij wrote: >>> On Wed, May 9, 2018 at 9:56 AM, Amelie DELAUNAY >>> wrote: >>> >>>> Indeed, stmfx ha

Re: [PATCH 1/5] dt-bindings: pinctrl: document the STMFX pinctrl bindings

2018-05-18 Thread Amelie DELAUNAY
On 05/18/2018 03:52 PM, Lee Jones wrote: > On Fri, 18 May 2018, Amelie DELAUNAY wrote: > >> On 05/17/2018 08:36 AM, Lee Jones wrote: >>> On Wed, 16 May 2018, Amelie DELAUNAY wrote: >>> >>>> >>>> >>>> On 05/16/2018 04:20 PM,

Re: [PATCH 0/5] Add support for STM32F4 SPI

2018-12-17 Thread Amelie DELAUNAY
Hi Cezary, On 12/10/18 8:05 PM, Cezary Gapiński wrote: > Hi Amelie, > > On Mon, 2018-12-10 at 12:37 +0000, Amelie DELAUNAY wrote: >> Hi Cezary, >> >> On 12/9/18 2:53 PM, cezary.gapin...@gmail.com wrote: >>> >>> From: Cezary Gapinski >>

Re: [PATCH 0/5] Add support for STM32F4 SPI

2018-12-10 Thread Amelie DELAUNAY
Hi Cezary, On 12/9/18 2:53 PM, cezary.gapin...@gmail.com wrote: > From: Cezary Gapinski > > This series of patches adds support for first generation of SPI interface > for STM32F4 family. > First of all, thanks for adding STM32F4 SPI support. > This version of driver is mostly different to ST

[PATCH] ARM: dts: stm32: update SPI6 dmas property on stm32mp157c

2018-09-17 Thread Amelie Delaunay
Remove unused parameter from SPI6 dmas property on stm32mp157c SoC. Fixes: dc3f8c86c10d ("ARM: dts: stm32: add SPI support on stm32mp157c") Signed-off-by: Amelie Delaunay --- arch/arm/boot/dts/stm32mp157c.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arc

[PATCH] ARM: dts: stm32: add SPI support on STM32H743 SoC

2018-02-28 Thread Amelie Delaunay
This patch adds all SPI instances of the STM32H743 SoC. Signed-off-by: Amelie Delaunay --- arch/arm/boot/dts/stm32h743.dtsi | 61 1 file changed, 61 insertions(+) diff --git a/arch/arm/boot/dts/stm32h743.dtsi b/arch/arm/boot/dts/stm32h743.dtsi index

Re: [PATCH v3] usb: host: ehci-platform: add support for optional external vbus supply

2018-03-01 Thread Amelie DELAUNAY
Hi Roger, On 02/28/2018 12:01 PM, Roger Quadros wrote: > Hi Amelie, > > On 23/02/18 15:46, Amelie Delaunay wrote: >> On some boards, especially when vbus supply requires large current, >> and the charge pump on the PHY isn't enough, an external vbus power switch >

Re: [PATCH v3] usb: host: ehci-platform: add support for optional external vbus supply

2018-03-01 Thread Amelie DELAUNAY
Hi Robin, On 02/28/2018 02:33 PM, Robin Murphy wrote: > Hi Amelie, > > Just a couple of drive-by coding style comments... > > On 23/02/18 13:46, Amelie Delaunay wrote: >> On some boards, especially when vbus supply requires large current, >> and the charge pump

[PATCH v4 0/2] usb: host: ehci-platform: add support for optional external vbus supply

2018-03-01 Thread Amelie Delaunay
e one external vbus supply per port, so add support to get as many optional regulator as implemented ports on the host controller. Changes in v2: * Address Roger Quadros comments: move regulator_enable/disable from ehci_platform_power_on/off to ehci_platform_port_power. Amelie Delaunay (2):

[PATCH v4 1/2] dt-bindings: usb: ehci: add optional external vbus supply property

2018-03-01 Thread Amelie Delaunay
ch an external vbus supply depends on the platform, is used to make it generic. Signed-off-by: Amelie Delaunay --- Documentation/devicetree/bindings/usb/usb-ehci.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/usb/usb-ehci.txt b/Documentation/devic

[PATCH v4 2/2] usb: host: ehci-platform: add support for optional external vbus supply

2018-03-01 Thread Amelie Delaunay
On some boards, especially when vbus supply requires large current, and the charge pump on the PHY isn't enough, an external vbus power switch may be used. Add support for optional external vbus supply per port in ehci-platform. Signed-off-by: Amelie Delaunay Reviewed-by: Roger Qu

[PATCH RESEND 2/2] usb: dwc2: fix STM32F7 USB OTG HS compatible

2018-03-01 Thread Amelie Delaunay
TG HS") Signed-off-by: Amelie Delaunay --- drivers/usb/dwc2/params.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/usb/dwc2/params.c b/drivers/usb/dwc2/params.c index 03fd20f..c4a4749 100644 --- a/drivers/usb/dwc2/params.c +++ b/drivers/usb/dwc2/params.c @@ -13

[PATCH RESEND 1/2] dt-bindings: usb: fix the STM32F7 DWC2 OTG HS core binding

2018-03-01 Thread Amelie Delaunay
2F7xx DWC2 ...") Signed-off-by: Amelie Delaunay Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/usb/dwc2.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/usb/dwc2.txt b/Documentation/devicetree/bindings/usb/dwc2.txt ind

[PATCH RESEND 0/2] Fix STM32F7 DWC2 OTG HS binding

2018-03-01 Thread Amelie Delaunay
This patchset fixes STM32F7 DWC2 OTG HS binding. It actually re-applies the v2 former patches adding STM32F7 DWC2 OTG HS support. Bindings reviewed by Rob Herring. Amelie Delaunay (2): dt-bindings: usb: fix the STM32F7 DWC2 OTG HS core binding usb: dwc2: fix STM32F7 USB OTG HS compatible

[PATCH v2 0/2] Introduce STM32 USB PHY Controller driver

2018-03-01 Thread Amelie Delaunay
. --- Changes in v2: * Update diagram to better describe the context. * Change boolean dt propery st,port2-switch-to-host into u32 st,utmi-switch. * Silent phy creation failure in case of -EPROBE_DEFER. Amelie Delaunay (2): dt-bindings: phy: add support for STM32 USB PHY Controller (USBPHYC) phy

[PATCH v2 2/2] phy: stm32: add support for STM32 USB PHY Controller (USBPHYC)

2018-03-01 Thread Amelie Delaunay
t (C) 2018 STMicroelectronics + * Author(s): Amelie Delaunay . + */ +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#define STM32_USBPHYC_PLL 0x0 +#define STM32_USBPHYC_MISC 0x8 +#define STM32_USBPHYC_VERSION 0x3F4 + +/* STM32_USBPHYC_PLL

[PATCH v2 1/2] dt-bindings: phy: add support for STM32 USB PHY Controller (USBPHYC)

2018-03-01 Thread Amelie Delaunay
This patch adds the device tree bindings description for STM32 USBPHYC (USB PHY Controller). Signed-off-by: Amelie Delaunay --- .../devicetree/bindings/phy/phy-stm32-usbphyc.txt | 46 ++ 1 file changed, 46 insertions(+) create mode 100644 Documentation/devicetree/bindings

RE: [PATCH] phy: stm32: Fix printing of wrong uninitialized port number

2018-04-05 Thread Amelie DELAUNAY
7 > To: Kishon Vijay Abraham I ; Maxime Coquelin > ; Alexandre TORGUE > ; Amelie DELAUNAY > Cc: linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org; > Geert Uytterhoeven > Subject: [PATCH] phy: stm32: Fix printing of wrong uninitialized port number > > drivers/p

Re: [PATCH 1/5] dt-bindings: pinctrl: document the STMFX pinctrl bindings

2018-05-28 Thread Amelie DELAUNAY
On 05/24/2018 09:13 AM, Linus Walleij wrote: > On Fri, May 18, 2018 at 9:29 AM, Amelie DELAUNAY > wrote: >> On 05/17/2018 08:36 AM, Lee Jones wrote: >>> On Wed, 16 May 2018, Amelie DELAUNAY wrote: >>>> On 05/16/2018 04:20 PM, Linus Walleij wrote: >>>

Re: [PATCH 1/5] dt-bindings: pinctrl: document the STMFX pinctrl bindings

2018-05-16 Thread Amelie DELAUNAY
On 05/16/2018 04:20 PM, Linus Walleij wrote: > On Wed, May 9, 2018 at 9:56 AM, Amelie DELAUNAY > wrote: > >> Indeed, stmfx has other functions than GPIO. But, after comments done >> here: [1] and there: [2], it has been decided to move MFD parent/GPIO >> child dr

Re: [PATCH v4 1/9] dt-bindings: mfd: Add ST Multi-Function eXpander (STMFX) core bindings

2019-02-28 Thread Amelie DELAUNAY
On 2/28/19 12:55 AM, Rob Herring wrote: > On Wed, 27 Feb 2019 10:34:46 +0100, Amelie Delaunay wrote: >> This patch adds documentation of device tree bindings for the >> STMicroelectronics Multi-Function eXpander (STMFX) MFD core. >> >> Signed-off-by: Amelie Delaunay &g

Re: [PATCH v4 1/9] dt-bindings: mfd: Add ST Multi-Function eXpander (STMFX) core bindings

2019-02-28 Thread Amelie DELAUNAY
On 2/28/19 3:41 PM, Rob Herring wrote: > On Thu, Feb 28, 2019 at 2:54 AM Amelie DELAUNAY > wrote: >> >> On 2/28/19 12:55 AM, Rob Herring wrote: >>> On Wed, 27 Feb 2019 10:34:46 +0100, Amelie Delaunay wrote: >>>> This patch adds docume

Re: [PATCH] rtc: stm32: manage the get_irq probe defer case

2019-04-24 Thread Amelie DELAUNAY
On 4/24/19 2:26 PM, Fabien Dessenne wrote: > Manage the -EPROBE_DEFER error case for the wake IRQ. > > Signed-off-by: Fabien Dessenne Acked-by: Amelie Delaunay > --- > drivers/rtc/rtc-stm32.c | 9 ++--- > 1 file changed, 6 insertions(+), 3 deletions(-) > > diff

Re: [PATCH] spi: stm32: return the get_irq error

2019-04-24 Thread Amelie DELAUNAY
On 4/24/19 2:38 PM, Fabien Dessenne wrote: > During probe, return the "get_irq" error value instead of -ENOENT. This > allows the driver to be defer probed if needed. > > Signed-off-by: Fabien Dessenne Acked-by: Amelie Delaunay > --- > drivers/spi/spi-stm32.c | 5

[PATCH v5 0/9] Introduce STMFX I2C Multi-Function eXpander

2019-04-09 Thread Amelie Delaunay
27;mask' may be used uninitialized in this function Changes in v2: - move to MFD parent driver for i2c stuff and chip initialization - improve regmap configuration - take advantage of the use of gpio-ranges Amelie Delaunay (9): dt-bindings: mfd: Add ST Multi-Function eXpander (STMFX) core bin

[PATCH v5 8/9] ARM: dts: stm32: add STMFX support on stm32mp157c-ev1

2019-04-09 Thread Amelie Delaunay
This patch adds support for STMicroelectronics Multi-Function eXpander (STMFX) on stm32mp157c-ev1. It is connected on i2c2. Signed-off-by: Amelie Delaunay --- arch/arm/boot/dts/stm32mp157c-ev1.dts | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts

[PATCH v5 9/9] ARM: dts: stm32: add joystick support on stm32mp157c-ev1

2019-04-09 Thread Amelie Delaunay
The joystick (B1) on stm32mp157c-ev1 uses gpios on STMFX gpio expander. These gpios need a pin configuration (push-pull and bias-pull-down), described under stmfx_pinctrl node. Signed-off-by: Amelie Delaunay --- arch/arm/boot/dts/stm32mp157c-ev1.dts | 44 +++ 1

[PATCH v5 4/9] pinctrl: Add STMFX GPIO expander Pinctrl/GPIO driver

2019-04-09 Thread Amelie Delaunay
This patch adds pinctrl/GPIO driver for STMicroelectronics Multi-Function eXpander (STMFX) GPIO expander. STMFX is an I2C slave controller, offering up to 24 GPIOs. The driver relies on generic pin config interface to configure the GPIOs. Signed-off-by: Amelie Delaunay --- drivers/pinctrl

[PATCH v5 6/9] ARM: dts: stm32: add joystick support on stm32746g-eval

2019-04-09 Thread Amelie Delaunay
The joystick (B3) on stm32746g-eval uses gpios on STMFX gpio expander. These gpios need a pin configuration (push-pull and bias-pull-up), described under stmfx_pinctrl node. Signed-off-by: Amelie Delaunay Acked-by: Linus Walleij --- arch/arm/boot/dts/stm32746g-eval.dts | 43

[PATCH v5 7/9] ARM: dts: stm32: add orange and blue leds on stm32746g-eval

2019-04-09 Thread Amelie Delaunay
Orange (LD2) and blue (LD4) leds on stm32746g-eval are connected on STMFX gpio expander, offset 17 and 19. Signed-off-by: Amelie Delaunay Acked-by: Linus Walleij --- arch/arm/boot/dts/stm32746g-eval.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/stm32746g

[PATCH v5 1/9] dt-bindings: mfd: Add ST Multi-Function eXpander (STMFX) core bindings

2019-04-09 Thread Amelie Delaunay
This patch adds documentation of device tree bindings for the STMicroelectronics Multi-Function eXpander (STMFX) MFD core. Signed-off-by: Amelie Delaunay Reviewed-by: Linus Walleij Reviewed-by: Rob Herring Acked-for-MFD-by: Lee Jones --- Documentation/devicetree/bindings/mfd/stmfx.txt | 28

[PATCH v5 2/9] mfd: Add ST Multi-Function eXpander (STMFX) core driver

2019-04-09 Thread Amelie Delaunay
- Main MCU IDD measurement - Resistive touchscreen controller Signed-off-by: Amelie Delaunay --- drivers/mfd/Kconfig | 13 ++ drivers/mfd/Makefile | 2 +- drivers/mfd/stmfx.c | 566 ++ include/linux/mfd/stmfx.h | 123 ++ 4

[PATCH v5 3/9] dt-bindings: pinctrl: document the STMFX pinctrl bindings

2019-04-09 Thread Amelie Delaunay
This patch adds documentation of device tree bindings for the STMicroelectronics Multi-Function eXpander (STMFX) GPIO expander. Signed-off-by: Amelie Delaunay Reviewed-by: Linus Walleij Reviewed-by: Rob Herring --- .../devicetree/bindings/pinctrl/pinctrl-stmfx.txt | 116

[PATCH v5 5/9] ARM: dts: stm32: add STMFX support on stm32746g-eval

2019-04-09 Thread Amelie Delaunay
This patch adds support for STMicroelectronics Multi-Function eXpander (STMFX) on stm32746g-eval. It is connected on i2c1. Signed-off-by: Amelie Delaunay Acked-by: Linus Walleij --- arch/arm/boot/dts/stm32746g-eval.dts | 17 + 1 file changed, 17 insertions(+) diff --git a/arch

Re: [PATCH v3 2/7] mfd: Add ST Multi-Function eXpander (STMFX) core driver

2019-02-27 Thread Amelie DELAUNAY
On 10/9/18 11:55 AM, Lee Jones wrote: > On Thu, 27 Sep 2018, Amelie Delaunay wrote: > >> STMicroelectronics Multi-Function eXpander (STMFX) is a slave controller >> using I2C for communication with the main MCU. Main features are: >> - 16 fast GPIOs individually conf

[PATCH v4 1/9] dt-bindings: mfd: Add ST Multi-Function eXpander (STMFX) core bindings

2019-02-27 Thread Amelie Delaunay
This patch adds documentation of device tree bindings for the STMicroelectronics Multi-Function eXpander (STMFX) MFD core. Signed-off-by: Amelie Delaunay Reviewed-by: Linus Walleij Acked-for-MFD-by: Lee Jones --- Documentation/devicetree/bindings/mfd/stmfx.txt | 28

[PATCH v4 0/9] Introduce STMFX I2C Multi-Function eXpander

2019-02-27 Thread Amelie Delaunay
- fix drivers/mfd/stmfx.c:103:8: warning: 'mask' may be used uninitialized in this function Changes in v2: - move to MFD parent driver for i2c stuff and chip initialization - improve regmap configuration - take advantage of the use of gpio-ranges Amelie Delaunay (9): dt-bindings: m

[PATCH v4 4/9] pinctrl: Add STMFX GPIO expander Pinctrl/GPIO driver

2019-02-27 Thread Amelie Delaunay
This patch adds pinctrl/GPIO driver for STMicroelectronics Multi-Function eXpander (STMFX) GPIO expander. STMFX is an I2C slave controller, offering up to 24 GPIOs. The driver relies on generic pin config interface to configure the GPIOs. Signed-off-by: Amelie Delaunay --- drivers/pinctrl

[PATCH v4 9/9] ARM: dts: stm32: add joystick support on stm32mp157c-ev1

2019-02-27 Thread Amelie Delaunay
The joystick (B1) on stm32mp157c-ev1 uses gpios on STMFX gpio expander. These gpios need a pin configuration (push-pull and bias-pull-down), described under stmfx_pinctrl node. Signed-off-by: Amelie Delaunay --- arch/arm/boot/dts/stm32mp157c-ev1.dts | 44 +++ 1

[PATCH v4 7/9] ARM: dts: stm32: add orange and blue leds on stm32746g-eval

2019-02-27 Thread Amelie Delaunay
Orange (LD2) and blue (LD4) leds on stm32746g-eval are connected on STMFX gpio expander, offset 17 and 19. Signed-off-by: Amelie Delaunay Acked-by: Linus Walleij --- arch/arm/boot/dts/stm32746g-eval.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/stm32746g

[PATCH v4 8/9] ARM: dts: stm32: add STMFX support on stm32mp157c-ev1

2019-02-27 Thread Amelie Delaunay
This patch adds support for STMicroelectronics Multi-Function eXpander (STMFX) on stm32mp157c-ev1. It is connected on i2c2. Signed-off-by: Amelie Delaunay --- arch/arm/boot/dts/stm32mp157c-ev1.dts | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts

[PATCH v4 3/9] dt-bindings: pinctrl: document the STMFX pinctrl bindings

2019-02-27 Thread Amelie Delaunay
This patch adds documentation of device tree bindings for the STMicroelectronics Multi-Function eXpander (STMFX) GPIO expander. Signed-off-by: Amelie Delaunay Reviewed-by: Linus Walleij Reviewed-by: Rob Herring --- .../devicetree/bindings/pinctrl/pinctrl-stmfx.txt | 116

[PATCH v4 6/9] ARM: dts: stm32: add joystick support on stm32746g-eval

2019-02-27 Thread Amelie Delaunay
The joystick (B3) on stm32746g-eval uses gpios on STMFX gpio expander. These gpios need a pin configuration (push-pull and bias-pull-up), described under stmfx_pinctrl node. Signed-off-by: Amelie Delaunay Acked-by: Linus Walleij --- arch/arm/boot/dts/stm32746g-eval.dts | 43

[PATCH v4 5/9] ARM: dts: stm32: add STMFX support on stm32746g-eval

2019-02-27 Thread Amelie Delaunay
This patch adds support for STMicroelectronics Multi-Function eXpander (STMFX) on stm32746g-eval. It is connected on i2c1. Signed-off-by: Amelie Delaunay Acked-by: Linus Walleij --- arch/arm/boot/dts/stm32746g-eval.dts | 17 + 1 file changed, 17 insertions(+) diff --git a/arch

  1   2   3   4   5   6   >