Surface System Aggregator Module (SAM, SSAM)

Schema identifier ($id): "http://devicetree.org/schemas/embedded-controller/microsoft,surface-sam.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Konrad Dybcio <konradybcio@kernel.org>"

Surface devices use a standardized embedded controller to let the operating system interface with various hardware functions. The specific functionalities are modeled as subdevices and matched on five levels: domain, category, target, instance and function.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "microsoft,surface-sam"

interrupts — required here #

Maximum number of items (maxItems): 1

current-speed — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "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>
uart {
    embedded-controller {
        compatible = "microsoft,surface-sam";

        interrupts-extended = <&tlmm 91 IRQ_TYPE_EDGE_RISING>;

        pinctrl-0 = <&ssam_state>;
        pinctrl-names = "default";

        current-speed = <4000000>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page