Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/Documentation/devicetree/bindings/embedded-controller/lenovo,thinkpad-t14s-ec.yaml
29539 views
1
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2
%YAML 1.2
3
---
4
$id: http://devicetree.org/schemas/embedded-controller/lenovo,thinkpad-t14s-ec.yaml#
5
$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7
title: Lenovo Thinkpad T14s Embedded Controller
8
9
maintainers:
10
- Sebastian Reichel <sre@kernel.org>
11
12
description:
13
The Qualcomm Snapdragon-based Lenovo Thinkpad T14s has an Embedded Controller
14
(EC) which handles things such as keyboard backlight, LEDs or non-standard
15
keys.
16
17
properties:
18
compatible:
19
const: lenovo,thinkpad-t14s-ec
20
21
reg:
22
const: 0x28
23
24
interrupts:
25
maxItems: 1
26
27
wakeup-source: true
28
29
required:
30
- compatible
31
- reg
32
- interrupts
33
34
additionalProperties: false
35
36
examples:
37
- |+
38
#include <dt-bindings/interrupt-controller/irq.h>
39
i2c {
40
#address-cells = <1>;
41
#size-cells = <0>;
42
43
embedded-controller@28 {
44
compatible = "lenovo,thinkpad-t14s-ec";
45
reg = <0x28>;
46
interrupts-extended = <&tlmm 66 IRQ_TYPE_LEVEL_LOW>;
47
wakeup-source;
48
};
49
};
50
...
51
52