diff options
author | Olof Johansson <olof@lixom.net> | 2016-07-04 21:32:07 -0700 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2016-07-04 21:32:07 -0700 |
commit | a136deed0139df4b6fc92fd94468cba97b2105b9 (patch) | |
tree | 988546969f98f757d99329582ee644648e3c737a /include | |
parent | c8b2da0e80ef3900d3859212c8da8a0cc0db355c (diff) | |
parent | 8bec4337ad4023b26de35d3b0c3a3b2735ffc5c7 (diff) | |
download | linux-a136deed0139df4b6fc92fd94468cba97b2105b9.tar.bz2 |
Merge tag 'scpi-updates-4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux into next/drivers
SCPI updates and fixes for v4.8
1. Adds support for device power state management using generic power
domains and runtime PM
2. Other minor/miscellaneous fixes to the driver
* tag 'scpi-updates-4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux:
firmware: scpi: add device power domain support using genpd
Documentation: add DT bindings for ARM SCPI power domains
firmware: arm_scpi: add support for device power state management
firmware: arm_scpi: make it depend on MAILBOX instead of ARM_MHU
firmware: arm_scpi: mark scpi_get_sensor_value as static
firmware: arm_scpi: remove dvfs_get packed structure
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/scpi_protocol.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/scpi_protocol.h b/include/linux/scpi_protocol.h index 35de50a65665..dc5f989be226 100644 --- a/include/linux/scpi_protocol.h +++ b/include/linux/scpi_protocol.h @@ -70,6 +70,8 @@ struct scpi_ops { int (*sensor_get_capability)(u16 *sensors); int (*sensor_get_info)(u16 sensor_id, struct scpi_sensor_info *); int (*sensor_get_value)(u16, u64 *); + int (*device_get_power_state)(u16); + int (*device_set_power_state)(u16, u8); }; #if IS_REACHABLE(CONFIG_ARM_SCPI_PROTOCOL) |