Searched hist:"396 e1f070bc18815028d2b47ce2e7b519a5078e9" (Results 1 – 2 of 2) sorted by relevance
| /optee_os/core/drivers/gpio/ |
| H A D | gpio.c | 396e1f070bc18815028d2b47ce2e7b519a5078e9 Wed Jun 18 11:37:40 UTC 2025 Patrick Delaunay <patrick.delaunay@foss.st.com> drivers: gpio: add new ops configure to initialize gpio
Add the new ops configure to initialize the GPIO resource based on dt_flags. This new ops is require to support the modification of dt_flag done by caller after gpio_dt_init_by_index() and before call of gpio_configure().
It is done by example in driver of regulator fixed and gpio.
The new ops is called only in gpio_dt_cfg_by_index() or in gpio_configure() so usage of one of this API is manadatory after this patch.
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Signed-off-by: Thomas Bourgoin <thomas.bourgoin@foss.st.com> Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
|
| /optee_os/core/include/drivers/ |
| H A D | gpio.h | 396e1f070bc18815028d2b47ce2e7b519a5078e9 Wed Jun 18 11:37:40 UTC 2025 Patrick Delaunay <patrick.delaunay@foss.st.com> drivers: gpio: add new ops configure to initialize gpio
Add the new ops configure to initialize the GPIO resource based on dt_flags. This new ops is require to support the modification of dt_flag done by caller after gpio_dt_init_by_index() and before call of gpio_configure().
It is done by example in driver of regulator fixed and gpio.
The new ops is called only in gpio_dt_cfg_by_index() or in gpio_configure() so usage of one of this API is manadatory after this patch.
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Signed-off-by: Thomas Bourgoin <thomas.bourgoin@foss.st.com> Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
|