Searched hist:a37f67ed796a2ac2db3c7e6f09b239d186233e98 (Results 1 – 2 of 2) sorted by relevance
| /optee_os/core/drivers/gpio/ |
| H A D | gpio.c | a37f67ed796a2ac2db3c7e6f09b239d186233e98 Tue May 06 16:53:28 UTC 2025 Patrick Delaunay <patrick.delaunay@foss.st.com> drivers: gpio: support gpio suffix in device tree
Align the OP-TEE GPIO driver on the Linux GPIO lib behavior for the gpio properties in device tree: search "gpios" or "gpio" when gpio_name is omitted and "foo-gpios" or "foo-gpio" when and if the gpio_name="foo".
This patch allows use of the function gpio_dt_get_by_index() by GPIO consumers for all supported bindings.
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 | a37f67ed796a2ac2db3c7e6f09b239d186233e98 Tue May 06 16:53:28 UTC 2025 Patrick Delaunay <patrick.delaunay@foss.st.com> drivers: gpio: support gpio suffix in device tree
Align the OP-TEE GPIO driver on the Linux GPIO lib behavior for the gpio properties in device tree: search "gpios" or "gpio" when gpio_name is omitted and "foo-gpios" or "foo-gpio" when and if the gpio_name="foo".
This patch allows use of the function gpio_dt_get_by_index() by GPIO consumers for all supported bindings.
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>
|