drivers/iio/common/cros_ec_sensors

ChromeOS Embedded Controller sensor hub

Exposes the motion and ambient sensors that hang off the embedded controller in ChromeOS devices, including accelerometers, gyroscopes, light sensors, and the lid-angle calculation that convertible Chromebooks use to switch between laptop and tablet modes. It covers Chromebooks from roughly the mid-2010s through models still shipping new in 2025.

keep conf=0.89 last_sold=2026 deploy=medium replacement=none subsystem=iio category=sensor-iio
89%

recommendation

It should stay because Chromebooks still ship in 2025 with their accelerometers, gyroscopes, light sensors, and lid-angle detection routed through the ChromeOS embedded controller, and the driver family was actively patched as recently as January 2026. Google's own documentation says the EC code supports more than 200 Chromebook variants, and there is no other kernel interface that exposes these EC-managed sensors.

repository signals

8 files
1,748 source lines
18 commits, 5y
+545 / −105 lines added / removed, 5y
11 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 18 total · active in 14/61 months
2021 2022 2023 2024 2025 2026 2021-04: 0 commits · +0 −0 2021-05: 0 commits · +0 −0 2021-06: 0 commits · +0 −0 2021-07: 0 commits · +0 −0 2021-08: 0 commits · +0 −0 2021-09: 1 commit · +1 −2 2021-10: 0 commits · +0 −0 2021-11: 0 commits · +0 −0 2021-12: 0 commits · +0 −0 2022-01: 0 commits · +0 −0 2022-02: 1 commit · +1 −2 2022-03: 0 commits · +0 −0 2022-04: 2 commits · +10 −22 2022-05: 0 commits · +0 −0 2022-06: 2 commits · +2 −0 2022-07: 1 commit · +47 −21 2022-08: 0 commits · +0 −0 2022-09: 0 commits · +0 −0 2022-10: 1 commit · +3 −3 2022-11: 0 commits · +0 −0 2022-12: 0 commits · +0 −0 2023-01: 0 commits · +0 −0 2023-02: 0 commits · +0 −0 2023-03: 0 commits · +0 −0 2023-04: 0 commits · +0 −0 2023-05: 0 commits · +0 −0 2023-06: 1 commit · +1 −1 2023-07: 0 commits · +0 −0 2023-08: 1 commit · +5 −1 2023-09: 0 commits · +0 −0 2023-10: 0 commits · +0 −0 2023-11: 0 commits · +0 −0 2023-12: 0 commits · +0 −0 2024-01: 0 commits · +0 −0 2024-02: 0 commits · +0 −0 2024-03: 0 commits · +0 −0 2024-04: 0 commits · +0 −0 2024-05: 0 commits · +0 −0 2024-06: 0 commits · +0 −0 2024-07: 1 commit · +3 −5 2024-08: 0 commits · +0 −0 2024-09: 0 commits · +0 −0 2024-10: 0 commits · +0 −0 2024-11: 0 commits · +0 −0 2024-12: 0 commits · +0 −0 2025-01: 1 commit · +96 −4 2025-02: 0 commits · +0 −0 2025-03: 1 commit · +11 −17 2025-04: 2 commits · +34 −20 2025-05: 0 commits · +0 −0 2025-06: 1 commit · +327 −0 2025-07: 0 commits · +0 −0 2025-08: 0 commits · +0 −0 2025-09: 0 commits · +0 −0 2025-10: 0 commits · +0 −0 2025-11: 0 commits · +0 −0 2025-12: 0 commits · +0 −0 2026-01: 2 commits · +4 −7 2026-02: 0 commits · +0 −0 2026-03: 0 commits · +0 −0 2026-04: 0 commits · +0 −0

sources

  1. lore.kernel.org

    Recent functional upstream work touched this driver family in January 2026 ('iio: cros_ec: Allow enabling/disabling calibration mode').

  2. chromeos.dev

    Google states the ChromeOS embedded controller handles sensors including accelerometer/gyroscope/light, uses two accelerometers for lid angle on convertible Chromebooks, and the EC code supports more than 200 Chromebook variants.

  3. chromeos.dev

    ChromeOS developer docs list accelerometer and gyroscope as hardware features that may be available on some Chromebooks, indicating ongoing deployed Chromebook sensor support.

  4. news.acer.com

    Acer announced the Chromebook Plus Spin 514 in September 2025, a new convertible ChromeOS laptop shipping in North America in October 2025, showing this hardware class is still sold new.

codex reasoning notes (technical)

Shell inspection of local Kconfig/Makefile showed this is the ChromeOS EC sensor-hub driver family (core, contiguous sensors, lid-angle, activity). `lore_file_timeline` on cros_ec_sensors_core.c and cros_ec_sensors.c showed active 2026 maintenance and a functional January 2026 patch; sampled recent lore activity did not show removal traffic. Web search + `open` on chromeos.dev provided current deployment evidence for EC-managed Chromebook sensors and >200 Chromebook variants; web search + `open` on Acer's 2025 launch page showed new convertible Chromebooks still shipping. No natural upstream replacement covers the same ChromeOS EC sensor-hub interface, so removal/deprecation is not justified.