Path: blob/master/Documentation/devicetree/bindings/embedded-controller/lenovo,thinkpad-t14s-ec.yaml
29539 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/embedded-controller/lenovo,thinkpad-t14s-ec.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Lenovo Thinkpad T14s Embedded Controller78maintainers:9- Sebastian Reichel <sre@kernel.org>1011description:12The Qualcomm Snapdragon-based Lenovo Thinkpad T14s has an Embedded Controller13(EC) which handles things such as keyboard backlight, LEDs or non-standard14keys.1516properties:17compatible:18const: lenovo,thinkpad-t14s-ec1920reg:21const: 0x282223interrupts:24maxItems: 12526wakeup-source: true2728required:29- compatible30- reg31- interrupts3233additionalProperties: false3435examples:36- |+37#include <dt-bindings/interrupt-controller/irq.h>38i2c {39#address-cells = <1>;40#size-cells = <0>;4142embedded-controller@28 {43compatible = "lenovo,thinkpad-t14s-ec";44reg = <0x28>;45interrupts-extended = <&tlmm 66 IRQ_TYPE_LEVEL_LOW>;46wakeup-source;47};48};49...505152