]> git.baikalelectronics.ru Git - uboot.git/commit
firmware: ti_sci: Add processor shutdown API method
authorAndreas Dannenberg <dannenberg@ti.com>
Fri, 7 Jun 2019 13:54:40 +0000 (19:24 +0530)
committerTom Rini <trini@konsulko.com>
Sat, 27 Jul 2019 01:49:21 +0000 (21:49 -0400)
commit505f7f7b1ddff240e4200c446fcdc1b4d98d7ac9
tree7c6b8240e16bc94fc1b994800b34f56123eae5d7
parent5534d46e0b0aebc44f1ea9e94bbe9cb27e6c20e8
firmware: ti_sci: Add processor shutdown API method

Add and expose a new processor shutdown API that wraps the two TISCI
messages involved in initiating a core shutdown. The API will first
queue a message to have the DMSC wait for a certain processor boot
status to happen followed by a message to trigger the actual shutdown-
with both messages being sent without waiting or requesting for a
response. Note that the processor shutdown API call will need to be
followed up by user software placing the respective core into either
WFE or WFI mode.

Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
drivers/firmware/ti_sci.c
drivers/firmware/ti_sci.h
include/linux/soc/ti/ti_sci_protocol.h