1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Chrome OS EC MEMS Sensor Hub driver.
5 * Copyright 2019 Google LLC
8 #ifndef __LINUX_PLATFORM_DATA_CROS_EC_SENSORHUB_H
9 #define __LINUX_PLATFORM_DATA_CROS_EC_SENSORHUB_H
11 #include <linux/platform_data/cros_ec_commands.h>
14 * struct cros_ec_sensor_platform - ChromeOS EC sensor platform information.
15 * @sensor_num: Id of the sensor, as reported by the EC.
17 struct cros_ec_sensor_platform {
22 * struct cros_ec_sensorhub - Sensor Hub device data.
24 * @ec: Embedded Controller where the hub is located.
26 struct cros_ec_sensorhub {
27 struct cros_ec_dev *ec;
30 #endif /* __LINUX_PLATFORM_DATA_CROS_EC_SENSORHUB_H */