- Jan 13, 2021
-
-
Yann Gautier authored
Change-Id: I8e0ba794e5ded1290fb83fe8d43ce54d4dc0e320 Signed-off-by:
Yann Gautier <yann.gautier@st.com>
-
Yann Gautier authored
In order to prepare low power use cases, functions are added to manage the entry or exit of DDR from self-refresh mode. Change-Id: I8a1cbc48d613366fca69b4fc6870e53f8b917598 Signed-off-by:
Yann Gautier <yann.gautier@st.com>
-
Yann Gautier authored
This driver is responsible to manage STM32MP1 Real Time Clock IP. Change-Id: I8bb84cf2a2786be718944d69153f676d57bfbc37 Signed-off-by:
Yann Gautier <yann.gautier@st.com> Signed-off-by:
Nicolas Le Bayon <nicolas.le.bayon@st.com>
-
Yann Gautier authored
The security configuration of peripherals is retrieved from device tree file. Change-Id: Iccd846462913cae8784dd6d7d613eb22834936a3 Signed-off-by:
Yann Gautier <yann.gautier@st.com>
-
Yann Gautier authored
In order to use these defines in device tree files, put them in the file st,stm32-etzpc.h in dt-bindings directory. Change-Id: I7f6a2629261e0dd8a3ab6f34f4b0547be69fab66 Signed-off-by:
Yann Gautier <yann.gautier@st.com>
-
Yann Gautier authored
This driver adds dummy regulator functions to be bind if no PMIC is found on the platform, or if a given regulator is not provided by the PMIC. The enable / disable functions do nothing and just return 0. Change-Id: Ic6457c0949d433499da257c92d39bfd024e91495 Signed-off-by:
Yann Gautier <yann.gautier@st.com> Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/tf-a/+/138203 Reviewed-by:
Lionel DEBIEVE <lionel.debieve@st.com> Reviewed-by:
CITOOLS <smet-aci-reviews@lists.codex.cro.st.com> Reviewed-by:
CIBUILD <smet-aci-builds@lists.codex.cro.st.com>
-
Yann Gautier authored
These functions will be used through the stm32mp_regulator framework. The plat_bind_regulator function is updated to manage PMIC. Change-Id: I7d92eb1c4765dc3048c7290a6e3e013b2c5b4203 Signed-off-by:
Yann Gautier <yann.gautier@st.com>
-
Yann Gautier authored
This framework only manages enabling and disabling regulators. Peripheral drivers have to register their regulator with stm32mp_regulator_register function, which calls plat_get_regulator. This function has to be defined at platform level, to bind the regulator ops depending on the regulator ID. The functions stm32mp_regulator_enable and stm32mp_regulator_disable can then be called inside drivers to manage their regulators. Change-Id: I981bc6083015b0e1c307a5a9559573b80f81fc69 Signed-off-by:
Yann Gautier <yann.gautier@st.com> Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/tf-a/+/132817 Tested-by:
Lionel DEBIEVE <lionel.debieve@st.com> Reviewed-by:
Lionel DEBIEVE <lionel.debieve@st.com> Reviewed-by:
CITOOLS <smet-aci-reviews@lists.codex.cro.st.com> Reviewed-by:
CIBUILD <smet-aci-builds@lists.codex.cro.st.com>
-
Yann Gautier authored
In order to have PMIC regulators available for storage drivers, PMIC should be initialized before IO drivers initialization. Change-Id: Ife18ef9510ee13ae090209eca4292496f230783e Signed-off-by:
Yann Gautier <yann.gautier@st.com>
-
Yann Gautier authored
The new helpers are created in STM32MP1 platform for undefined instructions, prefetch and data aborts. Change-Id: Ibe989b28e236693f317cffb0545ea0611b7bdde4 Signed-off-by:
Yann Gautier <yann.gautier@st.com>
-
Lionel Debieve authored
Use bsec_find_otp_name_in_dt() to retrieve platform OTP information from device tree, directly or through stm32_get_otp_index() and stm32_get_otp_value() platform services. String definitions replace hard-coded values, they are used to call this new function. Change-Id: I81213e4a9ad08fddadc2c97b064ae057a4c79561 Signed-off-by:
Nicolas Le Bayon <nicolas.le.bayon@st.com> Signed-off-by:
Yann Gautier <yann.gautier@st.com>
-
Yann Gautier authored
Rename driver file to BSEC2. Split header file in IP and feature parts. Several corrections and improvements. Change-Id: I1981536398d598d67a19d2d7766dacc18de72ec1 Signed-off-by:
Nicolas Le Bayon <nicolas.le.bayon@st.com> Signed-off-by:
Yann Gautier <yann.gautier@st.com>
-
Nicolas Le Bayon authored
Used by driver parsing this node to get information. Change-Id: I50623a497157adf7b9da6fafe8d79f6ff58c0ebc Signed-off-by:
Nicolas Le Bayon <nicolas.le.bayon@st.com> Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/tf-a/+/138267 Reviewed-by:
CITOOLS <smet-aci-reviews@lists.codex.cro.st.com> Reviewed-by:
CIBUILD <smet-aci-builds@lists.codex.cro.st.com> Reviewed-by:
Yann GAUTIER <yann.gautier@st.com>
-
Yann Gautier authored
The monotonic counter is stored in an OTP fuse. A check is done in TF-A. If the TF-A version is incremented, then the counter will be updated in the corresponding OTP. Change-Id: I6e7831300ca9efbb35b4c87706f2dcab35affacb Signed-off-by:
Yann Gautier <yann.gautier@st.com> Signed-off-by:
Mathieu Belou <mathieu.belou@st.com>
-
Yann Gautier authored
TZC400 is configured to raise an interrupt in case of faulty access. Call the new added tzc400_it_handler, in case this interrupt fires. Change-Id: Iaf4fa408a8eff99498042e11e2d6177bad39868c Signed-off-by:
Yann Gautier <yann.gautier@st.com>
-
Yann Gautier authored
This is no more tested at the moment, and may require some adaptations. Change-Id: I322cb638f52f7967e39cd8871da3f45ad6e50d23 Signed-off-by:
Yann Gautier <yann.gautier@st.com>
-
Nicolas Le Bayon authored
Add function headers to improve readability. Change-Id: Ia545293f00167b6276331a986ea7aa08c006e004 Signed-off-by:
Nicolas Le Bayon <nicolas.le.bayon@st.com> Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/tf-a/+/142983 Reviewed-by:
CITOOLS <smet-aci-reviews@lists.codex.cro.st.com> Reviewed-by:
CIBUILD <smet-aci-builds@lists.codex.cro.st.com> Reviewed-by:
Yann GAUTIER <yann.gautier@st.com>
-
- Dec 02, 2020
-
-
Patrick Delaunay authored
Handle boot from UART with STM32CubeProgammer with mmap io. Signed-off-by:
Patrick Delaunay <patrick.delaunay@st.com> Change-Id: Ibd719dd46a11da78633728675ef6639635b6cf67 Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/tf-a/+/180874 Reviewed-by:
CITOOLS <smet-aci-reviews@lists.codex.cro.st.com> Reviewed-by:
Yann GAUTIER <yann.gautier@st.com> Tested-by:
Yann GAUTIER <yann.gautier@st.com>
-
Yann Gautier authored
Add a file to support the tool STM32CubeProgrammer over UART in BL2 for stm32mp15x platform Signed-off-by:
Patrick Delaunay <patrick.delaunay@st.com> Change-Id: I956c95d8de0a94d1eb8e61f043651dae7b838170 Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/tf-a/+/180873 Reviewed-by:
CITOOLS <smet-aci-reviews@lists.codex.cro.st.com> Reviewed-by:
Yann GAUTIER <yann.gautier@st.com> Tested-by:
Yann GAUTIER <yann.gautier@st.com>
-
- Nov 26, 2020
-
-
Patrick Delaunay authored
Protect the UART instance used for serial boot with UART used for console. Signed-off-by:
Patrick Delaunay <patrick.delaunay@st.com> Change-Id: Ieee1557b34e7baa81594c3fbf0513191737027bf Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/tf-a/+/180872 Reviewed-by:
CITOOLS <smet-aci-reviews@lists.codex.cro.st.com> Reviewed-by:
Yann GAUTIER <yann.gautier@st.com> Tested-by:
Yann GAUTIER <yann.gautier@st.com>
-
Patrick Delaunay authored
Add a new function setup_uart_console for UART console initialization using device tree information to simplify sp_min_early_platform_setup(). Signed-off-by:
Patrick Delaunay <patrick.delaunay@st.com> Change-Id: I455b43b105a804590297572a977bc242a526df17 Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/tf-a/+/180871 Reviewed-by:
CITOOLS <smet-aci-reviews@lists.codex.cro.st.com> Reviewed-by:
Yann GAUTIER <yann.gautier@st.com> Tested-by:
Yann GAUTIER <yann.gautier@st.com>
-
Patrick Delaunay authored
Add function stm32_get_boot_interface to get the current boot interface from information saved in the TAMP register. Signed-off-by:
Patrick Delaunay <patrick.delaunay@st.com> Change-Id: I6e99fe172d895fd9d8dcb8d827b949d0e89b7879 Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/tf-a/+/180870 Reviewed-by:
CITOOLS <smet-aci-reviews@lists.codex.cro.st.com> Reviewed-by:
Yann GAUTIER <yann.gautier@st.com> Tested-by:
Yann GAUTIER <yann.gautier@st.com>
-
Patrick Delaunay authored
Add a platform function to get address from UART instance. Change-Id: Iecf052d219788664843bf1f3120964c92d4d85de Signed-off-by:
Patrick Delaunay <patrick.delaunay@st.com> Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/tf-a/+/180869 Reviewed-by:
CITOOLS <smet-aci-reviews@lists.codex.cro.st.com> Reviewed-by:
Yann GAUTIER <yann.gautier@st.com> Tested-by:
Yann GAUTIER <yann.gautier@st.com>
-
Patrick Delaunay authored
Add a compilation flag to support of STM32CubeProgrammer on UART. Signed-off-by:
Patrick Delaunay <patrick.delaunay@st.com> Change-Id: I8a6988bddaf9aad6f297c865439c7daae0e64205 Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/tf-a/+/180865 Reviewed-by:
CITOOLS <smet-aci-reviews@lists.codex.cro.st.com> Reviewed-by:
Yann GAUTIER <yann.gautier@st.com> Tested-by:
Yann GAUTIER <yann.gautier@st.com>
-
Patrick Delaunay authored
Add a new function to get the current boot device. Signed-off-by:
Patrick Delaunay <patrick.delaunay@st.com> Change-Id: Icd900e9d737c64034df8c5db7f59970f54373934 Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/tf-a/+/177378 Reviewed-by:
CITOOLS <smet-aci-reviews@lists.codex.cro.st.com> Reviewed-by:
Yann GAUTIER <yann.gautier@st.com> Tested-by:
Yann GAUTIER <yann.gautier@st.com>
-
Yann Gautier authored
Read uid from OTP to generate an uniq usb device id for dfu identification Signed-off-by:
Lionel Debieve <lionel.debieve@st.com> Reviewed-on: https://gerrit.st.com/81294 Change-Id: I75000bc75cea68c293ea77aa51bdf1e2b181e966 Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/tf-a/+/177376 Reviewed-by:
CITOOLS <smet-aci-reviews@lists.codex.cro.st.com> Reviewed-by:
Yann GAUTIER <yann.gautier@st.com> Tested-by:
Yann GAUTIER <yann.gautier@st.com>
-
Patrick Delaunay authored
Handle boot from USB with DFU and STM32CubeProgammer with mmap io. Signed-off-by:
Patrick Delaunay <patrick.delaunay@st.com> Change-Id: I6fa7e46c52dcbb5e5ccd162c26eed16cd1e148a7 Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/tf-a/+/177375 Reviewed-by:
CITOOLS <smet-aci-reviews@lists.codex.cro.st.com> Reviewed-by:
Yann GAUTIER <yann.gautier@st.com> Tested-by:
Yann GAUTIER <yann.gautier@st.com>
-
Patrick Delaunay authored
Add a file to support the tool STM32CubeProgrammer over USB in BL2 for stm32mp15x platform Change-Id: I48a8f772cb0e9b8be24c06847f724f0470c0f917 Signed-off-by:
Patrick Delaunay <patrick.delaunay@st.com> Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/tf-a/+/177374 Reviewed-by:
CITOOLS <smet-aci-reviews@lists.codex.cro.st.com> Reviewed-by:
Yann GAUTIER <yann.gautier@st.com> Tested-by:
Yann GAUTIER <yann.gautier@st.com>
-
Patrick Delaunay authored
Add the struct used for USB enumeration with the function usb_dfu_plat_init(). Signed-off-by:
Patrick Delaunay <patrick.delaunay@st.com> Change-Id: I18b40649e8df83813a5a340b0eee44c9a3470e43 Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/tf-a/+/177372 Reviewed-by:
CITOOLS <smet-aci-reviews@lists.codex.cro.st.com> Reviewed-by:
Yann GAUTIER <yann.gautier@st.com> Tested-by:
Yann GAUTIER <yann.gautier@st.com>
-
Yann Gautier authored
A new helper function stm32mp_get_chip_version() to get the chip revision. It avoids calling directly the DBGMCU function. Change-Id: I2af7c155cdea5d824c35cbb8d2617212b7f4d051 Signed-off-by:
Yann Gautier <yann.gautier@st.com> Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/tf-a/+/183154 Reviewed-by:
CITOOLS <smet-aci-reviews@lists.codex.cro.st.com>
-
Patrick Delaunay authored
Add STM32MP1_CHIP_ID define used to identify the STM32MP15x SOC. Signed-off-by:
Patrick Delaunay <patrick.delaunay@st.com> Change-Id: I6085577fde3606b87d55fc35533c41d3b12b877d Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/tf-a/+/177371 Reviewed-by:
CITOOLS <smet-aci-reviews@lists.codex.cro.st.com> Reviewed-by:
Yann GAUTIER <yann.gautier@st.com> Tested-by:
Yann GAUTIER <yann.gautier@st.com>
-
Patrick Delaunay authored
Add a helper function to get the name of the SOC. Signed-off-by:
Patrick Delaunay <patrick.delaunay@st.com> Change-Id: I321c8a9000f992869228f9099643093129ffd2cf Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/tf-a/+/177370 Reviewed-by:
CITOOLS <smet-aci-reviews@lists.codex.cro.st.com> Reviewed-by:
Yann GAUTIER <yann.gautier@st.com> Tested-by:
Yann GAUTIER <yann.gautier@st.com>
-
Patrick Delaunay authored
Add DWC2 driver stack compilation for STM32MP_USB_PROGRAMMER target Signed-off-by:
Patrick Delaunay <patrick.delaunay@st.com> Change-Id: Ic22dc232ba15c4aa555e4dff7dcb9a633f54db54 Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/tf-a/+/177369 Reviewed-by:
CITOOLS <smet-aci-reviews@lists.codex.cro.st.com> Reviewed-by:
Yann GAUTIER <yann.gautier@st.com> Tested-by:
Yann GAUTIER <yann.gautier@st.com>
-
Patrick Delaunay authored
Add driver for Synopsis DWC2 USB IP block used on STM32MP15x for USB OTG. Signed-off-by:
Patrick Delaunay <patrick.delaunay@st.com> Change-Id: I90b21f094f6637b85f3ace23a3a3a2f6fd4e0951 Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/tf-a/+/177368 Reviewed-by:
CITOOLS <smet-aci-reviews@lists.codex.cro.st.com> Reviewed-by:
Yann GAUTIER <yann.gautier@st.com> Tested-by:
Yann GAUTIER <yann.gautier@st.com>
-
Patrick Delaunay authored
Add DFU stack compilation for STM32MP_USB_PROGRAMMER target Signed-off-by:
Patrick Delaunay <patrick.delaunay@st.com> Change-Id: I56eaf06a18c779fc51b8f310c29924d4ab01306e Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/tf-a/+/177367 Reviewed-by:
CITOOLS <smet-aci-reviews@lists.codex.cro.st.com> Reviewed-by:
Yann GAUTIER <yann.gautier@st.com> Tested-by:
Yann GAUTIER <yann.gautier@st.com>
-
Patrick Delaunay authored
Add a support of USB as serial boot devices. Signed-off-by:
Patrick Delaunay <patrick.delaunay@st.com> Change-Id: I272c17c458ff1e9d0780f8fa22330c8a35533d19 Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/tf-a/+/177365 Reviewed-by:
CITOOLS <smet-aci-reviews@lists.codex.cro.st.com> Reviewed-by:
Yann GAUTIER <yann.gautier@st.com> Tested-by:
Yann GAUTIER <yann.gautier@st.com>
-
- Nov 17, 2020
-
-
Patrick Delaunay authored
Add ROM code identifier used in boot context to identify serial boot on UART or on USB Signed-off-by:
Patrick Delaunay <patrick.delaunay@st.com> Change-Id: I969037af2b697f18ed9b794d2e6561e4c4ff05e8 Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/tf-a/+/177363 Reviewed-by:
CITOOLS <smet-aci-reviews@lists.codex.cro.st.com> Reviewed-by:
Yann GAUTIER <yann.gautier@st.com> Tested-by:
Yann GAUTIER <yann.gautier@st.com>
-
- Oct 13, 2020
-
-
Yann Gautier authored
The board information values, read in an OTP are never negative, %u is then used instead of %d. Change-Id: I3bc22401fb4d54666ddf56411f75b79aca738492 Signed-off-by:
Yann Gautier <yann.gautier@st.com>
-
Nicolas Le Bayon authored
Change-Id: I2b702698d6be93da5ac86da1cbc98b3838315a5a Signed-off-by:
Nicolas Le Bayon <nicolas.le.bayon@st.com> Signed-off-by:
Yann Gautier <yann.gautier@st.com>
-
Lionel Debieve authored
Update to support new part numbers. Add new STM32 MPUs Part = STM32MP151F, STM32MP153F, STM32MP157F, STM32MP151D, STM32MP153D, STM32MP157D The STM32MP1 series is available in 3 different lines which are pin-to-pin compatible: - STM32MP157: Dual Cortex-A7 cores, Cortex-M4 core @ 209 MHz, 3D GPU, DSI display interface and CAN FD - STM32MP153: Dual Cortex-A7 cores, Cortex-M4 core @ 209 MHz and CAN FD - STM32MP151: Single Cortex-A7 core, Cortex-M4 core @ 209 MHz Each line comes with a security option (cryptography & secure boot) & a Cortex-A frequency option : - A Basic + Cortex-A7 @ 650 MHz - C Secure Boot + HW Crypto + Cortex-A7 @ 650 MHz - D Basic + Cortex-A7 @ 800 MHz - F Secure Boot + HW Crypto + Cortex-A7 @ 800 MHz Remove useless variable in stm32mp_is_single_core(). Change-Id: Id30c836af986c6340c91efa8a7ae9480a2827089 Signed-off-by:
Lionel Debieve <lionel.debieve@st.com> Signed-off-by:
Yann Gautier <yann.gautier@st.com>
-