GNU Linux-libre 6.1.90-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
5 $id: http://devicetree.org/schemas/iio/proximity/google,cros-ec-mkbp-proximity.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
7
8 title: ChromeOS EC MKBP Proximity Sensor
9
10 maintainers:
11   - Stephen Boyd <swboyd@chromium.org>
12   - Benson Leung <bleung@chromium.org>
13
14 description: |
15   Google's ChromeOS EC sometimes has the ability to detect user proximity.
16   This is implemented on the EC as near/far logic and exposed to the OS
17   via an MKBP switch bit.
18
19 properties:
20   compatible:
21     const: google,cros-ec-mkbp-proximity
22
23   label:
24     description: Name for proximity sensor
25
26 required:
27   - compatible
28
29 additionalProperties: false
30
31 examples:
32   - |
33     proximity {
34       compatible = "google,cros-ec-mkbp-proximity";
35       label = "proximity-wifi-lte";
36     };