[PATCH] irqchip/stm32-exti: map direct event to irq parent

2020-07-06 Thread Alexandre Torgue
Signed-off-by: Alexandre Torgue diff --git a/drivers/irqchip/irq-stm32-exti.c b/drivers/irqchip/irq-stm32-exti.c index faa8482c8246..26e812aa 100644 --- a/drivers/irqchip/irq-stm32-exti.c +++ b/drivers/irqchip/irq-stm32-exti.c @@ -42,6 +42,7 @@ struct stm32_exti_bank { struct stm32_desc_irq {

[RESEND PATCH] irqchip/stm32-exti: Use the hwspin_lock_timeout_in_atomic() API

2020-07-06 Thread Alexandre Torgue
From: Fabien Dessenne Now that the hwspin_lock_timeout_in_atomic() API is available use it. Signed-off-by: Fabien Dessenne Signed-off-by: Alexandre Torgue diff --git a/drivers/irqchip/irq-stm32-exti.c b/drivers/irqchip/irq-stm32-exti.c index faa8482c8246..c7ab69694931 100644 --- a/drivers

[PATCH 1/2] pinctrl: stm32: return proper error code in pin_config_set

2020-06-15 Thread Alexandre Torgue
".pin_config_set" or ".pin_config_group_set" can be called with a configuration not supported (i.e. PIN_CONFIG_PERSIST_STATE). In this case, it is more suitable to return -ENOTSUPP instead of -EINVAL. Signed-off-by: Alexandre Torgue diff --git a/drivers/pinctrl/stm32/pinctr

[PATCH 2/2] pinctrl: stm32: add possibility to configure pins individually

2020-06-15 Thread Alexandre Torgue
Adds the possibility to configure a single pin through the gpiolib (i.e: to set PULL_UP/PULL_DOWN config). Mutex behavior is slightly changed to avoid a deadlock when pin_config_set is called (in this case pctldev->mutex is already taken). Signed-off-by: Alexandre Torgue diff --git a/driv

[PATCH 0/2] pinctrl: stm32: Add possibility to configure only one pin

2020-06-15 Thread Alexandre Torgue
Hi, Currently stm32 pinctrl driver offers only the possibility to configure pins groups thanks "pin_config_group_set" callback. To configure pins thanks to the GPIOlib (i.e. GPIO_PULL_UP ...) this driver needs also to support "pin_config_set" callback. Regards Alex

[PATCH 2/2] pinctrl: stm32: defer probe if reset resource is not yet ready

2020-06-15 Thread Alexandre Torgue
From: Etienne Carriere Defer probe when pin controller reset is defined in the system resources but not yet probed. Signed-off-by: Etienne Carriere Signed-off-by: Alexandre Torgue diff --git a/drivers/pinctrl/stm32/pinctrl-stm32.c b/drivers/pinctrl/stm32/pinctrl-stm32.c index c15460ef2307

[PATCH 1/2] pinctrl: stm32: don't print an error on probe deferral during clock get

2020-06-15 Thread Alexandre Torgue
. To not waste time in this case, it is better to check first if all clocks are available before registering banks. Signed-off-by: Etienne Carriere Signed-off-by: Alexandre Torgue diff --git a/drivers/pinctrl/stm32/pinctrl-stm32.c b/drivers/pinctrl/stm32/pinctrl-stm32.c index a657cd829ce6

[PATCH 0/2] pinctrl: stm32: add changes to better manage

2020-06-15 Thread Alexandre Torgue
Hi, Clocks and resets for GPIO banks could be defined but not yet ready when stm32 pinctrl is probed. This series adds changes to manage probe defer when a clock or a reset is not yet registered in the system. regards alex Etienne Carriere (2): pinctrl: stm32: don't print an error on probe

[PATCH] pinctrl: stm32: use the hwspin_lock_timeout_in_atomic() API

2020-06-15 Thread Alexandre Torgue
-by: Fabien Dessenne Signed-off-by: Alexandre Torgue diff --git a/drivers/pinctrl/stm32/pinctrl-stm32.c b/drivers/pinctrl/stm32/pinctrl-stm32.c index a657cd829ce6..1f7fff84aa9d 100644 --- a/drivers/pinctrl/stm32/pinctrl-stm32.c +++ b/drivers/pinctrl/stm32/pinctrl-stm32.c @@ -64,7 +64,7

Re: [PATCH 1/5] ARM: dts: stm32: add usart2, usart3 and uart7 pins in stm32mp15-pinctrl

2020-06-15 Thread Alexandre Torgue
Hi Erwan On 5/28/20 9:40 AM, Erwan Le Ray wrote: Adds usart2_pins_c, usart3_pins_b, usart3_pins_c and uart7_pins_c pins configurations in stm32mp15-pinctrl. - usart2_pins_c pins are connected to Bluetooth chip on dk2 board. - usart3_pins_b pins are connected to GPIO expansion connector on evx

Re: [PATCH 0/2] STM32 Fix uart nodes in stm32mp15-pinctrl

2020-06-15 Thread Alexandre Torgue
Hi Erwan On 5/28/20 9:40 AM, Erwan Le Ray wrote: Fix uart nodes ordering and uart7_pins_a comments in stm32mp15-pinctrl. Erwan Le Ray (2): ARM: dts: stm32: fix uart nodes ordering in stm32mp15-pinctrl ARM: dts: stm32: fix uart7_pins_a comments in stm32mp15-pinctrl

Re: [PATCH 0/3] STM32 update uart4 pin configuration for low power

2020-06-15 Thread Alexandre Torgue
Hi Erwan On 5/28/20 9:38 AM, Erwan Le Ray wrote: Update uart4 pin configuration for low power in pinctrl, and for ed/ev and dkx boards. Erwan Le Ray (3): ARM: dts: stm32: update uart4 pin configuration for low power on stm32mp157 ARM: dts: stm32: Update pin states for uart4 on

Re: [PATCH 00/15] Fix STM32 DT issues on v5.7-rc4

2020-06-15 Thread Alexandre Torgue
Hi Benjamin On 5/13/20 4:59 PM, Benjamin Gaignard wrote: This series fixes issues hight lighted by dtbs_check on STM32 devicetrees. The patches has been developped on top of v5.7-rc4 tag. Benjamin Gaignard (15): ARM: dts: stm32: remove useless interrupt-names property on stm32f429 ARM:

Re: [PATCH v6 2/9] ARM: dts: stm32: Add pin map for ltdc & spi5 on stm32f429-disco board

2020-06-15 Thread Alexandre Torgue
Hi Dillon On 5/27/20 9:27 AM, dillon.min...@gmail.com wrote: From: dillon min This patch adds the pin configuration for ltdc and spi5 controller on stm32f429-disco board. Signed-off-by: dillon min --- arch/arm/boot/dts/stm32f4-pinctrl.dtsi | 67 ++ 1 file

Re: [PATCH v4 0/4] Enable stmpe811 touch screen on stm32f429-disco board

2020-06-15 Thread Alexandre Torgue
Hi Dillon On 6/9/20 3:26 PM, dillon.min...@gmail.com wrote: From: dillon min This patchset is intend to enable stmpe811 touch screen on stm32f429-disco board with three dts and one i2c driver changes. has been validated by ts_print tool Changes log: V4: indroduce 'IIC_LAST_BYTE_POS' to

Re: [PATCH v6 0/9] Enable ili9341 and l3gd20 on stm32f429-disco

2020-06-15 Thread Alexandre Torgue
Hi Dillon, On 5/27/20 9:27 AM, dillon.min...@gmail.com wrote: From: dillon min ... dillon min (9): ARM: dts: stm32: Add dma config for spi5 ARM: dts: stm32: Add pin map for ltdc & spi5 on stm32f429-disco board ARM: dts: stm32: enable ltdc binding with ili9341, gyro l3gd20 on

Re: [PATCH v2 2/3] ARM: dts: stm32: enable l3gd20 on stm32429-disco board

2020-05-14 Thread Alexandre Torgue
On 5/14/20 9:07 AM, dillon min wrote: Hi Alexandre, Alexandre Torgue 于2020年5月14日周四 下午10:10写道: Hi Dillon On 5/12/20 9:36 AM, dillon.min...@gmail.com wrote: From: dillon min L3gd20, st mems motion sensor, 3-axis digital output gyroscope, connect to stm32f429 via spi5 Signed-off

Re: [PATCH v2 2/3] ARM: dts: stm32: enable l3gd20 on stm32429-disco board

2020-05-14 Thread Alexandre Torgue
Hi Dillon On 5/12/20 9:36 AM, dillon.min...@gmail.com wrote: From: dillon min L3gd20, st mems motion sensor, 3-axis digital output gyroscope, connect to stm32f429 via spi5 Signed-off-by: dillon min --- Hi Alexandre, V2: 1, insert blank line at stm32f420-disco.dts line 143 2, add

Re: [PATCH 00/15] Fix STM32 DT issues on v5.7-rc4

2020-05-14 Thread Alexandre Torgue
Hi Benjamin On 5/13/20 4:59 PM, Benjamin Gaignard wrote: This series fixes issues hight lighted by dtbs_check on STM32 devicetrees. The patches has been developped on top of v5.7-rc4 tag. Benjamin Gaignard (15): ARM: dts: stm32: remove useless interrupt-names property on stm32f429 ARM:

Re: [PATCH v3 3/5] ARM: dts: stm32: enable ltdc binding with ili9341 on stm32429-disco board

2020-05-14 Thread Alexandre Torgue
On 5/14/20 10:24 AM, Linus Walleij wrote: On Tue, May 12, 2020 at 9:04 AM wrote: From: dillon min Enable the ltdc & ili9341 on stm32429-disco board. Signed-off-by: dillon min This mostly looks good but... + { + status = "okay"; + pinctrl-0 = <_pins>; +

Re: [PATCH v2 0/6] Add Stinger96 and IoT Box board support

2020-05-14 Thread Alexandre Torgue
Hi Mani On 5/3/20 5:42 PM, m...@kernel.org wrote: From: Manivannan Sadhasivam Hello, This series adds Stinger96 and IoT Box board support. These boards are based on STM32MP157A SoC, designed and manufactured by Shiratech solutions. The Stinger96 is a base board (96Boards IoT Extended

Re: [PATCH 2/3] ARM: dts: stm32: enable l3gd20 on stm32429-disco board

2020-05-11 Thread Alexandre Torgue
Hi On 5/9/20 8:58 AM, dillon.min...@gmail.com wrote: From: dillon min Enable l3gd20 on stm32429-disco board. You could add some words about l3gd20 Signed-off-by: dillon min --- arch/arm/boot/dts/stm32f429-disco.dts | 24 1 file changed, 24 insertions(+) diff

Re: [PATCH 3/4] ARM: dts: stm32: enable stmpe811 on stm32429-disco board

2020-05-07 Thread Alexandre Torgue
On 5/7/20 2:13 PM, Hua Dillon wrote: hi, alexandre torgue so, if i add "---" below  Signed-off-by: dillon min <mailto:dillon.min...@gmail.com>>  in git commit process, with changes log after that.  the log will not show in commit messages, but will exist in git p

Re: [PATCH V2 3/4] ARM: dts: stm32: enable stmpe811 on stm32429-disco board

2020-05-07 Thread Alexandre Torgue
Hi Dillon On 5/7/20 1:15 PM, dillon.min...@gmail.com wrote: From: dillon min Enable the stmpe811 touch screen on stm32429-disco board. Signed-off-by: dillon min [PATCH 3/4]: ARM: dts: stm32: enable stmpe811 on stm32429-disco V2: patch 3: remove unused id, blocks, irq-trigger V1: patch 4:

Re: [PATCH 3/4] ARM: dts: stm32: enable stmpe811 on stm32429-disco board

2020-05-07 Thread Alexandre Torgue
Hi Dillon On 5/7/20 11:16 AM, dillon.min...@gmail.com wrote: From: dillon min Enable the stmpe811 touch screen on stm32429-disco board. Signed-off-by: dillon min --- You have to add version to your patches. When you send updates of your patches, it is better to resend the whole series by

Re: [PATCH] ARM: dts: stm32: bump PSCI to version 1.0 on stm32mp15x

2020-05-07 Thread Alexandre Torgue
Hi Etienne On 5/6/20 7:48 PM, Etienne Carriere wrote: From: Etienne Carriere Declare PSCI v1.0 support instead of v0.1 as the former is supported by the PSCI firmware stacks stm32mp15x relies on. Signed-off-by: Etienne Carriere --- arch/arm/boot/dts/stm32mp151.dtsi | 4 +--- 1 file

Re: [PATCH] ARM: dts: stm32: Enable thermal sensor support on stm32mp15xx-dkx

2020-05-05 Thread Alexandre Torgue
Hi Pascal On 4/30/20 3:02 PM, Pascal Paillet wrote: Enable STM32 Digital Thermal Sensor driver for stm32mp15xx-dkx boards. Signed-off-by: Pascal Paillet --- arch/arm/boot/dts/stm32mp15xx-dkx.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi

Re: [PATCH] ARM: dts: stm32: add sd-uhs properties in SD-card node for stm32mp157c-ed1

2020-05-05 Thread Alexandre Torgue
Hi Yann On 4/30/20 12:16 PM, Yann Gautier wrote: The sdmmc1 peripheral is connected on SD-card on STM32MP1-ED1 board. Add the UHS features the controller is able to manage. Those features require a level shifter on the board, and the support of the voltage switch in driver, which is done in

Re: [PATCH 1/4] add dts node for drm panel driver ili9341 add dts i2c3 for stmpe touch add dts spi5 for gyro & ili9341

2020-04-30 Thread Alexandre Torgue
On 4/30/20 12:26 PM, dillon min wrote: Hi Alexandre, Alexandre Torgue <mailto:alexandre.tor...@st.com>> 于2020年4月30日周四 下午5:57写道: Hi On 4/30/20 11:43 AM, dillon.min...@gmail.com <mailto:dillon.min...@gmail.com> wrote: > From: dillon min mailto:dillo

Re: [PATCH 1/4] add dts node for drm panel driver ili9341 add dts i2c3 for stmpe touch add dts spi5 for gyro & ili9341

2020-04-30 Thread Alexandre Torgue
Hi On 4/30/20 11:43 AM, dillon.min...@gmail.com wrote: From: dillon min Signed-off-by: dillon min Commit title should be ARM: dts: stm32: bla bla on stm32f429 and please a commit message. --- .../bindings/display/panel/ilitek,ili9341.txt | 42 +++

Re: [PATCH] add drm panel driver for stm32f429-dicovery board the change details:

2020-04-30 Thread Alexandre Torgue
Hi, You have first to split this patch in several patches and add relevant people in TO (using get_maintainer script) for each patch. Quickly, you should at least have 4 patches (DT, clock driver, spi driver and drm ). Then review will be more efficient. regards Alexandre On 4/30/20 10:07

Re: [PATCH 6/6] ARM: dts: stm32mp1: Add IoT Box board support

2020-04-29 Thread Alexandre Torgue
Hi Mani On 4/20/20 7:31 PM, m...@kernel.org wrote: From: Manivannan Sadhasivam IoT Box is an IoT gateway device based on Stinger96 board powered by STM32MP1 SoC, designed and manufactured by Shiratech Solutions. This device makes use of Stinger96 board by having it as a base board with one

Re: [PATCH v2] ARM: dts: stm32: add cortex-M4 pdds management in Cortex-M4 node

2020-04-28 Thread Alexandre Torgue
Hi Arnaud On 4/1/20 5:03 PM, Arnaud Pouliquen wrote: Add declarations related to the syscon pdds for deep sleep management. Signed-off-by: Arnaud Pouliquen --- v2: patch rebasing arch/arm/boot/dts/stm32mp151.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git

Re: [PATCH 0/5] i2c: i2c-stm32f7: enhance FastModePlus support

2020-04-28 Thread Alexandre Torgue
Hi Alain On 1/23/20 5:12 PM, Alain Volmat wrote: This serie enhance Fast Mode Plus support in the i2c-stm32f7 driver (support suspend/resume) and add the support for the stm32mp15 SoC that has new syscfg bits. Alain Volmat (5): i2c: i2c-stm32f7: disable/restore Fast Mode Plus bits in low

Re: [PATCH 2/2] arm: dts: stm32f769-disco: Enable MIPI DSI display support

2020-04-28 Thread Alexandre Torgue
Hi Adrian On 4/27/20 10:05 PM, Adrian Pop wrote: Added lee.jo...@linaro.org. First, thank you all for taking a look at my changes! no pb. Hello Alex, On Mon, Apr 27, 2020 at 11:28 AM Alexandre Torgue wrote: Hi Adrian On 4/24/20 8:21 PM, Adrian Pop wrote: STM32f769-disco features a 4

Re: [PATCH] dt-bindings: watchdog: Convert stm32 watchdog bindings to json-schema

2019-10-17 Thread Alexandre Torgue
Hi Benjamin On 10/17/19 2:41 PM, Benjamin Gaignard wrote: Convert the STM32 watchdog binding to DT schema format using json-schema Signed-off-by: Benjamin Gaignard --- .../devicetree/bindings/watchdog/st,stm32-iwdg.txt | 26 --- .../bindings/watchdog/st,stm32-iwdg.yaml |

[PATCH 4/4] ARM: dts: stm32: fix regulator-sd_switch node on stm32mp157c-ed1 board

2019-10-07 Thread Alexandre Torgue
This commit fixes regulator-sd_switch node in order to be compliant to DT validation schema. Signed-off-by: Alexandre Torgue diff --git a/arch/arm/boot/dts/stm32mp157c-ed1.dts b/arch/arm/boot/dts/stm32mp157c-ed1.dts index 1d426ea8bdaf..329853d9b1de 100644 --- a/arch/arm/boot/dts/stm32mp157c

[PATCH 3/4] ARM: dts: stm32: remove usb phy-names entries on stm32mp157c-ev1

2019-10-07 Thread Alexandre Torgue
"phy-names" entries are not used. To be compliant with DT validation tool, those entries have to be remove. Signed-off-by: Alexandre Torgue diff --git a/arch/arm/boot/dts/stm32mp157c-ev1.dts b/arch/arm/boot/dts/stm32mp157c-ev1.dts index 6287db532e7d..2baae5f25e2c 100644 --- a/arch/ar

[PATCH 0/4] ARM: dts: stm32: Add fixes to be compliant with DT validation tool

2019-10-07 Thread Alexandre Torgue
This series updates STM32 DT files in order to clean some issues seen during STM32 device trees validation ("make dtbs_check"). Regards Alex Alexandre Torgue (4): ARM: dts: stm32: fix memory nodes to match with DT validation tool ARM: dts: stm32: fix joystick node on

[PATCH 1/4] ARM: dts: stm32: fix memory nodes to match with DT validation tool

2019-10-07 Thread Alexandre Torgue
DT validation ("make dtbs_check") has shown that some memory nodes were not correctly written. This commit fixes this kind of issue: "stm32f746-disco.dt.yaml: /: memory: False schema does not allow {'device_type': ['memory'], 'reg': [[3221225472, 8388608]]}" Signed-off-

[PATCH 2/4] ARM: dts: stm32: fix joystick node on stm32f746 and stm32mp157c eval boards

2019-10-07 Thread Alexandre Torgue
"#size-cells" entry is not needed for "gpio-keys" driver. Indeed "reg" entry is not used. This commit will fix a warnings seen by DT validation tool. Signed-off-by: Alexandre Torgue diff --git a/arch/arm/boot/dts/stm32746g-eval.dts b/arch/arm/boot/dts/stm3274

Re: [PATCH 1/3] dt-bindings: media: Fix id path for sun4i-a10-csi

2019-10-07 Thread Alexandre Torgue
On 10/7/19 1:00 PM, Maxime Ripard wrote: Hi Alexandre, On Mon, Oct 07, 2019 at 12:25:50PM +0200, Alexandre Torgue wrote: This commit fixes id path of allwinner,sun4i-a10-csi.yaml location. Fixes: c5e8f4ccd775 ("media: dt-bindings: media: Add Allwinner A10 CSI binding")

Re: [PATCH 2/3] dt-bindings: net: adi: Fix yaml verification issue

2019-10-07 Thread Alexandre Torgue
Hi Rob On 10/7/19 3:56 PM, Rob Herring wrote: On Mon, Oct 7, 2019 at 5:26 AM Alexandre Torgue wrote: This commit fixes an issue seen during yaml check ("make dt_binding_check"). Each enum were not declared as uint32. "Documentation/devicetree/bindings/net/adi,adin.yaml: pr

[PATCH 0/3] dt-bindings: fix issues seen during STM32 DT validation

2019-10-07 Thread Alexandre Torgue
This series updates yaml files to clean some issues seen during STM32 device trees validation. Alexandre Torgue (3): dt-bindings: arm: stm32: Add missing STM32 boards dt-bindings: pinctrl: stm32: Fix 'st,syscfg' description field dt-bindings: usb: generic-ehci: Add "companion&q

[PATCH 3/3] dt-bindings: usb: generic-ehci: Add "companion" entry

2019-10-07 Thread Alexandre Torgue
"companion" entry is present in "generic.txt" usb binding file. This commit adds it also in generic-ehci yaml binding. Signed-off-by: Alexandre Torgue diff --git a/Documentation/devicetree/bindings/usb/generic-ehci.yaml b/Documentation/devicetree/bindings/usb/gen

[PATCH 1/3] dt-bindings: arm: stm32: Add missing STM32 boards

2019-10-07 Thread Alexandre Torgue
This commit documents missing STM32 boards: -STM32MCU: F429 disco/eval, F469-disco, F746 disco/eval, F769 disco, H743 disco/eval. -STM32MPU: MP157 dk1/dk2/ed1/ev1. Signed-off-by: Alexandre Torgue diff --git a/Documentation/devicetree/bindings/arm/stm32/stm32.yaml b/Documentation/devicetree

[PATCH 2/3] dt-bindings: pinctrl: stm32: Fix 'st,syscfg' description field

2019-10-07 Thread Alexandre Torgue
As there is only one item "st,syscfg" this commit moves phandle description fields under "description" tag. It'll fix a validation issue seen during stm32 DT check. Signed-off-by: Alexandre Torgue diff --git a/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.y

[PATCH 0/3] Fixes for dt-bindings verification

2019-10-07 Thread Alexandre Torgue
Using "make dt_binding_check" on top v5.4-rc1 some errors are reported in several schemas. Those 3 patches allow to execute "make dt_binding_check" without issues. Most probably those patches have alread been sent. regards Alexandre Alexandre Torgue (3): dt-bindings

[PATCH 1/3] dt-bindings: media: Fix id path for sun4i-a10-csi

2019-10-07 Thread Alexandre Torgue
This commit fixes id path of allwinner,sun4i-a10-csi.yaml location. Fixes: c5e8f4ccd775 ("media: dt-bindings: media: Add Allwinner A10 CSI binding") Signed-off-by: Alexandre Torgue diff --git a/Documentation/devicetree/bindings/media/allwinner,sun4i-a10-csi.yaml b/Documentation/

[PATCH 2/3] dt-bindings: net: adi: Fix yaml verification issue

2019-10-07 Thread Alexandre Torgue
valid under any of the given schemas" Fixes: 767078132ff9 ("dt-bindings: net: add bindings for ADIN PHY driver") Signed-off-by: Alexandre Torgue diff --git a/Documentation/devicetree/bindings/net/adi,adin.yaml b/Documentation/devicetree/bindings/net/adi,adin.yaml index d95

[PATCH 3/3] dt-bindings: regulator: Fix yaml verification for fixed-regulator schema

2019-10-07 Thread Alexandre Torgue
': 'regulator-fixed-clock'} is not of type 'string'" Fixes: 9c86d003d620 ("dt-bindings: regulator: add regulator-fixed-clock binding") Signed-off-by: Alexandre Torgue diff --git a/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml b/Documentation/devicetree/bindi

Re: [PATCH] ARM: dts: stm32: add focaltech touchscreen on stm32mp157c-dk2 board

2019-10-04 Thread Alexandre Torgue
Hi yannick On 10/4/19 3:17 PM, Yannick Fertré wrote: Enable focaltech ft6236 touchscreen on STM32MP157C-DK2 board. Signed-off-by: Yannick Fertré --- arch/arm/boot/dts/stm32mp157c-dk2.dts | 13 + 1 file changed, 13 insertions(+) diff --git

Re: [PATCH] ARM: dts: stm32: add focaltech touchscreen on stm32mp157c-dk2 board

2019-10-03 Thread Alexandre Torgue
Hi Yannick On 9/30/19 4:45 PM, Yannick Fertré wrote: Enable focaltech ft6236 touchscreen on STM32MP157C-DK2 board. This device supports 2 different addresses (0x2a and 0x38) depending on the display board version (MB1407). Signed-off-by: Yannick Fertré ---

Re: [PATCH 0/5] net: ethernet: stmmac: some fixes and optimization

2019-10-03 Thread Alexandre Torgue
Hi Christophe On 9/20/19 7:38 AM, Christophe Roullier wrote: Some improvements (manage syscfg as optional clock, update slew rate of ETH_MDIO pin, Enable gating of the MAC TX clock during TX low-power mode) Fix warning build message when W=1 Christophe Roullier (5): net: ethernet: stmmac:

Re: [PATCH 1/5] net: ethernet: stmmac: Add support for syscfg clock

2019-10-03 Thread Alexandre Torgue
+-- 1 file changed, 25 insertions(+), 11 deletions(-) Acked-by: Alexandre TORGUE diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-stm32.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-stm32.c index 4ef041bdf6a1..7e6619868cc1 100644 --- a/drivers/net/ethernet/stmicro/stmmac/dwmac-stm32.c

Re: [PATCH 2/5] net: ethernet: stmmac: fix warning when w=1 option is used during build

2019-10-03 Thread Alexandre Torgue
Hi, On 9/20/19 7:38 AM, Christophe Roullier wrote: This patch fix the following warning: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] int val, ret; Signed-off-by: Christophe Roullier --- Acked-by: Alexandre TORGUE drivers/net/ethernet/stmicro/stmmac/dwmac

Re: [PATCH 0/3] Add support for ADC on stm32mp157a-dk1

2019-10-03 Thread Alexandre Torgue
Hi Fabrice On 9/13/19 4:34 PM, Fabrice Gasnier wrote: This series adds support for ADC on stm32mp157a-dk1 board: - enable vrefbuf regulator used as reference voltage - define ADC pins for AIN connector and USB Type-C CC pins - configure ADC1 and ADC2 to use these Fabrice Gasnier (3): ARM:

Re: [PATCH] ARM: dts: stm32: move ltdc pinctrl on stm32mp157a dk1 board

2019-10-03 Thread Alexandre Torgue
Hi Yannick On 8/2/19 4:08 PM, Yannick Fertré wrote: The ltdc pinctrl must be in the display controller node and not in the peripheral node (hdmi bridge). Signed-off-by: Yannick Fertré --- arch/arm/boot/dts/stm32mp157a-dk1.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)

Re: [PATCH 0/4] ARM: multi_v7_defconfig: add audio support for stm32mp157a-dk1

2019-10-03 Thread Alexandre Torgue
Hi Olivier, On 9/2/19 6:42 PM, Arnd Bergmann wrote: On Mon, Sep 2, 2019 at 6:01 PM Olivier Moysan wrote: This patchset adds audio support for stm32mp157a-dk1 board. Olivier Moysan (4): ARM: multi_v7_defconfig: enable stm32 sai support ARM: multi_v7_defconfig: enable stm32 i2s support

Re: [PATCH v3 5/5] ARM: dts: stm32: add ddrperfm on stm32mp157c

2019-08-29 Thread Alexandre Torgue
Hi Gerald On 8/27/19 5:08 PM, Gerald BAEZA wrote: The DDRPERFM is the DDR Performance Monitor embedded in STM32MP1 SOC. Signed-off-by: Gerald Baeza ---  arch/arm/boot/dts/stm32mp157c.dtsi | 8  1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi

Re: linux-next: Fixes tags need some work in the arm-soc tree

2019-08-26 Thread Alexandre Torgue
Hi guys On 8/13/19 11:47 PM, Stephen Rothwell wrote: Hi Arnd, On Tue, 13 Aug 2019 21:35:58 +0200 Arnd Bergmann wrote: On Tue, Aug 13, 2019 at 4:28 PM Stephen Rothwell wrote: Please do not split Fixes tags over more than one line. Also, please keep them with the rest of the other tags.

Re: [PATCH] ARM: dts: stm32: add DFSDM pins to stm32mp157c

2019-08-02 Thread Alexandre Torgue
Hi Olivier On 8/1/19 9:46 AM, Olivier Moysan wrote: Add DFSDM pins to stm32mp157c. Signed-off-by: Olivier Moysan --- arch/arm/boot/dts/stm32mp157-pinctrl.dtsi | 39 +++ 1 file changed, 39 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi

Re: ARM: multi_v7_defconfig: Enable SPI_STM32_QSPI support

2019-08-02 Thread Alexandre Torgue
Dear Patrice On 7/31/19 9:22 AM, patrice.chot...@st.com wrote: From: Patrice Chotard Enable support for QSPI block on STM32 SoCs. Signed-off-by: Patrice Chotard --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig

Re: [PATCH] ARM: dts: stm32: add phy-dsi-supply property on stm32mp157c-ev1

2019-08-02 Thread Alexandre Torgue
Hi Yannick On 7/29/19 4:29 PM, Yannick Fertré wrote: The dsi physical layer is powered by the 1v8 power controller supply. Signed-off-by: Yannick Fertré --- arch/arm/boot/dts/stm32mp157c-ev1.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/stm32mp157c-ev1.dts

[PATCH] ARM: dts: stm32: remove useless pinctrl entries in stm32mp157-pinctrl

2019-07-31 Thread Alexandre Torgue
This patch removes "ngpios" and "gpio-ranges" information from stm32mp157-pinctrl.dtsi file as it is now filled in stm32mp157 pinctrl package files. Signed-off-by: Alexandre Torgue diff --git a/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi b/arch/arm/boot/dts/stm32mp15

Re: ARM: multi_v7_defconfig: Enable SPI_STM32_QSPI support

2019-07-31 Thread Alexandre Torgue
On 7/31/19 3:21 PM, Olof Johansson wrote: On Wed, Jul 31, 2019 at 3:20 PM Olof Johansson wrote: Hi, On Wed, Jul 31, 2019 at 8:48 AM Alexandre Torgue wrote: Hi Olof On 7/30/19 7:36 PM, Olof Johansson wrote: Hi Patrice, If you cc s...@kernel.org on patches you want us to apply, you'll

Re: ARM: multi_v7_defconfig: Enable SPI_STM32_QSPI support

2019-07-31 Thread Alexandre Torgue
Hi Olof On 7/30/19 7:36 PM, Olof Johansson wrote: Hi Patrice, If you cc s...@kernel.org on patches you want us to apply, you'll get them automatically tracked by patchwork. Does it means that you will take it directly in arm-soc tree ? I mean, I used to take this kind of patch

Re: [PATCH] ARM: dts: stm32: add audio codec support on stm32mp157a-dk1 board

2019-07-29 Thread Alexandre Torgue
On 7/25/19 11:41 AM, Olivier MOYSAN wrote: On 7/24/19 6:40 PM, Alexandre Torgue wrote: Hi Olivier On 7/5/19 1:53 PM, Olivier Moysan wrote: Add support of Cirrus cs42l51 audio codec on stm32mp157a-dk1 board. Configuration overview: - SAI2A is the CPU interface used for the codec audio

Re: [PATCH v2 3/3] ARM: dts: stm32: add syscfg to ADC on stm32mp157c

2019-07-29 Thread Alexandre Torgue
Hi fabrice On 7/3/19 12:08 PM, Fabrice Gasnier wrote: On stm32mp157c, the ADC inputs are multiplexed with analog switches which have reduced performances when their supply is below 2.7V (vdda by default). Add syscfg registers that can be used on stm32mp157c, to get full ADC analog performances.

Re: [PATCH 0/5] Add missing pwm-cells to STM32 timers PWM

2019-07-29 Thread Alexandre Torgue
Hi Fabrice On 6/19/19 11:52 AM, Fabrice Gasnier wrote: This series adds missing generic 3-cells PWM to STM32 timers dt-bindings, PWM driver, and the relevant dtsi files for STM32F4, STM32F7 and STM32MP1. Fabrice Gasnier (5): dt-bindings: pwm-stm32: add #pwm-cells pwm: stm32: use 3 cells

Re: [PATCH] ARM: dts: stm32: fix -Wall W=1 compilation warnings for can1_sleep pinctrl

2019-07-26 Thread Alexandre Torgue
Hi Erwan On 7/1/19 11:18 AM, Erwan Le Ray wrote: Fix compilations warnings detected by -Wall W=1 compilation option: - node has a unit name, but no reg property Signed-off-by: Erwan Le Ray diff --git a/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi

Re: [PATCH v2 0/4] regulator: add support for the STM32 ADC booster

2019-07-26 Thread Alexandre Torgue
Hi Fabrice On 7/1/19 10:14 AM, Fabrice Gasnier wrote: Add support for the 3.3V booster regulator embedded in stm32h7 and stm32mp1 devices, that can be used to supply ADC analog input switches. It's useful to reach full ADC performance when their supply is below 2.7V (vdda by default). Changes

Re: [PATCH v4 0/8] stm32 m4 remoteproc on STM32MP157c

2019-07-26 Thread Alexandre Torgue
Hi Fabien On 5/14/19 10:26 AM, Fabien Dessenne wrote: STMicrolectronics STM32MP157 MPU are based on a Dual Arm Cortex-A7 core and a Cortex-M4. This patchset adds the support of the stm32_rproc driver allowing to control the M4 remote processor. ... driver remoteproc: stm32: add an

Re: [PATCH 0/5] Add missing vdda-supply to STM32 ADC

2019-07-26 Thread Alexandre Torgue
Hi Fabrice On 6/19/19 2:29 PM, Fabrice Gasnier wrote: Add missing vdda-supply, analog power supply, to STM32 ADC. When vdda is an independent supply, it needs to be properly turned on or off to supply the ADC. This series proposes fixes for the dt-bindings, IIO driver and relevant device tree

Re: [PATCH 0/4] ARM: dts: stm32: enable FMC2 NAND controller on stm32mp157c-ev1

2019-07-25 Thread Alexandre Torgue
Hi Christophe On 6/21/19 4:49 PM, Christophe Kerello wrote: This patchset adds and enables FMC2 NAND controller used on stm32mp157c-ev1. Christophe Kerello (4): ARM: dts: stm32: add FMC2 NAND controller support on stm32mp157c ARM: dts: stm32: add FMC2 NAND controller pins muxing on

Re: [PATCH] ARM: dts: stm32: activate dma for qspi on stm32mp157

2019-07-25 Thread Alexandre Torgue
Hi Ludovic On 6/27/19 2:09 PM, Ludovic Barre wrote: From: Ludovic Barre This patch activates dma for qspi on stm32mp157. Signed-off-by: Ludovic Barre --- arch/arm/boot/dts/stm32mp157c.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi

Re: [PATCH] ARM: dts: stm32: add audio codec support on stm32mp157a-dk1 board

2019-07-24 Thread Alexandre Torgue
Hi Olivier On 7/5/19 1:53 PM, Olivier Moysan wrote: Add support of Cirrus cs42l51 audio codec on stm32mp157a-dk1 board. Configuration overview: - SAI2A is the CPU interface used for the codec audio playback - SAI2B is the CPU interface used for the codec audio record - SAI2A is configured as a

Re: [PATCH 1/4] ARM: dts: stm32: add FMC2 NAND controller support on stm32mp157c

2019-07-24 Thread Alexandre Torgue
Hi Christophe On 6/21/19 4:49 PM, Christophe Kerello wrote: This patch adds FMC2 NAND controller support used by stm32mp157c SOC. Signed-off-by: Christophe Kerello --- arch/arm/boot/dts/stm32mp157c.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git

Re: [PATCH] dt-bindings: pinctrl: stm32: Fix missing 'clocks' property in examples

2019-07-18 Thread Alexandre Torgue
'clocks' properties to the examples to fix the errors. Fixes: 2c9239c125f0 ("dt-bindings: pinctrl: Convert stm32 pinctrl bindings to json-schema") Cc: Linus Walleij Cc: Maxime Coquelin Cc: Alexandre Torgue Cc: linux-g...@vger.kernel.org Cc: linux-st...@st-md-mailman.stormreply.com

Re: [PATCH] dt-bindings: Ensure child nodes are of type 'object'

2019-07-18 Thread Alexandre Torgue
definitions. Cc: Maxime Ripard Cc: Chen-Yu Tsai Cc: David Woodhouse Cc: Brian Norris Cc: Marek Vasut Cc: Miquel Raynal Cc: Richard Weinberger Cc: Vignesh Raghavendra Cc: Linus Walleij Cc: Maxime Coquelin Cc: Alexandre Torgue Cc: Mark Brown Cc: linux-...@lists.infradead.org Cc: linux-g

Re: [PATCH 1/1] ARM: dts: stm32: replace rgmii mode with rgmii-id on stm32mp15 boards

2019-06-17 Thread Alexandre Torgue
Hi Christophe On 6/17/19 10:50 AM, Christophe Roullier wrote: On disco and eval board, Tx and Rx delay are applied (pull-up of 4.7k put on VDD) so which correspond to RGMII-ID mode with internal RX and TX delays provided by the PHY, the MAC should not add the RX or TX delays in this case

Re: [PATCH v4 0/4] Add Avenger96 board support

2019-06-17 Thread Alexandre Torgue
Hi Mani, On 6/12/19 9:54 AM, Manivannan Sadhasivam wrote: Hello, This patchset adds Avenger96 board support. This board is one of the Consumer Edition boards of the 96Boards family from Arrow Electronics featuring STM32MP157A MPU and has the following features: SoC: STM32MP157AAC PMIC:

Re: [PATCH] ARM: dts: stm32: add sai id registers to stm32mp157c

2019-06-17 Thread Alexandre Torgue
Hi Olivier On 6/11/19 1:45 PM, Olivier Moysan wrote: Add identification registers to address range of SAI DT parent node, for stm32mp157c. Change-Id: I696363794fab59ba8d7869b3ffbc041dacdf28de Signed-off-by: Olivier Moysan --- arch/arm/boot/dts/stm32mp157c.dtsi | 8 1 file changed,

Re: [PATCH] ARM: dts: stm32: add power supply of rm68200 on stm32mp157c-ev1

2019-06-17 Thread Alexandre Torgue
Hi Yannick On 5/21/19 5:03 PM, Yannick Fertré wrote: This patch adds a new property (power-supply) to panel rm68200 (raydium) on stm32mp157c-ev1. Signed-off-by: Yannick Fertré --- arch/arm/boot/dts/stm32mp157c-ev1.dts | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH 00/10] STM32 usart power improvements

2019-06-10 Thread Alexandre Torgue
Hi Erwan, On 6/4/19 10:55 AM, Erwan Le Ray wrote: This series delivers power improvements for stm32-usart driver. Bich Hemon (4): dt-bindings: serial: add optional pinctrl states serial: stm32: select pinctrl state in each suspend/resume function ARM: dts: stm32: Update pin states for

Re: [PATCH 0/2] pinctrl: stm32: add suspend/resume management

2019-05-27 Thread Alexandre Torgue
Hi Linus On 5/24/19 1:24 PM, Linus Walleij wrote: On Fri, May 10, 2019 at 9:42 AM Alexandre Torgue wrote: During power sequence, GPIO hardware registers could be lost if the power supply is switched off. Each device using pinctrl API is in charge of managing pins during suspend/resume

Re: [PATCH] pinctrl: stm32: add lock mechanism for irqmux selection

2019-05-24 Thread Alexandre Torgue
On 5/24/19 1:26 PM, Linus Walleij wrote: On Fri, May 10, 2019 at 9:43 AM Alexandre Torgue wrote: GPIOs are split between several banks (A, B, ...) and each bank can have up to 16 lines. Those GPIOs could be used as interrupt lines thanks to exti lines. As there are only 16 exti lines

Re: [PATCH 0/2] pinctrl: stm32: add suspend/resume management

2019-05-24 Thread Alexandre Torgue
On 5/24/19 1:24 PM, Linus Walleij wrote: On Fri, May 10, 2019 at 9:42 AM Alexandre Torgue wrote: During power sequence, GPIO hardware registers could be lost if the power supply is switched off. Each device using pinctrl API is in charge of managing pins during suspend/resume sequences

Re: [v4, PATCH 2/3] net: stmmac: fix csr_clk can't be zero issue

2019-05-24 Thread Alexandre Torgue
k_crs_set(), +* or get clk_csr from device tree. +*/ + plat->clk_csr = -1; of_property_read_u32(np, "clk_csr", >clk_csr); /* "snps,phy-addr" is not a standard property. Mark it as deprecated Acked-by: Alexandre TORGUE thanks Alex

Re: [PATCH v1 0/2] enable display on stm32mp157c-dk1 board

2019-05-21 Thread Alexandre Torgue
Hi Yannick On 3/29/19 1:43 PM, Yannick Fertré wrote: Enable display on stm32mp157c-dk1 board. I2c node must be created first. Yannick Fertré (2): ARM: dts: stm32: Add I2C 1 and 4 config for stm32mp157a-dk1 ARM: dts: stm32: enable display on stm32mp157c-dk1 board

Re: [PATCH 0/4] Enable stm32mp1 camera support

2019-05-21 Thread Alexandre Torgue
Dear Hugues, On 2/28/19 3:25 PM, Hugues Fruchet wrote: This patchset serie enables camera of stm32mp157c evaluation board. To do so, both stm32mp157c DCMI camera interface driver and OV5640 camera module driver are enabled in devicetree. DCMI camera interface driver is enabled by default in

Re: [RESEND v2 0/3] Add Vivante GPU support on STM32MP157c

2019-05-21 Thread Alexandre Torgue
Hi Pierre-Yves, On 5/17/19 10:42 AM, Pierre-Yves MORDRET wrote: Add and enable Vivante GPU on stm32mp157c for ED1, DK1 and DK2 boards. --- Version history: v2: * move GPU reserved memeory out of bottom DDR to let free this area for U-Boot v1: * Initial ---

Re: [Linux-stm32][PATCH 0/4] ARM: dts: stm32: add i2s and sai support on stm32mp157c

2019-05-21 Thread Alexandre Torgue
Hi Olivier On 4/25/19 4:10 PM, Olivier Moysan wrote: This patchset adds support of STM32 SAI and I2S on stm32mp157c Olivier Moysan (4): ARM: dts: stm32: add sai support on stm32mp157c ARM: dts: stm32: add sai pins muxing on stm32mp157 ARM: dts: stm32: add i2s support on stm32mp157c

Re: [PATCH 0/2] ARM: dts: stm32: qspi update for stm32mp157c-ev1

2019-05-21 Thread Alexandre Torgue
Hi Ludovic On 3/8/19 4:10 PM, Ludovic Barre wrote: From: Ludovic Barre This patch series add sleep pins configuration needed to suspend support and add jedec compatible for 2 nor flash of stm32mp157c-ev1. Ludovic Barre (2): ARM: dts: stm32: add pinctrl sleep config for qspi on

Re: [PATCH v6 0/9] Introduce STMFX I2C Multi-Function eXpander

2019-05-21 Thread Alexandre Torgue
Hi Amélie, On 5/9/19 10:58 AM, Amelie Delaunay wrote: This series adds support for STMicroelectronics Multi-Function eXpander (STMFX), used on some STM32 discovery and evaluation boards. STMFX is an STM32L152 slave controller whose firmware embeds the following features: - I/O expander (16

Re: [PATCH 5/5] ARM: dts: stm32: use dedicated files to manage stm32mp157 packages

2019-05-21 Thread Alexandre Torgue
Hi, On 4/10/19 1:30 PM, Alexandre Torgue wrote: Four packages exist for stm32mp157 die. As ball-out is different between them, this patch covers those differences by creating dedicated pinctrl dtsi files. Each dtsi pinctrl package file describes the package ball-out through gpio-ranges

[PATCH v2] dt-bindings: pinctrl: Convert stm32 pinctrl bindings to json-schema

2019-05-10 Thread Alexandre Torgue
Convert the STM32 pinctrl binding to DT schema format using json-schema. Signed-off-by: Alexandre Torgue --- Hi, First pacth to convert DT bindings file (here pinctrl STM32) to json-schema in order to take advantage of devicetree validation tool for STM32. Changes since v1: - Fix errors

[PATCH 0/2] pinctrl: stm32: add suspend/resume management

2019-05-10 Thread Alexandre Torgue
will be saved at runtime and restored during resume sequence. Regards Alex Alexandre Torgue (2): pinctrl: stm32: add suspend/resume management pinctrl: stm32: Enable suspend/resume for stm32mp157c SoC drivers/pinctrl/stm32/pinctrl-stm32.c | 132 + drivers

[PATCH] pinctrl: stm32: add lock mechanism for irqmux selection

2019-05-10 Thread Alexandre Torgue
, C0.. -->exti_line_0 (X0 selected by mux_0) -A1, B1, C1.. -->exti_line_1 (X1 selected by mux_1) ... This patch adds a protection to avoid overriding on mux_n for exti_line_n. Signed-off-by: Alexandre Torgue diff --git a/drivers/pinctrl/stm32/pinctrl-stm32.c b/drivers/pinctrl/stm32/pinctrl

[PATCH 1/2] pinctrl: stm32: add suspend/resume management

2019-05-10 Thread Alexandre Torgue
-by: Alexandre Torgue diff --git a/drivers/pinctrl/stm32/pinctrl-stm32.c b/drivers/pinctrl/stm32/pinctrl-stm32.c index 2317ccf..335aea5 100644 --- a/drivers/pinctrl/stm32/pinctrl-stm32.c +++ b/drivers/pinctrl/stm32/pinctrl-stm32.c @@ -44,6 +44,18 @@ #define STM32_GPIO_AFRL0x20

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