| 5278ec3f | 18-Jan-2022 |
Yann Gautier <yann.gautier@st.com> |
feat(st-pmic): add pmic_voltages_init() function
This new function pmic_voltages_init() is used to set the minimum value for STM32MP13 VDDCPU and VDDCORE regulators. This value is retrieved from dev
feat(st-pmic): add pmic_voltages_init() function
This new function pmic_voltages_init() is used to set the minimum value for STM32MP13 VDDCPU and VDDCORE regulators. This value is retrieved from device tree.
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: Ibbe237cb5dccc1fddf92e07ffd3955048ff82075
show more ...
|
| 9be88e75 | 11-Mar-2020 |
Gabriel Fernandez <gabriel.fernandez@st.com> |
feat(st-clock): add clock driver for STM32MP13
Add new clock driver for STM32MP13. Split the include file to manage either STM32MP13 or STM32MP15.
Change-Id: Ia568cd12b1d5538809204f0fd2224d51e5d1e9
feat(st-clock): add clock driver for STM32MP13
Add new clock driver for STM32MP13. Split the include file to manage either STM32MP13 or STM32MP15.
Change-Id: Ia568cd12b1d5538809204f0fd2224d51e5d1e985 Signed-off-by: Gabriel Fernandez <gabriel.fernandez@st.com>
show more ...
|
| 111a384c | 12-Feb-2020 |
Yann Gautier <yann.gautier@st.com> |
feat(stm32mp1): remove unsupported features on STM32MP13
* GPIO: On STM32MP13, there are no banks GPIOJ, GPIOK and GPIOZ. * STM32MP13 is a single Cortex-A7 CPU: remove reset from MPU1 and reset fr
feat(stm32mp1): remove unsupported features on STM32MP13
* GPIO: On STM32MP13, there are no banks GPIOJ, GPIOK and GPIOZ. * STM32MP13 is a single Cortex-A7 CPU: remove reset from MPU1 and reset from MCU traces * There is no MCU on STM32MP13. Put MCU security management under STM32MP15 flag. * The authentication feature is not supported yet on STM32MP13, put the code under SPM32MP15 flag. * On STM32MP13, the monotonic counter is managed in ROM code, keep the monotonic counter update just for STM32MP15. * SYSCFG: put registers not present on STM32MP13 under STM32MP15 flag, as the code that manages them. * PMIC: use ldo3 during DDR configuration only for STM32MP15 * Reset UART pins on USB boot is no more required.
Change-Id: Iceba59484a9bb02828fe7e99f3ecafe69c837bc7 Signed-off-by: Yann Gautier <yann.gautier@st.com> Signed-off-by: Gabriel Fernandez <gabriel.fernandez@st.com>
show more ...
|
| 2355ebff | 14-Mar-2022 |
Schspa Shi <schspa@gmail.com> |
fix(scmi): use same type for message_id
The code declares different types of parameters.
static bool message_id_is_supported(unsigned int message_id); static bool message_id_is_supported(size_t mes
fix(scmi): use same type for message_id
The code declares different types of parameters.
static bool message_id_is_supported(unsigned int message_id); static bool message_id_is_supported(size_t message_id) { ... }
Signed-off-by: Schspa Shi <schspa@gmail.com> Change-Id: I7435d3b9309ea5fb5f8e3daa7173e09322184422
show more ...
|
| 0956319b | 15-Mar-2022 |
anans <anans@google.com> |
fix(ufs): move nutrs assignment to ufs_init
nutrs is set in ufs_enum (used by get_empty_slot), this will not be assigned if UFS_FLAGS_SKIPINIT is set in flags during init and might end up crashing r
fix(ufs): move nutrs assignment to ufs_init
nutrs is set in ufs_enum (used by get_empty_slot), this will not be assigned if UFS_FLAGS_SKIPINIT is set in flags during init and might end up crashing read/write commands
Change-Id: I1517b69c56741fd5bf4ef0ebc1fc8738746233d7 Signed-off-by: anans <anans@google.com>
show more ...
|
| 38a5ecb7 | 15-Mar-2022 |
Channagoud kadabi <kadabi@google.com> |
fix(ufs): fix cache maintenance issues
Fix software cache maintenance issues that can happen when cpu prefetches data before DMA operations are complete. This change fixes two cases one for ufs_read
fix(ufs): fix cache maintenance issues
Fix software cache maintenance issues that can happen when cpu prefetches data before DMA operations are complete. This change fixes two cases one for ufs_read_blocks and other for ufs_check_resp, in both cases invalidation of buffer was done before the DMA operation completed. This caused cpu prefetcher to bring data into cache before DMA completed and caused UFS read failures. The changes also removes unwanted cache operations to local variable utrd which is not consumed by UFS host controller and zeroing out buffer in ufs_read_capacity.
Change-Id: I9a288eb19d6705f6fa8bdb0b817a6411235fd8b6 Signed-off-by: Channagoud kadabi <kadabi@google.com>
show more ...
|
| 6e16f7f0 | 11-Mar-2022 |
anans <anans@google.com> |
refactor(ufs): adds a function for sending command
new function for sending commands and reuses that function in the driver, this can also be used to have retries for specific commands in the future
refactor(ufs): adds a function for sending command
new function for sending commands and reuses that function in the driver, this can also be used to have retries for specific commands in the future
Signed-off-by: anans <anans@google.com> Change-Id: Ie01f36ff8e2df072db4d97929d293b80ed24f04b
show more ...
|
| 57e60183 | 09-Feb-2022 |
Yann Gautier <yann.gautier@st.com> |
fix(st-pmic): add static const to pmic_ops
The static was found by sparse tool: drivers/st/pmic/stm32mp_pmic.c:456:18: warning: symbol 'pmic_ops' was not declared. Should it be static? The const wa
fix(st-pmic): add static const to pmic_ops
The static was found by sparse tool: drivers/st/pmic/stm32mp_pmic.c:456:18: warning: symbol 'pmic_ops' was not declared. Should it be static? The const was also missing.
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: Ibb5cfaf67ac980bf0af27712a95dbef05b617c25
show more ...
|
| af68314d | 07-Mar-2022 |
Bipin Ravi <bipin.ravi@arm.com> |
Merge "refactor(mbedtls): allow platform to specify their config file" into integration |
| c507b060 | 06-Mar-2022 |
Madhukar Pappireddy <madhukar.pappireddy@arm.com> |
Merge "fix(st-clock): initialize pllcfg table" into integration |
| 1f60d1bd | 28-Feb-2022 |
Yann Gautier <yann.gautier@foss.st.com> |
feat(st-uart): manage oversampling by 8
UART oversampling by 8 allows higher baud rates for UART. This is required when (UART freq / baudrate) <= 16. In this case the OVER8 bit needs to be enabled i
feat(st-uart): manage oversampling by 8
UART oversampling by 8 allows higher baud rates for UART. This is required when (UART freq / baudrate) <= 16. In this case the OVER8 bit needs to be enabled in CR1 register. And the BRR register management is different: USARTDIV = (2 * UART freq / baudrate) (with div round nearest) BRR[15:4] = USARTDIV[15:4] BRR[3] = 0 BRR[2:0] = USARTDIV[3:0] >> 1
Signed-off-by: Yann Gautier <yann.gautier@foss.st.com> Change-Id: Ia3fbeeb73a36a4dc485c7ba428c531e65b6f6c09
show more ...
|
| af7775ab | 28-Feb-2022 |
Yann Gautier <yann.gautier@foss.st.com> |
fix(st-uart): correctly fill BRR register
To get the nearest divisor for BRR register, we use: Divisor = (Uart clock + (baudrate / 2)) / baudrate But lsl was wrongly used instead of lsr to have the
fix(st-uart): correctly fill BRR register
To get the nearest divisor for BRR register, we use: Divisor = (Uart clock + (baudrate / 2)) / baudrate But lsl was wrongly used instead of lsr to have the division by 2.
Signed-off-by: Yann Gautier <yann.gautier@foss.st.com> Change-Id: Iedcc3ccdb4cf8268012e82a66df2a9ec48fc1d79
show more ...
|
| 175758b2 | 04-Mar-2022 |
Yann Gautier <yann.gautier@st.com> |
fix(st-clock): initialize pllcfg table
The issue was found by Coverity: CID 376582: (UNINIT) Using uninitialized value "*pllcfg[_PLL4]" when calling "stm32mp1_check_pll_conf". CID 376582:
fix(st-clock): initialize pllcfg table
The issue was found by Coverity: CID 376582: (UNINIT) Using uninitialized value "*pllcfg[_PLL4]" when calling "stm32mp1_check_pll_conf". CID 376582: (UNINIT) Using uninitialized value "*pllcfg[_PLL3]" when calling "stm32mp1_check_pll_conf".
Check PLL configs are valid before using pllcfg.
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: I49de849eaf451d0c165a8eb8555112a0a4140bbc
show more ...
|
| 033f6137 | 27-Jan-2022 |
Manish V Badarkhe <manish.badarkhe@arm.com> |
refactor(mbedtls): allow platform to specify their config file
Common mbedTLS implementation include the fixed configuration file of mbedTLS and that does not gives flexilibility to the platform to
refactor(mbedtls): allow platform to specify their config file
Common mbedTLS implementation include the fixed configuration file of mbedTLS and that does not gives flexilibility to the platform to include their own mbedTLS configuration. Hence changes are done so that platform can include their own mbedTLS configuration file.
Signed-off-by: Lucian Paul-Trifu <lucian.paul-trifu@arm.com> Signed-off-by: Manish V Badarkhe <manish.badarkhe@arm.com> Change-Id: I04546589f67299e26b0a6a6e151cdf1fdb302607
show more ...
|
| 2ef6b8d3 | 28-Feb-2022 |
Channa Kadabi <kadabi@google.com> |
fix(ufs): don't zero out buf before ufs read
ufs_read_blocks always zeros out the buffer before passing to UFS for DMA. We don't need to zero out buf before reading from UFS storage, this change rem
fix(ufs): don't zero out buf before ufs read
ufs_read_blocks always zeros out the buffer before passing to UFS for DMA. We don't need to zero out buf before reading from UFS storage, this change remove the memset in ufs_read_blocks.
Signed-off-by: Channa Kadabi <kadabi@google.com> Change-Id: I8029a7ea07fbd8cce29b383c80a3cfc782c5b7ec
show more ...
|
| 9fa9a0c5 | 28-Feb-2022 |
Yann Gautier <yann.gautier@st.com> |
fix(st-clock): print enums as unsigned
With gcc-11, the -Wformat-signedness warning complains about enum values that should be printed as unsigned values. Change %d to %u for several lines in the cl
fix(st-clock): print enums as unsigned
With gcc-11, the -Wformat-signedness warning complains about enum values that should be printed as unsigned values. Change %d to %u for several lines in the clock driver.
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: Ia2d24e6feef5e852e0a6bfaa1286fe605f9a16b7
show more ...
|
| 17671798 | 23-Feb-2022 |
Madhukar Pappireddy <madhukar.pappireddy@arm.com> |
Merge changes from topic "bug-fix" into integration
* changes: fix(nxp-crypto): refine code to avoid hang issue for some of toolchain build(changelog): add new scope for nxp crypto fix(lx2): d
Merge changes from topic "bug-fix" into integration
* changes: fix(nxp-crypto): refine code to avoid hang issue for some of toolchain build(changelog): add new scope for nxp crypto fix(lx2): drop erratum A-009810
show more ...
|
| a29f6e76 | 01-Dec-2021 |
Thierry Bultel <thierry.bultel@linatsea.fr> |
feat(allwinner): apx803: add aldo1 regulator
Notice that aldo1 is typically useful for the Olimex A64 board, where it powers the PE bank through the vcc-pe line. Without it, it is not possible to li
feat(allwinner): apx803: add aldo1 regulator
Notice that aldo1 is typically useful for the Olimex A64 board, where it powers the PE bank through the vcc-pe line. Without it, it is not possible to light the user led on PE17, for instance.
Change-Id: I70588bc977b884b22df87f1b075549cb8925925a Signed-off-by: Thierry Bultel <thierry.bultel@linatsea.fr> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
show more ...
|
| fa7fdfab | 18-Nov-2021 |
Jiafei Pan <Jiafei.Pan@nxp.com> |
fix(nxp-crypto): refine code to avoid hang issue for some of toolchain
bitfield structure maybe has strict-aliasing issue for some compiler, for example the old code has hang issue for yocto 3.4 too
fix(nxp-crypto): refine code to avoid hang issue for some of toolchain
bitfield structure maybe has strict-aliasing issue for some compiler, for example the old code has hang issue for yocto 3.4 toolchain, so refine the code to avoid to use bitfield structure.
Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com> Change-Id: I6b6d7597311240dd6d6b8ca4ce508c69332f9c68
show more ...
|
| 1b33b58b | 17-Feb-2022 |
Madhukar Pappireddy <madhukar.pappireddy@arm.com> |
Merge changes from topic "ls1046a" into integration
* changes: docs(layerscape): add ls1046a soc and board support feat(ls1046aqds): add board ls1046aqds support feat(ls1046afrwy): add ls1046a
Merge changes from topic "ls1046a" into integration
* changes: docs(layerscape): add ls1046a soc and board support feat(ls1046aqds): add board ls1046aqds support feat(ls1046afrwy): add ls1046afrwy board support feat(ls1046ardb): add ls1046ardb board support feat(ls1046a): add new SoC platform ls1046a fix(nxp-tools): fix tool location path for byte_swape fix(nxp-qspi): fix include path for QSPI driver build(changelog): add new scopes for NXP layerscape platforms
show more ...
|
| 47065ffe | 06-Jan-2022 |
Yann Gautier <yann.gautier@st.com> |
fix(st-pmic): correct verbose message
Replace %d with %u in log, to avoid warning when -Wformat-signedness is enabled.
Change-Id: Ied5823520181f225ae09bd164e2e52e9a7692c60 Signed-off-by: Yann Gauti
fix(st-pmic): correct verbose message
Replace %d with %u in log, to avoid warning when -Wformat-signedness is enabled.
Change-Id: Ied5823520181f225ae09bd164e2e52e9a7692c60 Signed-off-by: Yann Gautier <yann.gautier@st.com>
show more ...
|
| bc1c98a8 | 14-Feb-2022 |
Yann Gautier <yann.gautier@st.com> |
fix(st-sdmmc2): correct cmd_idx type in messages
As cmd_idx is unsigned, we have to use %u and not %d. This avoids warning when -Wformat-signedness is enabled.
Change-Id: I6954a8c939f3fb47dbb2c6db5
fix(st-sdmmc2): correct cmd_idx type in messages
As cmd_idx is unsigned, we have to use %u and not %d. This avoids warning when -Wformat-signedness is enabled.
Change-Id: I6954a8c939f3fb47dbb2c6db56a1909565af078b Signed-off-by: Yann Gautier <yann.gautier@st.com>
show more ...
|
| afcdc9d8 | 14-Feb-2022 |
Yann Gautier <yann.gautier@st.com> |
fix(st-fmc): fix type in message
As page is unsigned, we should use %u and not %d. Find with -Wformat-signedness.
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: I7205971ee5e83163e4fe4
fix(st-fmc): fix type in message
As page is unsigned, we should use %u and not %d. Find with -Wformat-signedness.
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: I7205971ee5e83163e4fe47d33bb9e90832b59ae0
show more ...
|
| 6e86b462 | 14-Feb-2022 |
Yann Gautier <yann.gautier@st.com> |
fix(mtd): correct types in messages
Some messages don't use the correct types, update them. This avoids warning when -Wformat-signedness is enabled.
Change-Id: Ie5384a7d139c48a623e1617c93d15fecc8a3
fix(mtd): correct types in messages
Some messages don't use the correct types, update them. This avoids warning when -Wformat-signedness is enabled.
Change-Id: Ie5384a7d139c48a623e1617c93d15fecc8a36061 Signed-off-by: Yann Gautier <yann.gautier@st.com>
show more ...
|
| bd9cd63b | 14-Feb-2022 |
Yann Gautier <yann.gautier@st.com> |
fix(usb): correct type in message
pdev->request.bm_request is unsigned, use %u.
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: Idaadb8440d0b56bcfa02abd7c94a4ab59f5e15ee |