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