xref: /linux/Documentation/devicetree/bindings/iio/proximity/google,cros-ec-mkbp-proximity.yaml (revision 5c4712316ac9d34c91c54210bded55351e621dfc)
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
7title: ChromeOS EC MKBP Proximity Sensor
8
9maintainers:
10  - Stephen Boyd <swboyd@chromium.org>
11  - Benson Leung <bleung@chromium.org>
12
13description: |
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
18properties:
19  compatible:
20    const: google,cros-ec-mkbp-proximity
21
22  label:
23    description: Name for proximity sensor
24
25required:
26  - compatible
27
28additionalProperties: false
29
30examples:
31  - |
32    proximity {
33      compatible = "google,cros-ec-mkbp-proximity";
34      label = "proximity-wifi-lte";
35    };
36