]> Git Repo - linux.git/blob - include/linux/platform_data/cros_ec_sensorhub.h
ACPI: PM: s2idle: Check fixed wakeup events in acpi_s2idle_wake()
[linux.git] / include / linux / platform_data / cros_ec_sensorhub.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Chrome OS EC MEMS Sensor Hub driver.
4  *
5  * Copyright 2019 Google LLC
6  */
7
8 #ifndef __LINUX_PLATFORM_DATA_CROS_EC_SENSORHUB_H
9 #define __LINUX_PLATFORM_DATA_CROS_EC_SENSORHUB_H
10
11 #include <linux/platform_data/cros_ec_commands.h>
12
13 /**
14  * struct cros_ec_sensor_platform - ChromeOS EC sensor platform information.
15  * @sensor_num: Id of the sensor, as reported by the EC.
16  */
17 struct cros_ec_sensor_platform {
18         u8 sensor_num;
19 };
20
21 /**
22  * struct cros_ec_sensorhub - Sensor Hub device data.
23  *
24  * @ec: Embedded Controller where the hub is located.
25  */
26 struct cros_ec_sensorhub {
27         struct cros_ec_dev *ec;
28 };
29
30 #endif   /* __LINUX_PLATFORM_DATA_CROS_EC_SENSORHUB_H */
This page took 0.033542 seconds and 4 git commands to generate.