- Feb 25, 2022
-
-
Fabrice Gasnier authored
Remove the following warnings seen when building with W=1. Warning (unique_unit_address): /soc/timer@40000c00: duplicate unit-address (also used in node /soc/timers@40000c00) This approach is based on some discussions[1], to restructure the dtsi and dts files. Timer5 is enabled by default on stm32f7 series, to act as clockevent. In order to get rid of the W=1 warning, and be compliant with dt-schemas (e.g. dtbs_check): - In stm32f746.dtsi: . Keep the more complete timers5 description . Remove the most simple timer5 node that is duplicate - In each board: . adopt "st,stm32-timer" compatible for timers5, also add the interrupt . use /delete-property/ and /delete-node/ so the it matches the clockevent bindings Note: all this is done in one shot (e.g. not split) to keep clockevent functionality. [1] https://lore.kernel.org/linux-arm-kernel/Yaf4jiZIp8+ndaXs@robh.at.kernel.org/ Signed-off-by:Fabrice Gasnier <fabrice.gasnier@foss.st.com> Signed-off-by:
Alexandre Torgue <alexandre.torgue@foss.st.com>
-
Fabrice Gasnier authored
Several unused "timer" are duplicate nodes of "timers" nodes. There are two dt-schemas: - timer/st,stm32-timer.yaml: A timer is needed on STM32F7 series, on all boards, to act as clockevent. - mfd/st,stm32-timers.yaml: Timers can be used for other purpose. By default, timer5 is left enabled to be used as clockevent. Remove all other timer clockevent nodes that are currently unused and duplicated. This removes several messages: Warning (unique_unit_address): /soc/timer@.. duplicate unit-address (also used in node /soc/timers@...) Signed-off-by:
Fabrice Gasnier <fabrice.gasnier@foss.st.com> Signed-off-by:
Alexandre Torgue <alexandre.torgue@foss.st.com>
-
Alexandre Torgue authored
As EXTI/GIC mapping has changed between STM32MP15 and STM32MP13, a new compatible is needed to choose mp13 mapping table in stm32-exti driver. Signed-off-by:Alexandre Torgue <alexandre.torgue@foss.st.com>
-
Erwan Le Ray authored
DMA configuration is added to uart nodes in stm32mp15x device tree. Delete uart4 DMA property in stm32mp15xx-dhcor-avenger96 board device tree to keep console in irq mode, as DMA support for console has been removed from the driver by commit e359b441 ("serial: stm32: fix threaded interrupt handling"). Delete also usart2 and uart7 DMA property to keep current behavior. Signed-off-by:
Erwan Le Ray <erwan.leray@foss.st.com> Signed-off-by:
Alexandre Torgue <alexandre.torgue@foss.st.com>
-
Erwan Le Ray authored
DMA configuration is added to uart nodes in stm32mp15x device tree. Delete uart4 DMA property in stm32mp15xx-dhcom-som board device tree to keep console in irq mode, as DMA support for console has been removed from the driver by commit e359b441 ("serial: stm32: fix threaded interrupt handling"). Signed-off-by:
Erwan Le Ray <erwan.leray@foss.st.com> Signed-off-by:
Alexandre Torgue <alexandre.torgue@foss.st.com>
-
Erwan Le Ray authored
DMA configuration is added to uart nodes in stm32mp15x device tree. Delete usart3 and uart8 nodes DMA property in stm32mp15xx-dhcom-picoitx board device tree to keep current behavior. Signed-off-by:
Erwan Le Ray <erwan.leray@foss.st.com> Signed-off-by:
Alexandre Torgue <alexandre.torgue@foss.st.com>
-
Erwan Le Ray authored
DMA configuration is added to uart nodes in stm32mp15x device tree. Delete usart3 and uart8 DMA property in stm32mp15xx-dhcom-pdk2 board device tree to keep current behavior. Signed-off-by:
Erwan Le Ray <erwan.leray@foss.st.com> Signed-off-by:
Alexandre Torgue <alexandre.torgue@foss.st.com>
-
Erwan Le Ray authored
DMA configuration is added to uart nodes in stm32mp15x device tree. Delete usart3 and uart8 nodes DMA property in stm32mp15xx-dhcom-drc02 board device tree to keep current behavior. Signed-off-by:
Erwan Le Ray <erwan.leray@foss.st.com> Signed-off-by:
Alexandre Torgue <alexandre.torgue@foss.st.com>
-
Erwan Le Ray authored
DMA configuration is added to uart nodes in stm32mp15x device tree. Delete uart4 DMA property in stm32mp157c-odyssey board device tree to keep console in irq mode, as DMA support for console has been removed from the driver by commit e359b441 ("serial: stm32: fix threaded interrupt handling"). Signed-off-by:
Erwan Le Ray <erwan.leray@foss.st.com> Signed-off-by:
Alexandre Torgue <alexandre.torgue@foss.st.com>
-
Erwan Le Ray authored
DMA configuration is added to uart nodes in stm32mp15x device tree. Delete uart4 DMA property in stm32mp157c-lxa-mc1 board device tree to keep console in irq mode, as DMA support for console has been removed from the driver by commit e359b441 ("serial: stm32: fix threaded interrupt handling"). Signed-off-by:
Erwan Le Ray <erwan.leray@foss.st.com> Reviewed-by:
Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by:
Alexandre Torgue <alexandre.torgue@foss.st.com>
-
Erwan Le Ray authored
DMA configuration is added to uart nodes in stm32mp15x device tree. Delete uart4 DMA property in stm32mp157a-stinger96 board device tree to keep console in irq mode, as DMA support for console has been removed from the driver by commit e359b441 ("serial: stm32: fix threaded interrupt handling"). Delete also usart2 and uart7 DMA property to keep current behavior. Signed-off-by:
Erwan Le Ray <erwan.leray@foss.st.com> Signed-off-by:
Alexandre Torgue <alexandre.torgue@foss.st.com>
-
Erwan Le Ray authored
DMA configuration is added to uart nodes in stm32mp15x device tree. Delete uart4 DMA property in stm32mp1-microdev2.0 board device tree to keep console in irq mode, as DMA support for console has been removed from the driver by commit e359b441 ("serial: stm32: fix threaded interrupt handling"). Delete also uart8 DMA property to keep current behavior. Signed-off-by:
Erwan Le Ray <erwan.leray@foss.st.com> Signed-off-by:
Alexandre Torgue <alexandre.torgue@foss.st.com>
-
Erwan Le Ray authored
DMA configuration is added to uart nodes in stm32mp15x device tree. Delete uart4 DMA property in stm32mp1-microdev2.0-of7 board device tree to keep console in irq mode, as DMA support for console has been removed from the driver by commit e359b441 ("serial: stm32: fix threaded interrupt handling"). Delete also uart8 DMA property to keep current behavior. Signed-off-by:
Erwan Le Ray <erwan.leray@foss.st.com> Signed-off-by:
Alexandre Torgue <alexandre.torgue@foss.st.com>
-
Erwan Le Ray authored
DMA configuration is added to uart nodes in stm32mp15x device tree. Delete uart4 DMA property in stm32mp157a-iot-box board device tree to keep console in irq mode, as DMA support for console has been removed from the driver by commit e359b441 ("serial: stm32: fix threaded interrupt handling"). Signed-off-by:
Erwan Le Ray <erwan.leray@foss.st.com> Signed-off-by:
Alexandre Torgue <alexandre.torgue@foss.st.com>
-
Erwan Le Ray authored
DMA configuration is added to uart nodes in stm32mp15x device tree. Delete uart4 DMA property in icore-stm32mp1-edimm2.2 board device tree to keep console in irq mode, as DMA support for console has been removed from the driver by commit e359b441 ("serial: stm32: fix threaded interrupt handling"). Signed-off-by:
Erwan Le Ray <erwan.leray@foss.st.com> Signed-off-by:
Alexandre Torgue <alexandre.torgue@foss.st.com>
-
Erwan Le Ray authored
DMA configuration is added to uart nodes in stm32mp15x device tree. Delete uart4 DMA property in icore-stm32mp1-ctouch2 board device tree to keep console in irq mode, as DMA support for console has been removed from the driver by commit e359b441 ("serial: stm32: fix threaded interrupt handling"). Signed-off-by:
Erwan Le Ray <erwan.leray@foss.st.com> Signed-off-by:
Alexandre Torgue <alexandre.torgue@foss.st.com>
-
Erwan Le Ray authored
DMA configuration is added to uart nodes in stm32mp15x device tree. Delete uart4 DMA property in stm32mp15xx-dkx board device tree to keep console in irq mode, as DMA support for console has been removed from the driver by commit e359b441 ("serial: stm32: fix threaded interrupt handling"). Delete also uart7 DMA property to keep current behavior. Signed-off-by:
Erwan Le Ray <erwan.leray@foss.st.com> Signed-off-by:
Alexandre Torgue <alexandre.torgue@foss.st.com>
-
Erwan Le Ray authored
DMA configuration is added to uart nodes in stm32mp15x device tree. Delete uart4 DMA property in stm32mp157c-ed1 board device tree to keep console in irq mode, as DMA support for console has been removed from the driver by commit e359b441 ("serial: stm32: fix threaded interrupt handling"). Signed-off-by:
Erwan Le Ray <erwan.leray@foss.st.com> Signed-off-by:
Alexandre Torgue <alexandre.torgue@foss.st.com>
-
Erwan Le Ray authored
Add DMA configuration in stm32mp15x uart nodes by selecting dma direct mode and alternate REQ/ACK dma protocol for uart. DMA direct mode allows to bypass DMA FIFO. Each DMA request immediately initiates a transfer from/to the memory. This allows USART to get data transferred, even when the transfer ends before the DMA FIFO completion. Default REQ/ACK DMA protocol consists in maintaining ACK signal up to the removal of REQuest and the transfer completion. In case of alternative REQ/ACK protocol, ACK de-assertion does not wait the removal of the REQuest, but only the transfer completion. Due to a possible DMA stream lock when transferring data to/from STM32 USART/UART, select this alternative protocol in STM32 USART/UART nodes. Signed-off-by:
Valentin Caron <valentin.caron@foss.st.com> Signed-off-by:
Erwan Le Ray <erwan.leray@foss.st.com> Signed-off-by:
Alexandre Torgue <alexandre.torgue@foss.st.com>
-
Alexandre Torgue authored
Link between GIC and exti line is now done inside EXTI driver. So in order to be wake up source exti irqchip has to be used. Signed-off-by:
Alexandre Torgue <alexandre.torgue@st.com> Cc: Alexandre Torgue <alexandre.torgue@foss.st.com> Signed-off-by:
Alexandre Torgue <alexandre.torgue@foss.st.com>
-
Marek Vasut authored
Add reserved memory nodes for CortexM4 on the STM32MP1 DHCOR SoM, enable rproc to control the CM4 and IPCC mailbox to interact with it. Signed-off-by:
Marek Vasut <marex@denx.de> Cc: Alexandre Torgue <alexandre.torgue@foss.st.com> Cc: linux-stm32@st-md-mailman.stormreply.com To: linux-arm-kernel@lists.infradead.org Signed-off-by:
Alexandre Torgue <alexandre.torgue@foss.st.com>
-
Amelie Delaunay authored
MDMA on STM32MP13x SoCs is the same than on STM32MP15x SoCs: it offers up to 32 channels and supports 48 requests. Signed-off-by:
Amelie Delaunay <amelie.delaunay@foss.st.com> Signed-off-by:
Alexandre Torgue <alexandre.torgue@foss.st.com>
-
Amelie Delaunay authored
DMA1 and DMA2 on STM32MP13x SoCs are the same than on STM32MP15x SoCs: they offer up to 8 channels and request lines are routed through DMAMUX1. Signed-off-by:
Amelie Delaunay <amelie.delaunay@foss.st.com> Signed-off-by:
Alexandre Torgue <alexandre.torgue@foss.st.com>
-
- Feb 07, 2022
-
-
Olivier Moysan authored
Replace sai2a-2 node name by sai2a-sleep-2, to avoid name duplication. Fixes: 1a9a9d22 ("ARM: dts: stm32: fix AV96 board SAI2 pin muxing on stm32mp15") Signed-off-by:
Olivier Moysan <olivier.moysan@foss.st.com> Signed-off-by:
Alexandre Torgue <alexandre.torgue@foss.st.com>
-
Dillon Min authored
Enable DMA2D on STM32F469-DISCO board. Signed-off-by:
Dillon Min <dillon.minfei@gmail.com> Signed-off-by:
Alexandre Torgue <alexandre.torgue@foss.st.com>
-
Dillon Min authored
Add DMA2D for STM32F429 series soc. Signed-off-by:
Dillon Min <dillon.minfei@gmail.com> Signed-off-by:
Alexandre Torgue <alexandre.torgue@foss.st.com>
-
Yann Gautier authored
Those pins are used for SDIO on STM32MP135F-DK board. Signed-off-by:
Yann Gautier <yann.gautier@foss.st.com> Signed-off-by:
Alexandre Torgue <alexandre.torgue@foss.st.com>
-
Yann Gautier authored
STM32MP13 embeds 2 instances of SDMMC peripheral. Add the required information in SoC device tree file. Signed-off-by:
Yann Gautier <yann.gautier@foss.st.com> Signed-off-by:
Alexandre Torgue <alexandre.torgue@foss.st.com>
-
Yann Gautier authored
On STM32MP13, the embedded SDMMC peripheral version is v2.2. Update arm,primecell-periphid for SDMMC in the SoC DT file. Signed-off-by:
Yann Gautier <yann.gautier@st.com> Signed-off-by:
Alexandre Torgue <alexandre.torgue@foss.st.com>
-
Yann Gautier authored
Add sleep properties in pinctrl config for SDMMC1. Signed-off-by:
Yann Gautier <yann.gautier@foss.st.com> Signed-off-by:
Alexandre Torgue <alexandre.torgue@foss.st.com>
-
Yann Gautier authored
The node sdmmc1_b4_sleep_pins_a is added in stm32mp13-pinctrl.dtsi file. Signed-off-by:
Yann Gautier <yann.gautier@foss.st.com> Signed-off-by:
Alexandre Torgue <alexandre.torgue@foss.st.com>
-
Yann Gautier authored
Add sdmmc1_clk_pins_a in sdmmc1 pinctrl nodes, to properly manage clock slew-rate. Signed-off-by:
Yann Gautier <yann.gautier@foss.st.com> Signed-off-by:
Alexandre Torgue <alexandre.torgue@foss.st.com>
-
Gerald Baeza authored
SDMMC1/2 CK <= 50 MHz so slew-rate = <1> A new node sdmmc1-clk-0 is added to manage the new clock pin slew-rate. Signed-off-by:
Gerald Baeza <gerald.baeza@foss.st.com> Signed-off-by:
Yann Gautier <yann.gautier@foss.st.com> Signed-off-by:
Alexandre Torgue <alexandre.torgue@foss.st.com>
-
Yann Gautier authored
The max-frequency limitation is due to IOs. On STM32MP13, it is 130MHz. Update the corresponding property. Signed-off-by:
Yann Gautier <yann.gautier@foss.st.com> Signed-off-by:
Alexandre Torgue <alexandre.torgue@foss.st.com>
-
Yann Gautier authored
To align with bootloaders device tree files, and thanks to what was added in yaml file [1], the compatible property for sdmmc1 node is updated with "st,stm32-sdmmc2" string. [1] commit 552bc464 ("dt-bindings: mmc: mmci: Add st,stm32-sdmmc2 compatible") Signed-off-by:
Yann Gautier <yann.gautier@foss.st.com> Signed-off-by:
Alexandre Torgue <alexandre.torgue@foss.st.com>
-
Yann Gautier authored
To align with bootloaders device tree files, and thanks to what was added in yaml file [1], the compatible property for sdmmc nodes is updated with "st,stm32-sdmmc2" string. [1] commit 552bc464 ("dt-bindings: mmc: mmci: Add st,stm32-sdmmc2 compatible") Signed-off-by:
Yann Gautier <yann.gautier@foss.st.com> Signed-off-by:
Alexandre Torgue <alexandre.torgue@foss.st.com>
-
Marek Vasut authored
The stm32mp15xxaa-pinctrl.dtsi included in stm32mp15xx-dhcom-som.dtsi already sets status = "okay" in gpioc: gpio@50004000 node, drop the duplicate from stm32mp15xx-dhcom-som.dtsi . No functional change. Signed-off-by:
Marek Vasut <marex@denx.de> Cc: Alexandre Torgue <alexandre.torgue@foss.st.com> Cc: Christoph Niedermaier <cniedermaier@dh-electronics.com> Cc: Patrice Chotard <patrice.chotard@foss.st.com> Cc: Patrick Delaunay <patrick.delaunay@foss.st.com> Cc: kernel@dh-electronics.com Cc: linux-stm32@st-md-mailman.stormreply.com Signed-off-by:
Alexandre Torgue <alexandre.torgue@foss.st.com>
-
Reinhold Mueller authored
This patch presents the DT patches for the emtrion GmbH Argon board series. They are available with STM32MP157 from STMicroelectronics with 512 MByte Memory. The devicetree stm32mp157c-emstamp-argon.dtsi is the common part providing the module components and the basic support for the SoC. The support for the emSBC-Argon baseboard in the developer-kit configuration is provided by the stm32mp157c-emsbc-argon.dts file. Signed-off-by:
Reinhold Mueller <reinhold.mueller@emtrion.com> Signed-off-by:
Alexandre Torgue <alexandre.torgue@foss.st.com>
-
Reinhold Mueller authored
This patch presents the yaml patch for the emtrion GmbH Argon board series. Signed-off-by:
Reinhold Mueller <reinhold.mueller@emtrion.com> Acked-by:
Rob Herring <robh@kernel.org> Signed-off-by:
Alexandre Torgue <alexandre.torgue@foss.st.com>
-
Fabrice Gasnier authored
Remove the following warnings seen when building with W=1. Warning (unique_unit_address): /soc/timer@40000c00: duplicate unit-address (also used in node /soc/timers@40000c00) This approach is based on some discussions[1], to restructure the dtsi and dts files. Timer5 is enabled by default on stm32f4 series, to act as clockevent. In order to get rid of the W=1 warning, and be compliant with dt-schemas (e.g. dtbs_check): - In stm32f429.dtsi: . Keep the more complete timers5 description . Remove the most simple timer5 node that is duplicate - In each board: . adopt "st,stm32-timer" compatible for timers5, also add the interrupt . use /delete-property/ and /delete-node/ so the it matches the clockevent bindings Note: all this is done in one shot (e.g. not split) to keep clockevent functionality. [1] https://lore.kernel.org/linux-arm-kernel/Yaf4jiZIp8+ndaXs@robh.at.kernel.org/ Signed-off-by:Fabrice Gasnier <fabrice.gasnier@foss.st.com> Signed-off-by:
Alexandre Torgue <alexandre.torgue@foss.st.com>
-