firmware: ti_sci: Add support for getting resource with subtype
authorLokesh Vutla <lokeshvutla@ti.com>
Thu, 6 Aug 2020 07:48:16 +0000 (13:18 +0530)
committerMarc Zyngier <maz@kernel.org>
Sun, 16 Aug 2020 21:00:22 +0000 (22:00 +0100)
commit53bf2b0e4e4c1ff0a957474237f9dcd20036ca54
tree84738456394fab08a4a875944b2b86b21bc329fa
parent9b98e02a3d369c5d0875338ea0717030471b5210
firmware: ti_sci: Add support for getting resource with subtype

With SYSFW ABI 3.0 changes, interrupts coming out of an interrupt
controller is identified by a type and it is consistent across SoCs.
Similarly global events for Interrupt aggregator. So add an API to get
resource range using a resource type.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Acked-by: Nishanth Menon <nm@ti.com>
Link: https://lore.kernel.org/r/20200806074826.24607-4-lokeshvutla@ti.com
drivers/firmware/ti_sci.c
include/linux/soc/ti/ti_sci_protocol.h