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