xref: /freebsd/sys/contrib/device-tree/Bindings/iio/proximity/google,cros-ec-mkbp-proximity.yaml (revision f7c32ed617858bcd22f8d1b03199099d50125721)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4
5$id: http://devicetree.org/schemas/iio/proximity/google,cros-ec-mkbp-proximity.yaml#
6$schema: http://devicetree.org/meta-schemas/core.yaml#
7
8title: ChromeOS EC MKBP Proximity Sensor
9
10maintainers:
11  - Stephen Boyd <swboyd@chromium.org>
12  - Benson Leung <bleung@chromium.org>
13  - Enric Balletbo i Serra <enric.balletbo@collabora.com>
14
15description: |
16  Google's ChromeOS EC sometimes has the ability to detect user proximity.
17  This is implemented on the EC as near/far logic and exposed to the OS
18  via an MKBP switch bit.
19
20properties:
21  compatible:
22    const: google,cros-ec-mkbp-proximity
23
24  label:
25    description: Name for proximity sensor
26
27required:
28  - compatible
29
30additionalProperties: false
31
32examples:
33  - |
34    proximity {
35      compatible = "google,cros-ec-mkbp-proximity";
36      label = "proximity-wifi-lte";
37    };
38