x86: pch: Add an ioctl to read power-management info
authorSimon Glass <sjg@chromium.org>
Fri, 26 Apr 2019 03:59:01 +0000 (21:59 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 8 May 2019 05:02:14 +0000 (13:02 +0800)
commitb69b603bcdeb05f846f76da81e4a681aff6a1001
treecf00402b9b170e76a7fd8b71db23199ef8ac0b22
parent079b38ba0485eb745cdcdac7e74986d77d2c13e2
x86: pch: Add an ioctl to read power-management info

Add a new ioctl() request to read information about the power-management
system. This can be used to power off the device.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
include/pch.h