mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-27 15:36:48 +00:00

ChromeOS EC can report activity information derived from the accelerometer: - Reports on-body/off-body as a proximity event. - Reports significant motion as an activity event. This new sensor is a virtual sensor, included only when the EC firmware is compiled with the appropriate module. Signed-off-by: Gwendal Grignou <gwendal@google.com> Reviewed-by: Tzung-Bi Shih <tzungbi@kernel.org> Link: https://patch.msgid.link/20250604053903.1376465-1-gwendal@google.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
11 lines
429 B
Makefile
11 lines
429 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Makefile for sensors seen through the ChromeOS EC sensor hub.
|
|
#
|
|
|
|
cros-ec-sensors-core-objs += cros_ec_sensors_core.o cros_ec_sensors_trace.o
|
|
obj-$(CONFIG_IIO_CROS_EC_SENSORS_CORE) += cros-ec-sensors-core.o
|
|
obj-$(CONFIG_IIO_CROS_EC_SENSORS) += cros_ec_sensors.o
|
|
obj-$(CONFIG_IIO_CROS_EC_SENSORS_LID_ANGLE) += cros_ec_lid_angle.o
|
|
obj-$(CONFIG_IIO_CROS_EC_ACTIVITY) += cros_ec_activity.o
|