ChromeOS EC MKBP Proximity Sensor

Schema identifier ($id): "http://devicetree.org/schemas/iio/proximity/google,cros-ec-mkbp-proximity.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Stephen Boyd <swboyd@chromium.org>", "Benson Leung <bleung@chromium.org>"

Google's ChromeOS EC sometimes has the ability to detect user proximity. This is implemented on the EC as near/far logic and exposed to the OS via an MKBP switch bit.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "google,cros-ec-mkbp-proximity"

label — not listed as required here #

Name for proximity sensor

Required in this object (required): "compatible"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

proximity {
  compatible = "google,cros-ec-mkbp-proximity";
  label = "proximity-wifi-lte";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Edit this page