spi: stm32-qspi: Fix compilation warning in ARM64

2021-04-20 Thread patrice.chotard
From: Patrice Chotard This fixes warnings detected when compiling in ARM64. Introduced by 'commit 18674dee3cd6 ("spi: stm32-qspi: Add dirmap support")' Signed-off-by: Patrice Chotard --- drivers/spi/spi-stm32-qspi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 0/3] spi: stm32-qspi: Fix and update

2021-04-19 Thread patrice.chotard
From: Patrice Chotard Christophe Kerello (1): spi: stm32-qspi: fix pm_runtime usage_count counter Patrice Chotard (2): spi: stm32-qspi: Trigger DMA only if more than 4 bytes to transfer spi: stm32-qspi: Add dirmap support drivers/spi/spi-stm32-qspi.c | 106

[PATCH 2/3] spi: stm32-qspi: Trigger DMA only if more than 4 bytes to transfer

2021-04-19 Thread patrice.chotard
From: Patrice Chotard In order to optimize accesses to spi flashes, trigger a DMA only if more than 4 bytes has to be transferred. DMA transfer preparation's cost becomes negligible above 4 bytes to transfer. Below this threshold, indirect transfer give more throughput. mtd_speedtest shows

[PATCH 1/3] spi: stm32-qspi: fix pm_runtime usage_count counter

2021-04-19 Thread patrice.chotard
From: Christophe Kerello pm_runtime usage_count counter is not well managed. pm_runtime_put_autosuspend callback drops the usage_counter but this one has never been increased. Add pm_runtime_get_sync callback to bump up the usage counter. It is also needed to use pm_runtime_force_suspend and

[PATCH 3/3] spi: stm32-qspi: Add dirmap support

2021-04-19 Thread patrice.chotard
From: Patrice Chotard Add stm32_qspi_dirmap_read() and stm32_qspi_dirmap_create() to get dirmap support. Update the exec_op callback which doens't allow anymore memory map access. Memory map access are only available through the dirmap_read callback. Signed-off-by: Patrice Chotard ---

[RESEND PATCH 1/3] MAINTAINERS: Update some st.com email addresses to foss.st.com

2021-02-15 Thread patrice.chotard
From: Patrice Chotard Update some st.com to foss.st.com addresses related to STMicroelectronics drivers. All these people will now use this new email address for upstream activities. Signed-off-by: Patrice Chotard --- MAINTAINERS | 28 ++-- 1 file changed, 14

[RESEND PATCH 3/3] MAINTAINERS: Add Alain Volmat as STM32 I2C/SMBUS maintainer

2021-02-15 Thread patrice.chotard
From: Patrice Chotard Add Alain Volmat as STM32 I2C/SMBUS driver co-maintainer. Signed-off-by: Patrice Chotard Cc: alain.vol...@foss.st.com --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index c6266d311061..7de268e4aec0 100644 --- a/MAINTAINERS

[RESEND PATCH 0/3] MAINTAINERS: update STMicroelectronics email

2021-02-15 Thread patrice.chotard
From: Patrice Chotard This series: _ Update st.com to foss.st.com email for some maintainers. _ Remove Vincent Abriou as STI/STM DRM driver _ Add Alain Volmat as STM32 I2C/SMBUS driver maintainer Patrice Chotard (3): MAINTAINERS: Update some st.com email addresses to foss.st.com

[RESEND PATCH 2/3] MAINTAINERS: Remove Vincent Abriou for STM/STI DRM drivers.

2021-02-15 Thread patrice.chotard
From: Patrice Chotard Remove Vincent Abriou's email as he has no more review activities on STM/STI DRM drivers. Signed-off-by: Patrice Chotard Cc: Vincent Abriou --- MAINTAINERS | 2 -- 1 file changed, 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 98802b71385b..c6266d311061

[PATCH 3/3] MAINTAINERS: Add Alain Volmat as STM32 I2C/SMBUS maintainer

2021-02-01 Thread patrice.chotard
From: Patrice Chotard Add Alain Volmat as STM32 I2C/SMBUS driver co-maintainer. Signed-off-by: Patrice Chotard Cc: alain.vol...@foss.st.com --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 98365c57ae37..f6d317449521 100644 --- a/MAINTAINERS

[PATCH 1/3] MAINTAINERS: Update some st.com email addresses to foss.st.com

2021-02-01 Thread patrice.chotard
From: Patrice Chotard Update some st.com to foss.st.com addresses related to STMicroelectronics drivers. All these people will now use this new email address for upstream activities. Signed-off-by: Patrice Chotard --- MAINTAINERS | 28 ++-- 1 file changed, 14

[PATCH 2/3] MAINTAINERS: Remove Vincent Abriou for STM/STI DRM drivers.

2021-02-01 Thread patrice.chotard
From: Patrice Chotard Remove Vincent Abriou's email as he has no more review activities on STM/STI DRM drivers. Signed-off-by: Patrice Chotard Cc: Vincent Abriou --- MAINTAINERS | 2 -- 1 file changed, 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 8222e50a9902..98365c57ae37

[PATCH 0/3] MAINTAINERS: update STMicroelectronics email

2021-02-01 Thread patrice.chotard
From: Patrice Chotard This series: _ Update st.com to foss.st.com email for some maintainers. _ Remove Vincent Abriou as STI/STM DRM driver _ Add Alain Volmat as I2C/SMBUS driver maintainer Patrice Chotard (3): MAINTAINERS: Update some st.com email addresses to foss.st.com

[PATCH 2/2] MAINTAINERS: Remove Vincent Abriou for STM/STI DRM drivers.

2020-12-17 Thread patrice.chotard
From: Patrice Chotard Remove Vincent Abriou's email as he has no more review activities on STM/STI DRM drivers. Signed-off-by: Patrice Chotard Cc: Vincent Abriou --- MAINTAINERS | 2 -- 1 file changed, 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 685b72a22cee..010160a89a10

[PATCH 1/2] MAINTAINERS: Update some st.com email addresses to foss.st.com

2020-12-17 Thread patrice.chotard
From: Patrice Chotard Update some st.com to foss.st.com addresses related to STMicroelectronics drivers. All these people will now use this new email address for upstream activities. Signed-off-by: Patrice Chotard --- MAINTAINERS | 28 ++-- 1 file changed, 14

[PATCH 0/2] MAINTAINERS: update STMicroelectronics email

2020-12-17 Thread patrice.chotard
From: Patrice Chotard This series: _ update st.com to foss.st.com email for some maintainers. _ Remove Vincent Abriou as STI/STM DRM driver Patrice Chotard (2): MAINTAINERS: Update some st.com email addresses to foss.st.com MAINTAINERS: Remove Vincent Abriou for STM/STI DRM drivers.

MAINTAINERS: Update ARM/STI Arch maintainer

2020-11-25 Thread patrice.chotard
From: Patrice Chotard Update my email address with the one dedicated to upstream activities. Signed-off-by: Patrice Chotard --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index a008b70f3c16..e9bdd7f6e1d6 100644 --- a/MAINTAINERS

[PATCH v2] PM: Add dev_wakeup_path() helper

2020-11-18 Thread patrice.chotard
From: Patrice Chotard Add dev_wakeup_path() helper to avoid to spread dev->power.wakeup_path test in drivers. Signed-off-by: Patrice Chotard Reviewed-by: Ulf Hansson --- Changes from v1: - Fold the 4 v1 patches into one - Add Ulf's Reviewed-by drivers/base/power/domain.c | 4 ++--

[PATCH v1 4/4] i2c: stm32f7: Make usage of dev_wakeup_path() helper

2020-11-05 Thread patrice.chotard
From: Patrice Chotard Make usage of dev_wakeup_path() helper. Signed-off-by: Patrice Chotard --- drivers/i2c/busses/i2c-stm32f7.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/i2c/busses/i2c-stm32f7.c b/drivers/i2c/busses/i2c-stm32f7.c index

[PATCH v1 0/4] PM: Add dev_wakeup_path() helper

2020-11-05 Thread patrice.chotard
From: Patrice Chotard Add dev_wakeup_path() helper to avoid to spread dev->power.wakeup_path test in drivers. Cc: amelie.delau...@st.com, erwan_le...@st.com, fabrice.gasn...@st.com, alexandre.tor...@st.com, alain.vol...@st.com, pierre-yves.mord...@st.com *** BLURB HERE ***

[PATCH v1 1/4] PM / wakeup: Add dev_wakeup_path() helper

2020-11-05 Thread patrice.chotard
From: Patrice Chotard Add dev_wakeup_path() helper to avoid to spread dev->power.wakeup_path test in drivers. In case CONFIG_PM_SLEEP is not set, wakeup_path is not defined, dev_wakeup_path() is returning false. Signed-off-by: Patrice Chotard --- include/linux/pm_wakeup.h | 10 ++ 1

[PATCH v1 2/4] PM: domains: Make usage of device_wakeup_path() helper

2020-11-05 Thread patrice.chotard
From: Patrice Chotard Make usage of dev_wakeup_path() helper. Signed-off-by: Patrice Chotard --- drivers/base/power/domain.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/base/power/domain.c b/drivers/base/power/domain.c index 743268996336..e0894ef8457c

[PATCH v1 3/4] PM: core: Make usage of device_wakeup_path() helper

2020-11-05 Thread patrice.chotard
From: Patrice Chotard Make usage of dev_wakeup_path() helper. Signed-off-by: Patrice Chotard --- drivers/base/power/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/base/power/main.c b/drivers/base/power/main.c index c7ac49042cee..921c5b2ec30a 100644 ---

[PATCH] Revert "ARM: sti: Implement dummy L2 cache's write_sec"

2020-06-18 Thread patrice.chotard
From: Patrice Chotard This reverts commit 7b8e0188fa717cd9abc4fb52587445b421835c2a. Initially, STiH410-B2260 was supposed to be secured, that's why l2c_write_sec was stubbed to avoid secure register access from non secure world. But by default, STiH410-B2260 is running in non secure mode, so

spi: stm32-qspi: Fix error path in case of -EPROBE_DEFER

2020-06-16 Thread patrice.chotard
From: Patrice Chotard In case of -EPROBE_DEFER, stm32_qspi_release() was called in any case which unregistered driver from pm_runtime framework even if it has not been registered yet to it. This leads to: stm32-qspi 58003000.spi: can't setup spi0.0, status -13 spi_master spi0: spi_device

spi: stm32-qspi: Fix unbalanced pm_runtime_enable issue

2020-04-29 Thread patrice.chotard
From: Patrice Chotard Issue detected by unbinding/binding the stm32 qspi driver as following: root@stm32mp2:~# echo 4043.spi > /sys/bus/platform/drivers/stm32-qspi/404300 00.spi/driver/unbind root@stm32mp2:~# echo 4043.spi > /sys/bus/platform/drivers/stm32-qspi/bind [ 969.864021]

ARM: dts: stm32: relax qspi pins slew-rate for stm32mp157

2019-10-04 Thread patrice.chotard
From: Patrice Chotard Relax qspi pins slew-rate to minimize peak currents. Fixes: 844030057339 ("ARM: dts: stm32: add flash nor support on stm32mp157c eval board") Signed-off-by: Patrice Chotard --- arch/arm/boot/dts/stm32mp157-pinctrl.dtsi | 8 1 file changed, 4 insertions(+), 4

ARM: multi_v7_defconfig: Fix SPI_STM32_QSPI support

2019-10-04 Thread patrice.chotard
From: Patrice Chotard SPI_STM32_QSPI must be set in buildin as rootfs can be located on QSPI memory device. Signed-off-by: Patrice Chotard --- arch/arm/configs/multi_v7_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/configs/multi_v7_defconfig

spi: stm32-qspi: Fix kernel oops when unbinding driver

2019-10-04 Thread patrice.chotard
From: Patrice Chotard spi_master_put() must only be called in .probe() in case of error. As devm_spi_register_master() is used during probe, spi_master_put() mustn't be called in .remove() callback. It fixes the following kernel WARNING/Oops when executing echo "58003000.spi" >

ARM: multi_v7_defconfig: Enable SPI_STM32_QSPI support

2019-07-31 Thread patrice.chotard
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 b/arch/arm/configs/multi_v7_defconfig index

ARM: multi_v7_defconfig: Enable SPI_STM32_QSPI support

2019-07-29 Thread patrice.chotard
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 b/arch/arm/configs/multi_v7_defconfig index

[PATCH 1/1] spi: spi-stm32-qspi: Remove CR_FTHRES_MASK usage

2019-06-20 Thread patrice.chotard
From: Patrice Chotard On STM32 F4/F7/H7 SoCs, FTHRES is a 5 bits field in QSPI_CR register, but for STM32MP1 SoCs, FTHRES is a 4 bits field long. CR_FTHRES_MASK definition is not correct. As for all these SoCs, FTHRES field is set to 3, FIELD_PREP() macro is used with a constant as second

[PATCH v2 1/1] ARM: sti: remove pen_release and boot_lock

2018-12-19 Thread patrice.chotard
From: Patrice Chotard The pen_release implementation was created for Versatile platforms to work around boot loaders that did not differentiate between the various different secondary CPUs on this ARM development platform. This should not be true of modern platforms where we send IPIs to

[PATCH 1/1] ARM: STi: Restore secondary CPU's bringup

2018-12-18 Thread patrice.chotard
From: Patrice Chotard Due to pen_release and boot_lock removal, secondary CPU's bringup was broken. Restore CPU's bringup by reworking properly .smp_prepare_cpus and .smp_boot_secondary STi callbacks. Signed-off-by: Patrice Chotard --- arch/arm/mach-sti/platsmp.c | 31

[PATCH] ARM: dts: stih410: change syntax of multiple DAI

2018-09-06 Thread patrice.chotard
From: Christophe Priouzeau With change of syntax for 'simple-audio-card,dai-link' containers, devicetrees of stih410 must be updated. This fixes the following error: [3.839466] asoc-simple-card sound: asoc_simple_card_dai_link_of: Can't find simple-audio-card,cpu DT node [3.849150]

[PATCH] ARM: dts: stih410: change syntax of multiple DAI

2018-09-06 Thread patrice.chotard
From: Christophe Priouzeau With change of syntax for 'simple-audio-card,dai-link' containers, devicetrees of stih410 must be updated. This fixes the following error: [3.839466] asoc-simple-card sound: asoc_simple_card_dai_link_of: Can't find simple-audio-card,cpu DT node [3.849150]

[PATCH v2 3/3] ARM: dts: stm32: Fix DT dtc warnings for stm32f4

2018-08-07 Thread patrice.chotard
From: Patrice Chotard Fix the following DT dtc warnings for stm32f429 and stm32f469 boards: Warning (node_name_chars_strict): /soc/pin-controller/usbotg_fs@0: Character '_' not recommended in node name Warning (node_name_chars_strict): /soc/pin-controller/usbotg_fs@1: Character '_' not

[PATCH v2 1/3] ARM: dts: stm32: Fix DT dtc warnings for stm32h7

2018-08-07 Thread patrice.chotard
From: Patrice Chotard Fix the following DT dtc warnings: Warning (node_name_chars_strict): /clocks/i2s_ckin: Character '_' not recommended in node name Warning (unit_address_vs_reg): /memory: node has a reg or ranges property, but no unit name Warning (unit_address_vs_reg):

[PATCH v2 3/3] ARM: dts: stm32: Fix DT dtc warnings for stm32f4

2018-08-07 Thread patrice.chotard
From: Patrice Chotard Fix the following DT dtc warnings for stm32f429 and stm32f469 boards: Warning (node_name_chars_strict): /soc/pin-controller/usbotg_fs@0: Character '_' not recommended in node name Warning (node_name_chars_strict): /soc/pin-controller/usbotg_fs@1: Character '_' not

[PATCH v2 1/3] ARM: dts: stm32: Fix DT dtc warnings for stm32h7

2018-08-07 Thread patrice.chotard
From: Patrice Chotard Fix the following DT dtc warnings: Warning (node_name_chars_strict): /clocks/i2s_ckin: Character '_' not recommended in node name Warning (unit_address_vs_reg): /memory: node has a reg or ranges property, but no unit name Warning (unit_address_vs_reg):

[PATCH v2 0/3] ARM: dts: stm32: Fix DT dtc warnings for STM32 MCU's

2018-08-07 Thread patrice.chotard
From: Patrice Chotard Change since v1: - update nodes name as following: @0 to -0 This series fixes DT dtc warnings for following STM32 MCU's boards: - stm32f429i evaluation - stm32f429 discovery - stm32f469 discovery - stm32746g evaluation -

[PATCH v2 0/3] ARM: dts: stm32: Fix DT dtc warnings for STM32 MCU's

2018-08-07 Thread patrice.chotard
From: Patrice Chotard Change since v1: - update nodes name as following: @0 to -0 This series fixes DT dtc warnings for following STM32 MCU's boards: - stm32f429i evaluation - stm32f429 discovery - stm32f469 discovery - stm32746g evaluation -

[PATCH v2 2/3] ARM: dts: stm32: Fix DT dtc warnings for stm32f7

2018-08-07 Thread patrice.chotard
From: Patrice Chotard Fix the following DT dtc warnings for stm32f746 and stm32f769 boards: Warning (node_name_chars_strict): /soc/pin-controller/sdio_pins_a@0: Character '_' not recommended in node name Warning (node_name_chars_strict): /soc/pin-controller/sdio_pins_od_a@0: Character '_' not

[PATCH v2 2/3] ARM: dts: stm32: Fix DT dtc warnings for stm32f7

2018-08-07 Thread patrice.chotard
From: Patrice Chotard Fix the following DT dtc warnings for stm32f746 and stm32f769 boards: Warning (node_name_chars_strict): /soc/pin-controller/sdio_pins_a@0: Character '_' not recommended in node name Warning (node_name_chars_strict): /soc/pin-controller/sdio_pins_od_a@0: Character '_' not

[PATCH 1/3] ARM: dts: stm32: Fix DT dtc warnings for stm32h7

2018-08-07 Thread patrice.chotard
From: Patrice Chotard Fix the following DT dtc warnings for stm32h743 boards: Warning (node_name_chars_strict): /clocks/i2s_ckin: Character '_' not recommended in node name Warning (unit_address_vs_reg): /memory: node has a reg or ranges property, but no unit name Warning

[PATCH 1/3] ARM: dts: stm32: Fix DT dtc warnings for stm32h7

2018-08-07 Thread patrice.chotard
From: Patrice Chotard Fix the following DT dtc warnings for stm32h743 boards: Warning (node_name_chars_strict): /clocks/i2s_ckin: Character '_' not recommended in node name Warning (unit_address_vs_reg): /memory: node has a reg or ranges property, but no unit name Warning

[PATCH 2/3] ARM: dts: stm32: Fix DT dtc warnings for stm32f7

2018-08-07 Thread patrice.chotard
From: Patrice Chotard Fix the following DT dtc warnings for stm32f746 and stm32f769 boards: Warning (node_name_chars_strict): /soc/pin-controller/sdio_pins_a@0: Character '_' not recommended in node name Warning (node_name_chars_strict): /soc/pin-controller/sdio_pins_od_a@0: Character '_' not

[PATCH 2/3] ARM: dts: stm32: Fix DT dtc warnings for stm32f7

2018-08-07 Thread patrice.chotard
From: Patrice Chotard Fix the following DT dtc warnings for stm32f746 and stm32f769 boards: Warning (node_name_chars_strict): /soc/pin-controller/sdio_pins_a@0: Character '_' not recommended in node name Warning (node_name_chars_strict): /soc/pin-controller/sdio_pins_od_a@0: Character '_' not

[PATCH 3/3] ARM: dts: stm32: Fix DT dtc warnings for stm32f4

2018-08-07 Thread patrice.chotard
From: Patrice Chotard Fix the following DT dtc warnings for stm32f429 and stm32f469 boards: Warning (node_name_chars_strict): /soc/pin-controller/usbotg_fs@0: Character '_' not recommended in node name Warning (node_name_chars_strict): /soc/pin-controller/usbotg_fs@1: Character '_' not

[PATCH 3/3] ARM: dts: stm32: Fix DT dtc warnings for stm32f4

2018-08-07 Thread patrice.chotard
From: Patrice Chotard Fix the following DT dtc warnings for stm32f429 and stm32f469 boards: Warning (node_name_chars_strict): /soc/pin-controller/usbotg_fs@0: Character '_' not recommended in node name Warning (node_name_chars_strict): /soc/pin-controller/usbotg_fs@1: Character '_' not

[PATCH 0/3] ARM: dts: stm32: Fix DT dtc warnings for STM32 MCU's

2018-08-07 Thread patrice.chotard
From: Patrice Chotard This series fixes DT dtc warnings for following STM32 MCU's boards: - stm32f429i evaluation - stm32f429 discovery - stm32f469 discovery - stm32746g evaluation - stm32f746 discovery - stm32h743i discovery - stm32h743i

[PATCH 0/3] ARM: dts: stm32: Fix DT dtc warnings for STM32 MCU's

2018-08-07 Thread patrice.chotard
From: Patrice Chotard This series fixes DT dtc warnings for following STM32 MCU's boards: - stm32f429i evaluation - stm32f429 discovery - stm32f469 discovery - stm32746g evaluation - stm32f746 discovery - stm32h743i discovery - stm32h743i

[PATCH 4/4] ARM: dts: stm32: Remove cd-inverted property for stm32f746-disco

2018-07-26 Thread patrice.chotard
From: Patrice Chotard Remove cd-inverted property and update cd-gpios active level accordingly Signed-off-by: Patrice Chotard --- arch/arm/boot/dts/stm32f746-disco.dts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/stm32f746-disco.dts

[PATCH 4/4] ARM: dts: stm32: Remove cd-inverted property for stm32f746-disco

2018-07-26 Thread patrice.chotard
From: Patrice Chotard Remove cd-inverted property and update cd-gpios active level accordingly Signed-off-by: Patrice Chotard --- arch/arm/boot/dts/stm32f746-disco.dts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/stm32f746-disco.dts

[PATCH 3/4] ARM: dts: stm32: Remove cd-inverted property for stm32f769-disco

2018-07-26 Thread patrice.chotard
From: Patrice Chotard Remove cd-inverted property and update cd-gpios active level accordingly Signed-off-by: Patrice Chotard --- arch/arm/boot/dts/stm32f769-disco.dts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/stm32f769-disco.dts

[PATCH 0/4] Remove cd-inverted property for STM32Fx boards

2018-07-26 Thread patrice.chotard
From: Patrice Chotard This series remove cd-inverted property from STM32Fx boards DT files. As GPIOS are used for card detect, the polarity can be indicated using GPIO_ACTIVE_(HIGH|LOW), so cd-inverted becomes useless. Patrice Chotard (4): ARM: dts: stm32: Remove cd-inverted property for

[PATCH 3/4] ARM: dts: stm32: Remove cd-inverted property for stm32f769-disco

2018-07-26 Thread patrice.chotard
From: Patrice Chotard Remove cd-inverted property and update cd-gpios active level accordingly Signed-off-by: Patrice Chotard --- arch/arm/boot/dts/stm32f769-disco.dts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/stm32f769-disco.dts

[PATCH 0/4] Remove cd-inverted property for STM32Fx boards

2018-07-26 Thread patrice.chotard
From: Patrice Chotard This series remove cd-inverted property from STM32Fx boards DT files. As GPIOS are used for card detect, the polarity can be indicated using GPIO_ACTIVE_(HIGH|LOW), so cd-inverted becomes useless. Patrice Chotard (4): ARM: dts: stm32: Remove cd-inverted property for

[PATCH 2/4] ARM: dts: stm32: Remove cd-inverted property for stm32f469-disco

2018-07-26 Thread patrice.chotard
From: Patrice Chotard Remove cd-inverted property and update cd-gpios active level accordingly Signed-off-by: Patrice Chotard --- arch/arm/boot/dts/stm32f469-disco.dts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/stm32f469-disco.dts

[PATCH 2/4] ARM: dts: stm32: Remove cd-inverted property for stm32f469-disco

2018-07-26 Thread patrice.chotard
From: Patrice Chotard Remove cd-inverted property and update cd-gpios active level accordingly Signed-off-by: Patrice Chotard --- arch/arm/boot/dts/stm32f469-disco.dts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/stm32f469-disco.dts

[PATCH 1/4] ARM: dts: stm32: Remove cd-inverted property for stm32429i-eval

2018-07-26 Thread patrice.chotard
From: Patrice Chotard Remove cd-inverted property and update cd-gpios active level accordingly Signed-off-by: Patrice Chotard --- arch/arm/boot/dts/stm32429i-eval.dts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/stm32429i-eval.dts

[PATCH 1/4] ARM: dts: stm32: Remove cd-inverted property for stm32429i-eval

2018-07-26 Thread patrice.chotard
From: Patrice Chotard Remove cd-inverted property and update cd-gpios active level accordingly Signed-off-by: Patrice Chotard --- arch/arm/boot/dts/stm32429i-eval.dts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/stm32429i-eval.dts

[PATCH] ARM: dts: stm32: Add clk-lse node's label on stm32f429

2018-07-19 Thread patrice.chotard
From: Patrice Chotard Add missing clk_lse label for node clk-lse. Signed-off-by: Patrice Chotard --- arch/arm/boot/dts/stm32f429.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/arch/arm/boot/dts/stm32f429.dtsi index

[PATCH] ARM: dts: stm32: Add clk-lse node's label on stm32f429

2018-07-19 Thread patrice.chotard
From: Patrice Chotard Add missing clk_lse label for node clk-lse. Signed-off-by: Patrice Chotard --- arch/arm/boot/dts/stm32f429.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/arch/arm/boot/dts/stm32f429.dtsi index

[U-BOOT internal] ARM: dts: stm32: Add clk-lse node's label on stm32f429

2018-07-19 Thread patrice.chotard
From: Patrice Chotard Add missing clk_lse label for node clk-lse. Signed-off-by: Patrice Chotard --- arch/arm/boot/dts/stm32f429.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/arch/arm/boot/dts/stm32f429.dtsi index

[U-BOOT internal] ARM: dts: stm32: Add clk-lse node's label on stm32f429

2018-07-19 Thread patrice.chotard
From: Patrice Chotard Add missing clk_lse label for node clk-lse. Signed-off-by: Patrice Chotard --- arch/arm/boot/dts/stm32f429.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/arch/arm/boot/dts/stm32f429.dtsi index

[PATCH 4/5] ARM: dts: stih410: Fix complain about IRQ_TYPE_NONE usage

2018-04-20 Thread patrice.chotard
From: Patrice Chotard Since commit 83a86fbb5b56 ("irqchip/gic: Loudly complain about the use of IRQ_TYPE_NONE") kernel is complaining about the IRQ_TYPE_NONE usage which shouldn't be used. Use IRQ_TYPE_LEVEL_HIGH instead. Signed-off-by: Patrice Chotard

[PATCH 4/5] ARM: dts: stih410: Fix complain about IRQ_TYPE_NONE usage

2018-04-20 Thread patrice.chotard
From: Patrice Chotard Since commit 83a86fbb5b56 ("irqchip/gic: Loudly complain about the use of IRQ_TYPE_NONE") kernel is complaining about the IRQ_TYPE_NONE usage which shouldn't be used. Use IRQ_TYPE_LEVEL_HIGH instead. Signed-off-by: Patrice Chotard --- arch/arm/boot/dts/stih410.dtsi |

[PATCH 5/5] ARM: dts: stihxxx-b2120: Fix complain about IRQ_TYPE_NONE usage

2018-04-20 Thread patrice.chotard
From: Patrice Chotard Since commit 83a86fbb5b56 ("irqchip/gic: Loudly complain about the use of IRQ_TYPE_NONE") kernel is complaining about the IRQ_TYPE_NONE usage which shouldn't be used. Use IRQ_TYPE_LEVEL_HIGH instead. Signed-off-by: Patrice Chotard

[PATCH 5/5] ARM: dts: stihxxx-b2120: Fix complain about IRQ_TYPE_NONE usage

2018-04-20 Thread patrice.chotard
From: Patrice Chotard Since commit 83a86fbb5b56 ("irqchip/gic: Loudly complain about the use of IRQ_TYPE_NONE") kernel is complaining about the IRQ_TYPE_NONE usage which shouldn't be used. Use IRQ_TYPE_LEVEL_HIGH instead. Signed-off-by: Patrice Chotard ---

[PATCH 0/5] ARM: dts: STi: Fix complain about IRQ_TYPE_NONE_usage

2018-04-20 Thread patrice.chotard
From: Patrice Chotard Fix the STi following DT files which make usage of IRQ_TYPE_NONE flag: _ stih407-family.dtsi _ stih407-pinctrl.dtsi _ stih407.dtsi _ stih410.dtsi _ stihxxx-b2120.dtsi Patrice Chotard (5): ARM: dts: stih407-family: Fix complain about

[PATCH 1/5] ARM: dts: stih407-family: Fix complain about IRQ_TYPE_NONE usage

2018-04-20 Thread patrice.chotard
From: Patrice Chotard Since commit 83a86fbb5b56 ("irqchip/gic: Loudly complain about the use of IRQ_TYPE_NONE") kernel is complaining about the IRQ_TYPE_NONE usage which shouldn't be used. Use IRQ_TYPE_LEVEL_HIGH instead. Signed-off-by: Patrice Chotard

[PATCH 0/5] ARM: dts: STi: Fix complain about IRQ_TYPE_NONE_usage

2018-04-20 Thread patrice.chotard
From: Patrice Chotard Fix the STi following DT files which make usage of IRQ_TYPE_NONE flag: _ stih407-family.dtsi _ stih407-pinctrl.dtsi _ stih407.dtsi _ stih410.dtsi _ stihxxx-b2120.dtsi Patrice Chotard (5): ARM: dts: stih407-family: Fix complain about IRQ_TYPE_NONE usage ARM: dts:

[PATCH 1/5] ARM: dts: stih407-family: Fix complain about IRQ_TYPE_NONE usage

2018-04-20 Thread patrice.chotard
From: Patrice Chotard Since commit 83a86fbb5b56 ("irqchip/gic: Loudly complain about the use of IRQ_TYPE_NONE") kernel is complaining about the IRQ_TYPE_NONE usage which shouldn't be used. Use IRQ_TYPE_LEVEL_HIGH instead. Signed-off-by: Patrice Chotard ---

[PATCH 2/5] ARM: dts: stih407-pinctrl: Fix complain about IRQ_TYPE_NONE usage

2018-04-20 Thread patrice.chotard
From: Patrice Chotard Since commit 83a86fbb5b56 ("irqchip/gic: Loudly complain about the use of IRQ_TYPE_NONE") kernel is complaining about the IRQ_TYPE_NONE usage which shouldn't be used. Use IRQ_TYPE_LEVEL_HIGH instead. Signed-off-by: Patrice Chotard

[PATCH 2/5] ARM: dts: stih407-pinctrl: Fix complain about IRQ_TYPE_NONE usage

2018-04-20 Thread patrice.chotard
From: Patrice Chotard Since commit 83a86fbb5b56 ("irqchip/gic: Loudly complain about the use of IRQ_TYPE_NONE") kernel is complaining about the IRQ_TYPE_NONE usage which shouldn't be used. Use IRQ_TYPE_LEVEL_HIGH instead. Signed-off-by: Patrice Chotard ---

[PATCH 3/5] ARM: dts: stih407: Fix complain about IRQ_TYPE_NONE usage

2018-04-20 Thread patrice.chotard
From: Patrice Chotard Since commit 83a86fbb5b56 ("irqchip/gic: Loudly complain about the use of IRQ_TYPE_NONE") kernel is complaining about the IRQ_TYPE_NONE usage which shouldn't be used. Use IRQ_TYPE_LEVEL_HIGH instead. Signed-off-by: Patrice Chotard

[PATCH 3/5] ARM: dts: stih407: Fix complain about IRQ_TYPE_NONE usage

2018-04-20 Thread patrice.chotard
From: Patrice Chotard Since commit 83a86fbb5b56 ("irqchip/gic: Loudly complain about the use of IRQ_TYPE_NONE") kernel is complaining about the IRQ_TYPE_NONE usage which shouldn't be used. Use IRQ_TYPE_LEVEL_HIGH instead. Signed-off-by: Patrice Chotard --- arch/arm/boot/dts/stih407.dtsi | 2

[RESEND PATCH v4 3/3]] ARM: dts: STi: Remove "console=ttyASN" from bootargs for STi boards

2018-03-14 Thread patrice.chotard
From: Patrice Chotard As serial interface is already specified into stdout-path property, "console=ttyASN,115200" from bootargs can be removed. Signed-off-by: Patrice Chotard --- arch/arm/boot/dts/stih407-b2120.dts | 2 +-

[RESEND PATCH v4 3/3]] ARM: dts: STi: Remove "console=ttyASN" from bootargs for STi boards

2018-03-14 Thread patrice.chotard
From: Patrice Chotard As serial interface is already specified into stdout-path property, "console=ttyASN,115200" from bootargs can be removed. Signed-off-by: Patrice Chotard --- arch/arm/boot/dts/stih407-b2120.dts | 2 +- arch/arm/boot/dts/stih410-b2120.dts | 2 +-

[RESEND PATCH v4 3/3] ARM: dts: STi: Remove console=ttyASN from bootargs for STi boards] ARM: dts: STi: Remove "console=ttyASN" from bootargs for STi boards

2018-03-14 Thread patrice.chotard
From: Patrice Chotard As serial interface is already specified into stdout-path property, "console=ttyASN,115200" from bootargs can be removed. Signed-off-by: Patrice Chotard --- v4: _ none v3: _ remove "console=serialN,115200" from bootargs and

[RESEND PATCH v4 3/3] ARM: dts: STi: Remove console=ttyASN from bootargs for STi boards] ARM: dts: STi: Remove "console=ttyASN" from bootargs for STi boards

2018-03-14 Thread patrice.chotard
From: Patrice Chotard As serial interface is already specified into stdout-path property, "console=ttyASN,115200" from bootargs can be removed. Signed-off-by: Patrice Chotard --- v4: _ none v3: _ remove "console=serialN,115200" from bootargs and use prefered stdout-path property v2: _

[RESEND PATCH] clk: stm32: Add clk entry for SDMMC2 on stm32F769

2018-03-12 Thread patrice.chotard
From: Patrice Chotard STM32F769 has 2 SDMMC port, add clock entry for the second one. Signed-off-by: Alexandre TORGUE Signed-off-by: Patrice Chotard Acked-by: Stephen Boyd ---

[RESEND PATCH] clk: stm32: Add clk entry for SDMMC2 on stm32F769

2018-03-12 Thread patrice.chotard
From: Patrice Chotard STM32F769 has 2 SDMMC port, add clock entry for the second one. Signed-off-by: Alexandre TORGUE Signed-off-by: Patrice Chotard Acked-by: Stephen Boyd --- drivers/clk/clk-stm32f4.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH v4 0/3] Fix STi aliases property name

2018-03-07 Thread patrice.chotard
From: Patrice Chotard Since dtc v1.4.6-9-gaadd0b65c987, when compiling dtb with W=1 option, the following warnings are triggered : arch/arm/boot/dts/stih418-b2199.dtb: Warning (alias_paths): /aliases: aliases property name must include only lowercase and '-'

[PATCH v4 0/3] Fix STi aliases property name

2018-03-07 Thread patrice.chotard
From: Patrice Chotard Since dtc v1.4.6-9-gaadd0b65c987, when compiling dtb with W=1 option, the following warnings are triggered : arch/arm/boot/dts/stih418-b2199.dtb: Warning (alias_paths): /aliases: aliases property name must include only lowercase and '-'

[PATCH v4 2/3] ARM: dts: STi: Fix aliases property name for STi boards

2018-03-07 Thread patrice.chotard
From: Patrice Chotard Update serial aliases from "ttyASN" to more common "serialN". Since dtc v1.4.6-9-gaadd0b65c987, aliases property name must be lowercase only. This allows to fix following dtc warnings: arch/arm/boot/dts/stih418-b2199.dtb: Warning (alias_paths):

[PATCH v4 2/3] ARM: dts: STi: Fix aliases property name for STi boards

2018-03-07 Thread patrice.chotard
From: Patrice Chotard Update serial aliases from "ttyASN" to more common "serialN". Since dtc v1.4.6-9-gaadd0b65c987, aliases property name must be lowercase only. This allows to fix following dtc warnings: arch/arm/boot/dts/stih418-b2199.dtb: Warning (alias_paths): /aliases: aliases property

[PATCH v4 3/3] ARM: dts: STi: Remove "console=ttyASN" from bootargs for STi boards

2018-03-07 Thread patrice.chotard
From: Patrice Chotard As serial interface is already specified into stdout-path property, "console=ttyASN,115200" from bootargs can be removed. Signed-off-by: Patrice Chotard --- v4: _ none v3: _ remove "console=serialN,115200" from bootargs and

[PATCH v4 3/3] ARM: dts: STi: Remove "console=ttyASN" from bootargs for STi boards

2018-03-07 Thread patrice.chotard
From: Patrice Chotard As serial interface is already specified into stdout-path property, "console=ttyASN,115200" from bootargs can be removed. Signed-off-by: Patrice Chotard --- v4: _ none v3: _ remove "console=serialN,115200" from bootargs and use prefered stdout-path property v2: _

[PATCH v4 1/3] tty: st-asc: Update tty alias

2018-03-07 Thread patrice.chotard
From: Patrice Chotard Since dtc v1.4.6-9-gaadd0b65c987, aliases property name must include only lowercase and '-'. After having updated all STi boards serial aliases from "ttyASN" to "serialN", st-asc driver need to be updated accordingly as tty aliases id is retrieved

[PATCH v4 1/3] tty: st-asc: Update tty alias

2018-03-07 Thread patrice.chotard
From: Patrice Chotard Since dtc v1.4.6-9-gaadd0b65c987, aliases property name must include only lowercase and '-'. After having updated all STi boards serial aliases from "ttyASN" to "serialN", st-asc driver need to be updated accordingly as tty aliases id is retrieved using of_alias_get_id().

[PATCH v3 1/3] ARM: dts: STi: Fix aliases property name for STi boards

2018-03-07 Thread patrice.chotard
From: Patrice Chotard Update serial aliases from "ttyASN" to more common "serialN". Since dtc v1.4.6-9-gaadd0b65c987, aliases property name must be lowercase only. This allows to fix following dtc warnings: arch/arm/boot/dts/stih418-b2199.dtb: Warning (alias_paths):

[PATCH v3 0/3] Fix STi aliases property name

2018-03-07 Thread patrice.chotard
From: Patrice Chotard Since dtc v1.4.6-9-gaadd0b65c987, when compiling dtb with W=1 option, the following warnings are triggered : arch/arm/boot/dts/stih418-b2199.dtb: Warning (alias_paths): /aliases: aliases property name must include only lowercase and '-'

[PATCH v3 1/3] ARM: dts: STi: Fix aliases property name for STi boards

2018-03-07 Thread patrice.chotard
From: Patrice Chotard Update serial aliases from "ttyASN" to more common "serialN". Since dtc v1.4.6-9-gaadd0b65c987, aliases property name must be lowercase only. This allows to fix following dtc warnings: arch/arm/boot/dts/stih418-b2199.dtb: Warning (alias_paths): /aliases: aliases property

[PATCH v3 0/3] Fix STi aliases property name

2018-03-07 Thread patrice.chotard
From: Patrice Chotard Since dtc v1.4.6-9-gaadd0b65c987, when compiling dtb with W=1 option, the following warnings are triggered : arch/arm/boot/dts/stih418-b2199.dtb: Warning (alias_paths): /aliases: aliases property name must include only lowercase and '-'

[PATCH v3 2/3] ARM: dts: STi: Remove console=serialN from bootargs for STi boards

2018-03-07 Thread patrice.chotard
From: Patrice Chotard As serial interface is already specified into stdout-path property, "console=serialN,115200" from bootargs can be removed. Signed-off-by: Patrice Chotard --- v3: _ remove "console=serialN,115200" from bootargs and use

[PATCH v3 2/3] ARM: dts: STi: Remove console=serialN from bootargs for STi boards

2018-03-07 Thread patrice.chotard
From: Patrice Chotard As serial interface is already specified into stdout-path property, "console=serialN,115200" from bootargs can be removed. Signed-off-by: Patrice Chotard --- v3: _ remove "console=serialN,115200" from bootargs and use prefered stdout-path property v2: _ none

[PATCH v3 3/3] tty: st-asc: Update tty alias

2018-03-07 Thread patrice.chotard
From: Patrice Chotard Since dtc v1.4.6-9-gaadd0b65c987, aliases property name must include only lowercase and '-'. After having updated all STi boards serial aliases from "ttyASN" to "serialN", st-asc driver need to be updated accordingly as tty aliases id is retrieved

[PATCH v3 3/3] tty: st-asc: Update tty alias

2018-03-07 Thread patrice.chotard
From: Patrice Chotard Since dtc v1.4.6-9-gaadd0b65c987, aliases property name must include only lowercase and '-'. After having updated all STi boards serial aliases from "ttyASN" to "serialN", st-asc driver need to be updated accordingly as tty aliases id is retrieved using of_alias_get_id().

  1   2   3   4   5   >