| 6bc7c5b7 | 28-Jun-2024 |
Maxime Méré <maxime.mere@foss.st.com> |
fix(st-crypto): do not set IPRST if BUSY flag is present
An issue appear when a IPRST is set when BUSY flag is still set. Put the IP reset under condition solve this issue.
Signed-off-by: Maxime Mé
fix(st-crypto): do not set IPRST if BUSY flag is present
An issue appear when a IPRST is set when BUSY flag is still set. Put the IP reset under condition solve this issue.
Signed-off-by: Maxime Méré <maxime.mere@foss.st.com> Change-Id: Ibb096c1a362b8077285812e1ffca749c7fc93a03
show more ...
|
| 6851fd9e | 09-Jan-2025 |
Nicolas Le Bayon <nicolas.le.bayon@foss.st.com> |
fix(st-ddr): bad refresh update level toggle sequence
wait_refresh_update_done_ack() must toggle RFSHCTL3_REFRESH_UPDATE_LEVEL bit at each call to follow the recommended procedure. Fix action and lo
fix(st-ddr): bad refresh update level toggle sequence
wait_refresh_update_done_ack() must toggle RFSHCTL3_REFRESH_UPDATE_LEVEL bit at each call to follow the recommended procedure. Fix action and loop condition.
Signed-off-by: Nicolas Le Bayon <nicolas.le.bayon@foss.st.com> Change-Id: Iacf1e92a1ddaf2ab10e4f3a873be6ad1d3576e5f
show more ...
|
| 5dd1d544 | 10-Oct-2024 |
Maxime Méré <maxime.mere@foss.st.com> |
fix(st-ddr): fix coverity issue in ddrphyinit
Address issue CID 445362 and CID 445361 found during coverity scan.
Change-Id: I1ab460d2e1353b81517788e32de662f203b0352f Signed-off-by: Maxime Méré <ma
fix(st-ddr): fix coverity issue in ddrphyinit
Address issue CID 445362 and CID 445361 found during coverity scan.
Change-Id: I1ab460d2e1353b81517788e32de662f203b0352f Signed-off-by: Maxime Méré <maxime.mere@foss.st.com>
show more ...
|
| d596023b | 08-Mar-2022 |
Nicolas Le Bayon <nicolas.le.bayon@st.com> |
refactor(st-ddr): create generic services
Disabling AXI port, enabling host interface and both enabling/disabling software self-refresh services are already present inside the driver source code. Fa
refactor(st-ddr): create generic services
Disabling AXI port, enabling host interface and both enabling/disabling software self-refresh services are already present inside the driver source code. Factorize by gathering them as services inside the generic part, and adapt driver to call these new functions.
Add services to manage quasi-dynamic registers. DDRCTRL contains quasi-dynamic registers, which are dynamic only under some conditions defined by the user guide (with 4 groups). In our driver, out of reset state, only groups 3 and 4 are updated. Group 4 needs only sw_done/sw_done_ack sequence, already available. Group 3 sequence include more conditions, that are gathered in specific services. stm32mp_ddr_disable_host_interface() has been added to do this.
Add dedicated generic service to toggle rfshctl3.refresh_update_level and wait for completion.
Manage AXI ports and HIF when updating QD3 registers. Quasi-dynamic group 3 (QD3) registers are updated when DDR is not completely initialized, i.e. when AXI ports are not enabled and possibly when host interface (HIF) is not enabled too. In that case, a specific mechanism is necessary to restore the same conditions as before accessing QD3 registers. Static functions have been added to get AXI ports and HIF states and are used to determine the needed conditions to set/unset.
Signed-off-by: Nicolas Le Bayon <nicolas.le.bayon@st.com> Change-Id: I880f88b1cb6fc76199ad9ea33e9d63a5c469aed4
show more ...
|
| 1483b3c3 | 29-May-2024 |
Yann Gautier <yann.gautier@st.com> |
refactor(st-ddr): remove name from stm32mp_ddr_reg_desc
It was only used for an error trace, with little added value. This allows some gains in DDR driver data size.
Signed-off-by: Yann Gautier <ya
refactor(st-ddr): remove name from stm32mp_ddr_reg_desc
It was only used for an error trace, with little added value. This allows some gains in DDR driver data size.
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: I02e2fc75efd90ff188e62f39850b9bd4c3af1649
show more ...
|
| 156ed972 | 19-Jan-2024 |
Patrick Delaunay <patrick.delaunay@foss.st.com> |
feat(st-regulator): support regulator_set_voltage for fixed regulator
Always support the regulator_set_voltage operation for the same voltage. This patch prepares the DDR power configuration when th
feat(st-regulator): support regulator_set_voltage for fixed regulator
Always support the regulator_set_voltage operation for the same voltage. This patch prepares the DDR power configuration when the power supplies are fixed.
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Signed-off-by: Maxime Méré <maxime.mere@foss.st.com> Change-Id: Idf032b03c6f0c95f997dec3ed8a0d38c54a3de15
show more ...
|
| f829d7df | 20-Apr-2022 |
Gabriel Fernandez <gabriel.fernandez@foss.st.com> |
feat(st-reset): add stm32mp2_reset driver
This driver manages the resets of the peripherals embedded in STM32MP2. Like clock driver, it also uses the RCC peripheral.
Change-Id: I8217891bdf1b847925a
feat(st-reset): add stm32mp2_reset driver
This driver manages the resets of the peripherals embedded in STM32MP2. Like clock driver, it also uses the RCC peripheral.
Change-Id: I8217891bdf1b847925aad77f3f6ef542f08d1fba Signed-off-by: Yann Gautier <yann.gautier@st.com>
show more ...
|
| 179a130a | 08-Nov-2023 |
Christophe Kerello <christophe.kerello@foss.st.com> |
fix(st-gpio): configure each GPIO mux as secure for STM32MP2
GPIOs are configured as secure by default on STM32MP2. The former code is then put under #if STM32MP13 || STM32MP15. The else part is for
fix(st-gpio): configure each GPIO mux as secure for STM32MP2
GPIOs are configured as secure by default on STM32MP2. The former code is then put under #if STM32MP13 || STM32MP15. The else part is for STM32MP2 family.
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Signed-off-by: Christophe Kerello <christophe.kerello@foss.st.com> Change-Id: I80c5944d4ae662f9e28269c3dc543b13f0e26a7b
show more ...
|
| 1a25db19 | 02-Nov-2023 |
Yann Gautier <yann.gautier@foss.st.com> |
feat(st-clock): use early traces
Replace trace macros with their corresponding EARLY_* macros.
Change-Id: I39b163964fa3129be38e58352b5dee9b4081675b Signed-off-by: Yann Gautier <yann.gautier@foss.st
feat(st-clock): use early traces
Replace trace macros with their corresponding EARLY_* macros.
Change-Id: I39b163964fa3129be38e58352b5dee9b4081675b Signed-off-by: Yann Gautier <yann.gautier@foss.st.com>
show more ...
|
| eca51034 | 30-Nov-2023 |
Christoph Fritz <chf@fritzc.com> |
fix(st-clock): adapt order of CSS on LSE and HSE
Fix the activation order of the CSS to prevent a faulty halt, according to the reference manual (RM0442 Rev 6, Chapter: 10.4.3 Clock security system
fix(st-clock): adapt order of CSS on LSE and HSE
Fix the activation order of the CSS to prevent a faulty halt, according to the reference manual (RM0442 Rev 6, Chapter: 10.4.3 Clock security system CSS) it must be done after selecting the LSE clock via the RTCSRC field. For the HSE clock, this can be activated even when HSEON is '0'.
Signed-off-by: Christoph Fritz <chf@fritzc.com> Signed-off-by: Gabriel Fernandez <gabriel.fernandez@foss.st.com> Change-Id: Ied01baac1ccc63dcef78bf5f9180bb8628cce2d0
show more ...
|
| 3201497e | 21-Dec-2023 |
Yann Gautier <yann.gautier@foss.st.com> |
refactor(st-clock): remove unused struct
The struct clk_fixed_rate is used nowhere in the code, remove its definition.
Change-Id: I139ad05a249357da96a996feabd4b1f53e290f2a Signed-off-by: Yann Gauti
refactor(st-clock): remove unused struct
The struct clk_fixed_rate is used nowhere in the code, remove its definition.
Change-Id: I139ad05a249357da96a996feabd4b1f53e290f2a Signed-off-by: Yann Gautier <yann.gautier@foss.st.com>
show more ...
|