Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
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/microsoft,surface-sam.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Surface System Aggregator Module (SAM, SSAM)
8
9maintainers:
10 - Konrad Dybcio <konradybcio@kernel.org>
11
12description: |
13 Surface devices use a standardized embedded controller to let the
14 operating system interface with various hardware functions. The
15 specific functionalities are modeled as subdevices and matched on
16 five levels: domain, category, target, instance and function.
17
18properties:
19 compatible:
20 const: microsoft,surface-sam
21
22 interrupts:
23 maxItems: 1
24
25 current-speed: true
26
27required:
28 - compatible
29 - interrupts
30
31additionalProperties: false
32
33examples:
34 - |
35 #include <dt-bindings/interrupt-controller/irq.h>
36 uart {
37 embedded-controller {
38 compatible = "microsoft,surface-sam";
39
40 interrupts-extended = <&tlmm 91 IRQ_TYPE_EDGE_RISING>;
41
42 pinctrl-0 = <&ssam_state>;
43 pinctrl-names = "default";
44
45 current-speed = <4000000>;
46 };
47 };