MA-17046-2 imx8q: porting scu api to get onoff button status
authorJi Luo <ji.luo@nxp.com>
Tue, 28 Apr 2020 02:05:33 +0000 (10:05 +0800)
committerJi Luo <ji.luo@nxp.com>
Thu, 13 May 2021 01:49:18 +0000 (09:49 +0800)
commit562eefcbddf3b6f186fc7e26b5bce2ca32000eb8
tree5c9b8efe4c7564858a06f9e630d011d7cc1555bd
parentb05bacf279a65d8d98754adc0492209e90f1790f
MA-17046-2 imx8q: porting scu api to get onoff button status

Porting the scu api 'sc_misc_get_button_status()' to get the
ON-OFF button status.

Test: Get the ON-OFF button status.

Change-Id: I8e06ef4dc170750fe2dfbeeba7850b5e0dcfc774
Signed-off-by: Ji Luo <ji.luo@nxp.com>
(cherry picked from commit 130747618d813ea64611ed111e5d80487aa154b6)
arch/arm/include/asm/arch-imx8/sci/sci.h
drivers/misc/imx8/scu_api.c