]> git.baikalelectronics.ru Git - kernel.git/commit
firmware: ti_sci: Add helper apis to manage resources
authorLokesh Vutla <lokeshvutla@ti.com>
Tue, 30 Apr 2019 10:12:21 +0000 (15:42 +0530)
committerMarc Zyngier <marc.zyngier@arm.com>
Wed, 1 May 2019 09:41:33 +0000 (10:41 +0100)
commit2d006757db22e538454fae4539e918b58791c7f4
treedfd299977e4e331c26ee296b92ee6a97917bc8c1
parent679eab5ceee72fbeaeebf6fa806a772182173bd8
firmware: ti_sci: Add helper apis to manage resources

Each resource with in the device can be uniquely identified as defined
by TISCI. Since this is generic across the devices, resource allocation
also can be made generic instead of each client driver handling the
resource. So add helper apis to manage the resource.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Acked-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/firmware/ti_sci.c
include/linux/soc/ti/ti_sci_protocol.h