| c77c7d9e | 15-Nov-2019 |
Nicolas Le Bayon <nicolas.le.bayon@st.com> |
refactor(st-pmic): improve driver usage
Store status of dt_pmic_status() as local static variable, this avoids parsing DT several times. In the same way, store nodes in dt_pmic_i2c_config() and in d
refactor(st-pmic): improve driver usage
Store status of dt_pmic_status() as local static variable, this avoids parsing DT several times. In the same way, store nodes in dt_pmic_i2c_config() and in dt_get_pmic_node() as local static variables.
Change-Id: I4585e9dfdde2847a369bffcc6f2b39ecc2b74de1 Signed-off-by: Nicolas Le Bayon <nicolas.le.bayon@st.com>
show more ...
|
| 01619911 | 10-Mar-2021 |
Pascal Paillet <p.paillet@st.com> |
fix(stpmic1): fix power switches activation
Add enable bit mask description because power switches are not all enabled by bit 0.
Signed-off-by: Pascal Paillet <p.paillet@st.com> Change-Id: If7c9ae7
fix(stpmic1): fix power switches activation
Add enable bit mask description because power switches are not all enabled by bit 0.
Signed-off-by: Pascal Paillet <p.paillet@st.com> Change-Id: If7c9ae7d800adee8e25416ca35db1be20452741f
show more ...
|
| ed6a8523 | 23-Mar-2020 |
Yann Gautier <yann.gautier@st.com> |
fix(stpmic1): update error cases return
Use errno values, or the return of called functions, instead of -1. Correct some MISRA issues, like braces.
Change-Id: If7b53de5cbfb4d2c9979bce0e594dd92bf07a
fix(stpmic1): update error cases return
Use errno values, or the return of called functions, instead of -1. Correct some MISRA issues, like braces.
Change-Id: If7b53de5cbfb4d2c9979bce0e594dd92bf07a77a Signed-off-by: Yann Gautier <yann.gautier@st.com>
show more ...
|
| 5b111c74 | 12-Jul-2021 |
HE Shushan <shushan.he@st.com> |
fix(stm32mp1_clk): keep RTC clock always on
On battery powered systems the RTC keeps the date/time across system reboot. The RTC clock should not be disabled otherwise the date/time counter gets sto
fix(stm32mp1_clk): keep RTC clock always on
On battery powered systems the RTC keeps the date/time across system reboot. The RTC clock should not be disabled otherwise the date/time counter gets stopped.
Tag RTC clock as always on.
Signed-off-by: HE Shushan <shushan.he@st.com> Signed-off-by: Antonio Borneo <antonio.borneo@foss.st.com> Change-Id: I6455c3c740d2e5add28255eb84f8ebaf2870d9d8
show more ...
|
| bf39318d | 16-Sep-2020 |
Yann Gautier <yann.gautier@st.com> |
fix(stm32mp1_clk): set other clocks as always on
AXI, MPU and MCU clocks are always on, put them in the list in the function clock_is_always_on().
Change-Id: I969a442274d2da6c59636f3293de1c31b4c8e3
fix(stm32mp1_clk): set other clocks as always on
AXI, MPU and MCU clocks are always on, put them in the list in the function clock_is_always_on().
Change-Id: I969a442274d2da6c59636f3293de1c31b4c8e3b1 Signed-off-by: Yann Gautier <yann.gautier@st.com>
show more ...
|
| 602ae2f2 | 28-Feb-2020 |
Gabriel Fernandez <gabriel.fernandez@st.com> |
fix(stm32mp1_clk): fix MPU clock rate
MPUDIV dividers are stored in a constant array, under bit shifts form. They must be used in this way by the clock driver.
Change-Id: If758f7a4048eff956067a10a4
fix(stm32mp1_clk): fix MPU clock rate
MPUDIV dividers are stored in a constant array, under bit shifts form. They must be used in this way by the clock driver.
Change-Id: If758f7a4048eff956067a10a42ab0983a20a000d Signed-off-by: Gabriel Fernandez <gabriel.fernandez@st.com> Signed-off-by: Nicolas Le Bayon <nicolas.le.bayon@st.com>
show more ...
|
| b8fe48b6 | 19-Dec-2019 |
Etienne Carriere <etienne.carriere@st.com> |
fix(stm32mp1_clk): fix MCU/AXI parent clock
Correct MCU clock parent selector: MCU subsystem clock is derived from clock PLL3_P, not PLL3.
Correct AXI clock parent selector: AXI subsystem clock is
fix(stm32mp1_clk): fix MCU/AXI parent clock
Correct MCU clock parent selector: MCU subsystem clock is derived from clock PLL3_P, not PLL3.
Correct AXI clock parent selector: AXI subsystem clock is derived from clock PLL2_P, not PLL2.
This change also renames MCU clock and AXI clock resources to prevent confusion.
Change-Id: If55618d180e7dce8e4f0977b0e586a6fa8ef28d1 Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
show more ...
|
| 49c7f0ce | 09-Sep-2021 |
Yann Gautier <yann.gautier@foss.st.com> |
fix(stm32_console): do not skip init for crash console
In BL32, only skip UART initialization if UART enable bit is set. Due to patch [1], a reset of UART is done in crash console init. In this case
fix(stm32_console): do not skip init for crash console
In BL32, only skip UART initialization if UART enable bit is set. Due to patch [1], a reset of UART is done in crash console init. In this case, UART should then be reconfigured.
[1] 7fa2e96e1 ("stm32mp1: add UART reset in crash console init")
Signed-off-by: Yann Gautier <yann.gautier@foss.st.com> Change-Id: I650d4c387b60dd74b780e6f3adfd629ea44f5834
show more ...
|
| 288f5cf2 | 31-Aug-2021 |
Yann Gautier <yann.gautier@foss.st.com> |
refactor(stm32mp1_clk): update RCC registers file
The file is first generated with the peripheral spirit XML file. And then we add some common definition, to ease driver development.
Change-Id: I4c
refactor(stm32mp1_clk): update RCC registers file
The file is first generated with the peripheral spirit XML file. And then we add some common definition, to ease driver development.
Change-Id: I4c222cf006caf27cda6da044eaf184ce66bb1442 Signed-off-by: Yann Gautier <yann.gautier@foss.st.com>
show more ...
|
| 373f06be | 02-Sep-2019 |
Lionel Debieve <lionel.debieve@st.com> |
fix(stm32mp1_clk): keep RTCAPB clock always on
Further information such as boot instance are sent over backup registers. In order to guarantee direct access to backup registers in uboot, we will kee
fix(stm32mp1_clk): keep RTCAPB clock always on
Further information such as boot instance are sent over backup registers. In order to guarantee direct access to backup registers in uboot, we will keep the RTC clock enabled.
Change-Id: I16572d422bfebbf39190a87db8046df486ce91c8 Signed-off-by: Lionel Debieve <lionel.debieve@st.com> Signed-off-by: Yann Gautier <yann.gautier@st.com>
show more ...
|
| cbd2e8a6 | 27-Jul-2021 |
Gabriel Fernandez <gabriel.fernandez@foss.st.com> |
fix(stm32mp1_clk): fix RTC clock rating
When RTC clock source is HSE, the RTCDIV is not taken into account.
Change-Id: I1613b638e8932c03f3349adb01e13f5294a3bf5d Signed-off-by: Gabriel Fernandez <ga
fix(stm32mp1_clk): fix RTC clock rating
When RTC clock source is HSE, the RTCDIV is not taken into account.
Change-Id: I1613b638e8932c03f3349adb01e13f5294a3bf5d Signed-off-by: Gabriel Fernandez <gabriel.fernandez@foss.st.com> Signed-off-by: Yann Gautier <yann.gautier@foss.st.com>
show more ...
|