Apple SPMI controller

Schema identifier ($id): "http://devicetree.org/schemas/spmi/apple,spmi.yaml#"

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

Maintainers (maintainers): "Sasha Finkelstein <fnkl.kernel@gmail.com>"

A SPMI controller present on most Apple SoCs

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): spmi.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "apple,t6020-spmi", "apple,t8012-spmi", "apple,t8015-spmi"

Item 2

Exact value (const): "apple,t8103-spmi"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "apple,t8103-spmi", "apple,t6000-spmi", "apple,t8112-spmi"

Item 2

Exact value (const): "apple,spmi"

reg — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/spmi/spmi.h>

spmi@920a1300 {
    compatible = "apple,t6000-spmi", "apple,spmi";
    reg = <0x920a1300 0x100>;
    #address-cells = <2>;
    #size-cells = <0>;

    pmic@f {
        reg = <0xf SPMI_USID>;
        /* PMIC-specific properties */
    };
};

Source notes #

Annotations retained from the schema source

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

Line 28: Do not add additional SoC to this list.

Edit this page