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