Home
last modified time | relevance | path

Searched hist:"141876 e4ef12d5ca925acc27b830378ed6499cd1" (Results 1 – 1 of 1) sorted by relevance

/optee_os/core/drivers/
H A Dgic.c141876e4ef12d5ca925acc27b830378ed6499cd1 Wed Jan 22 18:38:33 UTC 2025 Etienne Carriere <etienne.carriere@foss.st.com> drivers: gic: allow detection type configuration

Allow consumers to configure SPI interrupts when the provided type
is not IRQ_TYPE_NONE. The allowed value are then IRQ_TYPE_EDGE_RISING
and IRQ_TYPE_LEVEL_HIGH, as per Arm GIC specification.

This change fixes an issue when using interrupt_dt_get_by_index()
or interrupt_dt_get_by_name() since these API functions tell the
interrupt is configured from DT phandle arguments whereas GIC driver
did not consider the interrupt detection type even if set in the
consumer DT node property.

Fixes: 14885eb1688b ("drivers: gic: register to dt_driver")
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>