| d4a87690 | 17-May-2024 |
Sungbae Yoo <sungbaey@nvidia.com> |
drivers: Add FFA_CONSOLE based console driver for log
This console driver uses FFA_CONSOLE ABI to write the trace logs.
If CFG_FFA_CONSOLE is enabled, OP-TEE will try to initialize the console driv
drivers: Add FFA_CONSOLE based console driver for log
This console driver uses FFA_CONSOLE ABI to write the trace logs.
If CFG_FFA_CONSOLE is enabled, OP-TEE will try to initialize the console driver that uses FFA interface to print trace logs.
Signed-off-by: Sungbae Yoo <sungbaey@nvidia.com> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
show more ...
|
| ba2dff77 | 10-Apr-2024 |
Etienne Carriere <etienne.carriere@foss.st.com> |
drivers: regulator: split regulator_supported_voltages() assertions
Split assertions in regulator_supported_voltages() to ease debugging, providing a better indication of which condition is not fulf
drivers: regulator: split regulator_supported_voltages() assertions
Split assertions in regulator_supported_voltages() to ease debugging, providing a better indication of which condition is not fulfilled.
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com> Acked-by: Gatien Chevallier <gatien.chevallier@foss.st.com> Acked-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
show more ...
|
| dd019e44 | 10-Apr-2024 |
Etienne Carriere <etienne.carriere@foss.st.com> |
drivers: regulator: fix error case in regulator_supported_voltages()
Fix case when .supported_voltages() handler is supported. If successful it shall assert voltage description data. If it returns T
drivers: regulator: fix error case in regulator_supported_voltages()
Fix case when .supported_voltages() handler is supported. If successful it shall assert voltage description data. If it returns TEE_ERROR_NOT_SUPPORTED, it shall use the pre-filled fallback description.
Fixes: af5b9881111c ("drivers: regulator: supported voltage consider levels bounds") Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com> Acked-by: Gatien Chevallier <gatien.chevallier@foss.st.com> Acked-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
show more ...
|
| 6e4bc5d9 | 28-Mar-2024 |
Tony Han <tony.han@microchip.com> |
drivers: pm: sam: map SFRBU with DT_MAP_SECURE attribute for sama7g5
As sama7g5's SFRBU is always secured map it as secured and do not need to configure the security through the matrix.
Signed-off-
drivers: pm: sam: map SFRBU with DT_MAP_SECURE attribute for sama7g5
As sama7g5's SFRBU is always secured map it as secured and do not need to configure the security through the matrix.
Signed-off-by: Tony Han <tony.han@microchip.com> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 95acfb12 | 29-Mar-2024 |
Tony Han <tony.han@microchip.com> |
drivers: pm: sam: rename pm_init functions for later sama7g5 support
PM support for sama7g5 will reuse some existing functions. Rename sama5d2_pm_init() to sam_pm_init(). Rename sama5d2_pm_init_all(
drivers: pm: sam: rename pm_init functions for later sama7g5 support
PM support for sama7g5 will reuse some existing functions. Rename sama5d2_pm_init() to sam_pm_init(). Rename sama5d2_pm_init_all() to sam_pm_init_all().
Signed-off-by: Tony Han <tony.han@microchip.com> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 13d015f7 | 29-Mar-2024 |
Tony Han <tony.han@microchip.com> |
drivers: atmel_shdwc: enable RTT (Real-time Timer) Wake-up
For sama7g5 the Wake-up can be caused by RTT.
Signed-off-by: Tony Han <tony.han@microchip.com> Acked-by: Jens Wiklander <jens.wiklander@li
drivers: atmel_shdwc: enable RTT (Real-time Timer) Wake-up
For sama7g5 the Wake-up can be caused by RTT.
Signed-off-by: Tony Han <tony.han@microchip.com> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| a991d533 | 29-Mar-2024 |
Tony Han <tony.han@microchip.com> |
drivers: atmel_shdwc: update to call the initialize for PM for sama7g5
For sama7g5 case do not return before calling the initialize function for PM.
Signed-off-by: Tony Han <tony.han@microchip.com>
drivers: atmel_shdwc: update to call the initialize for PM for sama7g5
For sama7g5 case do not return before calling the initialize function for PM.
Signed-off-by: Tony Han <tony.han@microchip.com> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 9b6221ae | 27-Mar-2024 |
leisen <leisen1@huawei.com> |
drivers:implement HiSilicon Security Engine(SEC) module.
HiSilicon SEC is used in security applications such as authentication and data encryption and decryption. This module implement the hardware
drivers:implement HiSilicon Security Engine(SEC) module.
HiSilicon SEC is used in security applications such as authentication and data encryption and decryption. This module implement the hardware initialization of the SEC.
Signed-off-by: leisen <leisen1@huawei.com> Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| 79502744 | 10-Apr-2024 |
yuzexi <yuzexi@hisilicon.com> |
drivers: crypto: hisilicon: add DH algorithm
add operation of DH algorithm, including alloc_keypair, gen_keypair and shared_secret
Signed-off-by: yuzexi <yuzexi@hisilicon.com> Acked-by: Etienne Car
drivers: crypto: hisilicon: add DH algorithm
add operation of DH algorithm, including alloc_keypair, gen_keypair and shared_secret
Signed-off-by: yuzexi <yuzexi@hisilicon.com> Acked-by: Etienne Carriere <etienne.carriere@foss.st.com> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| fb605d4b | 29-Mar-2024 |
Yu Chien Peter Lin <peterlin@andestech.com> |
drivers: Add RISC-V Zkr hardware random number generator support
The RISC-V Zkr entropy source extension introduces a physical entropy source compliant with NIST SP 800-90B or BSI AIS-31 standards v
drivers: Add RISC-V Zkr hardware random number generator support
The RISC-V Zkr entropy source extension introduces a physical entropy source compliant with NIST SP 800-90B or BSI AIS-31 standards via the seed CSR.
Note that this driver cannot be used unless access is explicitly granted by M-mode, e.g. OpenSBI have to set mseccfg.SSEED for OP-TEE OS.
Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com> Reviewed-by: Alvin Chang <alvinga@andestech.com> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| e26b8e0f | 27-Mar-2024 |
Gatien Chevallier <gatien.chevallier@foss.st.com> |
drivers: add IPCC driver and its RIF support
This driver implements RIF configuration for IPCC, which is a RIF aware IP. It means that the IPCC driver is in charge of configuring its own RIF restric
drivers: add IPCC driver and its RIF support
This driver implements RIF configuration for IPCC, which is a RIF aware IP. It means that the IPCC driver is in charge of configuring its own RIF restrictions and that the IPCC has dedicated RIF configuration registers.
RIF configuration data is part of the ipcc_pdata structure.
CID filtering is applied to the entirety of the channels of a processor. When CID filtering is enabled for a processor, it enables the filtering and the IPCC interrupt routing for all of its IPCC channels.
However, security and privilege configuration granularity go as far as configuration for each IPCC channel.
Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com> Acked-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| ec9aa1a4 | 27-Mar-2024 |
Gatien Chevallier <gatien.chevallier@foss.st.com> |
drivers: add RIF support driver for HSEM
This driver implements RIF configuration for HSEM, which is a RIF aware IP. It means that the HSEM driver is in charge of configuring its own RIF restriction
drivers: add RIF support driver for HSEM
This driver implements RIF configuration for HSEM, which is a RIF aware IP. It means that the HSEM driver is in charge of configuring its own RIF restrictions and that the HSEM has dedicated RIF configuration registers.
HSEM has two types of CID filtering registers. -For processor filtering : HSEM_CnCIDCFGR When CFEN is enabled: processor[n] CID filtering enabled for HSEM_(S)CnIER, HSEM_(S)CnICR, HSEM_(S)CnISR, and HSEM_(S)CnMISR registers and for allowed list filter usage in HSEM_GpCIDCFGR.SEM_WLIST_Cn. The CID is put in the CID bitfield.
-For semaphore group filtering : HSEM_GpCIDCFGR Used to apply CID filtering over a group of semaphore. The same policy applies to all semaphores present in the group. This register handles what are the processor's CID who are white-listed for the group in the SEM_WLIST_C bitfield.
Therefore, both these registers are interconnected.
Security and privilege configuration granularity expands to each individual semaphore.
Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com> Acked-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| 0cf1cd13 | 27-Mar-2024 |
Gatien Chevallier <gatien.chevallier@foss.st.com> |
drivers: add HPDMA driver with RIF support
This driver implements RIF configuration for HPDMA, which is a RIF aware IP. It means that the HPDMA driver is in charge of configuring its own RIF restric
drivers: add HPDMA driver with RIF support
This driver implements RIF configuration for HPDMA, which is a RIF aware IP. It means that the HPDMA driver is in charge of configuring its own RIF restrictions and that the HPDMA has dedicated RIF configuration registers.
RIF configuration is possible when the executing context is TDCID.
Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com> Acked-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| 778a36bf | 27-Mar-2024 |
Gatien Chevallier <gatien.chevallier@foss.st.com> |
drivers: add FMC driver with RIF support
This driver implements RIF configuration for FMC, which is a RIF aware IP. It means that the FMC driver is in charge of configuring its own RIF restrictions
drivers: add FMC driver with RIF support
This driver implements RIF configuration for FMC, which is a RIF aware IP. It means that the FMC driver is in charge of configuring its own RIF restrictions and that the FMC has dedicated RIF configuration registers.
Additional check on RIF configuration is added for this IP when debug is on.
Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com> Acked-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| 7071b53b | 20-Feb-2024 |
Gatien Chevallier <gatien.chevallier@foss.st.com> |
dt-bindings: firewall: move RIFPROT binding
Move RIFPROT macro definition in stm32mp25-rif.h as it is common to all RIF-based peripherals.
Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.s
dt-bindings: firewall: move RIFPROT binding
Move RIFPROT macro definition in stm32mp25-rif.h as it is common to all RIF-based peripherals.
Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com> Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| fc57019c | 12-Sep-2023 |
Tony Han <tony.han@microchip.com> |
plat-sam: add support for Microchip sama7g54-ek board
Add the main functions for sama7g54 initialize, including: - console_init() - Matrix, TZC, TZPM, interrupt related Update conf.mk and Makefile
plat-sam: add support for Microchip sama7g54-ek board
Add the main functions for sama7g54 initialize, including: - console_init() - Matrix, TZC, TZPM, interrupt related Update conf.mk and Makefile for sama7g5 OP-TEE support.
Signed-off-by: Tony Han <tony.han@microchip.com> Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| a557f877 | 20-Mar-2024 |
Tony Han <tony.han@microchip.com> |
plat-sam: optimize the macro and makefile for building sama5d2 clocks
Rename 'CFG_DRIVERS_SAMA5D2_CLK' to 'CFG_SAMA5D2'. Adjust the sequence of source files in 'core/drivers/clk/sam/sub.mk'.
Signed
plat-sam: optimize the macro and makefile for building sama5d2 clocks
Rename 'CFG_DRIVERS_SAMA5D2_CLK' to 'CFG_SAMA5D2'. Adjust the sequence of source files in 'core/drivers/clk/sam/sub.mk'.
Signed-off-by: Tony Han <tony.han@microchip.com> Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| 3b616eea | 18-Mar-2024 |
Tony Han <tony.han@microchip.com> |
drivers: atmel_wdt: update "#include" list of the header files
Remove the unused header files from "#include". "#include" the header files needed explicitly even if they are included indirectly.
Si
drivers: atmel_wdt: update "#include" list of the header files
Remove the unused header files from "#include". "#include" the header files needed explicitly even if they are included indirectly.
Signed-off-by: Tony Han <tony.han@microchip.com> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| d8af0611 | 18-Mar-2024 |
Tony Han <tony.han@microchip.com> |
drivers: atmel_wdt: remove the unused variable from "struct atmel_wdt"
The variable "unsigned long rate" is not used, remove it.
Signed-off-by: Tony Han <tony.han@microchip.com> Acked-by: Jerome Fo
drivers: atmel_wdt: remove the unused variable from "struct atmel_wdt"
The variable "unsigned long rate" is not used, remove it.
Signed-off-by: Tony Han <tony.han@microchip.com> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| ea9329ec | 28-Feb-2024 |
Tony Han <tony.han@microchip.com> |
drivers: atmel_wdt: upgrade to support sama7g5 watchdog
In sama7g5 there's a DWDT (Dual Watchdog Timer) and the registers are not the same as the wdt for sama5d2. Here the DWD is handled as 2 watchd
drivers: atmel_wdt: upgrade to support sama7g5 watchdog
In sama7g5 there's a DWDT (Dual Watchdog Timer) and the registers are not the same as the wdt for sama5d2. Here the DWD is handled as 2 watchdogs.
Signed-off-by: Tony Han <tony.han@microchip.com> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| bdde1c99 | 18-Mar-2024 |
Etienne Carriere <etienne.carriere@foss.st.com> |
drivers: stm32_i2c: protect bus access with a mutex
Protect concurrent accesses to an STM32 I2C bus with a PM aware mutex.
Acked-by: Gatien Chevallier <gatien.chevallier@foss.st.com> Signed-off-by:
drivers: stm32_i2c: protect bus access with a mutex
Protect concurrent accesses to an STM32 I2C bus with a PM aware mutex.
Acked-by: Gatien Chevallier <gatien.chevallier@foss.st.com> Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| cbb0a9fc | 20-Mar-2024 |
Etienne Carriere <etienne.carriere@foss.st.com> |
drivers: firewall: stm32_rifsc: remove use of CFG_PM
Remove use of CFG_PM from STM32 RIFSC driver since this configuration switch is not defined in OP-TEE OS.
Reviewed-by: Gatien Chevallier <gatien
drivers: firewall: stm32_rifsc: remove use of CFG_PM
Remove use of CFG_PM from STM32 RIFSC driver since this configuration switch is not defined in OP-TEE OS.
Reviewed-by: Gatien Chevallier <gatien.chevallier@foss.st.com> Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| cc707b85 | 20-Mar-2024 |
Etienne Carriere <etienne.carriere@foss.st.com> |
drivers: stm32_rng: remove use of CFG_PM
Remove use of CFG_PM from STM32 RNG driver since this configuration switch is not defined in OP-TEE OS.
Reviewed-by: Gatien Chevallier <gatien.chevallier@fo
drivers: stm32_rng: remove use of CFG_PM
Remove use of CFG_PM from STM32 RNG driver since this configuration switch is not defined in OP-TEE OS.
Reviewed-by: Gatien Chevallier <gatien.chevallier@foss.st.com> Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| 299f9bc1 | 08-Mar-2024 |
Thomas Bourgoin <thomas.bourgoin@foss.st.com> |
drivers: crypto: stm32_cryp: add pm to CRYP driver
Add power management support to the CRYP driver through suspend/resume callbacks.
Signed-off-by: Thomas Bourgoin <thomas.bourgoin@foss.st.com> Sig
drivers: crypto: stm32_cryp: add pm to CRYP driver
Add power management support to the CRYP driver through suspend/resume callbacks.
Signed-off-by: Thomas Bourgoin <thomas.bourgoin@foss.st.com> Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| 14d68630 | 08-Mar-2024 |
Thomas Bourgoin <thomas.bourgoin@foss.st.com> |
drivers: crypto: stm32_cryp: add delay when resetting CRYP peripheral.
Add 2 us of delay between reset assert and reset deassert to ensure the peripheral is properly reset.
Signed-off-by: Thomas Bo
drivers: crypto: stm32_cryp: add delay when resetting CRYP peripheral.
Add 2 us of delay between reset assert and reset deassert to ensure the peripheral is properly reset.
Signed-off-by: Thomas Bourgoin <thomas.bourgoin@foss.st.com> Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|