Files
linux-rockchip/include/linux
Gwendal Grignou 7cbb6681d7 iio: common: cros_ec_sensors: Add label attribute
When sensor location is known, populate iio sysfs "label" attribute:

* "accel-base" : the sensor is in the base of the convertible (2-1)
  device.
* "accel-display" : the sensor is in the lid/display plane of the
  device.
* "accel-camera" : the sensor is in the swivel camera subassembly.

The non-standard |location| attribute is removed, the field |loc| in
cros_ec_sensors_core_state is removed.

It apply to standalone accelerometer as well as IMU (accelerometer +
gyroscope) and sensors where the location is known (light).

Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Link: https://lore.kernel.org/r/20220427190804.961697-3-gwendal@chromium.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2022-06-11 14:35:26 +01:00
..
2022-05-10 16:03:52 +08:00
2022-05-22 20:44:29 +01:00
2022-05-20 15:29:00 -07:00
2022-05-16 13:37:59 -07:00
2022-06-03 06:52:57 -07:00
2022-05-13 07:20:18 -07:00
2022-05-02 14:06:20 -06:00
2022-05-03 16:09:03 -04:00
2022-05-19 14:08:53 -07:00
2022-05-13 07:20:17 -07:00
2022-05-12 10:29:41 -07:00
2022-05-17 13:32:46 -04:00
2022-05-22 21:03:01 +01:00
2022-06-02 10:15:05 -07:00
2022-05-08 01:33:08 -07:00
2022-05-24 08:41:18 -06:00
2022-05-31 12:45:10 -04:00