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