| dc9540cb | 11-Oct-2023 |
Etienne Carriere <etienne.carriere@foss.st.com> |
drivers: regulator: consider DT property regulator-boot-on
Defines regulator flag REGULATOR_BOOT_ON for regulators with the regulator-boot-on property in their DT node.
Acked-by: Gatien Chevallier
drivers: regulator: consider DT property regulator-boot-on
Defines regulator flag REGULATOR_BOOT_ON for regulators with the regulator-boot-on property in their DT node.
Acked-by: Gatien Chevallier <gatien.chevallier@foss.st.com> Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| 42e8211c | 11-Oct-2023 |
Jens Wiklander <jens.wiklander@linaro.org> |
drivers: saic: remove stubbed functions
With the commit b2d6db21ec5e ("core: interrupt: helper function for raise_pi, raise_sgi, set_affinity") the struct itr_ops .raise_pi, .raise_sgi, and .set_aff
drivers: saic: remove stubbed functions
With the commit b2d6db21ec5e ("core: interrupt: helper function for raise_pi, raise_sgi, set_affinity") the struct itr_ops .raise_pi, .raise_sgi, and .set_affinity are now optional so remove the stubbed functions.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| 422798c9 | 11-Oct-2023 |
Jens Wiklander <jens.wiklander@linaro.org> |
drivers: hfic: remove stubbed functions
With the commit b2d6db21ec5e ("core: interrupt: helper function for raise_pi, raise_sgi, set_affinity") the struct itr_ops .raise_pi, .raise_sgi, and .set_aff
drivers: hfic: remove stubbed functions
With the commit b2d6db21ec5e ("core: interrupt: helper function for raise_pi, raise_sgi, set_affinity") the struct itr_ops .raise_pi, .raise_sgi, and .set_affinity are now optional so remove the stubbed functions.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| 3fc53ba5 | 05-Oct-2023 |
Clement Faure <clement.faure@nxp.com> |
drivers: imx: mu: add support for mx8dxl
Add MU support for mx8dxl platforms.
Signed-off-by: Clement Faure <clement.faure@nxp.com> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Acked-by:
drivers: imx: mu: add support for mx8dxl
Add MU support for mx8dxl platforms.
Signed-off-by: Clement Faure <clement.faure@nxp.com> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| 21f58962 | 05-Oct-2023 |
Clement Faure <clement.faure@nxp.com> |
drivers: caam: add support for mx8dxl
Add support for mx8dxl platforms. The HAL support is identical to mx8qm/qxp platforms.
Signed-off-by: Clement Faure <clement.faure@nxp.com> Acked-by: Jerome Fo
drivers: caam: add support for mx8dxl
Add support for mx8dxl platforms. The HAL support is identical to mx8qm/qxp platforms.
Signed-off-by: Clement Faure <clement.faure@nxp.com> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| 5bc9f8e5 | 05-Oct-2023 |
Etienne Carriere <etienne.carriere@foss.st.com> |
drivers: stm32_i2c: register a DT_DRIVER_I2C driver
Registers stm32_i2c driver as a DT_DRIVER_I2C driver.
Acked-by: Gatien Chevallier <gatien.chevallier@foss.st.com> Acked-by: Thomas Bourgoin <thom
drivers: stm32_i2c: register a DT_DRIVER_I2C driver
Registers stm32_i2c driver as a DT_DRIVER_I2C driver.
Acked-by: Gatien Chevallier <gatien.chevallier@foss.st.com> Acked-by: Thomas Bourgoin <thomas.bourgoin@foss.st.com> Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| e569f6ad | 05-Oct-2023 |
Etienne Carriere <etienne.carriere@foss.st.com> |
plat-stm32mp1: shared_resources: simplify GPIOZ bank pin count
Changes initialization of GPIOZ bank pin count from the DT bank node now using the GPIO bank driver probing to get and save the informa
plat-stm32mp1: shared_resources: simplify GPIOZ bank pin count
Changes initialization of GPIOZ bank pin count from the DT bank node now using the GPIO bank driver probing to get and save the information rather than service_init() initcall level as prior this change.
Acked-by: Gatien Chevallier <gatien.chevallier@foss.st.com> Acked-by: Thomas Bourgoin <thomas.bourgoin@foss.st.com> Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| 86ea47da | 26-Sep-2023 |
Etienne Carriere <etienne.carriere@foss.st.com> |
drivers: regulator: add regulator_dt_get_supply()
Implements regulator_dt_get_supply() API function for consumer drivers to get a regulator supply using the driver device DT node data. The function
drivers: regulator: add regulator_dt_get_supply()
Implements regulator_dt_get_supply() API function for consumer drivers to get a regulator supply using the driver device DT node data. The function returns TEE_ERROR_DEFER_DRIVER_INIT when the target supply exists but is yet not initialized.
Acked-by: Gatien Chevallier <gatien.chevallier@foss.st.com> Co-developed-by: Pascal Paillet <p.paillet@foss.st.com> Signed-off-by: Pascal Paillet <p.paillet@foss.st.com> Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| 652d2ce7 | 12-Sep-2023 |
Etienne Carriere <etienne.carriere@linaro.org> |
drivers: regulator: fixed regulator
Implements fixed voltage level regulator driver to register DT compatible "regulator-fixed" devices into the regulator framework. These regulators may be enabled/
drivers: regulator: fixed regulator
Implements fixed voltage level regulator driver to register DT compatible "regulator-fixed" devices into the regulator framework. These regulators may be enabled/disabled using a GPIO pin in which cases CFG_DRIVERS_GPIO shall be enabled.
Acked-by: Gatien Chevallier <gatien.chevallier@foss.st.com> Acked-by: Thomas Bourgoin <thomas.bourgoin@foss.st.com> Co-developed-by: Pascal Paillet <p.paillet@foss.st.com> Signed-off-by: Pascal Paillet <p.paillet@foss.st.com> Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|
| 99e2612c | 16-May-2023 |
Etienne Carriere <etienne.carriere@foss.st.com> |
drivers: move to interrupt_call_handlers()
Removes itr_handle() in favor to interrupt_call_handlers(). This changes updates all implemented main interrupt controller drivers that are the GIC driver,
drivers: move to interrupt_call_handlers()
Removes itr_handle() in favor to interrupt_call_handlers(). This changes updates all implemented main interrupt controller drivers that are the GIC driver, the HFIC driver and Atmel SAIC driver.
Reviewed-by: Alvin Chang <alvinga@andestech.com> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| 44a7a422 | 09-Oct-2023 |
Etienne Carriere <etienne.carriere@foss.st.com> |
drivers: regulator: include tee extensions
Adds missing header file for TEE extension macro TEE_ERROR_DEFER_DRIVER_INIT.
Fixes: 6558b5657faf ("drivers: regulator: register to dt_driver") Acked-by:
drivers: regulator: include tee extensions
Adds missing header file for TEE extension macro TEE_ERROR_DEFER_DRIVER_INIT.
Fixes: 6558b5657faf ("drivers: regulator: register to dt_driver") Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| 66d7ea0e | 06-Sep-2023 |
Etienne Carriere <etienne.carriere@foss.st.com> |
drivers: regulator: DT property regulator-pull-down
Handle pull down mode for regulators which DT node sets property regulator-pull-down.
Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Signed
drivers: regulator: DT property regulator-pull-down
Handle pull down mode for regulators which DT node sets property regulator-pull-down.
Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| 71cfb5fa | 29-Sep-2023 |
Etienne Carriere <etienne.carriere@foss.st.com> |
drivers: regulator: DT property regulator-always-on
Handle regulator DT bindings property regulator-always-on.
Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Etienne Carriere <
drivers: regulator: DT property regulator-always-on
Handle regulator DT bindings property regulator-always-on.
Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| 43c155ba | 06-Sep-2023 |
Etienne Carriere <etienne.carriere@foss.st.com> |
drivers: regulator: list supported levels
Adds regulator API function regulator_supported_voltages() to get the list of the voltage levels supported by the regulator.
Voltage level array is either
drivers: regulator: list supported levels
Adds regulator API function regulator_supported_voltages() to get the list of the voltage levels supported by the regulator.
Voltage level array is either an array of increasing ordered levels, in microvolt, or is a triplet [min, max, step] for linear step incremental levels.
Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| 503ea157 | 06-Oct-2023 |
Alvin Chang <alvinga@andestech.com> |
drivers: ns16550: Implement RX related features
Implement ns16550_getchar() and ns16550_have_rx_data() for RX related serial operations into ns16550 UART driver.
Signed-off-by: Alvin Chang <alvinga
drivers: ns16550: Implement RX related features
Implement ns16550_getchar() and ns16550_have_rx_data() for RX related serial operations into ns16550 UART driver.
Signed-off-by: Alvin Chang <alvinga@andestech.com> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 199cc636 | 06-Oct-2023 |
Alvin Chang <alvinga@andestech.com> |
drivers: ns16550: Implement helper function to get driver info
Implement chip_to_base_and_data() for ns16550 UART driver to get effective address and private structure.
Signed-off-by: Alvin Chang <
drivers: ns16550: Implement helper function to get driver info
Implement chip_to_base_and_data() for ns16550 UART driver to get effective address and private structure.
Signed-off-by: Alvin Chang <alvinga@andestech.com> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| a1ee298a | 26-Sep-2023 |
Alvin Chang <alvinga@andestech.com> |
drivers: plic: Implement mask/unmask operations
Implement mask/unmask operations for PLIC, otherwise OP-TEE panics during boot process due to failure of itr_chip_is_valid().
Signed-off-by: Alvin Ch
drivers: plic: Implement mask/unmask operations
Implement mask/unmask operations for PLIC, otherwise OP-TEE panics during boot process due to failure of itr_chip_is_valid().
Signed-off-by: Alvin Chang <alvinga@andestech.com> Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com> Reviewed-by: Marouene Boubakri <marouene.boubakri@nxp.com>
show more ...
|
| f33bc3ef | 26-Sep-2023 |
Alvin Chang <alvinga@andestech.com> |
drivers: plic: Maintain controller data in driver source file
To align the design from other architecture, we move the interrupt controller data instance from platform source file to driver source f
drivers: plic: Maintain controller data in driver source file
To align the design from other architecture, we move the interrupt controller data instance from platform source file to driver source file. With this change, the PLIC initialization functions no more get the controller data as input argument. Platforms do not need to care about the interrupt controller data instance.
Signed-off-by: Alvin Chang <alvinga@andestech.com> Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com> Reviewed-by: Marouene Boubakri <marouene.boubakri@nxp.com>
show more ...
|
| 6558b565 | 14-Sep-2023 |
Etienne Carriere <etienne.carriere@foss.st.com> |
drivers: regulator: register to dt_driver
Adds regulator_dt_register() for regulator drivers to register regulator instances based on the DT description of the platform.
Regulator instances may not
drivers: regulator: register to dt_driver
Adds regulator_dt_register() for regulator drivers to register regulator instances based on the DT description of the platform.
Regulator instances may not be created and initialized when regulator_dt_register() returns. When a regulator depends on a supply this latter may not yet be registered and initialized. The framework will resolve the regulator dependencies later.
At OP-TEE core last initcall stage, a debug message informs in case of remaining unresolved regulator dependency. Used resources are released and no error status is returns to the system.
regulator_dt_register() uses a dedicated struct regu_dt_desc ABI to get the description of the regulator to be registered.
Acked-by: Gatien Chevallier <gatien.chevallier@foss.st.com> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Co-developed-by: Pascal Paillet <p.paillet@foss.st.com> Signed-off-by: Pascal Paillet <p.paillet@foss.st.com> Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| e3830fc7 | 02-Oct-2023 |
Etienne Carriere <etienne.carriere@foss.st.com> |
drivers: regulator: always on property
Implements always-on regulator property for regulators that once enabled shall never be disabled. This is archived using a regulator_enable() call to increment
drivers: regulator: always on property
Implements always-on regulator property for regulators that once enabled shall never be disabled. This is archived using a regulator_enable() call to increment its refcount.
Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Acked-by: Gatien Chevallier <gatien.chevallier@foss.st.com> Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| 262147a5 | 02-Oct-2023 |
Etienne Carriere <etienne.carriere@foss.st.com> |
drivers: fix flags in regulator framework
Fixes commit introducing regulator voltage that did not implement always-on flag.
Fixes: 1a3d3273040b ("drivers: regulator framework") Acked-by: Jerome For
drivers: fix flags in regulator framework
Fixes commit introducing regulator voltage that did not implement always-on flag.
Fixes: 1a3d3273040b ("drivers: regulator framework") Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Acked-by: Gatien Chevallier <gatien.chevallier@foss.st.com> Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| aaba1361 | 02-Oct-2023 |
Clement Faure <clement.faure@nxp.com> |
drivers: imx_csu: add resume capability to CSU driver
Register CSU driver to the power management framework.
Signed-off-by: Clement Faure <clement.faure@nxp.com> Acked-by: Jerome Forissier <jerome.
drivers: imx_csu: add resume capability to CSU driver
Register CSU driver to the power management framework.
Signed-off-by: Clement Faure <clement.faure@nxp.com> Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
show more ...
|
| 7d3ac186 | 06-Apr-2023 |
Lionel Debieve <lionel.debieve@foss.st.com> |
core: add CFG_WDT_SM_HANDLER_ID in TOS fast call list
Add CFG_WDT_SM_HANDLER_ID as a TOS fast call entry to manage the ARM watchdog service in 64 bit mode. Add also the associated ABI description. D
core: add CFG_WDT_SM_HANDLER_ID in TOS fast call list
Add CFG_WDT_SM_HANDLER_ID as a TOS fast call entry to manage the ARM watchdog service in 64 bit mode. Add also the associated ABI description. Define the CFG_WDT_SM_HANDLER_ID with a default value.
Signed-off-by: Lionel Debieve <lionel.debieve@foss.st.com> Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 1a3d3273 | 12-Sep-2023 |
Etienne Carriere <etienne.carriere@foss.st.com> |
drivers: regulator framework
Introduces a voltage regulator driver framework for management of regulators and supply dependencies. The framework permits 1 regulator supply per regulator.
API functi
drivers: regulator framework
Introduces a voltage regulator driver framework for management of regulators and supply dependencies. The framework permits 1 regulator supply per regulator.
API function regulator_register() allows a regulator driver to register a regulator in the regulator framework.
Supported operation here are to enable, disable, get and set voltage level. They are all optional.
Registered regulators are referenced in a list for initialization resource release and debug purpose.
Acked-by: Gatien Chevallier <gatien.chevallier@foss.st.com> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Co-developed-by: Pascal Paillet <p.paillet@foss.st.com> Signed-off-by: Pascal Paillet <p.paillet@foss.st.com> Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| e6945f14 | 07-Sep-2023 |
Clement Faure <clement.faure@nxp.com> |
drivers: pm: imx: remove useless header includes
Remove useless header includes in psci.c
Signed-off-by: Clement Faure <clement.faure@nxp.com> Acked-by: Jens Wiklander <jens.wiklander@linaro.org> |