Lenovo Thinkpad T14s Embedded Controller
Schema identifier ($id): "http://devicetree.org/schemas/embedded-controller/lenovo,thinkpad-t14s-ec.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Sebastian Reichel <sre@kernel.org>"
The Qualcomm Snapdragon-based Lenovo Thinkpad T14s has an Embedded Controller (EC) which handles things such as keyboard backlight, LEDs or non-standard keys.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "lenovo,thinkpad-t14s-ec"
reg — required here #
Exact value (const): 40
interrupts — required here #
Maximum number of items (maxItems): 1
wakeup-source — not listed as required here #
true — No constraints added by this property rule.
Required in this object (required): "compatible", "reg", "interrupts"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
embedded-controller@28 {
compatible = "lenovo,thinkpad-t14s-ec";
reg = <0x28>;
interrupts-extended = <&tlmm 66 IRQ_TYPE_LEVEL_LOW>;
wakeup-source;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)