Peios Learn
Documentation

Peios

Peios Peios Kernel Universal Directory Project

Developer Tools

Trail Acta Provium clackatoo CAF GCSL Pekit

Applications

Framewright

Standards and Conventions

Standards and Conventions Peios Specifications
Peios Kernel

Mfd bindings

Single-page view · as markdown

Actions Semi ATC260x Power Management IC

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/actions,atc260x.yaml#"

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

Maintainers (maintainers): "Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>", "Cristian Ciocaltea <cristian.ciocaltea@gmail.com>"

ATC260x series PMICs integrates Audio Codec, Power Management, RTC, IR and GPIO controller blocks. Currently only the PM related functionalities (i.e. regulators and system power-off/reboot) for the ATC2603C and ATC2609A chip variants are supported. ATC2603C includes 3 programmable DC-DC converters, 9 programmable LDO regulators and 1 fixed LDO regulator. ATC2609A includes 5 programmable DC-DC converters and 10 programmable LDO regulators.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/input/input.yaml

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "actions,atc2603c", "actions,atc2609a"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

reset-time-sec — not listed as required here #

Duration in seconds which the key should be kept pressed for device to reset automatically. The hardware default is 8. Use 0 to disable this functionality.

Allowed values (enum): 0, 6, 8, 10, 12

regulators — not listed as required here #

Value type (type): "object"

List of child nodes specifying the regulators, depending on chip variant: * ATC2603C: dcdc[1-3], ldo[1-3,5-8,11,12], switchldo1 * ATC2609A: dcdc[0-4], ldo[0-9]

Properties and child nodes (properties) #

compatible — required here

Allowed values (enum): "actions,atc2603c-regulator", "actions,atc2609a-regulator"

switchldo1 — not listed as required here

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml

Properties and child nodes (properties)

regulator-name — not listed as required here

true — No constraints added by this property rule.

regulator-boot-on — not listed as required here

true — No constraints added by this property rule.

regulator-always-on — not listed as required here

true — No constraints added by this property rule.

regulator-min-microvolt — not listed as required here

true — No constraints added by this property rule.

regulator-max-microvolt — not listed as required here

true — No constraints added by this property rule.

regulator-allow-bypass — not listed as required here

true — No constraints added by this property rule.

regulator-active-discharge — not listed as required here

true — No constraints added by this property rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties)

false

Not allowed by this rule.

Properties matching a name pattern (patternProperties) #

^(dcdc[0-4]|ldo[0-9]|ldo1[1-2]|switchldo1)-supply$ — name matches this regular expression

ATC260x voltage regulators supplies

^(dcdc[0-4]|ldo[0-9]|ldo1[1-2])$ — name matches this regular expression

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml

Properties and child nodes (properties)

regulator-name — not listed as required here

true — No constraints added by this property rule.

regulator-boot-on — not listed as required here

true — No constraints added by this property rule.

regulator-always-on — not listed as required here

true — No constraints added by this property rule.

regulator-min-microvolt — not listed as required here

true — No constraints added by this property rule.

regulator-max-microvolt — not listed as required here

true — No constraints added by this property rule.

regulator-allow-bypass — not listed as required here

true — No constraints added by this property rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties)

false

Not allowed by this rule.

All of these rules must match (allOf) #

Rule 1

Condition (if)

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "actions,atc2603c-regulator"

When the condition matches (then)

Properties matching a name pattern (patternProperties)

^(dcdc[0,4]|ldo[0,4,9])(-supply)?$ — name matches this regular expression

false — Not permitted by this property rule.

^(ldo|dcdc) — name matches this regular expression

Properties and child nodes (properties)

regulator-allow-bypass — not listed as required here

false — Not permitted by this property rule.

Rule 2

Condition (if)

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "actions,atc2609a-regulator"

When the condition matches (then)

Properties matching a name pattern (patternProperties)

^(ldo1[1-2]|switchldo1)(-supply)?$ — name matches this regular expression

false — Not permitted by this property rule.

^(dcdc|ldo[3-9]) — name matches this regular expression

Properties and child nodes (properties)

regulator-allow-bypass — not listed as required here

false — Not permitted by this property rule.

Required in this object (required): "compatible"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

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

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>
i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    pmic@65 {
        compatible = "actions,atc2603c";
        reg = <0x65>;
        interrupt-parent = <&sirq>;
        interrupts = <2 IRQ_TYPE_LEVEL_HIGH>;

        reset-time-sec = <6>;

        regulators {
            compatible = "actions,atc2603c-regulator";

            dcdc1-supply = <&reg_5v0>;
            dcdc3-supply = <&reg_5v0>;
            ldo5-supply = <&reg_5v0>;
            switchldo1-supply = <&vcc>;

            vdd_cpu: dcdc1 {
                regulator-name = "VDD_CPU";
                regulator-min-microvolt = <700000>;
                regulator-max-microvolt = <1400000>;
                regulator-always-on;
            };

            vcc: dcdc3 {
                regulator-name = "VCC";
                regulator-min-microvolt = <2600000>;
                regulator-max-microvolt = <3300000>;
                regulator-always-on;
            };

            vcc_3v1: ldo5 {
                regulator-name = "VCC_3V1";
                regulator-min-microvolt = <2600000>;
                regulator-max-microvolt = <3300000>;
            };

            sd_vcc: switchldo1 {
                regulator-name = "SD_VCC";
                regulator-min-microvolt = <3000000>;
                regulator-max-microvolt = <3300000>;
                regulator-always-on;
                regulator-boot-on;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Analog Devices ADP5585 Keypad Decoder and I/O Expansion

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/adi,adp5585.yaml#"

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

Maintainers (maintainers): "Laurent Pinchart <laurent.pinchart@ideasonboard.com>"

The ADP5585 is a 10/11 input/output port expander with a built in keypad matrix decoder, programmable logic, reset generator, and PWM generator.

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): "adi,adp5585-00", "adi,adp5585-01", "adi,adp5585-02", "adi,adp5585-03", "adi,adp5585-04"

Item 2

Exact value (const): "adi,adp5585"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "adi,adp5589-00", "adi,adp5589-01", "adi,adp5589-02"

Item 2

Exact value (const): "adi,adp5589"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

vdd-supply — not listed as required here #

true — No constraints added by this property rule.

reset-gpios — not listed as required here #

Maximum number of items (maxItems): 1

gpio-controller — not listed as required here #

true — No constraints added by this property rule.

#gpio-cells — not listed as required here #

Exact value (const): 2

gpio-reserved-ranges — not listed as required here #

true — No constraints added by this property rule.

#pwm-cells — not listed as required here #

Exact value (const): 3

interrupt-controller — not listed as required here #

true — No constraints added by this property rule.

#interrupt-cells — not listed as required here #

Exact value (const): 2

poll-interval — not listed as required here #

Allowed values (enum): 10, 20, 30, 40

Default value (default): 10

adi,keypad-pins — not listed as required here #

Specifies the pins used for the keypad matrix.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array

adi,unlock-events — not listed as required here #

Specifies a maximum of 2 events that can be used to unlock the keypad. If this property is set, the keyboard will be locked and only unlocked after these keys/gpis are pressed. The value 127 serves as a wildcard which means any key can be used for unlocking.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

Array item rules (items) #

At least one of these rules must match (anyOf)

Rule 1

Minimum value (minimum): 1

Maximum value (maximum): 88

Rule 2

Minimum value (minimum): 97

Maximum value (maximum): 115

Rule 3

Exact value (const): 127

adi,unlock-trigger-sec — not listed as required here #

Defines the time in which the second unlock event must occur after the first unlock event has occurred.

Maximum value (maximum): 7

Default value (default): 0

adi,reset1-events — not listed as required here #

Defines the trigger events (key/gpi presses) that can generate reset conditions one the reset1 block.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 3

adi,reset2-events — not listed as required here #

Defines the trigger events (key/gpi presses) that can generate reset conditions one the reset2 block.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

adi,reset1-active-high — not listed as required here #

Sets the reset1 signal as active high.

Value type (type): "boolean"

adi,reset2-active-high — not listed as required here #

Sets the reset2 signal as active high.

Value type (type): "boolean"

adi,rst-passthrough-enable — not listed as required here #

Allows the RST pin to override (OR with) the reset1 signal.

Value type (type): "boolean"

adi,reset-trigger-ms — not listed as required here #

Defines the length of time that the reset events must be active before a reset signal is generated. All events must be active at the same time for the same duration.

Allowed values (enum): 0, 1000, 1500, 2000, 2500, 3000, 3500, 4000

Default value (default): 0

adi,reset-pulse-width-us — not listed as required here #

Defines the pulse width of the reset signals.

Allowed values (enum): 500, 1000, 2000, 10000

Default value (default): 500

Properties matching a name pattern (patternProperties) #

-hog(-[0-9]+)?$ — name matches this regular expression #

Value type (type): "object"

Required in this object (required): "gpio-hog"

Property dependencies (dependencies) #

linux,keymap — applies when this property is present #

Also requires: "adi,keypad-pins", "interrupts"

interrupt-controller — applies when this property is present #

Also requires: "interrupts"

adi,unlock-trigger-sec — applies when this property is present #

Also requires: "adi,unlock-events"

adi,reset1-active-high — applies when this property is present #

Also requires: "adi,reset1-events"

adi,rst-passtrough-enable — applies when this property is present #

Also requires: "adi,reset1-events"

adi,reset2-active-high — applies when this property is present #

Also requires: "adi,reset2-events"

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

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/input/matrix-keymap.yaml#

Rule 2 #

Shared schema rule ($ref): /schemas/input/input.yaml#

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "adi,adp5585-01"

When the condition matches (then) #

Properties and child nodes (properties)

adi,unlock-events — not listed as required here

false — Not permitted by this property rule.

adi,unlock-trigger-sec — not listed as required here

false — Not permitted by this property rule.

gpio-reserved-ranges — not listed as required here

false — Not permitted by this property rule.

reset-gpios — not listed as required here

false — Not permitted by this property rule.

adi,keypad-pins — not listed as required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 11

Array item rules (items)

Minimum value (minimum): 0

Maximum value (maximum): 10

adi,reset1-events — not listed as required here

Array item rules (items)

At least one of these rules must match (anyOf)

Rule 1

Minimum value (minimum): 1

Maximum value (maximum): 30

Rule 2

Minimum value (minimum): 37

Maximum value (maximum): 47

adi,reset2-events — not listed as required here

Array item rules (items)

At least one of these rules must match (anyOf)

Rule 1

Minimum value (minimum): 1

Maximum value (maximum): 30

Rule 2

Minimum value (minimum): 37

Maximum value (maximum): 47

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "adi,adp5585-00", "adi,adp5585-02", "adi,adp5585-03", "adi,adp5585-04"

When the condition matches (then) #

Properties and child nodes (properties)

adi,unlock-events — not listed as required here

false — Not permitted by this property rule.

adi,unlock-trigger-sec — not listed as required here

false — Not permitted by this property rule.

adi,keypad-pins — not listed as required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 10

Array item rules (items)

Allowed values (enum): 0, 1, 2, 3, 4, 6, 7, 8, 9, 10

adi,reset1-events — not listed as required here

Array item rules (items)

At least one of these rules must match (anyOf)

Rule 1

Minimum value (minimum): 1

Maximum value (maximum): 25

Rule 2

Allowed values (enum): 37, 38, 39, 40, 41, 43, 44, 45, 46, 47

adi,reset2-events — not listed as required here

Array item rules (items)

At least one of these rules must match (anyOf)

Rule 1

Minimum value (minimum): 1

Maximum value (maximum): 25

Rule 2

Allowed values (enum): 37, 38, 39, 40, 41, 43, 44, 45, 46, 47

gpio-reserved-ranges — not listed as required here

Maximum number of items (maxItems): 1

Array item rules (items)

Array item rules (items)

Item 1

Exact value (const): 5

Item 2

Exact value (const): 1

Rule 5 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "adi,adp5589-00", "adi,adp5589-01", "adi,adp5589-02"

When the condition matches (then) #

Properties and child nodes (properties)

gpio-reserved-ranges — not listed as required here

false — Not permitted by this property rule.

adi,keypad-pins — not listed as required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 19

Array item rules (items)

Minimum value (minimum): 0

Maximum value (maximum): 18

adi,reset1-events — not listed as required here

Array item rules (items)

At least one of these rules must match (anyOf)

Rule 1

Minimum value (minimum): 1

Maximum value (maximum): 88

Rule 2

Minimum value (minimum): 97

Maximum value (maximum): 115

adi,reset2-events — not listed as required here

Array item rules (items)

At least one of these rules must match (anyOf)

Rule 1

Minimum value (minimum): 1

Maximum value (maximum): 88

Rule 2

Minimum value (minimum): 97

Maximum value (maximum): 115

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/input/input.h>
#include <dt-bindings/interrupt-controller/irq.h>
i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    io-expander@34 {
        compatible = "adi,adp5585-00", "adi,adp5585";
        reg = <0x34>;

        vdd-supply = <&reg_3v3>;

        gpio-controller;
        #gpio-cells = <2>;
        gpio-reserved-ranges = <5 1>;

        #pwm-cells = <3>;

        interrupts = <16 IRQ_TYPE_EDGE_FALLING>;
        interrupt-parent = <&gpio>;

        adi,reset1-events = <1 43>;
        adi,reset2-events = <2 3>;
        adi,reset-trigger-ms = <2000>;

        /*
         * col0, col1, col2
         * row0, row1, row2
         */
        adi,keypad-pins = <0 1 2 6 7 8>;

        linux,keymap = <
            MATRIX_KEY(0x00, 0x00, KEY_1)
            MATRIX_KEY(0x00, 0x01, KEY_2)
            MATRIX_KEY(0x00, 0x02, KEY_3)

            MATRIX_KEY(0x01, 0x00, KEY_A)
            MATRIX_KEY(0x01, 0x01, KEY_B)
            MATRIX_KEY(0x01, 0x02, KEY_C)

            MATRIX_KEY(0x02, 0x00, BTN_1)
            MATRIX_KEY(0x02, 0x01, BTN_2)
            MATRIX_KEY(0x02, 0x02, BTN_3)
        >;
    };
};

Source notes #

Annotations retained from the schema source

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

Line 21: Default

Line 22: 11 GPIOs

Line 23: No pull-up resistors by default on special pins

Line 24: Alternate I2C address

Line 25: Pull-down resistors on all pins by default

Line 29: Default

Line 30: R4 defaulted to RESET1 output

Line 31: Pull-down resistors by default on special pins

MAX77540/MAX77541 PMIC from ADI

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/adi,max77541.yaml#"

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

Maintainers (maintainers): "Okan Sahin <okan.sahin@analog.com>"

MAX77540 is a Power Management IC with 2 buck regulators.

MAX77541 is a Power Management IC with 2 buck regulators and 1 ADC.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "adi,max77540", "adi,max77541"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

regulators — not listed as required here #

Shared schema rule ($ref): /schemas/regulator/adi,max77541-regulator.yaml#

Required in this object (required): "compatible", "reg", "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>

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    pmic@69 {
        compatible = "adi,max77541";
        reg = <0x69>;
        interrupt-parent = <&gpio>;
        interrupts = <16 IRQ_TYPE_EDGE_FALLING>;

        regulators {
            buck1 {
                regulator-min-microvolt = <500000>;
                regulator-max-microvolt = <5200000>;
                regulator-boot-on;
                regulator-always-on;
            };
            buck2 {
                regulator-min-microvolt = <500000>;
                regulator-max-microvolt = <5200000>;
                regulator-boot-on;
                regulator-always-on;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Airoha EN7581 GPIO System Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/airoha,en7581-gpio-sysctl.yaml#"

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

Maintainers (maintainers): "Christian Marangi <ansuelsmth@gmail.com>", "Lorenzo Bianconi <lorenzo@kernel.org>"

Airoha EN7581 SoC GPIO system controller which provided a register map for controlling the GPIO, pins and PWM of the SoC.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "airoha,en7581-gpio-sysctl"

Item 2

Exact value (const): "syscon"

Item 3

Exact value (const): "simple-mfd"

reg — required here #

Maximum number of items (maxItems): 1

pinctrl — not listed as required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/pinctrl/airoha,en7581-pinctrl.yaml

Child node definition for EN7581 Pin controller

pwm — not listed as required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/pwm/airoha,en7581-pwm.yaml

Child node definition for EN7581 PWM controller

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

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>

system-controller@1fbf0200 {
  compatible = "airoha,en7581-gpio-sysctl", "syscon", "simple-mfd";
  reg = <0x1fbf0200 0xc0>;

  pinctrl {
    compatible = "airoha,en7581-pinctrl";

    interrupt-parent = <&gic>;
    interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;

    gpio-controller;
    #gpio-cells = <2>;

    interrupt-controller;
    #interrupt-cells = <2>;

    mmc-pins {
      mux {
        function = "emmc";
        groups = "emmc";
      };
    };

    mdio-pins {
      mux {
        function = "mdio";
        groups = "mdio";
      };

      conf {
        pins = "gpio2";
        output-enable;
      };
    };
  };

  pwm {
    compatible = "airoha,en7581-pwm";

    #pwm-cells = <3>;
  };
};

Source notes #

Annotations retained from the schema source

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

Allwinner A10 Resistive Touchscreen Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/allwinner,sun4i-a10-ts.yaml#"

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

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Properties and child nodes (properties) #

#thermal-sensor-cells — required here #

Exact value (const): 0

compatible — required here #

Allowed values (enum): "allwinner,sun4i-a10-ts", "allwinner,sun5i-a13-ts", "allwinner,sun6i-a31-ts"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

allwinner,ts-attached — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

A touchscreen is attached to the controller

allwinner,tp-sensitive-adjust — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Minimum value (minimum): 0

Maximum value (maximum): 15

Default value (default): 15

Sensitivity of pen down detection

allwinner,filter-type — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Minimum value (minimum): 0

Maximum value (maximum): 3

Default value (default): 1

Select median and averaging filter. Sample used for median /
averaging filter:
  0: 4/2
  1: 5/3
  2: 8/4
  3: 16/8

Required in this object (required): "#thermal-sensor-cells", "compatible", "reg", "interrupts"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

rtp: rtp@1c25000 {
    compatible = "allwinner,sun4i-a10-ts";
    reg = <0x01c25000 0x100>;
    interrupts = <29>;
    allwinner,ts-attached;
    #thermal-sensor-cells = <0>;
    /* sensitive/noisy touch panel */
    allwinner,tp-sensitive-adjust = <0>;
    allwinner,filter-type = <3>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Allwinner A31 PRCM

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/allwinner,sun6i-a31-prcm.yaml#"

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

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Deprecated (deprecated): true

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "allwinner,sun6i-a31-prcm"

reg — required here #

Maximum number of items (maxItems): 1

Properties matching a name pattern (patternProperties) #

^.*-(clk|rst)$ — name matches this regular expression #

Value type (type): "object"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

compatible — required here

Allowed values (enum): "allwinner,sun4i-a10-mod0-clk", "allwinner,sun6i-a31-apb0-clk", "allwinner,sun6i-a31-apb0-gates-clk", "allwinner,sun6i-a31-ar100-clk", "allwinner,sun6i-a31-clock-reset", "fixed-factor-clock"

Required in this object (required): "compatible"

All of these rules must match (allOf) #

Rule 1

Condition (if)

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "fixed-factor-clock"

When the condition matches (then)

Shared schema rule ($ref): /schemas/clock/fixed-factor-clock.yaml#

Rule 2

Condition (if)

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "allwinner,sun4i-a10-mod0-clk"

When the condition matches (then)

Properties and child nodes (properties)

#clock-cells — required here

Exact value (const): 0

clocks — required here

Maximum number of items (maxItems): 2

clock-output-names — required here

Maximum number of items (maxItems): 1

Required in this object (required): "#clock-cells", "clocks", "clock-output-names"

Rule 3

Condition (if)

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "allwinner,sun6i-a31-apb0-clk"

When the condition matches (then)

Properties and child nodes (properties)

#clock-cells — required here

Exact value (const): 0

clocks — required here

Maximum number of items (maxItems): 1

clock-output-names — required here

Maximum number of items (maxItems): 1

Required in this object (required): "#clock-cells", "clocks", "clock-output-names"

Rule 4

Condition (if)

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "allwinner,sun6i-a31-apb0-gates-clk"

When the condition matches (then)

Properties and child nodes (properties)

#clock-cells — required here

Exact value (const): 1

This additional argument passed to that clock is the offset of the bit controlling this particular gate in the register.

clocks — required here

Maximum number of items (maxItems): 1

clock-output-names — required here

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 32

Required in this object (required): "#clock-cells", "clocks", "clock-output-names"

Rule 5

Condition (if)

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "allwinner,sun6i-a31-ar100-clk"

When the condition matches (then)

Properties and child nodes (properties)

#clock-cells — required here

Exact value (const): 0

clocks — required here

Maximum number of items (maxItems): 4

The parent order must match the hardware programming order.

clock-output-names — required here

Maximum number of items (maxItems): 1

Required in this object (required): "#clock-cells", "clocks", "clock-output-names"

Rule 6

Condition (if)

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "allwinner,sun6i-a31-clock-reset"

When the condition matches (then)

Properties and child nodes (properties)

#reset-cells — required here

Exact value (const): 1

Required in this object (required): "#reset-cells"

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

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/sun6i-a31-ccu.h>

prcm@1f01400 {
    compatible = "allwinner,sun6i-a31-prcm";
    reg = <0x01f01400 0x200>;

    ar100: ar100-clk {
        compatible = "allwinner,sun6i-a31-ar100-clk";
        #clock-cells = <0>;
        clocks = <&rtc 0>, <&osc24M>,
                 <&ccu CLK_PLL_PERIPH>,
                 <&ccu CLK_PLL_PERIPH>;
        clock-output-names = "ar100";
    };

    ahb0: ahb0-clk {
        compatible = "fixed-factor-clock";
        #clock-cells = <0>;
        clock-div = <1>;
        clock-mult = <1>;
        clocks = <&ar100>;
        clock-output-names = "ahb0";
    };

    apb0: apb0-clk {
        compatible = "allwinner,sun6i-a31-apb0-clk";
        #clock-cells = <0>;
        clocks = <&ahb0>;
        clock-output-names = "apb0";
    };

    apb0_gates: apb0-gates-clk {
        compatible = "allwinner,sun6i-a31-apb0-gates-clk";
        #clock-cells = <1>;
        clocks = <&apb0>;
        clock-output-names = "apb0_pio", "apb0_ir",
                             "apb0_timer", "apb0_p2wi",
                             "apb0_uart", "apb0_1wire",
                             "apb0_i2c";
    };

    ir_clk: ir-clk {
        #clock-cells = <0>;
        compatible = "allwinner,sun4i-a10-mod0-clk";
        clocks = <&rtc 0>, <&osc24M>;
        clock-output-names = "ir";
    };

    apb0_rst: apb0-rst {
        compatible = "allwinner,sun6i-a31-clock-reset";
        #reset-cells = <1>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Allwinner A23 PRCM

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/allwinner,sun8i-a23-prcm.yaml#"

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

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Deprecated (deprecated): true

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "allwinner,sun8i-a23-prcm"

reg — required here #

Maximum number of items (maxItems): 1

Properties matching a name pattern (patternProperties) #

^.*(clk|rst|codec).*$ — name matches this regular expression #

Value type (type): "object"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

compatible — required here

Allowed values (enum): "fixed-factor-clock", "allwinner,sun8i-a23-apb0-clk", "allwinner,sun8i-a23-apb0-gates-clk", "allwinner,sun6i-a31-clock-reset", "allwinner,sun8i-a23-codec-analog"

Required in this object (required): "compatible"

All of these rules must match (allOf) #

Rule 1

Condition (if)

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "fixed-factor-clock"

When the condition matches (then)

Shared schema rule ($ref): /schemas/clock/fixed-factor-clock.yaml#

Rule 2

Condition (if)

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "allwinner,sun8i-a23-apb0-clk"

When the condition matches (then)

Properties and child nodes (properties)

#clock-cells — required here

Exact value (const): 0

clocks — required here

Maximum number of items (maxItems): 1

clock-output-names — required here

Maximum number of items (maxItems): 1

Required in this object (required): "#clock-cells", "clocks", "clock-output-names"

Rule 3

Condition (if)

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "allwinner,sun8i-a23-apb0-gates-clk"

When the condition matches (then)

Properties and child nodes (properties)

#clock-cells — required here

Exact value (const): 1

This additional argument passed to that clock is the offset of the bit controlling this particular gate in the register.

clocks — required here

Maximum number of items (maxItems): 1

clock-output-names — required here

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 32

Required in this object (required): "#clock-cells", "clocks", "clock-output-names"

Rule 4

Condition (if)

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "allwinner,sun6i-a31-clock-reset"

When the condition matches (then)

Properties and child nodes (properties)

#reset-cells — required here

Exact value (const): 1

Required in this object (required): "#reset-cells"

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

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

prcm@1f01400 {
    compatible = "allwinner,sun8i-a23-prcm";
    reg = <0x01f01400 0x200>;

    ar100: ar100_clk {
        compatible = "fixed-factor-clock";
        #clock-cells = <0>;
        clock-div = <1>;
        clock-mult = <1>;
        clocks = <&osc24M>;
        clock-output-names = "ar100";
    };

    ahb0: ahb0_clk {
        compatible = "fixed-factor-clock";
        #clock-cells = <0>;
        clock-div = <1>;
        clock-mult = <1>;
        clocks = <&ar100>;
        clock-output-names = "ahb0";
    };

    apb0: apb0_clk {
        compatible = "allwinner,sun8i-a23-apb0-clk";
        #clock-cells = <0>;
        clocks = <&ahb0>;
        clock-output-names = "apb0";
    };

    apb0_gates: apb0_gates_clk {
        compatible = "allwinner,sun8i-a23-apb0-gates-clk";
        #clock-cells = <1>;
        clocks = <&apb0>;
        clock-output-names = "apb0_pio", "apb0_timer",
                             "apb0_rsb", "apb0_uart",
                             "apb0_i2c";
    };

    apb0_rst: apb0_rst {
        compatible = "allwinner,sun6i-a31-clock-reset";
        #reset-cells = <1>;
    };

    codec_analog: codec-analog {
        compatible = "allwinner,sun8i-a23-codec-analog";
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0+

Ampere Altra SMPro firmware driver

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/ampere,smpro.yaml#"

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

Maintainers (maintainers): "Quan Nguyen <quan@os.amperecomputing.com>"

Ampere Altra SMPro firmware may contain different blocks like hardware monitoring, error monitoring and other miscellaneous features.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "ampere,smpro"

reg — required here #

I2C device address.

Maximum number of items (maxItems): 1

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

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    smpro@4f {
        compatible = "ampere,smpro";
        reg = <0x4f>;
    };
};

Source notes #

Annotations retained from the schema source

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

Austria MicroSystems AS3711 Quad Buck High Current PMIC with Charger

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/ams,as3711.yaml#"

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

Maintainers (maintainers): "Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>"

AS3711 is an I2C PMIC from Austria MicroSystems with multiple DC/DC and LDO power supplies, a battery charger and an RTC. So far only bindings for the two step-up DC/DC converters are defined.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "ams,as3711"

reg — required here #

Maximum number of items (maxItems): 1

backlight — not listed as required here #

Step-up converter configuration, to be used as a backlight source

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

compatible — required here

Exact value (const): "ams,as3711-bl"

su1-dev — not listed as required here

Framebuffer phandle for the first step-up converter

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

su1-max-uA — not listed as required here

Maximum current for the first step-up converter

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

su2-dev — not listed as required here

Framebuffer phandle for the second step-up converter

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

su2-max-uA — not listed as required here

Maximum current for the second step-up converter

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

su2-feedback-voltage — not listed as required here

Second step-up converter uses voltage feedback

Value type (type): "boolean"

su2-feedback-curr1 — not listed as required here

Second step-up converter uses CURR1 input for current feedback

Value type (type): "boolean"

su2-feedback-curr2 — not listed as required here

Second step-up converter uses CURR2 input for current feedback

Value type (type): "boolean"

su2-feedback-curr3 — not listed as required here

Second step-up converter uses CURR3 input for current feedback

Value type (type): "boolean"

su2-feedback-curr-auto — not listed as required here

Second step-up converter uses automatic current feedback selection

Value type (type): "boolean"

su2-fbprot-lx-sd4 — not listed as required here

Second step-up converter uses LX_SD4 for over-voltage protection

Value type (type): "boolean"

su2-fbprot-gpio2 — not listed as required here

Second step-up converter uses GPIO2 for over-voltage protection

Value type (type): "boolean"

su2-fbprot-gpio3 — not listed as required here

Second step-up converter uses GPIO3 for over-voltage protection

Value type (type): "boolean"

su2-fbprot-gpio4 — not listed as required here

Second step-up converter uses GPIO4 for over-voltage protection

Value type (type): "boolean"

su2-auto-curr1 — not listed as required here

Second step-up converter uses CURR1 input for automatic current feedback

Value type (type): "boolean"

su2-auto-curr2 — not listed as required here

Second step-up converter uses CURR2 input for automatic current feedback

Value type (type): "boolean"

su2-auto-curr3 — not listed as required here

Second step-up converter uses CURR3 input for automatic current feedback

Value type (type): "boolean"

Required in this object (required): "compatible"

Requirements triggered by another property (dependentRequired): { su1-dev: "su1-max-uA", su1-max-uA: "su1-dev", su2-dev: "su2-max-uA", su2-max-uA: "su2-dev", su2-feedback-voltage: "su2-dev", su2-feedback-curr1: "su2-dev", su2-feedback-curr2: "su2-dev", su2-feedback-curr3: "su2-dev", su2-feedback-curr-auto: "su2-dev", su2-fbprot-lx-sd4: "su2-dev", su2-fbprot-gpio2: "su2-dev", su2-fbprot-gpio3: "su2-dev", su2-fbprot-gpio4: "su2-dev", su2-auto-curr1: "su2-feedback-curr-auto", su2-auto-curr2: "su2-feedback-curr-auto", su2-auto-curr3: "su2-feedback-curr-auto" }

Rules triggered by another property (dependentSchemas) #

su2-dev — applies when this property is present

All of these rules must match (allOf)

Rule 1

Exactly one of these rules must match (oneOf)

Rule 1

Required in this object (required): "su2-feedback-voltage"

Rule 2

Required in this object (required): "su2-feedback-curr1"

Rule 3

Required in this object (required): "su2-feedback-curr2"

Rule 4

Required in this object (required): "su2-feedback-curr3"

Rule 5

Required in this object (required): "su2-feedback-curr-auto"

Rule 2

Exactly one of these rules must match (oneOf)

Rule 1

Required in this object (required): "su2-fbprot-lx-sd4"

Rule 2

Required in this object (required): "su2-fbprot-gpio2"

Rule 3

Required in this object (required): "su2-fbprot-gpio3"

Rule 4

Required in this object (required): "su2-fbprot-gpio4"

su2-feedback-curr-auto — applies when this property is present

At least one of these rules must match (anyOf)

Rule 1

Required in this object (required): "su2-auto-curr1"

Rule 2

Required in this object (required): "su2-auto-curr2"

Rule 3

Required in this object (required): "su2-auto-curr3"

regulators — not listed as required here #

Other DC/DC and LDO supplies

Value type (type): "object"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Properties matching a name pattern (patternProperties) #

^(sd[1-4]|ldo[1-8])$ — name matches this regular expression

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

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

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    pmic@40 {
        compatible = "ams,as3711";
        reg = <0x40>;

        regulators {
            sd4 {
                regulator-name = "1.215V";
                regulator-min-microvolt = <1215000>;
                regulator-max-microvolt = <1235000>;
            };
            ldo2 {
                regulator-name = "2.8V CPU";
                regulator-min-microvolt = <2800000>;
                regulator-max-microvolt = <2800000>;
                regulator-always-on;
                regulator-boot-on;
            };
        };

        backlight {
            compatible = "ams,as3711-bl";
            su2-dev = <&lcdc>;
            su2-max-uA = <36000>;
            su2-feedback-curr-auto;
            su2-fbprot-gpio4;
            su2-auto-curr1;
            su2-auto-curr2;
            su2-auto-curr3;
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Line 115: To use the SU1 converter as a backlight source the following two

Line 116: properties must be provided:

Line 120: To use the SU2 converter as a backlight source the following two

Line 121: properties must be provided:

Apple Mac System Management Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

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

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

Maintainers (maintainers): "Sven Peter <sven@kernel.org>"

Apple Mac System Management Controller implements various functions such as GPIO, RTC, power, reboot.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Exact value (const): "apple,t6020-smc"

Item 2

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

Rule 2

Array item rules (items)

Item 1

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

Item 2

Exact value (const): "apple,smc"

reg — required here #

Array item rules (items) #

Item 1

SMC area

Item 2

SRAM area

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "smc"

Item 2

Exact value (const): "sram"

mboxes — required here #

Maximum number of items (maxItems): 1

gpio — not listed as required here #

Shared schema rule ($ref): /schemas/gpio/apple,smc-gpio.yaml

reboot — not listed as required here #

Shared schema rule ($ref): /schemas/power/reset/apple,smc-reboot.yaml

rtc — not listed as required here #

Shared schema rule ($ref): /schemas/rtc/apple,smc-rtc.yaml

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

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

Examples (examples) #

soc {
  #address-cells = <2>;
  #size-cells = <2>;

  smc@23e400000 {
    compatible = "apple,t8103-smc", "apple,smc";
    reg = <0x2 0x3e400000 0x0 0x4000>,
           <0x2 0x3fe00000 0x0 0x100000>;
    reg-names = "smc", "sram";
    mboxes = <&smc_mbox>;

    smc_gpio: gpio {
      compatible = "apple,smc-gpio";
      gpio-controller;
      #gpio-cells = <2>;
    };

    reboot {
      compatible = "apple,smc-reboot";
      nvmem-cells = <&shutdown_flag>, <&boot_stage>,
                    <&boot_error_count>, <&panic_count>;
      nvmem-cell-names = "shutdown_flag", "boot_stage",
                         "boot_error_count", "panic_count";
    };

    rtc {
      compatible = "apple,smc-rtc";
      nvmem-cells = <&rtc_offset>;
      nvmem-cell-names = "rtc_offset";
   };
  };
};

Source notes #

Annotations retained from the schema source

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

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

Arm Ltd Developer Platforms System Controllers

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/arm,dev-platforms-syscon.yaml#"

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

Maintainers (maintainers): "Linus Walleij <linusw@kernel.org>"

The Arm Ltd Integrator, Realview, and Versatile families of developer platforms are contain various system controller blocks. Often these blocks are part of a daughterboard or motherboard module.

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): "arm,integrator-ap-syscon", "arm,integrator-cp-syscon", "arm,integrator-sp-syscon", "arm,im-pd1-syscon"

Item 2

Exact value (const): "syscon"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "arm,core-module-integrator", "arm,integrator-ap-syscon", "arm,integrator-cp-syscon", "arm,integrator-sp-syscon", "arm,realview-eb-syscon", "arm,realview-pb1176-syscon", "arm,realview-pb11mp-syscon", "arm,realview-pba8-syscon", "arm,realview-pbx-syscon", "arm,versatile-ib2-syscon"

Item 2

Exact value (const): "syscon"

Item 3

Exact value (const): "simple-mfd"

Rule 3

Array item rules (items)

Item 1

Allowed values (enum): "arm,realview-eb11mp-revb-syscon", "arm,realview-eb11mp-revc-syscon"

Item 2

Exact value (const): "arm,realview-eb-syscon"

Item 3

Exact value (const): "syscon"

Item 4

Exact value (const): "simple-mfd"

reg — required here #

Maximum number of items (maxItems): 1

ranges — not listed as required here #

true — No constraints added by this property rule.

#address-cells — not listed as required here #

Exact value (const): 1

#size-cells — not listed as required here #

Exact value (const): 1

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

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

Value type (type): "object"

Source notes #

Annotations retained from the schema source

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

Aspeed System Control Unit

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/aspeed,ast2x00-scu.yaml#"

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

The Aspeed System Control Unit manages the global behaviour of the SoC, configuring elements such as clocks, pinmux, and reset. In AST2700 SOC which has two soc connection, each soc have its own scu register control, ast2700-scu0 for soc0, ast2700-scu1 for soc1.

Maintainers (maintainers): "Joel Stanley <joel@jms.id.au>", "Andrew Jeffery <andrew@aj.id.au>"

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "aspeed,ast2400-scu", "aspeed,ast2500-scu", "aspeed,ast2600-scu", "aspeed,ast2700-scu0", "aspeed,ast2700-scu1"

Item 2

Exact value (const): "syscon"

Item 3

Exact value (const): "simple-mfd"

reg — required here #

Maximum number of items (maxItems): 1

ranges — required here #

true — No constraints added by this property rule.

#address-cells — required here #

Minimum value (minimum): 1

Maximum value (maximum): 2

#size-cells — required here #

Exact value (const): 1

#clock-cells — required here #

Exact value (const): 1

#reset-cells — required here #

Exact value (const): 1

Properties matching a name pattern (patternProperties) #

^p2a-control@[0-9a-f]+$ — name matches this regular expression #

PCI-to-AHB Bridge Control The bridge is available on platforms with the VGA enabled on the Aspeed device. In this case, the host has access to a 64KiB window into all of the BMC's memory. The BMC can disable this bridge. If the bridge is enabled, the host has read access to all the regions of memory, however the host only has read and write access depending on a register controlled by the BMC.

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

compatible — required here

Allowed values (enum): "aspeed,ast2400-p2a-ctrl", "aspeed,ast2500-p2a-ctrl"

reg — required here

Maximum number of items (maxItems): 1

memory-region — not listed as required here

Maximum number of items (maxItems): 1

A reserved_memory region to be used for the PCI to AHB mapping

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

^pinctrl(@[0-9a-f]+)?$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — required here

Rule for matching array elements (contains)

Allowed values (enum): "aspeed,ast2400-pinctrl", "aspeed,ast2500-pinctrl", "aspeed,ast2600-pinctrl"

Required in this object (required): "compatible"

^interrupt-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "aspeed,ast2500-scu-ic", "aspeed,ast2600-scu-ic0", "aspeed,ast2600-scu-ic1", "aspeed,ast2700-scu-ic0", "aspeed,ast2700-scu-ic1", "aspeed,ast2700-scu-ic2", "aspeed,ast2700-scu-ic3"

^silicon-id@[0-9a-f]+$ — name matches this regular expression #

Unique hardware silicon identifiers within the SoC

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Array item rules (items)

Item 1

Allowed values (enum): "aspeed,ast2400-silicon-id", "aspeed,ast2500-silicon-id", "aspeed,ast2600-silicon-id", "aspeed,ast2700-silicon-id"

Item 2

Exact value (const): "aspeed,silicon-id"

reg — not listed as required here

The reg should be the unique silicon id register, and not backwards compatible one in eg. the 2600.

Minimum number of items (minItems): 1

Array item rules (items)

Item 1

silicon id information registers

Item 2

unique chip id registers

^smp-memram@[0-9a-f]+$ — name matches this regular expression #

Memory region used for the AST2600's custom SMP bringup protocol

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

compatible — required here

Exact value (const): "aspeed,ast2600-smpmem"

reg — required here

The SMP memory region

Maximum number of items (maxItems): 1

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

Required in this object (required): "compatible", "reg", "ranges", "#address-cells", "#size-cells", "#clock-cells", "#reset-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

syscon@1e6e2000 {
    compatible = "aspeed,ast2400-scu", "syscon", "simple-mfd";
    reg = <0x1e6e2000 0x1a8>;
    #clock-cells = <1>;
    #reset-cells = <1>;

    #address-cells = <1>;
    #size-cells = <1>;
    ranges = <0x0 0x1e6e2000 0x1000>;

    p2a-control@2c {
        compatible = "aspeed,ast2400-p2a-ctrl";
        reg = <0x2c 0x4>;
    };

    silicon-id@7c {
        compatible = "aspeed,ast2500-silicon-id", "aspeed,silicon-id";
        reg = <0x7c 0x4>, <0x150 0x8>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Aspeed Low Pin Count (LPC) Bus Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/aspeed-lpc.yaml#"

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

Maintainers (maintainers): "Andrew Jeffery <andrew@aj.id.au>", "Chia-Wei Wang <chiawei_wang@aspeedtech.com>"

The LPC bus is a means to bridge a host CPU to a number of low-bandwidth peripheral devices, replacing the use of the ISA bus in the age of PCI[0]. The primary use case of the Aspeed LPC controller is as a slave on the bus (typically in a Baseboard Management Controller SoC), but under certain conditions it can also take the role of bus master. The LPC controller is represented as a multi-function device to account for the mix of functionality, which includes, but is not limited to * An IPMI Block Transfer[2] Controller * An LPC Host Interface Controller manages functions exposed to the host such as LPC firmware hub cycles, configuration of the LPC-to-AHB mapping, UART management and bus snoop configuration. * A set of SuperIO[3] scratch registers enabling implementation of e.g. custom hardware management protocols for handover between the host and baseboard management controller. Additionally the state of the LPC controller influences the pinmux configuration, therefore the host portion of the controller is exposed as a syscon as a means to arbitrate access.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "aspeed,ast2400-lpc-v2", "aspeed,ast2500-lpc-v2", "aspeed,ast2600-lpc-v2"

Item 2

Exact value (const): "simple-mfd"

Item 3

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

#address-cells — required here #

Exact value (const): 1

#size-cells — required here #

Exact value (const): 1

ranges — required here #

true — No constraints added by this property rule.

Properties matching a name pattern (patternProperties) #

^lpc-ctrl@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

The LPC Host Interface Controller manages functions exposed to the host such as LPC firmware hub cycles, configuration of the LPC-to-AHB mapping, UART management and bus snoop configuration.

Properties and child nodes (properties) #

compatible — required here

Array item rules (items)

Item 1

Allowed values (enum): "aspeed,ast2400-lpc-ctrl", "aspeed,ast2500-lpc-ctrl", "aspeed,ast2600-lpc-ctrl"

reg — not listed as required here

Maximum number of items (maxItems): 1

clocks — required here

Maximum number of items (maxItems): 1

memory-region — not listed as required here

Maximum number of items (maxItems): 1

handle to memory reservation for the LPC to AHB mapping region

flash — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

The SPI flash controller containing the flash to be exposed over the LPC to AHB mapping

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

^reset-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

The UARTs present in the ASPEED SoC can have their resets tied to the reset state of the LPC bus. Some systems may chose to modify this configuration

Properties and child nodes (properties) #

compatible — required here

Array item rules (items)

Item 1

Allowed values (enum): "aspeed,ast2400-lpc-reset", "aspeed,ast2500-lpc-reset", "aspeed,ast2600-lpc-reset"

reg — not listed as required here

Maximum number of items (maxItems): 1

#reset-cells — required here

Exact value (const): 1

Required in this object (required): "compatible", "#reset-cells"

^lpc-snoop@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

The LPC snoop interface allows the BMC to listen on and record the data bytes written by the Host to the targeted LPC I/O pots.

Properties and child nodes (properties) #

compatible — required here

Array item rules (items)

Item 1

Allowed values (enum): "aspeed,ast2400-lpc-snoop", "aspeed,ast2500-lpc-snoop", "aspeed,ast2600-lpc-snoop"

reg — not listed as required here

Maximum number of items (maxItems): 1

clocks — not listed as required here

Maximum number of items (maxItems): 1

interrupts — required here

Maximum number of items (maxItems): 1

snoop-ports — required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array

The LPC I/O ports to snoop

Required in this object (required): "compatible", "interrupts", "snoop-ports"

^uart-routing@[0-9a-f]+$ — name matches this regular expression #

Shared schema rule ($ref): /schemas/soc/aspeed/uart-routing.yaml#

The UART routing control under LPC register space

Required in this object (required): "compatible", "reg", "#address-cells", "#size-cells", "ranges"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

Value type (type): "object"

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/ast2600-clock.h>

lpc: lpc@1e789000 {
    compatible = "aspeed,ast2600-lpc-v2", "simple-mfd", "syscon";
    reg = <0x1e789000 0x1000>;

    #address-cells = <1>;
    #size-cells = <1>;
    ranges = <0x0 0x1e789000 0x1000>;

    lpc_ctrl: lpc-ctrl@80 {
        compatible = "aspeed,ast2600-lpc-ctrl";
        reg = <0x80 0x80>;
        clocks = <&syscon ASPEED_CLK_GATE_LCLK>;
        memory-region = <&flash_memory>;
        flash = <&spi>;
    };

    lpc_reset: reset-controller@98 {
        compatible = "aspeed,ast2600-lpc-reset";
        reg = <0x98 0x4>;
        #reset-cells = <1>;
    };

    lpc_snoop: lpc-snoop@90 {
        compatible = "aspeed,ast2600-lpc-snoop";
        reg = <0x90 0x8>;
        interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
        snoop-ports = <0x80>;
    };
};

Source notes #

Annotations retained from the schema source

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

Line 2: # Copyright (c) 2021 Aspeed Technology Inc.

Microchip AT91 General Purpose Backup Registers

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/atmel,at91sam9260-gpbr.yaml#"

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

Maintainers (maintainers): "Nicolas Ferre <nicolas.ferre@microchip.com>"

The system controller embeds 256 bits of General Purpose Backup registers organized as 8 32-bit registers.

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): "atmel,at91sam9260-gpbr", "microchip,sama7d65-gpbr"

Item 2

Exact value (const): "syscon"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "microchip,sam9x60-gpbr", "microchip,sam9x7-gpbr"

Item 2

Exact value (const): "atmel,at91sam9260-gpbr"

Item 3

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

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

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

syscon@fffffd50 {
    compatible = "atmel,at91sam9260-gpbr", "syscon";
    reg = <0xfffffd50 0x10>;
};

Source notes #

Annotations retained from the schema source

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

Microchip AT91 Bus Matrix

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/atmel,at91sam9260-matrix.yaml#"

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

Maintainers (maintainers): "Nicolas Ferre <nicolas.ferre@microchip.com>"

The Bus Matrix (MATRIX) implements a multi-layer AHB, based on the AHB-Lite protocol, that enables parallel access paths between multiple masters and slaves in a system, thus increasing the overall bandwidth.

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): "atmel,at91sam9260-matrix", "atmel,at91sam9261-matrix", "atmel,at91sam9263-matrix", "atmel,at91sam9rl-matrix", "atmel,at91sam9g45-matrix", "atmel,at91sam9n12-matrix", "atmel,at91sam9x5-matrix", "atmel,sama5d3-matrix"

Item 2

Exact value (const): "syscon"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "microchip,sam9x60-matrix", "microchip,sam9x7-matrix"

Item 2

Exact value (const): "atmel,at91sam9x5-matrix"

Item 3

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

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

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

syscon@ffffec00 {
    compatible = "atmel,sama5d3-matrix", "syscon";
    reg = <0xffffec00 0x200>;
};

Source notes #

Annotations retained from the schema source

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

Atmel's HLCD Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/atmel,hlcdc.yaml#"

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

Maintainers (maintainers): "Nicolas Ferre <nicolas.ferre@microchip.com>", "Alexandre Belloni <alexandre.belloni@bootlin.com>", "Claudiu Beznea <claudiu.beznea@tuxon.dev>"

The Atmel HLCDC (HLCD Controller) IP available on Atmel SoCs exposes two subdevices, a PWM chip and a Display Controller.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "atmel,at91sam9n12-hlcdc", "atmel,at91sam9x5-hlcdc", "atmel,sama5d2-hlcdc", "atmel,sama5d3-hlcdc", "atmel,sama5d4-hlcdc", "microchip,sam9x60-hlcdc", "microchip,sam9x75-xlcdc", "microchip,sama7d65-xlcdc"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Minimum number of items (minItems): 3

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "periph_clk"

Item 2

Exact value (const): "sys_clk"

Item 3

Exact value (const): "slow_clk"

Item 4

Exact value (const): "lvds_pll_clk"

Minimum number of items (minItems): 3

display-controller — not listed as required here #

Shared schema rule ($ref): /schemas/display/atmel/atmel,hlcdc-display-controller.yaml

pwm — not listed as required here #

Shared schema rule ($ref): /schemas/pwm/atmel,hlcdc-pwm.yaml

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "interrupts"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/at91.h>
#include <dt-bindings/dma/at91.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

lcd_controller: lcd-controller@f0030000 {
  compatible = "atmel,sama5d3-hlcdc";
  reg = <0xf0030000 0x2000>;
  clocks = <&lcdc_clk>, <&lcdck>, <&clk32k>;
  clock-names = "periph_clk", "sys_clk", "slow_clk";
  interrupts = <36 IRQ_TYPE_LEVEL_HIGH 0>;

  display-controller {
    compatible = "atmel,hlcdc-display-controller";
    pinctrl-names = "default";
    pinctrl-0 = <&pinctrl_lcd_base &pinctrl_lcd_rgb888>;
    #address-cells = <1>;
    #size-cells = <0>;

    port@0 {
      #address-cells = <1>;
      #size-cells = <0>;
      reg = <0>;

      hlcdc_panel_output: endpoint@0 {
        reg = <0>;
        remote-endpoint = <&panel_input>;
      };
    };
  };

  pwm {
    compatible = "atmel,hlcdc-pwm";
    pinctrl-names = "default";
    pinctrl-0 = <&pinctrl_lcd_pwm>;
    #pwm-cells = <3>;
  };
};

Source notes #

Annotations retained from the schema source

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

Microchip Flexcom (Flexible Serial Communication Unit)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/atmel,sama5d2-flexcom.yaml#"

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

Maintainers (maintainers): "Kavyasree Kotagiri <kavyasree.kotagiri@microchip.com>"

The Microchip Flexcom is just a wrapper which embeds a SPI controller, an I2C controller and an USART. Only one function can be used at a time and is chosen at boot time according to the device tree.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "atmel,sama5d2-flexcom"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "microchip,lan9691-flexcom", "microchip,sam9x7-flexcom", "microchip,sama7d65-flexcom", "microchip,sama7g5-flexcom"

Item 2

Exact value (const): "atmel,sama5d2-flexcom"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

#address-cells — required here #

Exact value (const): 1

#size-cells — required here #

Exact value (const): 1

ranges — required here #

One range for the full I/O register region. (including USART, TWI and SPI registers).

Array item rules (items) #

Maximum number of items (maxItems): 3

atmel,flexcom-mode — required here #

Specifies the flexcom mode as follows: 1: USART 2: SPI 3: I2C.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 1, 2, 3

Properties matching a name pattern (patternProperties) #

^serial@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Child node describing USART. See atmel-usart.txt for details of USART bindings.

^spi@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Child node describing SPI. See ../spi/spi_atmel.txt for details of SPI bindings.

^i2c@[0-9a-f]+$ — name matches this regular expression #

Shared schema rule ($ref): /schemas/i2c/atmel,at91sam-i2c.yaml

Child node describing I2C.

Required in this object (required): "compatible", "reg", "clocks", "#address-cells", "#size-cells", "ranges", "atmel,flexcom-mode"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>

flx0: flexcom@f8034000 {
    compatible = "atmel,sama5d2-flexcom";
    reg = <0xf8034000 0x200>;
    clocks = <&flx0_clk>;
    #address-cells = <1>;
    #size-cells = <1>;
    ranges = <0x0 0xf8034000 0x800>;
    atmel,flexcom-mode = <2>;
};

Source notes #

Annotations retained from the schema source

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

Bitmain BM1880 System Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/bitmain,bm1880-sctrl.yaml#"

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

Maintainers (maintainers): "Manivannan Sadhasivam <mani@kernel.org>"

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "bitmain,bm1880-sctrl"

Item 2

Exact value (const): "syscon"

Item 3

Exact value (const): "simple-mfd"

reg — required here #

Maximum number of items (maxItems): 1

ranges — required here #

true — No constraints added by this property rule.

#address-cells — required here #

Exact value (const): 1

#size-cells — required here #

Exact value (const): 1

Properties matching a name pattern (patternProperties) #

^pinctrl@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "bitmain,bm1880-pinctrl"

^clock-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "bitmain,bm1880-clk"

^reset-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "bitmain,bm1880-reset"

Required in this object (required): "compatible", "reg", "ranges", "#address-cells", "#size-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Source notes #

Annotations retained from the schema source

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

Broadcom BCM590xx Power Management Units

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/brcm,bcm59056.yaml#"

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

Maintainers (maintainers): "Artur Weber <aweber.kernel@gmail.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "brcm,bcm59054", "brcm,bcm59056"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

regulators — not listed as required here #

Value type (type): "object"

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

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "brcm,bcm59054"

When the condition matches (then) #

Properties and child nodes (properties)

regulators — not listed as required here

Shared schema rule ($ref): /schemas/regulator/brcm,bcm59054.yaml#

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "brcm,bcm59056"

When the condition matches (then) #

Properties and child nodes (properties)

regulators — not listed as required here

Shared schema rule ($ref): /schemas/regulator/brcm,bcm59056.yaml#

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    pmic@8 {
        compatible = "brcm,bcm59056";
        reg = <0x08>;
        interrupts = <GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>;

        regulators {
            rfldo {
                regulator-min-microvolt = <1200000>;
                regulator-max-microvolt = <3300000>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Broadcom BCM6318 GPIO System Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/brcm,bcm6318-gpio-sysctl.yaml#"

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

Maintainers (maintainers): "Álvaro Fernández Rojas <noltari@gmail.com>", "Jonas Gorski <jonas.gorski@gmail.com>"

Broadcom BCM6318 SoC GPIO system controller which provides a register map for controlling the GPIO and pins of the SoC.

Properties and child nodes (properties) #

#address-cells — required here #

true — No constraints added by this property rule.

#size-cells — required here #

true — No constraints added by this property rule.

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "brcm,bcm6318-gpio-sysctl"

Item 2

Exact value (const): "syscon"

Item 3

Exact value (const): "simple-mfd"

ranges — required here #

Maximum number of items (maxItems): 1

reg — required here #

Maximum number of items (maxItems): 1

Properties matching a name pattern (patternProperties) #

^gpio@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/gpio/brcm,bcm63xx-gpio.yaml

GPIO controller for the SoC GPIOs. This child node definition should follow the bindings specified in Documentation/devicetree/bindings/gpio/brcm,bcm63xx-gpio.yaml.

^pinctrl@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/pinctrl/brcm,bcm6318-pinctrl.yaml

Pin controller for the SoC pins. This child node definition should follow the bindings specified in Documentation/devicetree/bindings/pinctrl/brcm,bcm6318-pinctrl.yaml.

Required in this object (required): "#address-cells", "compatible", "ranges", "reg", "#size-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

syscon@10000080 {
  #address-cells = <1>;
  #size-cells = <1>;
  compatible = "brcm,bcm6318-gpio-sysctl", "syscon", "simple-mfd";
  reg = <0x10000080 0x80>;
  ranges = <0 0x10000080 0x80>;

  gpio@0 {
    compatible = "brcm,bcm6318-gpio";
    reg-names = "dirout", "dat";
    reg = <0x0 0x8>, <0x8 0x8>;

    gpio-controller;
    gpio-ranges = <&pinctrl 0 0 50>;
    #gpio-cells = <2>;
  };

  pinctrl: pinctrl@10 {
    compatible = "brcm,bcm6318-pinctrl";
    reg = <0x18 0x10>, <0x54 0x18>;

    pinctrl_ephy0_spd_led: ephy0_spd_led-pins {
      function = "ephy0_spd_led";
      pins = "gpio0";
    };

    pinctrl_ephy1_spd_led: ephy1_spd_led-pins {
      function = "ephy1_spd_led";
      pins = "gpio1";
    };

    pinctrl_ephy2_spd_led: ephy2_spd_led-pins {
      function = "ephy2_spd_led";
      pins = "gpio2";
    };

    pinctrl_ephy3_spd_led: ephy3_spd_led-pins {
      function = "ephy3_spd_led";
      pins = "gpio3";
    };

    pinctrl_ephy0_act_led: ephy0_act_led-pins {
      function = "ephy0_act_led";
      pins = "gpio4";
    };

    pinctrl_ephy1_act_led: ephy1_act_led-pins {
      function = "ephy1_act_led";
      pins = "gpio5";
    };

    pinctrl_ephy2_act_led: ephy2_act_led-pins {
      function = "ephy2_act_led";
      pins = "gpio6";
    };

    pinctrl_ephy3_act_led: ephy3_act_led-pins {
      function = "ephy3_act_led";
      pins = "gpio7";
    };

    pinctrl_serial_led: serial_led-pins {
      pinctrl_serial_led_data: serial_led_data-pins {
        function = "serial_led_data";
        pins = "gpio6";
      };

      pinctrl_serial_led_clk: serial_led_clk-pins {
        function = "serial_led_clk";
        pins = "gpio7";
      };
    };

    pinctrl_inet_act_led: inet_act_led-pins {
      function = "inet_act_led";
      pins = "gpio8";
    };

    pinctrl_inet_fail_led: inet_fail_led-pins {
      function = "inet_fail_led";
      pins = "gpio9";
    };

    pinctrl_dsl_led: dsl_led-pins {
      function = "dsl_led";
      pins = "gpio10";
    };

    pinctrl_post_fail_led: post_fail_led-pins {
      function = "post_fail_led";
      pins = "gpio11";
    };

    pinctrl_wlan_wps_led: wlan_wps_led-pins {
      function = "wlan_wps_led";
      pins = "gpio12";
    };

    pinctrl_usb_pwron: usb_pwron-pins {
      function = "usb_pwron";
      pins = "gpio13";
    };

    pinctrl_usb_device_led: usb_device_led-pins {
      function = "usb_device_led";
      pins = "gpio13";
    };

    pinctrl_usb_active: usb_active-pins {
      function = "usb_active";
      pins = "gpio40";
    };
  };
};

Source notes #

Annotations retained from the schema source

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

Line 36: Child node

Line 45: Child node

Broadcom BCM63268 GPIO System Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/brcm,bcm63268-gpio-sysctl.yaml#"

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

Maintainers (maintainers): "Álvaro Fernández Rojas <noltari@gmail.com>", "Jonas Gorski <jonas.gorski@gmail.com>"

Broadcom BCM63268 SoC GPIO system controller which provides a register map for controlling the GPIO and pins of the SoC.

Properties and child nodes (properties) #

#address-cells — required here #

true — No constraints added by this property rule.

#size-cells — required here #

true — No constraints added by this property rule.

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "brcm,bcm63268-gpio-sysctl"

Item 2

Exact value (const): "syscon"

Item 3

Exact value (const): "simple-mfd"

ranges — required here #

Maximum number of items (maxItems): 1

reg — required here #

Maximum number of items (maxItems): 1

Properties matching a name pattern (patternProperties) #

^gpio@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/gpio/brcm,bcm63xx-gpio.yaml

GPIO controller for the SoC GPIOs. This child node definition should follow the bindings specified in Documentation/devicetree/bindings/gpio/brcm,bcm63xx-gpio.yaml.

^pinctrl@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/pinctrl/brcm,bcm63268-pinctrl.yaml

Pin controller for the SoC pins. This child node definition should follow the bindings specified in Documentation/devicetree/bindings/pinctrl/brcm,bcm63268-pinctrl.yaml.

Required in this object (required): "#address-cells", "compatible", "ranges", "reg", "#size-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

syscon@100000c0 {
  #address-cells = <1>;
  #size-cells = <1>;
  compatible = "brcm,bcm63268-gpio-sysctl", "syscon", "simple-mfd";
  reg = <0x100000c0 0x80>;
  ranges = <0 0x100000c0 0x80>;

  gpio@0 {
    compatible = "brcm,bcm63268-gpio";
    reg-names = "dirout", "dat";
    reg = <0x0 0x8>, <0x8 0x8>;

    gpio-controller;
    gpio-ranges = <&pinctrl 0 0 52>;
    #gpio-cells = <2>;
  };

  pinctrl: pinctrl@10 {
    compatible = "brcm,bcm63268-pinctrl";
    reg = <0x10 0x4>, <0x18 0x8>, <0x38 0x4>;

    pinctrl_serial_led: serial_led-pins {
      pinctrl_serial_led_clk: serial_led_clk-pins {
        function = "serial_led_clk";
        pins = "gpio0";
      };

      pinctrl_serial_led_data: serial_led_data-pins {
        function = "serial_led_data";
        pins = "gpio1";
      };
    };

    pinctrl_hsspi_cs4: hsspi_cs4-pins {
      function = "hsspi_cs4";
      pins = "gpio16";
    };

    pinctrl_hsspi_cs5: hsspi_cs5-pins {
      function = "hsspi_cs5";
      pins = "gpio17";
    };

    pinctrl_hsspi_cs6: hsspi_cs6-pins {
      function = "hsspi_cs6";
      pins = "gpio8";
    };

    pinctrl_hsspi_cs7: hsspi_cs7-pins {
      function = "hsspi_cs7";
      pins = "gpio9";
    };

    pinctrl_adsl_spi: adsl_spi-pins {
      pinctrl_adsl_spi_miso: adsl_spi_miso-pins {
        function = "adsl_spi_miso";
        pins = "gpio18";
      };

      pinctrl_adsl_spi_mosi: adsl_spi_mosi-pins {
        function = "adsl_spi_mosi";
        pins = "gpio19";
      };
    };

    pinctrl_vreq_clk: vreq_clk-pins {
      function = "vreq_clk";
      pins = "gpio22";
    };

    pinctrl_pcie_clkreq_b: pcie_clkreq_b-pins {
      function = "pcie_clkreq_b";
      pins = "gpio23";
    };

    pinctrl_robosw_led_clk: robosw_led_clk-pins {
      function = "robosw_led_clk";
      pins = "gpio30";
    };

    pinctrl_robosw_led_data: robosw_led_data-pins {
      function = "robosw_led_data";
      pins = "gpio31";
    };

    pinctrl_nand: nand-pins {
      function = "nand";
      pins = "nand_grp";
    };

    pinctrl_gpio35_alt: gpio35_alt-pins {
      function = "gpio35_alt";
      pins = "gpio35";
    };

    pinctrl_dectpd: dectpd-pins {
      function = "dectpd";
      pins = "dectpd_grp";
    };

    pinctrl_vdsl_phy_override_0: vdsl_phy_override_0-pins {
      function = "vdsl_phy_override_0";
      pins = "vdsl_phy_override_0_grp";
    };

    pinctrl_vdsl_phy_override_1: vdsl_phy_override_1-pins {
      function = "vdsl_phy_override_1";
      pins = "vdsl_phy_override_1_grp";
    };

    pinctrl_vdsl_phy_override_2: vdsl_phy_override_2-pins {
      function = "vdsl_phy_override_2";
      pins = "vdsl_phy_override_2_grp";
    };

    pinctrl_vdsl_phy_override_3: vdsl_phy_override_3-pins {
      function = "vdsl_phy_override_3";
      pins = "vdsl_phy_override_3_grp";
    };

    pinctrl_dsl_gpio8: dsl_gpio8-pins {
      function = "dsl_gpio8";
      pins = "dsl_gpio8";
    };

    pinctrl_dsl_gpio9: dsl_gpio9-pins {
      function = "dsl_gpio9";
      pins = "dsl_gpio9";
    };
  };
};

Source notes #

Annotations retained from the schema source

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

Line 36: Child node

Line 45: Child node

Broadcom BCM6328 GPIO System Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/brcm,bcm6328-gpio-sysctl.yaml#"

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

Maintainers (maintainers): "Álvaro Fernández Rojas <noltari@gmail.com>", "Jonas Gorski <jonas.gorski@gmail.com>"

Broadcom BCM6328 SoC GPIO system controller which provides a register map for controlling the GPIO and pins of the SoC.

Properties and child nodes (properties) #

#address-cells — required here #

true — No constraints added by this property rule.

#size-cells — required here #

true — No constraints added by this property rule.

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "brcm,bcm6328-gpio-sysctl"

Item 2

Exact value (const): "syscon"

Item 3

Exact value (const): "simple-mfd"

ranges — required here #

Maximum number of items (maxItems): 1

reg — required here #

Maximum number of items (maxItems): 1

Properties matching a name pattern (patternProperties) #

^gpio@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/gpio/brcm,bcm63xx-gpio.yaml

GPIO controller for the SoC GPIOs. This child node definition should follow the bindings specified in Documentation/devicetree/bindings/gpio/brcm,bcm63xx-gpio.yaml.

^pinctrl@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/pinctrl/brcm,bcm6328-pinctrl.yaml

Pin controller for the SoC pins. This child node definition should follow the bindings specified in Documentation/devicetree/bindings/pinctrl/brcm,bcm6328-pinctrl.yaml.

Required in this object (required): "#address-cells", "compatible", "ranges", "reg", "#size-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

syscon@10000080 {
  #address-cells = <1>;
  #size-cells = <1>;
  compatible = "brcm,bcm6328-gpio-sysctl", "syscon", "simple-mfd";
  reg = <0x10000080 0x80>;
  ranges = <0 0x10000080 0x80>;

  gpio@0 {
    compatible = "brcm,bcm6328-gpio";
    reg-names = "dirout", "dat";
    reg = <0x0 0x8>, <0x8 0x8>;

    gpio-controller;
    gpio-ranges = <&pinctrl 0 0 32>;
    #gpio-cells = <2>;
  };

  pinctrl: pinctrl@18 {
    compatible = "brcm,bcm6328-pinctrl";
    reg = <0x18 0x10>;

    pinctrl_serial_led: serial_led-pins {
      pinctrl_serial_led_data: serial_led_data-pins {
        function = "serial_led_data";
        pins = "gpio6";
      };

      pinctrl_serial_led_clk: serial_led_clk-pins {
        function = "serial_led_clk";
        pins = "gpio7";
      };
    };

    pinctrl_inet_act_led: inet_act_led-pins {
      function = "inet_act_led";
      pins = "gpio11";
    };

    pinctrl_pcie_clkreq: pcie_clkreq-pins {
      function = "pcie_clkreq";
      pins = "gpio16";
    };

    pinctrl_ephy0_spd_led: ephy0_spd_led-pins {
      function = "led";
      pins = "gpio17";
    };

    pinctrl_ephy1_spd_led: ephy1_spd_led-pins {
      function = "led";
      pins = "gpio18";
    };

    pinctrl_ephy2_spd_led: ephy2_spd_led-pins {
      function = "led";
      pins = "gpio19";
    };

    pinctrl_ephy3_spd_led: ephy3_spd_led-pins {
      function = "led";
      pins = "gpio20";
    };

    pinctrl_ephy0_act_led: ephy0_act_led-pins {
      function = "ephy0_act_led";
      pins = "gpio25";
    };

    pinctrl_ephy1_act_led: ephy1_act_led-pins {
      function = "ephy1_act_led";
      pins = "gpio26";
    };

    pinctrl_ephy2_act_led: ephy2_act_led-pins {
      function = "ephy2_act_led";
      pins = "gpio27";
    };

    pinctrl_ephy3_act_led: ephy3_act_led-pins {
      function = "ephy3_act_led";
      pins = "gpio28";
    };

    pinctrl_hsspi_cs1: hsspi_cs1-pins {
      function = "hsspi_cs1";
      pins = "hsspi_cs1";
    };

    pinctrl_usb_port1_device: usb_port1_device-pins {
      function = "usb_device_port";
      pins = "usb_port1";
    };

    pinctrl_usb_port1_host: usb_port1_host-pins {
      function = "usb_host_port";
      pins = "usb_port1";
    };
  };
};

Source notes #

Annotations retained from the schema source

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

Line 36: Child node

Line 45: Child node

Broadcom BCM6358 GPIO System Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/brcm,bcm6358-gpio-sysctl.yaml#"

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

Maintainers (maintainers): "Álvaro Fernández Rojas <noltari@gmail.com>", "Jonas Gorski <jonas.gorski@gmail.com>"

Broadcom BCM6358 SoC GPIO system controller which provides a register map for controlling the GPIO and pins of the SoC.

Properties and child nodes (properties) #

#address-cells — required here #

true — No constraints added by this property rule.

#size-cells — required here #

true — No constraints added by this property rule.

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "brcm,bcm6358-gpio-sysctl"

Item 2

Exact value (const): "syscon"

Item 3

Exact value (const): "simple-mfd"

ranges — required here #

Maximum number of items (maxItems): 1

reg — required here #

Maximum number of items (maxItems): 1

Properties matching a name pattern (patternProperties) #

^gpio@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/gpio/brcm,bcm63xx-gpio.yaml

GPIO controller for the SoC GPIOs. This child node definition should follow the bindings specified in Documentation/devicetree/bindings/gpio/brcm,bcm63xx-gpio.yaml.

^pinctrl@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/pinctrl/brcm,bcm6358-pinctrl.yaml

Pin controller for the SoC pins. This child node definition should follow the bindings specified in Documentation/devicetree/bindings/pinctrl/brcm,bcm6358-pinctrl.yaml.

Required in this object (required): "#address-cells", "compatible", "ranges", "reg", "#size-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

syscon@fffe0080 {
  #address-cells = <1>;
  #size-cells = <1>;
  compatible = "brcm,bcm6358-gpio-sysctl", "syscon", "simple-mfd";
  reg = <0xfffe0080 0x80>;
  ranges = <0 0xfffe0080 0x80>;

  gpio@0 {
    compatible = "brcm,bcm6358-gpio";
    reg-names = "dirout", "dat";
    reg = <0x0 0x8>, <0x8 0x8>;

    gpio-controller;
    gpio-ranges = <&pinctrl 0 0 40>;
    #gpio-cells = <2>;
  };

  pinctrl: pinctrl@18 {
    compatible = "brcm,bcm6358-pinctrl";
    reg = <0x18 0x4>;

    pinctrl_ebi_cs: ebi_cs-pins {
      function = "ebi_cs";
      groups = "ebi_cs_grp";
    };

    pinctrl_uart1: uart1-pins {
      function = "uart1";
      groups = "uart1_grp";
    };

    pinctrl_serial_led: serial_led-pins {
      function = "serial_led";
      groups = "serial_led_grp";
    };

    pinctrl_legacy_led: legacy_led-pins {
      function = "legacy_led";
      groups = "legacy_led_grp";
    };

    pinctrl_led: led-pins {
      function = "led";
      groups = "led_grp";
    };

    pinctrl_spi_cs_23: spi_cs-pins {
      function = "spi_cs";
      groups = "spi_cs_grp";
    };

    pinctrl_utopia: utopia-pins {
      function = "utopia";
      groups = "utopia_grp";
    };

    pinctrl_pwm_syn_clk: pwm_syn_clk-pins {
      function = "pwm_syn_clk";
      groups = "pwm_syn_clk_grp";
    };

    pinctrl_sys_irq: sys_irq-pins {
      function = "sys_irq";
      groups = "sys_irq_grp";
    };
  };
};

Source notes #

Annotations retained from the schema source

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

Line 36: Child node

Line 45: Child node

Broadcom BCM6362 GPIO System Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/brcm,bcm6362-gpio-sysctl.yaml#"

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

Maintainers (maintainers): "Álvaro Fernández Rojas <noltari@gmail.com>", "Jonas Gorski <jonas.gorski@gmail.com>"

Broadcom BCM6362 SoC GPIO system controller which provides a register map for controlling the GPIO and pins of the SoC.

Properties and child nodes (properties) #

#address-cells — required here #

true — No constraints added by this property rule.

#size-cells — required here #

true — No constraints added by this property rule.

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "brcm,bcm6362-gpio-sysctl"

Item 2

Exact value (const): "syscon"

Item 3

Exact value (const): "simple-mfd"

ranges — required here #

Maximum number of items (maxItems): 1

reg — required here #

Maximum number of items (maxItems): 1

Properties matching a name pattern (patternProperties) #

^gpio@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/gpio/brcm,bcm63xx-gpio.yaml

GPIO controller for the SoC GPIOs. This child node definition should follow the bindings specified in Documentation/devicetree/bindings/gpio/brcm,bcm63xx-gpio.yaml.

^pinctrl@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/pinctrl/brcm,bcm6362-pinctrl.yaml

Pin controller for the SoC pins. This child node definition should follow the bindings specified in Documentation/devicetree/bindings/pinctrl/brcm,bcm6362-pinctrl.yaml.

Required in this object (required): "#address-cells", "compatible", "ranges", "reg", "#size-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

syscon@10000080 {
  #address-cells = <1>;
  #size-cells = <1>;
  compatible = "brcm,bcm6362-gpio-sysctl", "syscon", "simple-mfd";
  reg = <0x10000080 0x80>;
  ranges = <0 0x10000080 0x80>;

  gpio@0 {
    compatible = "brcm,bcm6362-gpio";
    reg-names = "dirout", "dat";
    reg = <0x0 0x8>, <0x8 0x8>;

    gpio-controller;
    gpio-ranges = <&pinctrl 0 0 48>;
    #gpio-cells = <2>;
  };

  pinctrl: pinctrl@18 {
    compatible = "brcm,bcm6362-pinctrl";
    reg = <0x18 0x10>, <0x38 0x4>;

    pinctrl_usb_device_led: usb_device_led-pins {
      function = "usb_device_led";
      pins = "gpio0";
    };

    pinctrl_sys_irq: sys_irq-pins {
      function = "sys_irq";
      pins = "gpio1";
    };

    pinctrl_serial_led: serial_led-pins {
      pinctrl_serial_led_clk: serial_led_clk-pins {
        function = "serial_led_clk";
        pins = "gpio2";
      };

      pinctrl_serial_led_data: serial_led_data-pins {
        function = "serial_led_data";
        pins = "gpio3";
      };
    };

    pinctrl_robosw_led_data: robosw_led_data-pins {
      function = "robosw_led_data";
      pins = "gpio4";
    };

    pinctrl_robosw_led_clk: robosw_led_clk-pins {
      function = "robosw_led_clk";
      pins = "gpio5";
    };

    pinctrl_robosw_led0: robosw_led0-pins {
      function = "robosw_led0";
      pins = "gpio6";
    };

    pinctrl_robosw_led1: robosw_led1-pins {
      function = "robosw_led1";
      pins = "gpio7";
    };

    pinctrl_inet_led: inet_led-pins {
      function = "inet_led";
      pins = "gpio8";
    };

    pinctrl_spi_cs2: spi_cs2-pins {
      function = "spi_cs2";
      pins = "gpio9";
    };

    pinctrl_spi_cs3: spi_cs3-pins {
      function = "spi_cs3";
      pins = "gpio10";
    };

    pinctrl_ntr_pulse: ntr_pulse-pins {
      function = "ntr_pulse";
      pins = "gpio11";
    };

    pinctrl_uart1_scts: uart1_scts-pins {
      function = "uart1_scts";
      pins = "gpio12";
    };

    pinctrl_uart1_srts: uart1_srts-pins {
      function = "uart1_srts";
      pins = "gpio13";
    };

    pinctrl_uart1: uart1-pins {
      pinctrl_uart1_sdin: uart1_sdin-pins {
        function = "uart1_sdin";
        pins = "gpio14";
      };

      pinctrl_uart1_sdout: uart1_sdout-pins {
        function = "uart1_sdout";
        pins = "gpio15";
      };
    };

    pinctrl_adsl_spi: adsl_spi-pins {
      pinctrl_adsl_spi_miso: adsl_spi_miso-pins {
        function = "adsl_spi_miso";
        pins = "gpio16";
      };

      pinctrl_adsl_spi_mosi: adsl_spi_mosi-pins {
        function = "adsl_spi_mosi";
        pins = "gpio17";
      };

      pinctrl_adsl_spi_clk: adsl_spi_clk-pins {
        function = "adsl_spi_clk";
        pins = "gpio18";
      };

      pinctrl_adsl_spi_cs: adsl_spi_cs-pins {
        function = "adsl_spi_cs";
        pins = "gpio19";
      };
    };

    pinctrl_ephy0_led: ephy0_led-pins {
      function = "ephy0_led";
      pins = "gpio20";
    };

    pinctrl_ephy1_led: ephy1_led-pins {
      function = "ephy1_led";
      pins = "gpio21";
    };

    pinctrl_ephy2_led: ephy2_led-pins {
      function = "ephy2_led";
      pins = "gpio22";
    };

    pinctrl_ephy3_led: ephy3_led-pins {
      function = "ephy3_led";
      pins = "gpio23";
    };

    pinctrl_ext_irq0: ext_irq0-pins {
      function = "ext_irq0";
      pins = "gpio24";
    };

    pinctrl_ext_irq1: ext_irq1-pins {
      function = "ext_irq1";
      pins = "gpio25";
    };

    pinctrl_ext_irq2: ext_irq2-pins {
      function = "ext_irq2";
      pins = "gpio26";
    };

    pinctrl_ext_irq3: ext_irq3-pins {
      function = "ext_irq3";
      pins = "gpio27";
    };

    pinctrl_nand: nand-pins {
      function = "nand";
      pins = "nand_grp";
    };
  };
};

Source notes #

Annotations retained from the schema source

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

Line 36: Child node

Line 45: Child node

Broadcom BCM6368 GPIO System Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/brcm,bcm6368-gpio-sysctl.yaml#"

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

Maintainers (maintainers): "Álvaro Fernández Rojas <noltari@gmail.com>", "Jonas Gorski <jonas.gorski@gmail.com>"

Broadcom BCM6368 SoC GPIO system controller which provides a register map for controlling the GPIO and pins of the SoC.

Properties and child nodes (properties) #

#address-cells — required here #

true — No constraints added by this property rule.

#size-cells — required here #

true — No constraints added by this property rule.

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "brcm,bcm6368-gpio-sysctl"

Item 2

Exact value (const): "syscon"

Item 3

Exact value (const): "simple-mfd"

ranges — required here #

Maximum number of items (maxItems): 1

reg — required here #

Maximum number of items (maxItems): 1

Properties matching a name pattern (patternProperties) #

^gpio@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/gpio/brcm,bcm63xx-gpio.yaml

GPIO controller for the SoC GPIOs. This child node definition should follow the bindings specified in Documentation/devicetree/bindings/gpio/brcm,bcm63xx-gpio.yaml.

^pinctrl@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/pinctrl/brcm,bcm6368-pinctrl.yaml

Pin controller for the SoC pins. This child node definition should follow the bindings specified in Documentation/devicetree/bindings/pinctrl/brcm,bcm6368-pinctrl.yaml.

Required in this object (required): "#address-cells", "compatible", "ranges", "reg", "#size-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

syscon@10000080 {
  #address-cells = <1>;
  #size-cells = <1>;
  compatible = "brcm,bcm6368-gpio-sysctl", "syscon", "simple-mfd";
  reg = <0x10000080 0x80>;
  ranges = <0 0x10000080 0x80>;

  gpio@0 {
    compatible = "brcm,bcm6368-gpio";
    reg-names = "dirout", "dat";
    reg = <0x0 0x8>, <0x8 0x8>;

    gpio-controller;
    gpio-ranges = <&pinctrl 0 0 38>;
    #gpio-cells = <2>;
  };

  pinctrl: pinctrl@18 {
    compatible = "brcm,bcm6368-pinctrl";
    reg = <0x18 0x4>, <0x38 0x4>;

    pinctrl_analog_afe_0: analog_afe_0-pins {
      function = "analog_afe_0";
      pins = "gpio0";
    };

    pinctrl_analog_afe_1: analog_afe_1-pins {
      function = "analog_afe_1";
      pins = "gpio1";
    };

    pinctrl_sys_irq: sys_irq-pins {
      function = "sys_irq";
      pins = "gpio2";
    };

    pinctrl_serial_led: serial_led-pins {
      pinctrl_serial_led_data: serial_led_data-pins {
        function = "serial_led_data";
        pins = "gpio3";
      };

      pinctrl_serial_led_clk: serial_led_clk-pins {
        function = "serial_led_clk";
        pins = "gpio4";
      };
    };

    pinctrl_inet_led: inet_led-pins {
      function = "inet_led";
      pins = "gpio5";
    };

    pinctrl_ephy0_led: ephy0_led-pins {
      function = "ephy0_led";
      pins = "gpio6";
    };

    pinctrl_ephy1_led: ephy1_led-pins {
      function = "ephy1_led";
      pins = "gpio7";
    };

    pinctrl_ephy2_led: ephy2_led-pins {
      function = "ephy2_led";
      pins = "gpio8";
    };

    pinctrl_ephy3_led: ephy3_led-pins {
      function = "ephy3_led";
      pins = "gpio9";
    };

    pinctrl_robosw_led_data: robosw_led_data-pins {
      function = "robosw_led_data";
      pins = "gpio10";
    };

    pinctrl_robosw_led_clk: robosw_led_clk-pins {
      function = "robosw_led_clk";
      pins = "gpio11";
    };

    pinctrl_robosw_led0: robosw_led0-pins {
      function = "robosw_led0";
      pins = "gpio12";
    };

    pinctrl_robosw_led1: robosw_led1-pins {
      function = "robosw_led1";
      pins = "gpio13";
    };

    pinctrl_usb_device_led: usb_device_led-pins {
      function = "usb_device_led";
      pins = "gpio14";
    };

    pinctrl_pci: pci-pins {
      pinctrl_pci_req1: pci_req1-pins {
        function = "pci_req1";
        pins = "gpio16";
      };

      pinctrl_pci_gnt1: pci_gnt1-pins {
        function = "pci_gnt1";
        pins = "gpio17";
      };

      pinctrl_pci_intb: pci_intb-pins {
        function = "pci_intb";
        pins = "gpio18";
      };

      pinctrl_pci_req0: pci_req0-pins {
        function = "pci_req0";
        pins = "gpio19";
      };

      pinctrl_pci_gnt0: pci_gnt0-pins {
        function = "pci_gnt0";
        pins = "gpio20";
      };
    };

    pinctrl_pcmcia: pcmcia-pins {
      pinctrl_pcmcia_cd1: pcmcia_cd1-pins {
        function = "pcmcia_cd1";
        pins = "gpio22";
      };

      pinctrl_pcmcia_cd2: pcmcia_cd2-pins {
        function = "pcmcia_cd2";
        pins = "gpio23";
      };

      pinctrl_pcmcia_vs1: pcmcia_vs1-pins {
        function = "pcmcia_vs1";
        pins = "gpio24";
      };

      pinctrl_pcmcia_vs2: pcmcia_vs2-pins {
        function = "pcmcia_vs2";
        pins = "gpio25";
      };
    };

    pinctrl_ebi_cs2: ebi_cs2-pins {
      function = "ebi_cs2";
      pins = "gpio26";
    };

    pinctrl_ebi_cs3: ebi_cs3-pins {
      function = "ebi_cs3";
      pins = "gpio27";
    };

    pinctrl_spi_cs2: spi_cs2-pins {
      function = "spi_cs2";
      pins = "gpio28";
    };

    pinctrl_spi_cs3: spi_cs3-pins {
      function = "spi_cs3";
      pins = "gpio29";
    };

    pinctrl_spi_cs4: spi_cs4-pins {
      function = "spi_cs4";
      pins = "gpio30";
    };

    pinctrl_spi_cs5: spi_cs5-pins {
      function = "spi_cs5";
      pins = "gpio31";
    };

    pinctrl_uart1: uart1-pins {
      function = "uart1";
      pins = "uart1_grp";
    };
  };
};

Source notes #

Annotations retained from the schema source

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

Line 36: Child node

Line 45: Child node

Broadcom CRU

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/brcm,cru.yaml#"

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

Maintainers (maintainers): "Rafał Miłecki <rafal@milecki.pl>"

Broadcom CRU ("Clock and Reset Unit" or "Central Resource Unit") is a hardware block grouping smaller blocks. On Broadcom Northstar platform it contains e.g. clocks, pinctrl, USB PHY and thermal.

Properties and child nodes (properties) #

compatible — not listed as required here #

Array item rules (items) #

Item 1

Allowed values (enum): "brcm,ns-cru"

Item 2

Exact value (const): "simple-mfd"

reg — required here #

CRU registers

ranges — not listed as required here #

true — No constraints added by this property rule.

#address-cells — not listed as required here #

Exact value (const): 1

#size-cells — not listed as required here #

Exact value (const): 1

Properties matching a name pattern (patternProperties) #

^clock-controller@[a-f0-9]+$ — name matches this regular expression #

Shared schema rule ($ref): /schemas/clock/brcm,iproc-clocks.yaml

^phy@[a-f0-9]+$ — name matches this regular expression #

Shared schema rule ($ref): /schemas/phy/bcm-ns-usb2-phy.yaml

^pinctrl@[a-f0-9]+$ — name matches this regular expression #

Shared schema rule ($ref): /schemas/pinctrl/brcm,ns-pinmux.yaml

^syscon@[a-f0-9]+$ — name matches this regular expression #

Shared schema rule ($ref): syscon.yaml

^thermal@[a-f0-9]+$ — name matches this regular expression #

Shared schema rule ($ref): /schemas/thermal/brcm,ns-thermal.yaml

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "reg"

Examples (examples) #

#include <dt-bindings/clock/bcm-nsp.h>
cru-bus@1800c100 {
    compatible = "brcm,ns-cru", "simple-mfd";
    reg = <0x1800c100 0x1d0>;
    ranges;
    #address-cells = <1>;
    #size-cells = <1>;

    clock-controller@100 {
        #clock-cells = <1>;
        compatible = "brcm,nsp-lcpll0";
        reg = <0x100 0x14>;
        clocks = <&osc>;
        clock-output-names = "lcpll0", "pcie_phy", "sdio", "ddr_phy";
    };

    clock-controller@140 {
        #clock-cells = <1>;
        compatible = "brcm,nsp-genpll";
        reg = <0x140 0x24>;
        clocks = <&osc>;
        clock-output-names = "genpll", "phy", "ethernetclk", "usbclk",
                             "iprocfast", "sata1", "sata2";
    };

    phy@164 {
        compatible = "brcm,ns-usb2-phy";
        reg = <0x164 0x4>;
        brcm,syscon-clkset = <&clkset>;
        clocks = <&genpll BCM_NSP_GENPLL_USB_PHY_REF_CLK>;
        clock-names = "phy-ref-clk";
        #phy-cells = <0>;
    };

    clkset: syscon@180 {
        compatible = "brcm,cru-clkset", "syscon";
        reg = <0x180 0x4>;
    };

    pinctrl@1c0 {
        compatible = "brcm,bcm4708-pinmux";
        reg = <0x1c0 0x24>;
        reg-names = "cru_gpio_control";
    };

    thermal@2c0 {
        compatible = "brcm,ns-thermal";
        reg = <0x2c0 0x10>;
        #thermal-sensor-cells = <0>;
    };
};

Source notes #

Annotations retained from the schema source

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

Broadcom's MISC block

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/brcm,misc.yaml#"

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

Maintainers (maintainers): "Rafał Miłecki <rafal@milecki.pl>"

Broadcom's MISC is a hardware block used on some SoCs (e.g. bcm63xx and bcm4908). It's used to implement some simple functions like a watchdog, PCIe reset, UniMAC control and more.

Properties and child nodes (properties) #

compatible — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "brcm,misc"

Item 2

Exact value (const): "simple-mfd"

reg — required here #

MISC block registers

ranges — not listed as required here #

true — No constraints added by this property rule.

#address-cells — required here #

Exact value (const): 1

#size-cells — required here #

Exact value (const): 1

Properties matching a name pattern (patternProperties) #

^reset-controller@[a-f0-9]+$ — name matches this regular expression #

Shared schema rule ($ref): /schemas/reset/brcm,bcm4908-misc-pcie-reset.yaml

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "reg", "#address-cells", "#size-cells"

Examples (examples) #

misc@ff802600 {
    compatible = "brcm,misc", "simple-mfd";
    reg = <0xff802600 0xe4>;

    #address-cells = <1>;
    #size-cells = <1>;
    ranges = <0x0 0x0 0xe4>;

    reset-controller@44 {
        compatible = "brcm,bcm4908-misc-pcie-reset";
        reg = <0x44 0x4>;
        #reset-cells = <1>;
    };
};

Source notes #

Annotations retained from the schema source

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

Broadcom's Timer-Watchdog (aka TWD)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/brcm,twd.yaml#"

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

Maintainers (maintainers): "Rafał Miłecki <rafal@milecki.pl>"

Broadcom has a Timer-Watchdog block used in multiple SoCs (e.g., BCM4908, BCM63xx, BCM7038). There are few variants available (they differ slightly in registers layout). This block consists of: timers, watchdog and optionally a software reset handler.

Properties and child nodes (properties) #

compatible — not listed as required here #

Array item rules (items) #

Item 1

Allowed values (enum): "brcm,bcm4908-twd", "brcm,bcm7038-twd"

Item 2

Exact value (const): "simple-mfd"

Item 3

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

ranges — not listed as required here #

true — No constraints added by this property rule.

#address-cells — not listed as required here #

Exact value (const): 1

#size-cells — not listed as required here #

Exact value (const): 1

Properties matching a name pattern (patternProperties) #

^timer@[a-f0-9]+$ — name matches this regular expression #

Shared schema rule ($ref): /schemas/timer/brcm,bcmbca-timer.yaml

^watchdog@[a-f0-9]+$ — name matches this regular expression #

Shared schema rule ($ref): /schemas/watchdog/brcm,bcm7038-wdt.yaml

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "reg"

Examples (examples) #

timer-mfd@ff800400 {
    compatible = "brcm,bcm4908-twd", "simple-mfd", "syscon";
    reg = <0xff800400 0x4c>;
    ranges = <0x00000000 0xff800400 0x4c>;

    #address-cells = <1>;
    #size-cells = <1>;

    timer@0 {
        compatible = "brcm,bcm63138-timer";
        reg = <0x0 0x28>;
    };

    watchdog@28 {
        compatible = "brcm,bcm7038-wdt";
        reg = <0x28 0x8>;
    };
};

Source notes #

Annotations retained from the schema source

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

Canaan Kendryte K210 System Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/canaan,k210-sysctl.yaml#"

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

Maintainers (maintainers): "Damien Le Moal <dlemoal@kernel.org>"

Canaan Inc. Kendryte K210 SoC system controller which provides a register map for controlling the clocks, reset signals and pin power domains of the SoC.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "canaan,k210-sysctl"

Item 2

Exact value (const): "syscon"

Item 3

Exact value (const): "simple-mfd"

clocks — required here #

Maximum number of items (maxItems): 1

System controller Advanced Power Bus (APB) interface clock source.

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "pclk"

reg — required here #

Maximum number of items (maxItems): 1

clock-controller — required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/clock/canaan,k210-clk.yaml

Clock controller for the SoC clocks. This child node definition should follow the bindings specified in Documentation/devicetree/bindings/clock/canaan,k210-clk.yaml.

reset-controller — not listed as required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/reset/canaan,k210-rst.yaml

Reset controller for the SoC. This child node definition should follow the bindings specified in Documentation/devicetree/bindings/reset/canaan,k210-rst.yaml.

syscon-reboot — not listed as required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/power/reset/syscon-reboot.yaml

Reboot method for the SoC. This child node definition should follow the bindings specified in Documentation/devicetree/bindings/power/reset/syscon-reboot.yaml.

Required in this object (required): "compatible", "clocks", "reg", "clock-controller"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/k210-clk.h>
#include <dt-bindings/reset/k210-rst.h>

clocks {
  in0: oscllator {
    compatible = "fixed-clock";
    #clock-cells = <0>;
    clock-frequency = <26000000>;
  };
};

sysctl: syscon@50440000 {
  compatible = "canaan,k210-sysctl",
               "syscon", "simple-mfd";
  reg = <0x50440000 0x100>;
  clocks = <&sysclk K210_CLK_APB1>;
  clock-names = "pclk";

  sysclk: clock-controller {
    #clock-cells = <1>;
    compatible = "canaan,k210-clk";
    clocks = <&in0>;
  };

  sysrst: reset-controller {
    compatible = "canaan,k210-rst";
    #reset-cells = <1>;
  };

  reboot: syscon-reboot {
    compatible = "syscon-reboot";
    regmap = <&sysctl>;
    offset = <48>;
    mask = <1>;
    value = <1>;
  };
};

Source notes #

Annotations retained from the schema source

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

Line 37: Child node

Line 46: Child node

Line 55: Child node

Cirrus Logic Lochnagar Audio Development Board

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/cirrus,lochnagar.yaml#"

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

Maintainers (maintainers): "patches@opensource.cirrus.com"

Lochnagar is an evaluation and development board for Cirrus Logic Smart CODEC and Amp devices. It allows the connection of most Cirrus Logic devices on mini-cards, as well as allowing connection of various application processor systems to provide a full evaluation platform. Audio system topology, clocking and power can all be controlled through the Lochnagar, allowing the device under test to be used in a variety of possible use cases.

Also see these documents for generic binding information:
  [1] GPIO : ../gpio/gpio.txt
And these for relevant defines:
  [2] include/dt-bindings/pinctrl/lochnagar.h
  [3] include/dt-bindings/clock/lochnagar.h
And these documents for the required sub-node binding details:
  [4] Clock: ../clock/cirrus,lochnagar.yaml
  [5] Pinctrl: ../pinctrl/cirrus,lochnagar.yaml
  [6] Sound: ../sound/cirrus,lochnagar.yaml
  [7] Hardware Monitor: ../hwmon/cirrus,lochnagar.yaml

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Allowed values (enum): "cirrus,lochnagar2"

When the condition matches (then) #

Properties and child nodes (properties)

lochnagar-hwmon — not listed as required here

Value type (type): "object"

Shared schema rule ($ref): /schemas/hwmon/cirrus,lochnagar.yaml#

lochnagar-sc — not listed as required here

Value type (type): "object"

Shared schema rule ($ref): /schemas/sound/cirrus,lochnagar.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "cirrus,lochnagar1", "cirrus,lochnagar2"

reg — required here #

Exact value (const): 34

reset-gpios — required here #

Maximum number of items (maxItems): 1

present-gpios — not listed as required here #

Host present line, indicating the presence of a host system, see [1]. This can be omitted if the present line is tied in hardware.

Maximum number of items (maxItems): 1

lochnagar-clk — required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/clock/cirrus,lochnagar.yaml#

lochnagar-pmic32k — not listed as required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/clock/fixed-clock.yaml#

Properties and child nodes (properties) #

clock-frequency — not listed as required here

Exact value (const): 32768

lochnagar-clk12m — not listed as required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/clock/fixed-clock.yaml#

Properties and child nodes (properties) #

clock-frequency — not listed as required here

Exact value (const): 12288000

lochnagar-clk11m — not listed as required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/clock/fixed-clock.yaml#

Properties and child nodes (properties) #

clock-frequency — not listed as required here

Exact value (const): 11298600

lochnagar-clk24m — not listed as required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/clock/fixed-clock.yaml#

Properties and child nodes (properties) #

clock-frequency — not listed as required here

Exact value (const): 24576000

lochnagar-clk22m — not listed as required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/clock/fixed-clock.yaml#

Properties and child nodes (properties) #

clock-frequency — not listed as required here

Exact value (const): 22579200

lochnagar-clk8m — not listed as required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/clock/fixed-clock.yaml#

Properties and child nodes (properties) #

clock-frequency — not listed as required here

Exact value (const): 8192000

lochnagar-usb24m — not listed as required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/clock/fixed-clock.yaml#

Properties and child nodes (properties) #

clock-frequency — not listed as required here

Exact value (const): 24576000

lochnagar-usb12m — not listed as required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/clock/fixed-clock.yaml#

Properties and child nodes (properties) #

clock-frequency — not listed as required here

Exact value (const): 12288000

pinctrl — required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/pinctrl/cirrus,lochnagar.yaml#

lochnagar-hwmon — not listed as required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/hwmon/cirrus,lochnagar.yaml#

lochnagar-sc — not listed as required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/sound/cirrus,lochnagar.yaml#

VDDCORE — not listed as required here #

Initialisation data for the VDDCORE regulator, which supplies the CODECs digital core if not being provided by an internal regulator.

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

compatible — required here

Allowed values (enum): "cirrus,lochnagar2-vddcore"

SYSVDD-supply — not listed as required here

Primary power supply for the Lochnagar.

Required in this object (required): "compatible"

MICVDD — not listed as required here #

Initialisation data for the MICVDD regulator, which supplies the CODECs MICVDD.

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

compatible — required here

Allowed values (enum): "cirrus,lochnagar2-micvdd"

SYSVDD-supply — not listed as required here

Primary power supply for the Lochnagar.

Required in this object (required): "compatible"

MIC1VDD — not listed as required here #

Initialisation data for the MIC1VDD supplies.

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

compatible — required here

Allowed values (enum): "cirrus,lochnagar2-mic1vdd"

cirrus,micbias-input — not listed as required here

A property selecting which of the CODEC minicard micbias outputs should be used.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Minimum value (minimum): 1

Maximum value (maximum): 4

MICBIAS1-supply — not listed as required here

Regulator supplies for the MIC1VDD outputs, supplying the digital microphones, normally supplied from the attached CODEC.

Required in this object (required): "compatible"

MIC2VDD — not listed as required here #

Initialisation data for the MIC2VDD supplies.

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

compatible — required here

Allowed values (enum): "cirrus,lochnagar2-mic2vdd"

cirrus,micbias-input — not listed as required here

A property selecting which of the CODEC minicard micbias outputs should be used.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Minimum value (minimum): 1

Maximum value (maximum): 4

MICBIAS2-supply — not listed as required here

Regulator supplies for the MIC2VDD outputs, supplying the digital microphones, normally supplied from the attached CODEC.

Required in this object (required): "compatible"

VDD1V8 — not listed as required here #

Recommended fixed regulator for the VDD1V8 regulator, which supplies the CODECs analog and 1.8V digital supplies.

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

compatible — required here

Allowed values (enum): "regulator-fixed"

regulator-min-microvolt — required here

Exact value (const): 1800000

regulator-max-microvolt — required here

Exact value (const): 1800000

vin-supply — required here

Should be set to same supply as SYSVDD

Required in this object (required): "compatible", "regulator-min-microvolt", "regulator-max-microvolt", "regulator-boot-on", "regulator-always-on", "vin-supply"

Required in this object (required): "compatible", "reg", "reset-gpios", "lochnagar-clk", "pinctrl"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/lochnagar.h>
#include <dt-bindings/pinctrl/lochnagar.h>
i2c@e0004000 {
    #address-cells = <1>;
    #size-cells = <0>;
    reg = <0xe0004000 0x1000>;

    lochnagar: lochnagar@22 {
        compatible = "cirrus,lochnagar2";
        reg = <0x22>;

        reset-gpios = <&gpio0 55 0>;
        present-gpios = <&gpio0 60 0>;

        lochnagarclk: lochnagar-clk {
            compatible = "cirrus,lochnagar2-clk";

            #clock-cells = <1>;
            clocks = <&clkaudio>, <&clkpmic>;
            clock-names = "ln-gf-mclk2", "ln-pmic-32k";

            assigned-clocks = <&lochnagarclk LOCHNAGAR_CDC_MCLK1>,
                              <&lochnagarclk LOCHNAGAR_CDC_MCLK2>;
            assigned-clock-parents = <&clkaudio>, <&clkpmic>;
        };

        clkpmic: lochnagar-pmic32k {
            compatible = "fixed-clock";
            #clock-cells = <0>;
            clock-frequency = <32768>;
        };

        pinctrl {
            compatible = "cirrus,lochnagar-pinctrl";

            gpio-controller;
            #gpio-cells = <2>;
            gpio-ranges = <&lochnagar 0 0 LOCHNAGAR2_PIN_NUM_GPIOS>;

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

            pinsettings: pin-settings {
                ap2aif-pins {
                    input-enable;
                    groups = "gf-aif1";
                    function = "codec-aif3";
                };
                codec2aif-pins {
                    output-enable;
                    groups = "codec-aif3";
                    function = "gf-aif1";
                };
            };
        };

        lochnagar-sc {
            compatible = "cirrus,lochnagar2-soundcard";

            #sound-dai-cells = <1>;

            clocks = <&lochnagarclk LOCHNAGAR_SOUNDCARD_MCLK>;
            clock-names = "mclk";
        };

        lochnagar-hwmon {
            compatible = "cirrus,lochnagar2-hwmon";
        };

        MIC1VDD {
            compatible = "cirrus,lochnagar2-mic1vdd";

            cirrus,micbias-input = <3>;
        };

        MICVDD {
            compatible = "cirrus,lochnagar2-micvdd";

            SYSVDD-supply = <&wallvdd>;

            regulator-min-microvolt = <3300000>;
            regulator-max-microvolt = <3300000>;
        };

        VDD1V8 {
            compatible = "regulator-fixed";

            regulator-name = "VDD1V8";
            regulator-min-microvolt = <1800000>;
            regulator-max-microvolt = <1800000>;
            regulator-boot-on;
            regulator-always-on;

            vin-supply = <&wallvdd>;
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Cirrus Logic Madera class audio CODECs Multi-Functional Device

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/cirrus,madera.yaml#"

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

Maintainers (maintainers): "patches@opensource.cirrus.com"

These devices are audio SoCs with extensive digital capabilities and a range of analogue I/O.

See also the child driver bindings in:

  bindings/pinctrl/cirrus,madera.yaml
  bindings/regulator/wlf,arizona.yaml
  bindings/sound/cirrus,madera.yaml

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/pinctrl/cirrus,madera.yaml#

Rule 2 #

Shared schema rule ($ref): /schemas/regulator/wlf,arizona.yaml#

Rule 3 #

Shared schema rule ($ref): /schemas/sound/cirrus,madera.yaml#

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "cirrus,cs47l85", "wlf,wm1840"

When the condition matches (then) #

Properties and child nodes (properties)

SPKVDDL-supply — required here

Left speaker driver power supply.

SPKVDDR-supply — required here

Right speaker driver power supply.

Required in this object (required): "SPKVDDL-supply", "SPKVDDR-supply"

When the condition does not match (else) #

Required in this object (required): "DCVDD-supply"

Rule 5 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "cirrus,cs47l15", "cirrus,cs47l35"

When the condition matches (then) #

Properties and child nodes (properties)

SPKVDD-supply — required here

Mono speaker driver power supply.

Required in this object (required): "SPKVDD-supply"

Rule 6 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "cirrus,cs47l35", "cirrus,cs47l85", "cirrus,cs47l90", "cirrus,cs47l91", "wlf,wm1840"

When the condition matches (then) #

Properties and child nodes (properties)

DBVDD2-supply — required here

Databus power supply.

Required in this object (required): "DBVDD2-supply"

Rule 7 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "cirrus,cs47l85", "cirrus,cs47l90", "cirrus,cs47l91", "wlf,wm1840"

When the condition matches (then) #

Properties and child nodes (properties)

DBVDD3-supply — not listed as required here

Databus power supply.

DBVDD4-supply — not listed as required here

Databus power supply.

Rule 8 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "cirrus,cs47l15"

When the condition matches (then) #

Required in this object (required): "MICVDD-supply"

When the condition does not match (else) #

Properties and child nodes (properties)

CPVDD2-supply — required here

Secondary charge pump power supply.

Required in this object (required): "CPVDD2-supply"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "cirrus,cs47l15", "cirrus,cs47l35", "cirrus,cs47l85", "cirrus,cs47l90", "cirrus,cs47l91", "cirrus,cs42l92", "cirrus,cs47l92", "cirrus,cs47l93", "cirrus,wm1840"

reg — not listed as required here #

Maximum number of items (maxItems): 1

gpio-controller — required here #

true — No constraints added by this property rule.

#gpio-cells — required here #

The first cell is the pin number. The second cell is reserved for future use and must be zero

Exact value (const): 2

interrupt-controller — required here #

true — No constraints added by this property rule.

#interrupt-cells — required here #

The first cell is the IRQ number. The second cell is the flags, encoded as the trigger masks from bindings/interrupt-controller/interrupts.txt

Exact value (const): 2

interrupts — required here #

Maximum number of items (maxItems): 1

reset-gpios — not listed as required here #

One entry specifying the GPIO controlling /RESET. As defined in bindings/gpio.txt. Although optional, it is strongly recommended to use a hardware reset.

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Should reference the clocks supplied on MCLK1, MCLK2 and MCLK3.

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 3

clock-names — not listed as required here #

May contain up to three strings:
  "mclk1" For the clock supplied on MCLK1, recommended to be a
          high quality audio reference clock.
  "mclk2" For the clock supplied on MCLK2, required to be an
          always on 32k clock.
  "mclk3" For the clock supplied on MCLK3.

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Exact value (const): "mclk1"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "mclk2"

Rule 3

Array item rules (items)

Item 1

Exact value (const): "mclk3"

Rule 4

Array item rules (items)

Item 1

Exact value (const): "mclk1"

Item 2

Exact value (const): "mclk2"

Rule 5

Array item rules (items)

Item 1

Exact value (const): "mclk1"

Item 2

Exact value (const): "mclk3"

Rule 6

Array item rules (items)

Item 1

Exact value (const): "mclk2"

Item 2

Exact value (const): "mclk3"

Rule 7

Array item rules (items)

Item 1

Exact value (const): "mclk1"

Item 2

Exact value (const): "mclk2"

Item 3

Exact value (const): "mclk3"

AVDD-supply — required here #

Analogue power supply.

DBVDD1-supply — required here #

Databus power supply.

CPVDD1-supply — required here #

Charge pump power supply.

DCVDD-supply — not listed as required here #

Digital power supply, optional on CS47L85, WM1840 where it can be supplied internally.

MICVDD-supply — not listed as required here #

Microphone power supply, normally supplied internally except on cs47l24, wm1831 where it is mandatory.

Required in this object (required): "compatible", "gpio-controller", "#gpio-cells", "interrupt-controller", "#interrupt-cells", "interrupts", "AVDD-supply", "DBVDD1-supply", "CPVDD1-supply"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/sound/madera.h>
i2c@e0004000 {
    #address-cells = <1>;
    #size-cells = <0>;
    reg = <0xe0004000 0x1000>;

    cs47l85: codec@1a {
        compatible = "cirrus,cs47l85";
        reg = <0x1a>;

        reset-gpios = <&gpio 0>;
        wlf,ldoena = <&gpio 1>;

        interrupt-controller;
        #interrupt-cells = <2>;
        interrupts = <4 1 0>;

        gpio-controller;
        #gpio-cells = <2>;

        AVDD-supply = <&vdd1v8>;
        DBVDD1-supply = <&vdd1v8>;
        DBVDD2-supply = <&vdd1v8>;
        DBVDD3-supply = <&vdd1v8>;
        DBVDD4-supply = <&vdd1v8>;
        CPVDD1-supply = <&vdd1v8>;
        CPVDD2-supply = <&vdd1v2>;
        SPKVDDL-supply = <&vdd5v>;
        SPKVDDR-supply = <&vdd5v>;

        clocks = <&clks 0>, <&clks 1>, <&clks 2>;
        clock-names = "mclk1", "mclk2", "mclk3";

        cirrus,dmic-ref = <0 0 MADERA_DMIC_REF_MICBIAS1>;
        cirrus,inmode = <
            MADERA_INMODE_SE   MADERA_INMODE_SE
            MADERA_INMODE_SE   MADERA_INMODE_SE
            MADERA_INMODE_DIFF MADERA_INMODE_DIFF
        >;
        cirrus,max-channels-clocked = <2 0 0>;

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

        pinsettings: pin-settings {
            aif1-pins {
                groups = "aif1";
                function = "aif1";
                bias-bus-hold;
            };

            aif2-pins {
                groups = "aif2";
                function = "aif2";
                bias-bus-hold;
            };

            aif3-pins {
                groups = "aif3";
                function = "aif3";
                bias-bus-hold;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Delta Networks TN48M CPLD controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/delta,tn48m-cpld.yaml#"

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

Maintainers (maintainers): "Robert Marko <robert.marko@sartura.hr>"

Lattice CPLD onboard the TN48M switches is used for system management.

It provides information about the hardware model, revision, PSU status etc.

It is also being used as a GPIO expander and reset controller for the switch MAC-s and other peripherals.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "delta,tn48m-cpld"

reg — required here #

I2C device address.

Maximum number of items (maxItems): 1

#address-cells — required here #

Exact value (const): 1

#size-cells — required here #

Exact value (const): 0

Required in this object (required): "compatible", "reg", "#address-cells", "#size-cells"

Properties matching a name pattern (patternProperties) #

^gpio(@[0-9a-f]+)?$ — name matches this regular expression #

Shared schema rule ($ref): /schemas/gpio/delta,tn48m-gpio.yaml

^reset-controller?$ — name matches this regular expression #

Shared schema rule ($ref): /schemas/reset/delta,tn48m-reset.yaml

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    cpld@41 {
        compatible = "delta,tn48m-cpld";
        reg = <0x41>;
        #address-cells = <1>;
        #size-cells = <0>;

        gpio@31 {
            compatible = "delta,tn48m-gpo";
            reg = <0x31>;
            gpio-controller;
            #gpio-cells = <2>;
        };

        gpio@3a {
            compatible = "delta,tn48m-gpi";
            reg = <0x3a>;
            gpio-controller;
            #gpio-cells = <2>;
        };

        gpio@40 {
            compatible = "delta,tn48m-gpi";
            reg = <0x40>;
            gpio-controller;
            #gpio-cells = <2>;
        };

        reset-controller {
          compatible = "delta,tn48m-reset";
          #reset-cells = <1>;
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Dialog DA9052/53 Power Management Integrated Circuit (PMIC)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/dlg,da9052.yaml#"

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

Maintainers (maintainers): "Frank Li <Frank.Li@nxp.com>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "dlg,da9053-aa", "dlg,da9053-ab", "dlg,da9053-bb", "dlg,da9053-bc", "dlg,da9052"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

dlg,tsi-as-adc — not listed as required here #

Value type (type): "boolean"

if set the X+, X-, Y+, Y- touchscreen input lines are used as general purpose analogue input.

tsiref-supply — not listed as required here #

The reference voltage for the TSIREF pin.

regulators — required here #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties matching a name pattern (patternProperties) #

^(ldo([1-9]|10)|buck[1-4])$ — name matches this regular expression

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

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

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/spi/spi-peripheral-props.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    pmic@48 {
        compatible = "dlg,da9053-aa";
        reg = <0x48>;

        regulators {
            buck1 {
                regulator-min-microvolt = <500000>;
                regulator-max-microvolt = <2075000>;
            };

            buck2 {
                regulator-min-microvolt = <500000>;
                regulator-max-microvolt = <2075000>;
            };

            buck3 {
                regulator-min-microvolt = <925000>;
                regulator-max-microvolt = <2500000>;
            };

            buck4 {
                regulator-min-microvolt = <925000>;
                regulator-max-microvolt = <2500000>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Dialog DA906{3L,3,2,1} Power Management Integrated Circuit (PMIC)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/dlg,da9063.yaml#"

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

Maintainers (maintainers): "Steve Twiss <stwiss.opensource@diasemi.com>"

For device-tree bindings of other sub-modules refer to the binding documents under the respective sub-system directories. Using regulator-{uv,ov}-{warn,error,protection}-microvolt requires special handling: First, when GP_FB2 is used, it must be ensured that there is no moment where all voltage monitors are disabled. Next, as da9063 only supports UV *and* OV monitoring, both must be set to the same severity and value (0: disable, 1: enable). Product information for the DA906{3L,3,2,1} devices can be found here: - https://www.dialog-semiconductor.com/products/da9063l - https://www.dialog-semiconductor.com/products/da9063 - https://www.dialog-semiconductor.com/products/da9062 - https://www.dialog-semiconductor.com/products/da9061

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "dlg,da9061", "dlg,da9062", "dlg,da9063", "dlg,da9063l"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

interrupt-controller — not listed as required here #

true — No constraints added by this property rule.

#interrupt-cells — not listed as required here #

Exact value (const): 2

gpio-controller — not listed as required here #

true — No constraints added by this property rule.

#gpio-cells — not listed as required here #

Exact value (const): 2

gpio — not listed as required here #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "dlg,da9062-gpio"

onkey — not listed as required here #

Shared schema rule ($ref): /schemas/input/dlg,da9062-onkey.yaml

regulators — not listed as required here #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties matching a name pattern (patternProperties) #

^(ldo([1-9]|1[01])|bcore([1-2]|s-merged)|b(pro|mem|io|peri)|bmem-bio-merged|buck[1-4])$ — name matches this regular expression

Shared schema rule ($ref): /schemas/regulator/regulator.yaml

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

rtc — not listed as required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/rtc/rtc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Allowed values (enum): "dlg,da9062-rtc", "dlg,da9063-rtc"

thermal — not listed as required here #

Shared schema rule ($ref): /schemas/thermal/dlg,da9062-thermal.yaml

watchdog — not listed as required here #

Shared schema rule ($ref): /schemas/watchdog/dlg,da9062-watchdog.yaml

wakeup-source — not listed as required here #

true — No constraints added by this property rule.

Properties matching a name pattern (patternProperties) #

^(.+-hog(-[0-9]+)?)$ — name matches this regular expression #

Value type (type): "object"

Required in this object (required): "gpio-hog"

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

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "dlg,da9063", "dlg,da9063l"

When the condition matches (then) #

Properties and child nodes (properties)

gpio-controller — not listed as required here

false — Not permitted by this property rule.

#gpio-cells — not listed as required here

false — Not permitted by this property rule.

gpio — not listed as required here

false — Not permitted by this property rule.

regulators — not listed as required here

Properties matching a name pattern (patternProperties)

^buck[1-4]$ — name matches this regular expression

false — Not permitted by this property rule.

thermal — not listed as required here

false — Not permitted by this property rule.

Required in this object (required): "interrupts", "interrupt-controller", "#interrupt-cells"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "dlg,da9062"

When the condition matches (then) #

Properties and child nodes (properties)

regulators — not listed as required here

Properties matching a name pattern (patternProperties)

^(ldo([5-9]|10|11)|bcore([1-2]|s-merged)|b(pro|mem|io|peri)|bmem-bio-merged)$ — name matches this regular expression

false — Not permitted by this property rule.

Required in this object (required): "gpio", "onkey", "rtc", "thermal", "watchdog"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "dlg,da9061"

When the condition matches (then) #

Properties and child nodes (properties)

gpio-controller — not listed as required here

false — Not permitted by this property rule.

#gpio-cells — not listed as required here

false — Not permitted by this property rule.

gpio — not listed as required here

false — Not permitted by this property rule.

regulators — not listed as required here

Properties matching a name pattern (patternProperties)

^(ldo([5-9]|10|11)|bcore([1-2]|s-merged)|b(pro|mem|io|peri)|bmem-bio-merged|buck4)$ — name matches this regular expression

false — Not permitted by this property rule.

rtc — not listed as required here

false — Not permitted by this property rule.

Required in this object (required): "onkey", "thermal", "watchdog"

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>
i2c {
  #address-cells = <1>;
  #size-cells = <0>;
  pmic@58 {
    compatible = "dlg,da9063";
    reg = <0x58>;
    interrupt-parent = <&gpio6>;
    interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
    interrupt-controller;
    #interrupt-cells = <2>;

    rtc {
      compatible = "dlg,da9063-rtc";
    };

    watchdog {
      compatible = "dlg,da9063-watchdog";
    };

    onkey {
      compatible = "dlg,da9063-onkey";
      dlg,disable-key-power;
    };

    regulators {
      bcore1 {
        regulator-name = "BCORE1";
        regulator-min-microvolt = <300000>;
        regulator-max-microvolt = <1570000>;
        regulator-min-microamp = <500000>;
        regulator-max-microamp = <2000000>;
        regulator-boot-on;
      };
      ldo6 {
        /* UNUSED */
        regulator-name = "LDO_6";
        regulator-uv-protection-microvolt = <0>;
        regulator-ov-protection-microvolt = <0>;
      };
      ldo11 {
        regulator-name = "LDO_11";
        regulator-min-microvolt = <900000>;
        regulator-max-microvolt = <900000>;
        regulator-uv-protection-microvolt = <1>;
        regulator-ov-protection-microvolt = <1>;
        regulator-always-on;
      };
    };
  };
};
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/regulator/dlg,da9063-regulator.h>
i2c {
  #address-cells = <1>;
  #size-cells = <0>;
  pmic@58 {
    compatible = "dlg,da9062";
    reg = <0x58>;
    gpio-controller;
    #gpio-cells = <2>;

    sd0-pwr-sel-hog {
      gpio-hog;
      gpios = <1 0>;
      input;
      line-name = "SD0_PWR_SEL";
    };

    sd1-pwr-sel-hog {
      gpio-hog;
      gpios = <2 0>;
      input;
      line-name = "SD1_PWR_SEL";
    };

    sw-et0-en-hog {
      gpio-hog;
      gpios = <3 0>;
      input;
      line-name = "SW_ET0_EN#";
    };

    pmic-good-hog {
      gpio-hog;
      gpios = <4 0>;
      output-high;
      line-name = "PMIC_PGOOD";
    };

    gpio {
      compatible = "dlg,da9062-gpio";
    };

    onkey {
      compatible = "dlg,da9062-onkey";
    };

    regulators {
      buck1 {
        regulator-name = "vdd_arm";
        regulator-min-microvolt = <925000>;
        regulator-max-microvolt = <1380000>;
        regulator-initial-mode = <DA9063_BUCK_MODE_SYNC>;
        regulator-always-on;
      };
      buck2 {
        regulator-name = "vdd_soc";
        regulator-min-microvolt = <1150000>;
        regulator-max-microvolt = <1380000>;
        regulator-initial-mode = <DA9063_BUCK_MODE_SYNC>;
        regulator-always-on;
      };
      buck3 {
        regulator-name = "vdd_ddr3";
        regulator-min-microvolt = <1500000>;
        regulator-max-microvolt = <1500000>;
        regulator-initial-mode = <DA9063_BUCK_MODE_SYNC>;
        regulator-always-on;
      };
      buck4 {
        regulator-name = "vdd_eth";
        regulator-min-microvolt = <1200000>;
        regulator-max-microvolt = <1200000>;
        regulator-initial-mode = <DA9063_BUCK_MODE_SYNC>;
        regulator-always-on;
      };
      ldo1 {
        regulator-name = "vdd_snvs";
        regulator-min-microvolt = <3000000>;
        regulator-max-microvolt = <3000000>;
        regulator-always-on;
      };
      ldo2 {
        regulator-name = "vdd_high";
        regulator-min-microvolt = <3000000>;
        regulator-max-microvolt = <3000000>;
        regulator-always-on;
      };
      ldo3 {
        regulator-name = "vdd_eth_io";
        regulator-min-microvolt = <2500000>;
        regulator-max-microvolt = <2500000>;
      };
      ldo4 {
        regulator-name = "vdd_emmc";
        regulator-min-microvolt = <1800000>;
        regulator-max-microvolt = <1800000>;
        regulator-always-on;
      };
    };

    rtc {
      compatible = "dlg,da9062-rtc";
    };

    thermal {
      compatible = "dlg,da9062-thermal";
    };

    watchdog {
      compatible = "dlg,da9062-watchdog";
      dlg,use-sw-pm;
    };
  };
};

Source notes #

Annotations retained from the schema source

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

ENE KB3930 Embedded Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/ene-kb3930.yaml#"

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

This binding describes the ENE KB3930 Embedded Controller attached to an I2C bus.

Maintainers (maintainers): "Lubomir Rintel <lkundrak@v3.sk>"

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "dell,wyse-ariel-ec"

Item 2

Exact value (const): "ene,kb3930"

reg — required here #

Maximum number of items (maxItems): 1

off-gpios — not listed as required here #

GPIO used with the shutdown protocol on Ariel

Maximum number of items (maxItems): 2

system-power-controller — not listed as required here #

true — No constraints added by this property rule.

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

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

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

i2c {
  #address-cells = <1>;
  #size-cells = <0>;

  embedded-controller@58 {
    compatible = "dell,wyse-ariel-ec", "ene,kb3930";
    reg = <0x58>;
    system-power-controller;

    off-gpios = <&gpio 126 GPIO_ACTIVE_HIGH>,
                <&gpio 127 GPIO_ACTIVE_HIGH>;
  };
};

Source notes #

Annotations retained from the schema source

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

Line 20: Dell Wyse Ariel board (3020)

ENE KB930 Embedded Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/ene-kb930.yaml#"

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

This binding describes the ENE KB930 Embedded Controller attached to an I2C bus.

Maintainers (maintainers): "Dmitry Osipenko <digetx@gmail.com>"

Shared schema rule ($ref): /schemas/power/supply/power-supply.yaml

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "acer,a500-iconia-ec"

Item 2

Exact value (const): "ene,kb930"

reg — required here #

Maximum number of items (maxItems): 1

system-power-controller — not listed as required here #

true — No constraints added by this property rule.

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

battery: battery-cell {
  compatible = "simple-battery";
  charge-full-design-microamp-hours = <3260000>;
  energy-full-design-microwatt-hours = <24000000>;
  operating-range-celsius = <0 40>;
};

mains: ac-adapter {
  compatible = "gpio-charger";
  charger-type = "mains";
  gpios = <&gpio 125 0>;
};

i2c {
  #address-cells = <1>;
  #size-cells = <0>;

  embedded-controller@58 {
    compatible = "acer,a500-iconia-ec", "ene,kb930";
    reg = <0x58>;

    system-power-controller;

    monitored-battery = <&battery>;
    power-supplies = <&mains>;
  };
};

Source notes #

Annotations retained from the schema source

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

Line 22: Acer A500 Iconia tablet device

Freescale MC13xxx Power Management Integrated Circuits (PMIC)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/fsl,mc13xxx.yaml#"

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

Maintainers (maintainers): "Alexander Kurz <akurz@blala.de>"

The MC13xxx PMIC series consists of the three models MC13783, MC13892 and MC34708 and provide regulators and other features like RTC, ADC, LED, touchscreen, codec and input buttons.
Link to datasheets
  https://www.nxp.com/docs/en/data-sheet/MC13783.pdf
  https://www.nxp.com/docs/en/data-sheet/MC13892.pdf
  https://www.nxp.com/docs/en/data-sheet/MC34708.pdf

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "fsl,mc13783", "fsl,mc13892", "fsl,mc34708"

reg — required here #

I2C slave address or SPI chip select number.

Maximum number of items (maxItems): 1

spi-max-frequency — not listed as required here #

true — No constraints added by this property rule.

spi-cs-high — not listed as required here #

true — No constraints added by this property rule.

system-power-controller — not listed as required here #

true — No constraints added by this property rule.

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

buttons — not listed as required here #

Value type (type): "object"

Properties and child nodes (properties) #

#address-cells — not listed as required here

Exact value (const): 1

#size-cells — not listed as required here

Exact value (const): 0

Properties matching a name pattern (patternProperties) #

^onkey@[0-2]$ — name matches this regular expression

Shared schema rule ($ref): /schemas/input/input.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Value type (type): "object"

Properties and child nodes (properties)

reg — not listed as required here

One of
MC13783 BUTTON IDs:
  0: ONOFD1
  1: ONOFD2
  2: ONOFD3
MC13892 BUTTON IDs:
  0: PWRON1
  1: PWRON2
  2: PWRON3
MC34708 BUTTON IDs:
  0: PWRON1
  1: PWRON2

Maximum value (maximum): 2

debounce-delay-ms — not listed as required here

Allowed values (enum): 0, 30, 150, 750

Default value (default): 30

Sets the debouncing delay in milliseconds.

active-low — not listed as required here

Set active when pin is pulled low.

linux,code — not listed as required here

true — No constraints added by this property rule.

fsl,enable-reset — not listed as required here

Setting of the global reset option.

Value type (type): "boolean"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

leds — not listed as required here #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

#address-cells — not listed as required here

Exact value (const): 1

#size-cells — not listed as required here

Exact value (const): 0

led-control — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array

Setting for LED-Control register array length depends on model, mc13783: 6, mc13892: 4, mc34708: 1

Properties matching a name pattern (patternProperties) #

^led@[0-9a-b]$ — name matches this regular expression

Shared schema rule ($ref): /schemas/leds/common.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties and child nodes (properties)

reg — not listed as required here

One of
MC13783 LED IDs
  0: Main display
  1: AUX display
  2: Keypad
  3: Red 1
  4: Green 1
  5: Blue 1
  6: Red 2
  7: Green 2
  8: Blue 2
  9: Red 3
  10: Green 3
  11: Blue 3
MC13892 LED IDs
  0: Main display
  1: AUX display
  2: Keypad
  3: Red
  4: Green
  5: Blue
MC34708 LED IDs
  0: Charger Red
  1: Charger Green

Maximum number of items (maxItems): 1

regulators — not listed as required here #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

Value type (type): "object"

List of child nodes specifying the regulators, depending on chip variant. Each child node is defined using the standard binding for regulators and the optional regulator properties defined below.

fsl,mc13xxx-uses-adc — not listed as required here #

Value type (type): "boolean"

Indicate the ADC is being used

fsl,mc13xxx-uses-codec — not listed as required here #

Value type (type): "boolean"

Indicate the Audio Codec is being used

fsl,mc13xxx-uses-rtc — not listed as required here #

Value type (type): "boolean"

Indicate the RTC is being used

fsl,mc13xxx-uses-touch — not listed as required here #

Value type (type): "boolean"

Indicate the touchscreen controller is being used

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

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "fsl,mc13783"

When the condition matches (then) #

Properties and child nodes (properties)

leds — not listed as required here

Properties and child nodes (properties)

led-control — not listed as required here

Minimum number of items (minItems): 6

Maximum number of items (maxItems): 6

regulators — not listed as required here

Properties matching a name pattern (patternProperties)

^gpo[1-4]|pwgt[12]spi|sw[12][ab]|sw3|vaudio|vcam|vdig|vesim|vgen|viohi|violo|vmmc[12]|vrf[12]|vrfbg|vrfcp|vrfdig|vrfref|vsim|vvib$ — name matches this regular expression

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "fsl,mc13892"

When the condition matches (then) #

Properties and child nodes (properties)

leds — not listed as required here

Properties and child nodes (properties)

led-control — not listed as required here

Minimum number of items (minItems): 4

Maximum number of items (maxItems): 4

regulators — not listed as required here

Properties matching a name pattern (patternProperties)

^gpo[1-4]|pwgt[12]spi|sw[1-4]|swbst|vaudio|vcam|vcoincell|vdig|vgen[1-3]|viohi|vpll|vsd|vusb|vusb2|vvideo$ — name matches this regular expression

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "fsl,mc34708"

When the condition matches (then) #

Properties and child nodes (properties)

buttons — not listed as required here

Properties matching a name pattern (patternProperties)

^onkey@[0-2]$ — name matches this regular expression

Properties and child nodes (properties)

reg — not listed as required here

Maximum value (maximum): 1

leds — not listed as required here

Properties and child nodes (properties)

led-control — not listed as required here

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 1

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/leds/common.h>

spi {
    #address-cells = <1>;
    #size-cells = <0>;

    pmic: mc13892@0 {
        compatible = "fsl,mc13892";
        reg = <0>;
        spi-max-frequency = <1000000>;
        spi-cs-high;
        interrupt-parent = <&gpio0>;
        interrupts = <8 IRQ_TYPE_LEVEL_HIGH>;
        fsl,mc13xxx-uses-rtc;
        fsl,mc13xxx-uses-adc;

        buttons {
            #address-cells = <1>;
            #size-cells = <0>;

            onkey@0 {
                reg = <0>;
                debounce-delay-ms = <30>;
                active-low;
                fsl,enable-reset;
            };
        };

        leds {
            #address-cells = <1>;
            #size-cells = <0>;
            led-control = <0x000 0x000 0x0e0 0x000>;

            led@3 {
                reg = <3>;
                label = "system:red:live";
                linux,default-trigger = "heartbeat";
            };
        };

        regulators {
            sw1_reg: sw1 {
                regulator-min-microvolt = <600000>;
                regulator-max-microvolt = <1375000>;
                regulator-boot-on;
                regulator-always-on;
            };

            sw2_reg: sw2 {
                regulator-min-microvolt = <900000>;
                regulator-max-microvolt = <1850000>;
                regulator-boot-on;
                regulator-always-on;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Freescale MPC8349E-mITX-compatible Power Management Micro Controller Unit (MCU)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/fsl,mcu-mpc8349emitx.yaml#"

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

Maintainers (maintainers): "J. Neuschäfer <j.ne@posteo.net>"

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): "fsl,mc9s08qg8-mpc8315erdb", "fsl,mc9s08qg8-mpc8349emitx", "fsl,mc9s08qg8-mpc8377erdb", "fsl,mc9s08qg8-mpc8378erdb", "fsl,mc9s08qg8-mpc8379erdb"

Item 2

Exact value (const): "fsl,mcu-mpc8349emitx"

reg — required here #

Maximum number of items (maxItems): 1

#gpio-cells — required here #

Exact value (const): 2

gpio-controller — required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "#gpio-cells", "gpio-controller"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    mcu@a {
        #gpio-cells = <2>;
        compatible = "fsl,mc9s08qg8-mpc8349emitx",
                     "fsl,mcu-mpc8349emitx";
        reg = <0x0a>;
        gpio-controller;
    };
};

Source notes #

Annotations retained from the schema source

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

HiSilicon 6421v600 SPMI PMIC

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/hisilicon,hi6421-spmi-pmic.yaml#"

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

Maintainers (maintainers): "Mauro Carvalho Chehab <mchehab+huawei@kernel.org>"

HiSilicon 6421v600 should be connected inside a MIPI System Power Management (SPMI) bus. It provides interrupts and power supply.

The GPIO and interrupt settings are represented as part of the top-level PMIC node.

The SPMI controller part is provided by Documentation/devicetree/bindings/spmi/hisilicon,hisi-spmi-controller.yaml

Properties and child nodes (properties) #

$nodename — not listed as required here #

String pattern (pattern): "pmic@[0-9a-f]"

compatible — required here #

Exact value (const): "hisilicon,hi6421v600-spmi"

reg — required here #

Maximum number of items (maxItems): 1

#interrupt-cells — not listed as required here #

Exact value (const): 2

interrupt-controller — not listed as required here #

true — No constraints added by this property rule.

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

regulators — required here #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties matching a name pattern (patternProperties) #

^ldo[0-9]+$ — name matches this regular expression

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

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

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

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

spmi {
    #address-cells = <2>;
    #size-cells = <0>;

    pmic@0 {
        compatible = "hisilicon,hi6421v600-spmi";
        reg = <0 SPMI_USID>;

        #interrupt-cells = <2>;
        interrupt-controller;
        interrupt-parent = <&gpio28>;
        interrupts = <0 0>;

        regulators {
            ldo3 {
                regulator-name = "ldo3";
                regulator-min-microvolt = <1500000>;
                regulator-max-microvolt = <2000000>;
                regulator-boot-on;
            };

            ldo4 {
                regulator-name = "ldo4";
                regulator-min-microvolt = <1725000>;
                regulator-max-microvolt = <1900000>;
                regulator-boot-on;
            };

            ldo9 {
                regulator-name = "ldo9";
                regulator-min-microvolt = <1750000>;
                regulator-max-microvolt = <3300000>;
                regulator-boot-on;
            };

            ldo15 {
                regulator-name = "ldo15";
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <3000000>;
                regulator-always-on;
            };

            ldo16 {
                regulator-name = "ldo16";
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <3000000>;
                regulator-boot-on;
            };

            ldo17 {
                regulator-name = "ldo17";
                regulator-min-microvolt = <2500000>;
                regulator-max-microvolt = <3300000>;
            };

            ldo33 {
                regulator-name = "ldo33";
                regulator-min-microvolt = <2500000>;
                regulator-max-microvolt = <3300000>;
                regulator-boot-on;
            };

            ldo34 {
                regulator-name = "ldo34";
                regulator-min-microvolt = <2600000>;
                regulator-max-microvolt = <3300000>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

IEI WT61P803 PUZZLE MCU from IEI Integration Corp.

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/iei,wt61p803-puzzle.yaml#"

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

Maintainers (maintainers): "Luka Kovacic <luka.kovacic@sartura.hr>"

IEI WT61P803 PUZZLE MCU is embedded in some IEI Puzzle series boards. It's used for controlling system power states, fans, LEDs and temperature sensors.

For Device Tree bindings of other sub-modules (HWMON, LEDs) refer to the binding documents under the respective subsystem directories.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "iei,wt61p803-puzzle"

current-speed — required here #

true — No constraints added by this property rule.

enable-beep — not listed as required here #

Value type (type): "boolean"

hwmon — not listed as required here #

Shared schema rule ($ref): /schemas/hwmon/iei,wt61p803-puzzle-hwmon.yaml

leds — not listed as required here #

Shared schema rule ($ref): /schemas/leds/iei,wt61p803-puzzle-leds.yaml

Required in this object (required): "compatible", "current-speed"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/leds/common.h>
serial {
    mcu {
        compatible = "iei,wt61p803-puzzle";
        current-speed = <115200>;
        enable-beep;

        leds {
            compatible = "iei,wt61p803-puzzle-leds";
            #address-cells = <1>;
            #size-cells = <0>;

            led@0 {
                reg = <0>;
                function = LED_FUNCTION_POWER;
                color = <LED_COLOR_ID_BLUE>;
            };
        };

        hwmon {
            compatible = "iei,wt61p803-puzzle-hwmon";
            #address-cells = <1>;
            #size-cells = <0>;

            fan-group@0 {
                #cooling-cells = <2>;
                reg = <0x00>;
                cooling-levels = <64 102 170 230 250>;
            };

            fan-group@1 {
                #cooling-cells = <2>;
                reg = <0x01>;
                cooling-levels = <64 102 170 230 250>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Azoteq IQS620A/621/622/624/625 Multi-Function Sensors

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/iqs62x.yaml#"

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

Maintainers (maintainers): "Jeff LaBundy <jeff@labundy.com>"

The Azoteq IQS620A, IQS621, IQS622, IQS624 and IQS625 multi-function sensors integrate multiple sensing technologies in a single package.

Link to datasheets: https://www.azoteq.com/

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "azoteq,iqs620a", "azoteq,iqs621", "azoteq,iqs622", "azoteq,iqs624", "azoteq,iqs625"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

firmware-name — not listed as required here #

Maximum number of items (maxItems): 1

Specifies the name of the calibration and configuration file selected by the driver. If this property is omitted, the name is chosen based on the device name with ".bin" as the extension (e.g. iqs620a.bin for IQS620A).

keys — not listed as required here #

Shared schema rule ($ref): /schemas/input/iqs62x-keys.yaml

pwm — not listed as required here #

Shared schema rule ($ref): /schemas/pwm/iqs620a-pwm.yaml

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

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

/*
 * Dual capacitive buttons with proximity-activated function, unipolar lid
 * switch and panel-mounted LED.
 */
#include <dt-bindings/input/input.h>
#include <dt-bindings/interrupt-controller/irq.h>

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    iqs620a@44 {
        compatible = "azoteq,iqs620a";
        reg = <0x44>;
        interrupt-parent = <&gpio>;
        interrupts = <17 IRQ_TYPE_LEVEL_LOW>;

        keys {
            compatible = "azoteq,iqs620a-keys";

            linux,keycodes = <KEY_SELECT>,
                             <KEY_MENU>,
                             <KEY_OK>,
                             <KEY_MENU>;

            hall-switch-south {
                linux,code = <SW_LID>;
                azoteq,use-prox;
            };
        };

        iqs620a_pwm: pwm {
            compatible = "azoteq,iqs620a-pwm";
            #pwm-cells = <2>;
        };
    };
};
/* Single inductive button with bipolar dock/tablet-mode switch. */
#include <dt-bindings/input/input.h>
#include <dt-bindings/interrupt-controller/irq.h>

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    iqs620a@44 {
        compatible = "azoteq,iqs620a";
        reg = <0x44>;
        interrupt-parent = <&gpio>;
        interrupts = <17 IRQ_TYPE_LEVEL_LOW>;

        firmware-name = "iqs620a_coil.bin";

        keys {
            compatible = "azoteq,iqs620a-keys";

            linux,keycodes = <0>,
                             <0>,
                             <0>,
                             <0>,
                             <0>,
                             <0>,
                             <KEY_MUTE>;

            hall-switch-north {
                linux,code = <SW_DOCK>;
            };

            hall-switch-south {
                linux,code = <SW_TABLET_MODE>;
            };
        };
    };
};
/* Dual capacitive buttons with volume knob. */
#include <dt-bindings/input/input.h>
#include <dt-bindings/interrupt-controller/irq.h>

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    iqs624@44 {
        compatible = "azoteq,iqs624";
        reg = <0x44>;
        interrupt-parent = <&gpio>;
        interrupts = <17 IRQ_TYPE_LEVEL_LOW>;

        keys {
            compatible = "azoteq,iqs624-keys";

            linux,keycodes = <BTN_0>,
                             <0>,
                             <BTN_1>,
                             <0>,
                             <0>,
                             <0>,
                             <0>,
                             <0>,
                             <0>,
                             <0>,
                             <0>,
                             <0>,
                             <0>,
                             <0>,
                             <KEY_VOLUMEUP>,
                             <KEY_VOLUMEDOWN>;
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Khadas on-board Microcontroller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/khadas,mcu.yaml#"

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

Maintainers (maintainers): "Neil Armstrong <neil.armstrong@linaro.org>"

Khadas embeds a microcontroller on their VIM and Edge boards adding some system feature as PWM Fan control (for VIM2 rev14 or VIM3), User memory storage, IR/Key resume control, system power LED control and more.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "khadas,mcu"

#cooling-cells — not listed as required here #

Exact value (const): 2

reg — required here #

Maximum number of items (maxItems): 1

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

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

i2c {
  #address-cells = <1>;
  #size-cells = <0>;
  khadas_mcu: system-controller@18 {
    compatible = "khadas,mcu";
    reg = <0x18>;
    #cooling-cells = <2>;
  };
};

Source notes #

Annotations retained from the schema source

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

Line 20: MCU revision is discoverable

Line 22: Only needed for boards having FAN control feature

Marvell 88PM886 PMIC core

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/marvell,88pm886-a1.yaml#"

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

Maintainers (maintainers): "Karel Balej <balejk@matfyz.cz>"

Marvell 88PM886 is a PMIC providing several functions such as onkey, regulators or battery and charger.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "marvell,88pm886-a1"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

wakeup-source — not listed as required here #

true — No constraints added by this property rule.

regulators — not listed as required here #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties matching a name pattern (patternProperties) #

^(ldo(1[0-6]|[1-9])|buck[1-5])$ — name matches this regular expression

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

LDO or buck regulator.

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

#io-channel-cells — not listed as required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "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>
i2c {
  #address-cells = <1>;
  #size-cells = <0>;
  pmic@30 {
    compatible = "marvell,88pm886-a1";
    reg = <0x30>;
    interrupts = <0 4 IRQ_TYPE_LEVEL_HIGH>;
    interrupt-parent = <&gic>;
    #io-channel-cells = <1>;
    wakeup-source;

    regulators {
      ldo2: ldo2 {
        regulator-min-microvolt = <3100000>;
        regulator-max-microvolt = <3300000>;
      };

      ldo15: ldo15 {
        regulator-min-microvolt = <3300000>;
        regulator-max-microvolt = <3300000>;
      };

      buck2: buck2 {
        regulator-min-microvolt = <1800000>;
        regulator-max-microvolt = <1800000>;
      };
    };
  };
};

Source notes #

Annotations retained from the schema source

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

MAX77650 ultra low-power PMIC from Maxim Integrated.

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/max77650.yaml#"

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

Maintainers (maintainers): "Bartosz Golaszewski <bgolaszewski@baylibre.com>"

MAX77650 is an ultra-low power PMIC providing battery charging and power supply for low-power IoT and wearable applications.

The GPIO-controller module is represented as part of the top-level PMIC node. The device exposes a single GPIO line.

For device-tree bindings of other sub-modules (regulator, power supply, LEDs and onkey) refer to the binding documents under the respective sub-system directories.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "maxim,max77650"

reg — required here #

I2C device address.

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

interrupt-controller — required here #

true — No constraints added by this property rule.

#interrupt-cells — required here #

Exact value (const): 2

The first cell is the IRQ number, the second cell is the trigger type.

gpio-controller — required here #

true — No constraints added by this property rule.

#gpio-cells — required here #

Exact value (const): 2

The first cell is the pin number and the second cell is used to specify the gpio active state.

gpio-line-names — not listed as required here #

Maximum number of items (maxItems): 1

Single string containing the name of the GPIO line.

regulators — not listed as required here #

Shared schema rule ($ref): /schemas/regulator/max77650-regulator.yaml

charger — not listed as required here #

Shared schema rule ($ref): /schemas/power/supply/max77650-charger.yaml

leds — not listed as required here #

Shared schema rule ($ref): /schemas/leds/leds-max77650.yaml

onkey — not listed as required here #

Shared schema rule ($ref): /schemas/input/max77650-onkey.yaml

Required in this object (required): "compatible", "reg", "interrupts", "interrupt-controller", "#interrupt-cells", "gpio-controller", "#gpio-cells"

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>
#include <dt-bindings/input/linux-event-codes.h>
i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    pmic@48 {
        compatible = "maxim,max77650";
        reg = <0x48>;

        interrupt-controller;
        interrupt-parent = <&gpio2>;
        #interrupt-cells = <2>;
        interrupts = <3 IRQ_TYPE_LEVEL_LOW>;

        gpio-controller;
        #gpio-cells = <2>;
        gpio-line-names = "max77650-charger";

        regulators {
            compatible = "maxim,max77650-regulator";

            max77650_ldo: regulator-ldo {
                regulator-name = "max77650-ldo";
                regulator-min-microvolt = <1350000>;
                regulator-max-microvolt = <2937500>;
            };

            max77650_sbb0: regulator-sbb0 {
                regulator-name = "max77650-sbb0";
                regulator-min-microvolt = <800000>;
                regulator-max-microvolt = <1587500>;
            };
        };

        charger {
            compatible = "maxim,max77650-charger";
            input-voltage-min-microvolt = <4200000>;
            input-current-limit-microamp = <285000>;
        };

        leds {
            compatible = "maxim,max77650-led";
            #address-cells = <1>;
            #size-cells = <0>;

            led@0 {
                reg = <0>;
                label = "blue:usr0";
            };

            led@1 {
                reg = <1>;
                label = "red:usr1";
                linux,default-trigger = "heartbeat";
            };

            led@2 {
                reg = <2>;
                label = "green:usr2";
            };
        };

        onkey {
            compatible = "maxim,max77650-onkey";
            linux,code = <KEY_END>;
            maxim,onkey-slide;
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Maxim MAX14577/MAX77836 MicroUSB and Companion Power Management IC

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/maxim,max14577.yaml#"

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

Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"

This is a part of device tree bindings for Maxim MAX14577/MAX77836 MicroUSB Integrated Circuit (MUIC).

The Maxim MAX14577 is a MicroUSB and Companion Power Management IC which includes voltage safeout regulators, charger and MicroUSB management IC.

The Maxim MAX77836 is a MicroUSB and Companion Power Management IC which includes voltage safeout and LDO regulators, charger, fuel-gauge and MicroUSB management IC.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "maxim,max14577", "maxim,max77836"

interrupts — required here #

Maximum number of items (maxItems): 1

reg — required here #

Maximum number of items (maxItems): 1

wakeup-source — not listed as required here #

true — No constraints added by this property rule.

charger — required here #

Shared schema rule ($ref): /schemas/power/supply/maxim,max14577.yaml

extcon — not listed as required here #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

compatible — required here

Allowed values (enum): "maxim,max14577-muic", "maxim,max77836-muic"

Required in this object (required): "compatible"

regulators — not listed as required here #

Shared schema rule ($ref): /schemas/regulator/maxim,max14577.yaml

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

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "maxim,max14577"

When the condition matches (then) #

Properties and child nodes (properties)

charger — not listed as required here

Properties and child nodes (properties)

compatible — not listed as required here

Exact value (const): "maxim,max14577-charger"

extcon — not listed as required here

Properties and child nodes (properties)

compatible — not listed as required here

Exact value (const): "maxim,max14577-muic"

regulator — not listed as required here

Properties and child nodes (properties)

compatible — not listed as required here

Exact value (const): "maxim,max14577-regulator"

When the condition does not match (else) #

Properties and child nodes (properties)

charger — not listed as required here

Properties and child nodes (properties)

compatible — not listed as required here

Exact value (const): "maxim,max77836-charger"

extcon — not listed as required here

Properties and child nodes (properties)

compatible — not listed as required here

Exact value (const): "maxim,max77836-muic"

regulator — not listed as required here

Properties and child nodes (properties)

compatible — not listed as required here

Exact value (const): "maxim,max77836-regulator"

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>

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    pmic@25 {
        compatible = "maxim,max14577";
        reg = <0x25>;
        interrupt-parent = <&gpx1>;
        interrupts = <5 IRQ_TYPE_LEVEL_LOW>;

        extcon {
            compatible = "maxim,max14577-muic";
        };

        regulators {
            compatible = "maxim,max14577-regulator";

            SAFEOUT {
                regulator-name = "SAFEOUT";
            };

            CHARGER {
                regulator-name = "CHARGER";
                regulator-min-microamp = <90000>;
                regulator-max-microamp = <950000>;
                regulator-boot-on;
            };
        };

        charger {
            compatible = "maxim,max14577-charger";

            maxim,constant-uvolt = <4350000>;
            maxim,fast-charge-uamp = <450000>;
            maxim,eoc-uamp = <50000>;
            maxim,ovp-uvolt = <6500000>;
        };
    };
};
#include <dt-bindings/interrupt-controller/irq.h>

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    pmic@25 {
        compatible = "maxim,max77836";
        interrupt-parent = <&gpx1>;
        interrupts = <5 IRQ_TYPE_NONE>;
        reg = <0x25>;
        wakeup-source;

        extcon {
            compatible = "maxim,max77836-muic";
        };

        regulators {
            compatible = "maxim,max77836-regulator";

            SAFEOUT {
                regulator-name = "SAFEOUT";
            };

            CHARGER {
                regulator-name = "CHARGER";
                regulator-min-microamp = <45000>;
                regulator-max-microamp = <475000>;
                regulator-boot-on;
            };

            LDO1 {
                regulator-name = "MOT_2.7V";
                regulator-min-microvolt = <1100000>;
                regulator-max-microvolt = <2700000>;
            };

            LDO2 {
                regulator-name = "UNUSED_LDO2";
                regulator-min-microvolt = <800000>;
                regulator-max-microvolt = <3950000>;
            };
        };

        charger {
            compatible = "maxim,max77836-charger";

            maxim,constant-uvolt = <4350000>;
            maxim,fast-charge-uamp = <225000>;
            maxim,eoc-uamp = <7500>;
            maxim,ovp-uvolt = <6500000>;
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only

Regulator for MAX5970 Smart Switch from Maxim Integrated

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/maxim,max5970.yaml#"

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

Maintainers (maintainers): "Patrick Rudolph <patrick.rudolph@9elements.com>"

The smart switch provides no output regulation, but independent fault protection and voltage and current sensing. Programming is done through I2C bus.

Datasheets:
  https://datasheets.maximintegrated.com/en/ds/MAX5970.pdf
  https://datasheets.maximintegrated.com/en/ds/MAX5978.pdf

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "maxim,max5970", "maxim,max5978"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

leds — not listed as required here #

Value type (type): "object"

Properties for four LEDS.

Properties and child nodes (properties) #

#address-cells — not listed as required here

Exact value (const): 1

#size-cells — not listed as required here

Exact value (const): 0

Properties matching a name pattern (patternProperties) #

^led@[0-3]$ — name matches this regular expression

Shared schema rule ($ref): /schemas/leds/common.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Value type (type): "object"

Properties and child nodes (properties)

reg — not listed as required here

Maximum value (maximum): 3

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

vss1-supply — required here #

Supply of the first channel.

vss2-supply — not listed as required here #

Supply of the second channel.

regulators — required here #

Value type (type): "object"

Properties for both hot swap control/switch.

Properties matching a name pattern (patternProperties) #

^sw[0-1]$ — name matches this regular expression

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Value type (type): "object"

Properties and child nodes (properties)

shunt-resistor-micro-ohms — required here

The value of current sense resistor in microohms.

Required in this object (required): "shunt-resistor-micro-ohms"

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "regulators", "vss1-supply"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Allowed values (enum): "maxim,max5970"

When the condition matches (then) #

Required in this object (required): "vss2-supply"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

i2c {
    #address-cells = <1>;
    #size-cells = <0>;
    regulator@3a {
        compatible = "maxim,max5978";
        reg = <0x3a>;
        vss1-supply = <&p3v3>;

        regulators {
            sw0_ref_0: sw0 {
                shunt-resistor-micro-ohms = <12000>;
            };
        };

        leds {
            #address-cells = <1>;
            #size-cells = <0>;
            led@0 {
                reg = <0>;
                label = "led0";
                default-state = "on";
            };
            led@1 {
                reg = <1>;
                label = "led1";
                default-state = "on";
            };
        };
    };
};
i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    regulator@3a {
        compatible = "maxim,max5970";
        reg = <0x3a>;
        vss1-supply = <&p3v3>;
        vss2-supply = <&p5v>;

        regulators {
            sw0_ref_1: sw0 {
                shunt-resistor-micro-ohms = <12000>;
            };
            sw1_ref_1: sw1 {
                shunt-resistor-micro-ohms = <10000>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Maxim MAX7360 Keypad, Rotary encoder, PWM and GPIO controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/maxim,max7360.yaml#"

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

Maintainers (maintainers): "Kamel Bouhara <kamel.bouhara@bootlin.com>", "Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>"

Maxim MAX7360 device, with following functions:
  - keypad controller
  - rotary controller
  - GPIO and GPO controller
  - PWM controller

https://www.analog.com/en/products/max7360.html

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/input/matrix-keymap.yaml#

Rule 2 #

Shared schema rule ($ref): /schemas/input/input.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "maxim,max7360"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 2

interrupt-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "inti"

Item 2

Exact value (const): "intk"

keypad-debounce-delay-ms — not listed as required here #

Keypad debounce delay in ms

Minimum value (minimum): 9

Maximum value (maximum): 40

Default value (default): 9

rotary-debounce-delay-ms — not listed as required here #

Rotary encoder debounce delay in ms

Minimum value (minimum): 0

Maximum value (maximum): 15

Default value (default): 0

linux,axis — required here #

Shared schema rule ($ref): /schemas/input/rotary-encoder.yaml#/properties/linux,axis

rotary-encoder,relative-axis — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

Register a relative axis rather than an absolute one.

rotary-encoder,steps — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Default value (default): 24

Number of steps in a full turnaround of the encoder. Only relevant for absolute axis. Defaults to 24 which is a typical value for such devices.

rotary-encoder,rollover — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

Automatic rollover when the rotary value becomes greater than the specified steps or smaller than 0. For absolute axis only.

#pwm-cells — required here #

Exact value (const): 3

gpio — required here #

Shared schema rule ($ref): /schemas/gpio/maxim,max7360-gpio.yaml#

PORT0 to PORT7 general purpose input/output pins configuration.

gpo — required here #

Shared schema rule ($ref): /schemas/gpio/maxim,max7360-gpio.yaml#

COL2 to COL7 general purpose output pins configuration. Allows to use unused keypad columns as outputs. The MAX7360 has 8 column lines and 6 of them can be used as GPOs. GPIOs numbers used for this gpio-controller node do correspond to the column numbers: values 0 and 1 are never valid, values from 2 to 7 might be valid depending on the value of the keypad,num-column property.

Properties matching a name pattern (patternProperties) #

-pins$ — name matches this regular expression #

Value type (type): "object"

Pinctrl node's client devices use subnodes for desired pin configuration. Client device subnodes use below standard properties.

Shared schema rule ($ref): /schemas/pinctrl/pincfg-node.yaml

Properties and child nodes (properties) #

pins — not listed as required here

List of gpio pins affected by the properties specified in this subnode.

Array item rules (items)

String pattern (pattern): "^(PORT[0-7]|ROTARY)$"

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 8

function — not listed as required here

Specify the alternative function to be configured for the specified pins.

Allowed values (enum): "gpio", "pwm", "rotary"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "interrupts", "interrupt-names", "linux,keymap", "linux,axis", "#pwm-cells", "gpio", "gpo"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/input/input.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

i2c {
  #address-cells = <1>;
  #size-cells = <0>;

  io-expander@38 {
    compatible = "maxim,max7360";
    reg = <0x38>;

    interrupt-parent = <&gpio1>;
    interrupts = <23 IRQ_TYPE_LEVEL_LOW>,
                 <24 IRQ_TYPE_LEVEL_LOW>;
    interrupt-names = "inti", "intk";

    keypad,num-rows = <8>;
    keypad,num-columns = <4>;
    linux,keymap = <
      MATRIX_KEY(0x00, 0x00, KEY_F5)
      MATRIX_KEY(0x01, 0x00, KEY_F4)
      MATRIX_KEY(0x02, 0x01, KEY_F6)
      >;
    keypad-debounce-delay-ms = <10>;
    autorepeat;

    rotary-debounce-delay-ms = <2>;
    linux,axis = <0>; /* REL_X */
    rotary-encoder,relative-axis;

    #pwm-cells = <3>;

    max7360_gpio: gpio {
      compatible = "maxim,max7360-gpio";

      gpio-controller;
      #gpio-cells = <2>;
      maxim,constant-current-disable = <0x06>;

      interrupt-controller;
      #interrupt-cells = <0x2>;
    };

    max7360_gpo: gpo {
      compatible = "maxim,max7360-gpo";

      gpio-controller;
      #gpio-cells = <2>;
    };

    backlight_pins: backlight-pins {
      pins = "PORT2";
      function = "pwm";
    };
  };
};

Source notes #

Annotations retained from the schema source

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

Maxim MAX77686 Power Management IC

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/maxim,max77686.yaml#"

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

Maintainers (maintainers): "Chanwoo Choi <cw00.choi@samsung.com>", "Krzysztof Kozlowski <krzk@kernel.org>"

This is a part of device tree bindings for Maxim MAX77686 Power Management Integrated Circuit (PMIC).

The Maxim MAX77686 is a Power Management IC which includes voltage and current regulators, RTC and clock outputs.

The MAX77686 provides three 32.768khz clock outputs that can be controlled (gated/ungated) over I2C. The clock IDs are defined as preprocessor macros in dt-bindings/clock/maxim,max77686.h.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "maxim,max77686"

#clock-cells — required here #

Exact value (const): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

reg — required here #

Maximum number of items (maxItems): 1

voltage-regulators — not listed as required here #

Shared schema rule ($ref): /schemas/regulator/maxim,max77686.yaml

List of child nodes that specify the regulators.

wakeup-source — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "#clock-cells", "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    max77686: pmic@9 {
        compatible = "maxim,max77686";
        reg = <0x09>;

        interrupt-parent = <&gpx0>;
        interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
        pinctrl-0 = <&max77686_irq>;
        pinctrl-names = "default";
        wakeup-source;
        #clock-cells = <1>;

        voltage-regulators {
            LDO1 {
                regulator-name = "VALIVE_1.0V_AP";
                regulator-min-microvolt = <1000000>;
                regulator-max-microvolt = <1000000>;
                regulator-always-on;
            };

            LDO2 {
                regulator-name = "VM1M2_1.2V_AP";
                regulator-min-microvolt = <1200000>;
                regulator-max-microvolt = <1200000>;
                regulator-always-on;
                regulator-state-mem {
                    regulator-on-in-suspend;
                };
            };

            // ...

            LDO22 {
                regulator-name = "VMEM_VDD_2.8V";
                regulator-min-microvolt = <2800000>;
                regulator-max-microvolt = <2800000>;
                maxim,ena-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
            };

            // ...

            BUCK1 {
                regulator-name = "VDD_MIF";
                regulator-min-microvolt = <850000>;
                regulator-max-microvolt = <1100000>;
                regulator-always-on;
                regulator-boot-on;
                regulator-state-mem {
                    regulator-off-in-suspend;
                };
            };

            BUCK2 {
                regulator-name = "VDD_ARM";
                regulator-min-microvolt = <850000>;
                regulator-max-microvolt = <1500000>;
                regulator-always-on;
                regulator-boot-on;
                regulator-state-mem {
                    regulator-on-in-suspend;
                };
            };

            // ...

            BUCK9 {
                regulator-name = "CAM_ISP_CORE_1.2V";
                regulator-min-microvolt = <1000000>;
                regulator-max-microvolt = <1200000>;
                maxim,ena-gpios = <&gpm0 3 GPIO_ACTIVE_HIGH>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Maxim MAX77693 MicroUSB and Companion Power Management IC

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/maxim,max77693.yaml#"

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

Maintainers (maintainers): "Chanwoo Choi <cw00.choi@samsung.com>", "Krzysztof Kozlowski <krzk@kernel.org>"

This is a part of device tree bindings for Maxim MAX77693 MicroUSB Integrated Circuit (MUIC).

The Maxim MAX77693 is a MicroUSB and Companion Power Management IC which includes voltage current regulators, charger, LED/flash, haptic motor driver and MicroUSB management IC.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "maxim,max77693"

interrupts — required here #

Maximum number of items (maxItems): 1

reg — required here #

Maximum number of items (maxItems): 1

charger — not listed as required here #

Shared schema rule ($ref): /schemas/power/supply/maxim,max77693.yaml

led — not listed as required here #

Shared schema rule ($ref): /schemas/leds/maxim,max77693.yaml

max77693-muic — not listed as required here #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Deprecated (deprecated): true

Properties and child nodes (properties) #

compatible — required here

Exact value (const): "maxim,max77693-muic"

Required in this object (required): "compatible"

muic — not listed as required here #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

compatible — required here

Exact value (const): "maxim,max77693-muic"

connector — not listed as required here

Shared schema rule ($ref): /schemas/connector/usb-connector.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Required in this object (required): "compatible"

motor-driver — not listed as required here #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

compatible — required here

Exact value (const): "maxim,max77693-haptic"

haptic-supply — required here

Power supply to the haptic motor

pwms — required here

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "haptic-supply", "pwms"

regulators — not listed as required here #

Shared schema rule ($ref): /schemas/regulator/maxim,max77693.yaml

List of child nodes that specify the regulators.

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

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>
#include <dt-bindings/leds/common.h>

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    pmic@66 {
        compatible = "maxim,max77693";
        reg = <0x66>;
        interrupt-parent = <&gpx1>;
        interrupts = <5 IRQ_TYPE_LEVEL_LOW>;

        regulators {
            ESAFEOUT1 {
                regulator-name = "ESAFEOUT1";
            };

            ESAFEOUT2 {
                regulator-name = "ESAFEOUT2";
            };

            CHARGER {
                regulator-name = "CHARGER";
                regulator-min-microamp = <60000>;
                regulator-max-microamp = <2580000>;
            };
        };

        muic {
            compatible = "maxim,max77693-muic";

            connector {
                compatible = "samsung,usb-connector-11pin",
                             "usb-b-connector";
                label = "micro-USB";
                type = "micro";

                ports {
                    #address-cells = <1>;
                    #size-cells = <0>;

                    port@0 {
                        reg = <0>;

                        muic_to_usb: endpoint {
                            remote-endpoint = <&usb_to_muic>;
                        };
                    };

                    port@3 {
                        reg = <3>;

                        muic_to_mhl: endpoint {
                            remote-endpoint = <&mhl_to_muic>;
                        };
                    };
                };
            };
        };

        motor-driver {
            compatible = "maxim,max77693-haptic";
            haptic-supply = <&ldo26_reg>;
            pwms = <&pwm 0 38022 0>;
        };

        charger {
            compatible = "maxim,max77693-charger";

            maxim,constant-microvolt = <4350000>;
            maxim,min-system-microvolt = <3600000>;
            maxim,thermal-regulation-celsius = <100>;
            maxim,battery-overcurrent-microamp = <3500000>;
            maxim,charge-input-threshold-microvolt = <4300000>;
        };

        led {
            compatible = "maxim,max77693-led";
            maxim,boost-mode = <LEDS_BOOST_FIXED>;
            maxim,boost-mvout = <5000>;
            maxim,mvsys-min = <2400>;

            flash-led {
                label = "max77693-flash";
                function = LED_FUNCTION_FLASH;
                color = <LED_COLOR_ID_WHITE>;
                led-sources = <0>, <1>;
                led-max-microamp = <500000>;
                flash-max-microamp = <1250000>;
                flash-max-timeout-us = <1000000>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only

Maxim MAX77705 Companion Power Management and USB Type-C interface

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/maxim,max77705.yaml#"

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

Maintainers (maintainers): "Dzmitry Sankouski <dsankouski@gmail.com>"

This is a part of device tree bindings for Maxim MAX77705.

Maxim MAX77705 is a Companion Power Management and Type-C interface IC which includes charger, fuelgauge, LED, haptic motor driver and Type-C management.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "maxim,max77705"

reg — not listed as required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

interrupt-controller — not listed as required here #

The driver implements an interrupt controller for the sub devices. The interrupt number mapping is as follows 0 - charger 1 - topsys 2 - fuelgauge 3 - usb type-c management block.

#interrupt-cells — not listed as required here #

Exact value (const): 1

haptic — not listed as required here #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

compatible — required here

Exact value (const): "maxim,max77705-haptic"

haptic-supply — required here

true — No constraints added by this property rule.

pwms — required here

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "haptic-supply", "pwms"

leds — not listed as required here #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Up to 4 LED channels supported.

Properties and child nodes (properties) #

compatible — required here

Exact value (const): "maxim,max77705-rgb"

#address-cells — not listed as required here

Exact value (const): 1

#size-cells — not listed as required here

Exact value (const): 0

multi-led — not listed as required here

Value type (type): "object"

Shared schema rule ($ref): /schemas/leds/leds-class-multicolor.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties and child nodes (properties)

#address-cells — not listed as required here

Exact value (const): 1

#size-cells — not listed as required here

Exact value (const): 0

Properties matching a name pattern (patternProperties)

^led@[0-3]$ — name matches this regular expression

Value type (type): "object"

Shared schema rule ($ref): /schemas/leds/common.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties and child nodes (properties)

reg — required here

Maximum number of items (maxItems): 1

Required in this object (required): "reg"

Properties matching a name pattern (patternProperties) #

^led@[0-3]$ — name matches this regular expression

Value type (type): "object"

Shared schema rule ($ref): /schemas/leds/common.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties and child nodes (properties)

reg — required here

Maximum number of items (maxItems): 1

Required in this object (required): "reg"

Required in this object (required): "compatible"

Required in this object (required): "compatible"

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>
#include <dt-bindings/leds/common.h>

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    pmic@66 {
        compatible = "maxim,max77705";
        reg = <0x66>;
        #interrupt-cells = <1>;
        interrupt-parent = <&pm8998_gpios>;
        interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
        interrupt-controller;
        pinctrl-0 = <&chg_int_default>;
        pinctrl-names = "default";

        leds {
            compatible = "maxim,max77705-rgb";

            multi-led {
                color = <LED_COLOR_ID_RGB>;
                function = LED_FUNCTION_STATUS;
                #address-cells = <1>;
                #size-cells = <0>;

                led@1 {
                    reg = <1>;
                    color = <LED_COLOR_ID_RED>;
                };

                led@2 {
                    reg = <2>;
                    color = <LED_COLOR_ID_GREEN>;
                };

                led@3 {
                    reg = <3>;
                    color = <LED_COLOR_ID_BLUE>;
                };
            };
        };

        haptic {
            compatible = "maxim,max77705-haptic";
            haptic-supply = <&vib_regulator>;
            pwms = <&vib_pwm 0 50000>;
        };
    };
};

Source notes #

Annotations retained from the schema source

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

MAX77714 PMIC with GPIO, RTC and watchdog from Maxim Integrated.

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/maxim,max77714.yaml#"

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

Maintainers (maintainers): "Luca Ceresoli <luca.ceresoli@bootlin.com>"

MAX77714 is a Power Management IC with 4 buck regulators, 9 low-dropout regulators, 8 GPIOs, RTC and watchdog.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "maxim,max77714"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

interrupt-controller — required here #

true — No constraints added by this property rule.

#interrupt-cells — required here #

Exact value (const): 2

The first cell is the IRQ number, the second cell is the trigger type.

regulators — not listed as required here #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties matching a name pattern (patternProperties) #

^(buck[0-3]|ldo[0-8])$ — name matches this regular expression

Value type (type): "object"

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Required in this object (required): "compatible", "reg", "interrupts", "interrupt-controller", "#interrupt-cells"

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>
i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    pmic@1c {
        compatible = "maxim,max77714";
        reg = <0x1c>;
        interrupt-parent = <&gpio2>;
        interrupts = <3 IRQ_TYPE_LEVEL_LOW>;

        interrupt-controller;
        #interrupt-cells = <2>;
    };
};

Source notes #

Annotations retained from the schema source

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

Maxim Integrated MAX77759 PMIC for USB Type-C applications

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/maxim,max77759.yaml#"

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

Maintainers (maintainers): "André Draszik <andre.draszik@linaro.org>"

This is a part of device tree bindings for the MAX77759 companion Power Management IC for USB Type-C applications.

The MAX77759 includes Battery Charger, Fuel Gauge, temperature sensors, USB Type-C Port Controller (TCPC), NVMEM, and a GPIO expander.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "maxim,max77759"

interrupts — required here #

Maximum number of items (maxItems): 1

interrupt-controller — not listed as required here #

true — No constraints added by this property rule.

#interrupt-cells — not listed as required here #

Exact value (const): 2

reg — required here #

Maximum number of items (maxItems): 1

gpio — not listed as required here #

Shared schema rule ($ref): /schemas/gpio/maxim,max77759-gpio.yaml

nvmem-0 — not listed as required here #

Shared schema rule ($ref): /schemas/nvmem/maxim,max77759-nvmem.yaml

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

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>

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    pmic@66 {
        compatible = "maxim,max77759";
        reg = <0x66>;
        interrupts-extended = <&gpa8 3 IRQ_TYPE_LEVEL_LOW>;

        interrupt-controller;
        #interrupt-cells = <2>;

        gpio {
            compatible = "maxim,max77759-gpio";

            gpio-controller;
            #gpio-cells = <2>;

            interrupt-controller;
            #interrupt-cells = <2>;
        };

        nvmem-0 {
            compatible = "maxim,max77759-nvmem";

            nvmem-layout {
                compatible = "fixed-layout";
                #address-cells = <1>;
                #size-cells = <1>;

                reboot-mode@0 {
                    reg = <0x0 0x4>;
                };

                boot-reason@4 {
                    reg = <0x4 0x4>;
                };

                shutdown-user-flag@8 {
                    reg = <0x8 0x1>;
                };

                rsoc@10 {
                    reg = <0xa 0x2>;
                };
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Maxim MAX77802 Power Management IC

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/maxim,max77802.yaml#"

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

Maintainers (maintainers): "Javier Martinez Canillas <javier@dowhile0.org>", "Krzysztof Kozlowski <krzk@kernel.org>"

This is a part of device tree bindings for Maxim MAX77802 Power Management Integrated Circuit (PMIC).

The Maxim MAX77802 is a Power Management IC which includes voltage and current regulators (10 high efficiency Buck regulators and 32 Low-DropOut (LDO)), RTC and clock outputs.

The MAX77802 provides two 32.768khz clock outputs that can be controlled (gated/ungated) over I2C. The clock IDs are defined as preprocessor macros in dt-bindings/clock/maxim,max77802.h.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "maxim,max77802"

#clock-cells — required here #

Exact value (const): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

reg — required here #

Maximum number of items (maxItems): 1

regulators — not listed as required here #

Shared schema rule ($ref): /schemas/regulator/maxim,max77802.yaml

List of child nodes that specify the regulators.

inb1-supply — not listed as required here #

Power supply for buck1

inb2-supply — not listed as required here #

Power supply for buck2

inb3-supply — not listed as required here #

Power supply for buck3

inb4-supply — not listed as required here #

Power supply for buck4

inb5-supply — not listed as required here #

Power supply for buck5

inb6-supply — not listed as required here #

Power supply for buck6

inb7-supply — not listed as required here #

Power supply for buck7

inb8-supply — not listed as required here #

Power supply for buck8

inb9-supply — not listed as required here #

Power supply for buck9

inb10-supply — not listed as required here #

Power supply for buck10

inl1-supply — not listed as required here #

Power supply for LDO8, LDO15

inl2-supply — not listed as required here #

Power supply for LDO17, LDO27, LDO30, LDO35

inl3-supply — not listed as required here #

Power supply for LDO3, LDO5, LDO7, LDO7

inl4-supply — not listed as required here #

Power supply for LDO10, LDO11, LDO13, LDO14

inl5-supply — not listed as required here #

Power supply for LDO9, LDO19

inl6-supply — not listed as required here #

Power supply for LDO4, LDO21, LDO24, LDO33

inl7-supply — not listed as required here #

Power supply for LDO18, LDO20, LDO28, LDO29

inl9-supply — not listed as required here #

Power supply for LDO12, LDO23, LDO25, LDO26, LDO32, LDO34

inl10-supply — not listed as required here #

Power supply for LDO1, LDO2

wakeup-source — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "#clock-cells", "reg"

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>
#include <dt-bindings/regulator/maxim,max77802.h>

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    pmic@9 {
        compatible = "maxim,max77802";
        interrupt-parent = <&gpx3>;
        interrupts = <1 IRQ_TYPE_NONE>;
        pinctrl-names = "default";
        pinctrl-0 = <&max77802_irq>, <&pmic_selb>,
                    <&pmic_dvs_1>, <&pmic_dvs_2>, <&pmic_dvs_3>;
        wakeup-source;
        reg = <0x9>;
        #clock-cells = <1>;

        inb1-supply = <&tps65090_dcdc2>;
        inb2-supply = <&tps65090_dcdc1>;
        inb3-supply = <&tps65090_dcdc2>;
        inb4-supply = <&tps65090_dcdc2>;
        inb5-supply = <&tps65090_dcdc1>;
        inb6-supply = <&tps65090_dcdc2>;
        inb7-supply = <&tps65090_dcdc1>;
        inb8-supply = <&tps65090_dcdc1>;
        inb9-supply = <&tps65090_dcdc1>;
        inb10-supply = <&tps65090_dcdc1>;

        inl1-supply = <&buck5_reg>;
        inl2-supply = <&buck7_reg>;
        inl3-supply = <&buck9_reg>;
        inl4-supply = <&buck9_reg>;
        inl5-supply = <&buck9_reg>;
        inl6-supply = <&tps65090_dcdc2>;
        inl7-supply = <&buck9_reg>;
        inl9-supply = <&tps65090_dcdc2>;
        inl10-supply = <&buck7_reg>;

        regulators {
            BUCK1 {
                regulator-name = "vdd_mif";
                regulator-min-microvolt = <800000>;
                regulator-max-microvolt = <1300000>;
                regulator-always-on;
                regulator-boot-on;
                regulator-ramp-delay = <12500>;
                regulator-state-mem {
                    regulator-off-in-suspend;
                };
            };

            BUCK2 {
                regulator-name = "vdd_arm";
                regulator-min-microvolt = <800000>;
                regulator-max-microvolt = <1500000>;
                regulator-always-on;
                regulator-boot-on;
                regulator-ramp-delay = <12500>;
                regulator-coupled-with = <&buck3_reg>;
                regulator-coupled-max-spread = <300000>;
                regulator-state-mem {
                    regulator-off-in-suspend;
                };
            };

            // ...

            BUCK10 {
                regulator-name = "vdd_1v8";
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <1800000>;
                regulator-always-on;
                regulator-boot-on;
                regulator-state-mem {
                    regulator-on-in-suspend;
                };
            };

            LDO1 {
                regulator-name = "vdd_1v0";
                regulator-min-microvolt = <1000000>;
                regulator-max-microvolt = <1000000>;
                regulator-always-on;
                regulator-initial-mode = <MAX77802_OPMODE_NORMAL>;
                regulator-state-mem {
                    regulator-on-in-suspend;
                    regulator-mode = <MAX77802_OPMODE_LP>;
                };
            };

            // ...

            LDO35 {
                regulator-name = "ldo_35";
                regulator-min-microvolt = <1200000>;
                regulator-max-microvolt = <1200000>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only

Maxim MAX77843 MicroUSB and Companion Power Management IC

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/maxim,max77843.yaml#"

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

Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"

This is a part of device tree bindings for Maxim MAX77843 MicroUSB Integrated Circuit (MUIC).

The Maxim MAX77843 is a MicroUSB and Companion Power Management IC which includes voltage current regulators, charger, fuel-gauge, haptic motor driver and MicroUSB management IC.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "maxim,max77843"

interrupts — required here #

Maximum number of items (maxItems): 1

reg — required here #

Maximum number of items (maxItems): 1

extcon — not listed as required here #

Shared schema rule ($ref): /schemas/extcon/maxim,max77843.yaml

motor-driver — not listed as required here #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

compatible — required here

Exact value (const): "maxim,max77843-haptic"

haptic-supply — required here

Power supply to the haptic motor

pwms — required here

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "haptic-supply", "pwms"

regulators — not listed as required here #

Shared schema rule ($ref): /schemas/regulator/maxim,max77843.yaml

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

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>

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    pmic@66 {
        compatible = "maxim,max77843";
        interrupt-parent = <&gpa1>;
        interrupts = <5 IRQ_TYPE_EDGE_FALLING>;
        reg = <0x66>;

        extcon {
            compatible = "maxim,max77843-muic";

            connector {
                compatible = "samsung,usb-connector-11pin",
                             "usb-b-connector";
                label = "micro-USB";
                type = "micro";

                ports {
                    #address-cells = <1>;
                    #size-cells = <0>;

                    port@0 {
                        /*
                         * TODO: The DTS this is based on does not have
                         * port@0 which is a required property. The ports
                         * look incomplete and need fixing.
                         * Add a disabled port just to satisfy dtschema.
                         */
                        reg = <0>;
                        status = "disabled";
                    };

                    port@3 {
                        reg = <3>;
                        endpoint {
                            remote-endpoint = <&mhl_to_musb_con>;
                        };
                    };
                };
            };

            ports {
                port {
                    endpoint {
                        remote-endpoint = <&usb_to_muic>;
                    };
                };
            };
        };

        regulators {
            compatible = "maxim,max77843-regulator";

            SAFEOUT1 {
                regulator-name = "SAFEOUT1";
                regulator-min-microvolt = <3300000>;
                regulator-max-microvolt = <4950000>;
            };

            SAFEOUT2 {
                regulator-name = "SAFEOUT2";
                regulator-min-microvolt = <3300000>;
                regulator-max-microvolt = <4950000>;
            };

            CHARGER {
                regulator-name = "CHARGER";
                regulator-min-microamp = <100000>;
                regulator-max-microamp = <3150000>;
            };
        };

        motor-driver {
            compatible = "maxim,max77843-haptic";
            haptic-supply = <&ldo38_reg>;
            pwms = <&pwm 0 33670 0>;
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only

MAX8925 PMIC from Maxim Integrated.

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/maxim,max8925.yaml#"

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

Maintainers (maintainers): "Lee Jones <lee@kernel.org>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "maxim,max8925"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

interrupt-controller — required here #

true — No constraints added by this property rule.

#interrupt-cells — required here #

Exact value (const): 1

The cell is the IRQ number

maxim,tsc-irq — not listed as required here #

second interrupt from max8925

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

regulators — required here #

Value type (type): "object"

Properties matching a name pattern (patternProperties) #

^SDV[1-3]$|^LDO[1-9]$|^LDO1[0-9]$|^LDO20$ — name matches this regular expression

regulator configuration for SDV1-3 and LDO1-20

Shared schema rule ($ref): /schemas/regulator/regulator.yaml

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

backlight — not listed as required here #

Value type (type): "object"

Properties and child nodes (properties) #

maxim,max8925-dual-string — not listed as required here

set to 1 to support dual string

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 1

Default value (default): 0

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

charger — not listed as required here #

Value type (type): "object"

Properties and child nodes (properties) #

batt-detect — not listed as required here

set to 1 if battery detection via ID pin is supported

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 1

Default value (default): 0

topoff-threshold — not listed as required here

charging current in topoff mode, configures bits 5-6 in CHG_CNTL1

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Minimum value (minimum): 0

Maximum value (maximum): 3

Default value (default): 0

fast-charge — not listed as required here

set charging current in fast mode, configures bits 0-3 in CHG_CNTL1

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Minimum value (minimum): 0

Maximum value (maximum): 7

Default value (default): 0

no-temp-support — not listed as required here

set to 1 if temperature sensing is not supported

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 1

Default value (default): 0

no-insert-detect — not listed as required here

set to 1 if AC detection is not supported

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 1

Default value (default): 0

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "interrupts", "interrupt-controller", "#interrupt-cells", "regulators"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    pmic@3c {
        compatible = "maxim,max8925";
        reg = <0x3c>;
        interrupts = <1>;
        interrupt-parent = <&intcmux4>;
        interrupt-controller;
        #interrupt-cells = <1>;
        maxim,tsc-irq = <0>;

        regulators {
            SDV1 {
                regulator-min-microvolt = <637500>;
                regulator-max-microvolt = <1425000>;
                regulator-boot-on;
                regulator-always-on;
            };

            LDO1 {
                regulator-min-microvolt = <750000>;
                regulator-max-microvolt = <3900000>;
                regulator-boot-on;
                regulator-always-on;
            };
        };

        backlight {
            maxim,max8925-dual-string = <0>;
        };

        charger {
            batt-detect = <0>;
            topoff-threshold = <1>;
            fast-charge = <7>;
            no-temp-support = <0>;
            no-insert-detect = <0>;
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Maxim MAX8998, National/TI LP3974 Power Management IC

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/maxim,max8998.yaml#"

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

Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"

The Maxim MAX8998 is a Power Management IC which includes voltage/current regulators, real time clock, battery charging controller and several other sub-blocks. It is interfaced using an I2C interface. Each sub-block is addressed by the host system using different i2c slave address.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "maxim,max8998", "national,lp3974", "ti,lp3974"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Main interrupt

Item 2

Power-on/-off interrupt

max8998,pmic-buck1-dvs-gpios — not listed as required here #

Maximum number of items (maxItems): 2

Two host gpios used for buck1 DVS.

max8998,pmic-buck2-dvs-gpio — not listed as required here #

Maximum number of items (maxItems): 1

Host gpio used for buck2 DVS.

max8998,pmic-buck1-default-dvs-idx — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 1, 2, 3

Default value (default): 0

Default voltage setting selected from the possible 4 options selectable by the DVS gpios.

max8998,pmic-buck2-default-dvs-idx — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 1

Default value (default): 0

Default voltage setting selected from the possible 2 options selectable by the DVS GPIOs.

max8998,pmic-buck-voltage-lock — not listed as required here #

Value type (type): "boolean"

If present, disallows changing of preprogrammed buck DVS voltages.

max8998,pmic-buck1-dvs-voltage — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array

Maximum number of items (maxItems): 4

Four voltage values in microvolts for buck1 regulator that can be selected using DVS GPIO.

max8998,pmic-buck2-dvs-voltage — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array

Maximum number of items (maxItems): 2

Two voltage values in microvolts for buck2 regulator that can be selected using DVS GPIO.

regulators — required here #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

CHARGER — not listed as required here

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

CHARGER is main battery charger current control, wrongly represented as regulator.

Properties and child nodes (properties)

regulator-min-microamp — not listed as required here

Minimum value (minimum): 90000

Maximum value (maximum): 800000

regulator-max-microamp — not listed as required here

Minimum value (minimum): 90000

Maximum value (maximum): 800000

regulator-min-microvolt — not listed as required here

false — Not permitted by this property rule.

regulator-max-microvolt — not listed as required here

false — Not permitted by this property rule.

Required in this object (required): "regulator-name"

Properties matching a name pattern (patternProperties) #

^(LDO([2-9]|1[0-7])|BUCK[1-4])$ — name matches this regular expression

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Required in this object (required): "regulator-name"

^(EN32KHz-AP|EN32KHz-CP|ENVICHG|ESAFEOUT[12])$ — name matches this regular expression

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

EN32KHz-AP and EN32KHz-CP are 32768 Hz clocks, wrongly represented as regulators. ENVICHG is a Battery Charging Current Monitor Output.

Properties and child nodes (properties)

regulator-min-microvolt — not listed as required here

false — Not permitted by this property rule.

regulator-max-microvolt — not listed as required here

false — Not permitted by this property rule.

Required in this object (required): "regulator-name"

Property dependencies (dependencies) #

max8998,pmic-buck1-dvs-gpios — applies when this property is present #

Also requires: "max8998,pmic-buck1-dvs-voltage"

max8998,pmic-buck2-dvs-gpio — applies when this property is present #

Also requires: "max8998,pmic-buck2-dvs-voltage"

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

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    pmic@66 {
        compatible = "national,lp3974";
        reg = <0x66>;
        interrupts-extended = <&gpx0 7 IRQ_TYPE_LEVEL_LOW>,
                              <&gpx2 7 IRQ_TYPE_LEVEL_LOW>;
        pinctrl-names = "default";
        pinctrl-0 = <&lp3974_irq>;

        max8998,pmic-buck1-default-dvs-idx = <0>;
        max8998,pmic-buck1-dvs-gpios = <&gpx0 5 GPIO_ACTIVE_HIGH>,
                                       <&gpx0 6 GPIO_ACTIVE_HIGH>;
        max8998,pmic-buck1-dvs-voltage = <1100000>, <1000000>,
                                         <1100000>, <1000000>;
        max8998,pmic-buck2-default-dvs-idx = <0>;
        max8998,pmic-buck2-dvs-gpio = <&gpe2 0 GPIO_ACTIVE_HIGH>;
        max8998,pmic-buck2-dvs-voltage = <1200000>, <1100000>;

        regulators {
            LDO2 {
                regulator-name = "VALIVE_1.2V";
                regulator-min-microvolt = <1200000>;
                regulator-max-microvolt = <1200000>;
                regulator-always-on;
            };

            LDO3 {
                regulator-name = "VUSB+MIPI_1.1V";
                regulator-min-microvolt = <1100000>;
                regulator-max-microvolt = <1100000>;
                regulator-always-on;
            };

            LDO4 {
                regulator-name = "VADC_3.3V";
                regulator-min-microvolt = <3300000>;
                regulator-max-microvolt = <3300000>;
            };

            LDO5 {
                regulator-name = "VTF_2.8V";
                regulator-min-microvolt = <2800000>;
                regulator-max-microvolt = <2800000>;
            };

            LDO6 {
                regulator-name = "LDO6";
                regulator-min-microvolt = <2000000>;
                regulator-max-microvolt = <2000000>;
            };

            LDO7 {
                regulator-name = "VLCD+VMIPI_1.8V";
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <1800000>;
            };

            LDO8 {
                regulator-name = "VUSB+VDAC_3.3V";
                regulator-min-microvolt = <3300000>;
                regulator-max-microvolt = <3300000>;
                regulator-always-on;
            };

            LDO9 {
                regulator-name = "VCC_2.8V";
                regulator-min-microvolt = <2800000>;
                regulator-max-microvolt = <2800000>;
                regulator-always-on;
            };

            LDO10 {
                regulator-name = "VPLL_1.1V";
                regulator-min-microvolt = <1100000>;
                regulator-max-microvolt = <1100000>;
                regulator-boot-on;
                regulator-always-on;
            };

            LDO11 {
                regulator-name = "CAM_AF_3.3V";
                regulator-min-microvolt = <3300000>;
                regulator-max-microvolt = <3300000>;
            };

            LDO12 {
                regulator-name = "PS_2.8V";
                regulator-min-microvolt = <2800000>;
                regulator-max-microvolt = <2800000>;
            };

            LDO13 {
                regulator-name = "VHIC_1.2V";
                regulator-min-microvolt = <1200000>;
                regulator-max-microvolt = <1200000>;
            };

            LDO14 {
                regulator-name = "CAM_I_HOST_1.8V";
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <1800000>;
            };

            LDO15 {
                regulator-name = "CAM_S_DIG+FM33_CORE_1.2V";
                regulator-min-microvolt = <1200000>;
                regulator-max-microvolt = <1200000>;
            };

            LDO16 {
                regulator-name = "CAM_S_ANA_2.8V";
                regulator-min-microvolt = <2800000>;
                regulator-max-microvolt = <2800000>;
            };

            LDO17 {
                regulator-name = "VCC_3.0V_LCD";
                regulator-min-microvolt = <3000000>;
                regulator-max-microvolt = <3000000>;
            };

            BUCK1 {
                regulator-name = "VINT_1.1V";
                regulator-min-microvolt = <750000>;
                regulator-max-microvolt = <1500000>;
                regulator-boot-on;
                regulator-always-on;
            };

            BUCK2 {
                regulator-name = "VG3D_1.1V";
                regulator-min-microvolt = <750000>;
                regulator-max-microvolt = <1500000>;
                regulator-boot-on;
            };

            BUCK3 {
                regulator-name = "VCC_1.8V";
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <1800000>;
                regulator-always-on;
            };

            BUCK4 {
                regulator-name = "VMEM_1.2V";
                regulator-min-microvolt = <1200000>;
                regulator-max-microvolt = <1200000>;
                regulator-always-on;
            };

            EN32KHz-AP {
                regulator-name = "32KHz AP";
                regulator-always-on;
            };

            EN32KHz-CP {
                regulator-name = "32KHz CP";
            };

            ENVICHG {
                regulator-name = "VICHG";
            };

            ESAFEOUT1 {
                regulator-name = "SAFEOUT1";
            };

            ESAFEOUT2 {
                regulator-name = "SAFEOUT2";
                regulator-boot-on;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

MediaTek MT6357 PMIC

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/mediatek,mt6357.yaml#"

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

Maintainers (maintainers): "Flora Fu <flora.fu@mediatek.com>", "Alexandre Mergnat <amergnat@baylibre.com>"

MT6357 is a power management system chip containing 5 buck converters and 29 LDOs. Supported features are audio codec, USB battery charging, fuel gauge, RTC

This is a multifunction device with the following sub modules: - Regulator - RTC - Keys

It is interfaced to host controller using SPI interface by a proprietary hardware called PMIC wrapper or pwrap. This MFD is a child device of pwrap. See the following for pwrap node definitions: Documentation/devicetree/bindings/soc/mediatek/mediatek,pwrap.yaml

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "mediatek,mt6357"

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

interrupt-controller — not listed as required here #

true — No constraints added by this property rule.

#interrupt-cells — not listed as required here #

Exact value (const): 2

mediatek,hp-pull-down — not listed as required here #

Earphone driver positive output stage short to the audio reference ground.

Value type (type): "boolean"

mediatek,micbias0-microvolt — not listed as required here #

Selects MIC Bias 0 output voltage.

Allowed values (enum): 1700000, 1800000, 1900000, 2000000, 2100000, 2500000, 2600000, 2700000

Default value (default): 1700000

mediatek,micbias1-microvolt — not listed as required here #

Selects MIC Bias 1 output voltage.

Allowed values (enum): 1700000, 1800000, 1900000, 2000000, 2100000, 2500000, 2600000, 2700000

Default value (default): 1700000

regulators — required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/mediatek,mt6357-regulator.yaml

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

List of MT6357 BUCKs and LDOs regulators.

rtc — not listed as required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/rtc/rtc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

MT6357 Real Time Clock.

Properties and child nodes (properties) #

compatible — required here

Exact value (const): "mediatek,mt6357-rtc"

start-year — not listed as required here

true — No constraints added by this property rule.

Required in this object (required): "compatible"

keys — not listed as required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/input/mediatek,pmic-keys.yaml

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

MT6357 power and home keys.

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

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>

pwrap {
    pmic {
        compatible = "mediatek,mt6357";

        interrupt-parent = <&pio>;
        interrupts = <145 IRQ_TYPE_LEVEL_HIGH>;
        interrupt-controller;
        #interrupt-cells = <2>;

        mediatek,micbias0-microvolt = <1700000>;
        mediatek,micbias1-microvolt = <1700000>;

        regulators {
            mt6357_vproc_reg: buck-vproc {
                regulator-name = "vproc";
                regulator-min-microvolt = <518750>;
                regulator-max-microvolt = <1312500>;
                regulator-ramp-delay = <6250>;
                regulator-enable-ramp-delay = <220>;
                regulator-always-on;
            };

            // ...

            mt6357_vusb33_reg: ldo-vusb33 {
                regulator-name = "vusb33";
                regulator-min-microvolt = <3000000>;
                regulator-max-microvolt = <3100000>;
                regulator-enable-ramp-delay = <264>;
            };
        };

        rtc {
            compatible = "mediatek,mt6357-rtc";
        };

        keys {
            compatible = "mediatek,mt6357-keys";
        };
    };
};

Source notes #

Annotations retained from the schema source

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

MT6360 PMIC from MediaTek Integrated

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/mediatek,mt6360.yaml#"

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

Maintainers (maintainers): "Gene Chen <gene_chen@richtek.com>"

MT6360 is a PMIC device with the following sub modules. It is interfaced to host controller using I2C interface.

This document describes the binding for PMIC device and its sub module.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "mediatek,mt6360"

reg — required here #

Maximum number of items (maxItems): 1

wakeup-source — not listed as required here #

true — No constraints added by this property rule.

interrupts — required here #

Maximum number of items (maxItems): 1

interrupt-names — not listed as required here #

Exact value (const): "IRQB"

interrupt-controller — required here #

true — No constraints added by this property rule.

#interrupt-cells — required here #

Exact value (const): 1

The first cell is the IRQ number.

regulators — not listed as required here #

Shared schema rule ($ref): /schemas/regulator/mt6360-regulator.yaml#

charger — not listed as required here #

Shared schema rule ($ref): /schemas/power/supply/mt6360_charger.yaml#

tcpc — not listed as required here #

Shared schema rule ($ref): /schemas/usb/mediatek,mt6360-tcpc.yaml#

led-controller — not listed as required here #

Shared schema rule ($ref): /schemas/leds/leds-mt6360.yaml#

Required in this object (required): "compatible", "reg", "interrupts", "interrupt-controller", "#interrupt-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

Value type (type): "object"

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/regulator/mediatek,mt6360-regulator.h>
#include <dt-bindings/leds/common.h>
#include <dt-bindings/usb/pd.h>
i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    pmic@34 {
        compatible = "mediatek,mt6360";
        reg = <0x34>;
        wakeup-source;
        interrupts-extended = <&gpio26 0 IRQ_TYPE_LEVEL_LOW>;
        interrupt-names = "IRQB";
        interrupt-controller;
        #interrupt-cells = <1>;

        mt6360_charger: charger {
            compatible = "mediatek,mt6360-chg";
            richtek,vinovp-microvolt = <14500000>;

            otg_vbus_regulator: usb-otg-vbus-regulator {
                regulator-name = "usb-otg-vbus";
                regulator-min-microvolt = <4425000>;
                regulator-max-microvolt = <5825000>;
            };
        };

        led-controller {
            compatible = "mediatek,mt6360-led";
            #address-cells = <1>;
            #size-cells = <0>;

            multi-led@0 {
                reg = <0>;
                function = LED_FUNCTION_INDICATOR;
                color = <LED_COLOR_ID_RGB>;
                led-max-microamp = <24000>;
                #address-cells = <1>;
                #size-cells = <0>;
                led@0 {
                    reg = <0>;
                    color = <LED_COLOR_ID_RED>;
                };
                led@1 {
                    reg = <1>;
                    color = <LED_COLOR_ID_GREEN>;
                };
                led@2 {
                    reg = <2>;
                    color = <LED_COLOR_ID_BLUE>;
                };
            };
            led@3 {
                reg = <3>;
                function = LED_FUNCTION_INDICATOR;
                color = <LED_COLOR_ID_WHITE>;
                led-max-microamp = <150000>;
            };
            led@4 {
                reg = <4>;
                function = LED_FUNCTION_FLASH;
                color = <LED_COLOR_ID_WHITE>;
                function-enumerator = <1>;
                led-max-microamp = <200000>;
                flash-max-microamp = <500000>;
                flash-max-timeout-us = <1024000>;
            };
            led@5 {
                reg = <5>;
                function = LED_FUNCTION_FLASH;
                color = <LED_COLOR_ID_WHITE>;
                function-enumerator = <2>;
                led-max-microamp = <200000>;
                flash-max-microamp = <500000>;
                flash-max-timeout-us = <1024000>;
            };
        };

        regulators {
            compatible = "mediatek,mt6360-regulator";
            LDO_VIN3-supply = <&BUCK2>;
            buck1 {
                regulator-name = "mt6360,buck1";
                regulator-min-microvolt = <300000>;
                regulator-max-microvolt = <1300000>;
                regulator-allowed-modes = <MT6360_OPMODE_NORMAL
                     MT6360_OPMODE_LP
                     MT6360_OPMODE_ULP>;
            };
            BUCK2: buck2 {
                regulator-name = "mt6360,buck2";
                regulator-min-microvolt = <300000>;
                regulator-max-microvolt = <1300000>;
                regulator-allowed-modes = <MT6360_OPMODE_NORMAL
                     MT6360_OPMODE_LP
                     MT6360_OPMODE_ULP>;
            };
            ldo6 {
                regulator-name = "mt6360,ldo6";
                regulator-min-microvolt = <500000>;
                regulator-max-microvolt = <2100000>;
                regulator-allowed-modes = <MT6360_OPMODE_NORMAL
                     MT6360_OPMODE_LP>;
            };
            ldo7 {
                regulator-name = "mt6360,ldo7";
                regulator-min-microvolt = <500000>;
                regulator-max-microvolt = <2100000>;
                regulator-allowed-modes = <MT6360_OPMODE_NORMAL
                     MT6360_OPMODE_LP>;
            };
            ldo1 {
                regulator-name = "mt6360,ldo1";
                regulator-min-microvolt = <1200000>;
                regulator-max-microvolt = <3600000>;
                regulator-allowed-modes = <MT6360_OPMODE_NORMAL
                     MT6360_OPMODE_LP>;
            };
            ldo2 {
                regulator-name = "mt6360,ldo2";
                regulator-min-microvolt = <1200000>;
                regulator-max-microvolt = <3600000>;
                regulator-allowed-modes = <MT6360_OPMODE_NORMAL
                     MT6360_OPMODE_LP>;
            };
            ldo3 {
                regulator-name = "mt6360,ldo3";
                regulator-min-microvolt = <1200000>;
                regulator-max-microvolt = <3600000>;
                regulator-allowed-modes = <MT6360_OPMODE_NORMAL
                     MT6360_OPMODE_LP>;
            };
            ldo5 {
                regulator-name = "mt6360,ldo5";
                regulator-min-microvolt = <2700000>;
                regulator-max-microvolt = <3600000>;
                regulator-allowed-modes = <MT6360_OPMODE_NORMAL
                     MT6360_OPMODE_LP>;
            };
        };

        tcpc {
            compatible = "mediatek,mt6360-tcpc";
            interrupts-extended = <&gpio26 3 IRQ_TYPE_LEVEL_LOW>;
            interrupt-names = "PD_IRQB";

            connector {
                compatible = "usb-c-connector";
                label = "USB-C";
                data-role = "dual";
                power-role = "dual";
                try-power-role = "sink";
                source-pdos = <PDO_FIXED(5000, 1000, PDO_FIXED_DUAL_ROLE | PDO_FIXED_DATA_SWAP)>;
                sink-pdos = <PDO_FIXED(5000, 2000, PDO_FIXED_DUAL_ROLE | PDO_FIXED_DATA_SWAP)>;
                op-sink-microwatt = <10000000>;

                ports {
                    #address-cells = <1>;
                    #size-cells = <0>;

                    port@0 {
                        reg = <0>;
                        endpoint {
                            remote-endpoint = <&usb_hs>;
                        };
                    };
                    port@1 {
                        reg = <1>;
                        endpoint {
                            remote-endpoint = <&usb_ss>;
                      };
                    };
                    port@2 {
                        reg = <2>;
                        endpoint {
                            remote-endpoint = <&dp_aux>;
                        };
                    };
                };
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

MediaTek MT6370 SubPMIC

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/mediatek,mt6370.yaml#"

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

Maintainers (maintainers): "ChiYuan Huang <cy_huang@richtek.com>"

MT6370 is a highly-integrated smart power management IC, which includes a single cell Li-Ion/Li-Polymer switching battery charger, a USB Type-C & Power Delivery (PD) controller, dual flash LED current sources, a RGB LED driver, a backlight WLED driver, a display bias driver and a general LDO for portable devices.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "mediatek,mt6370"

reg — required here #

Maximum number of items (maxItems): 1

wakeup-source — not listed as required here #

true — No constraints added by this property rule.

interrupts — required here #

Maximum number of items (maxItems): 1

interrupt-controller — required here #

true — No constraints added by this property rule.

#interrupt-cells — required here #

Exact value (const): 1

adc — required here #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Provides 9 channels for system monitoring, including VBUSDIV5 (lower accuracy, higher measure range), VBUSDIV2 (higher accuracy, lower measure range), VBAT, VSYS, CHG_VDDP, TS_BAT, IBUS, IBAT, and TEMP_JC.

Properties and child nodes (properties) #

compatible — required here

Exact value (const): "mediatek,mt6370-adc"

#io-channel-cells — required here

Exact value (const): 1

Required in this object (required): "compatible", "#io-channel-cells"

backlight — required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/leds/backlight/mediatek,mt6370-backlight.yaml#

charger — required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/power/supply/mediatek,mt6370-charger.yaml#

tcpc — required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/usb/mediatek,mt6370-tcpc.yaml#

indicator — required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/leds/mediatek,mt6370-indicator.yaml#

flashlight — required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/leds/mediatek,mt6370-flashlight.yaml#

regulators — required here #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

List all supported regulators, which support the control for DisplayBias voltages and one general purpose LDO which commonly used to drive the vibrator.

Properties matching a name pattern (patternProperties) #

^(dsvbst|vibldo)$ — name matches this regular expression

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Value type (type): "object"

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

^(dsvpos|dsvneg)$ — name matches this regular expression

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Value type (type): "object"

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties and child nodes (properties)

enable-gpios — not listed as required here

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "interrupts", "interrupt-controller", "#interrupt-cells", "regulators", "adc", "backlight", "indicator", "tcpc", "charger", "flashlight"

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>
#include <dt-bindings/leds/common.h>
#include <dt-bindings/iio/adc/mediatek,mt6370_adc.h>
#include <dt-bindings/usb/pd.h>
i2c {
  #address-cells = <1>;
  #size-cells = <0>;

  pmic@34 {
    compatible = "mediatek,mt6370";
    reg = <0x34>;
    wakeup-source;
    interrupts-extended = <&gpio26 3 IRQ_TYPE_LEVEL_LOW>;
    interrupt-controller;
    #interrupt-cells = <1>;

    mt6370_adc: adc {
      compatible = "mediatek,mt6370-adc";
      #io-channel-cells = <1>;
    };

    backlight {
      compatible = "mediatek,mt6370-backlight";
      mediatek,bled-channel-use = /bits/ 8 <15>;
    };

    charger {
      compatible = "mediatek,mt6370-charger";
      interrupts = <68>, <48>, <6>;
      interrupt-names = "uvp_d_evt", "attach_i", "mivr";
      io-channels = <&mt6370_adc MT6370_CHAN_IBUS>;

      mt6370_otg_vbus: usb-otg-vbus-regulator {
        regulator-name = "mt6370-usb-otg-vbus";
        regulator-min-microvolt = <4350000>;
        regulator-max-microvolt = <5800000>;
        regulator-min-microamp = <500000>;
        regulator-max-microamp = <3000000>;
      };
    };

    indicator {
      compatible = "mediatek,mt6370-indicator";
      #address-cells = <1>;
      #size-cells = <0>;

      multi-led@0 {
        reg = <0>;
        function = LED_FUNCTION_INDICATOR;
        color = <LED_COLOR_ID_RGB>;
        led-max-microamp = <24000>;
        #address-cells = <1>;
        #size-cells = <0>;
        led@0 {
          reg = <0>;
          color = <LED_COLOR_ID_RED>;
        };
        led@1 {
          reg = <1>;
          color = <LED_COLOR_ID_GREEN>;
        };
        led@2 {
          reg = <2>;
          color = <LED_COLOR_ID_BLUE>;
        };
      };
      led@3 {
        reg = <3>;
        function = LED_FUNCTION_INDICATOR;
        color = <LED_COLOR_ID_WHITE>;
        led-max-microamp = <6000>;
      };
    };

    flashlight {
      compatible = "mediatek,mt6370-flashlight";
      #address-cells = <1>;
      #size-cells = <0>;
      led@0 {
        reg = <0>;
        led-sources = <0>;
        function = LED_FUNCTION_FLASH;
        color = <LED_COLOR_ID_WHITE>;
        function-enumerator = <1>;
        led-max-microamp = <200000>;
        flash-max-microamp = <500000>;
        flash-max-timeout-us = <1248000>;
      };
      led@1 {
        reg = <1>;
        led-sources = <1>;
        function = LED_FUNCTION_FLASH;
        color = <LED_COLOR_ID_WHITE>;
        function-enumerator = <2>;
        led-max-microamp = <200000>;
        flash-max-microamp = <500000>;
        flash-max-timeout-us = <1248000>;
      };
    };

    tcpc {
      compatible = "mediatek,mt6370-tcpc";
      interrupts-extended = <&gpio26 4 IRQ_TYPE_LEVEL_LOW>;

      connector {
        compatible = "usb-c-connector";
        label = "USB-C";
        vbus-supply = <&mt6370_otg_vbus>;
        data-role = "dual";
        power-role = "dual";
        try-power-role = "sink";
        source-pdos = <PDO_FIXED(5000, 1000, PDO_FIXED_DUAL_ROLE | PDO_FIXED_DATA_SWAP)>;
        sink-pdos = <PDO_FIXED(5000, 2000, PDO_FIXED_DUAL_ROLE | PDO_FIXED_DATA_SWAP)>;
        op-sink-microwatt = <10000000>;

        ports {
          #address-cells = <1>;
          #size-cells = <0>;

          port@0 {
            reg = <0>;
            endpoint {
              remote-endpoint = <&usb_hs>;
            };
          };
          port@1 {
            reg = <1>;
            endpoint {
              remote-endpoint = <&usb_ss>;
            };
          };
          port@2 {
            reg = <2>;
            endpoint {
              remote-endpoint = <&dp_aux>;
            };
          };
        };
      };
    };

    regulators {
      dsvbst {
        regulator-name = "mt6370-dsv-vbst";
        regulator-min-microvolt = <4000000>;
        regulator-max-microvolt = <6200000>;
      };
      dsvpos {
        regulator-name = "mt6370-dsv-vpos";
        regulator-min-microvolt = <4000000>;
        regulator-max-microvolt = <6000000>;
        regulator-boot-on;
      };
      dsvneg {
        regulator-name = "mt6370-dsv-vneg";
        regulator-min-microvolt = <4000000>;
        regulator-max-microvolt = <6000000>;
        regulator-boot-on;
      };
      vibldo {
        regulator-name = "mt6370-vib-ldo";
        regulator-min-microvolt = <1600000>;
        regulator-max-microvolt = <4000000>;
      };
    };
  };
};

Source notes #

Annotations retained from the schema source

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

MediaTek MT6397/MT6323 PMIC

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/mediatek,mt6397.yaml#"

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

Maintainers (maintainers): "Sen Chu <sen.chu@mediatek.com>", "Macpaul Lin <macpaul.lin@mediatek.com>"

MT6397/MT6323 is a power management system chip. Please see the sub-modules below for supported features.

MT6397/MT6323 is a multifunction device with the following sub modules: - Regulators - RTC - ADC - Audio codec - GPIO - Clock - LED - Keys - Power controller

It is interfaced to host controller using SPI interface by a proprietary hardware called PMIC wrapper or pwrap. MT6397/MT6323 PMIC is a child device of pwrap. See the following for pwrap node definitions: Documentation/devicetree/bindings/soc/mediatek/mediatek,pwrap.yaml

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "mediatek,mt6323", "mediatek,mt6331", "mediatek,mt6328", "mediatek,mt6358", "mediatek,mt6359", "mediatek,mt6397"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "mediatek,mt6366"

Item 2

Exact value (const): "mediatek,mt6358"

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

interrupt-controller — not listed as required here #

true — No constraints added by this property rule.

#interrupt-cells — not listed as required here #

Exact value (const): 2

rtc — not listed as required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/rtc/rtc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

MT6397 Real Time Clock.

Properties and child nodes (properties) #

compatible — required here

Exactly one of these rules must match (oneOf)

Rule 1

Allowed values (enum): "mediatek,mt6323-rtc", "mediatek,mt6331-rtc", "mediatek,mt6358-rtc", "mediatek,mt6397-rtc"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "mediatek,mt6366-rtc"

Item 2

Exact value (const): "mediatek,mt6358-rtc"

start-year — not listed as required here

true — No constraints added by this property rule.

Required in this object (required): "compatible"

regulators — required here #

Value type (type): "object"

List of child nodes that specify the regulators.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — required here

Exactly one of these rules must match (oneOf)

Rule 1

Allowed values (enum): "mediatek,mt6323-regulator", "mediatek,mt6328-regulator", "mediatek,mt6331-regulator", "mediatek,mt6358-regulator", "mediatek,mt6359-regulator", "mediatek,mt6397-regulator"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "mediatek,mt6366-regulator"

Item 2

Exact value (const): "mediatek,mt6358-regulator"

Required in this object (required): "compatible"

adc — not listed as required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/iio/adc/mediatek,mt6359-auxadc.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

audio-codec — not listed as required here #

Value type (type): "object"

Audio codec support with MT6358 and MT6397.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — required here

Exactly one of these rules must match (oneOf)

Rule 1

Allowed values (enum): "mediatek,mt6358-sound", "mediatek,mt6359-codec", "mediatek,mt6397-codec"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "mediatek,mt6366-sound"

Item 2

Exact value (const): "mediatek,mt6358-sound"

Required in this object (required): "compatible"

clocks — not listed as required here #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

This is a clock buffer node for mt6397. However, there are no sub nodes or any public document exposed in public.

Properties and child nodes (properties) #

compatible — required here

Exact value (const): "mediatek,mt6397-clk"

#clock-cells — not listed as required here

Exact value (const): 1

Required in this object (required): "compatible"

leds — not listed as required here #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

MT6323 LED controller is subfunction provided by MT6323 PMIC, so the LED controllers are defined as the subnode of the function node provided by MT6323 PMIC controller that is being defined as one kind of Muti-Function Device (MFD) using shared bus called PMIC wrapper for each subfunction to access remote MT6323 PMIC hardware.

Each led is represented as a child node of the mediatek,mt6323-led that describes the initial behavior for each LED physically and currently only four LED child nodes can be supported.

Properties and child nodes (properties) #

compatible — required here

Allowed values (enum): "mediatek,mt6323-led", "mediatek,mt6331-led", "mediatek,mt6332-led"

reg — not listed as required here

Maximum number of items (maxItems): 1

#address-cells — required here

Exact value (const): 1

#size-cells — required here

Exact value (const): 0

Properties matching a name pattern (patternProperties) #

^led@[0-3]$ — name matches this regular expression

Value type (type): "object"

Shared schema rule ($ref): /schemas/leds/common.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties and child nodes (properties)

reg — required here

LED channel number (0..3)

Minimum value (minimum): 0

Maximum value (maximum): 3

Required in this object (required): "reg"

Required in this object (required): "compatible", "#address-cells", "#size-cells"

keys — not listed as required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/input/mediatek,pmic-keys.yaml

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Power and Home keys.

power-controller — not listed as required here #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

The power controller which could be found on PMIC is responsible for externally powering off or on the remote MediaTek SoC through the circuit BBPU (baseband power up).

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "mediatek,mt6323-pwrc"

#power-domain-cells — not listed as required here

Exact value (const): 0

pinctrl — not listed as required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/pinctrl/mediatek,mt65xx-pinctrl.yaml

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Pin controller

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

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/leds/common.h>

pmic {
    compatible = "mediatek,mt6323";
    interrupt-parent = <&pio>;
    interrupts = <150 IRQ_TYPE_LEVEL_HIGH>;
    interrupt-controller;
    #interrupt-cells = <2>;

    leds {
        compatible = "mediatek,mt6323-led";
        #address-cells = <1>;
        #size-cells = <0>;
    };

    regulators {
        compatible = "mediatek,mt6323-regulator";

        buck_vproc {
            regulator-name = "vproc";
            regulator-min-microvolt = < 700000>;
            regulator-max-microvolt = <1350000>;
            regulator-ramp-delay = <12500>;
            regulator-always-on;
            regulator-boot-on;
        };

        buck_vsys {
            regulator-name = "vsys";
            regulator-min-microvolt = <1400000>;
            regulator-max-microvolt = <2987500>;
            regulator-ramp-delay = <25000>;
            regulator-always-on;
            regulator-boot-on;
        };

        buck_vpa {
            regulator-name = "vpa";
            regulator-min-microvolt = < 500000>;
            regulator-max-microvolt = <3650000>;
        };

        ldo_vtcxo {
            regulator-name = "vtcxo";
            regulator-min-microvolt = <2800000>;
            regulator-max-microvolt = <2800000>;
            regulator-enable-ramp-delay = <90>;
            regulator-always-on;
            regulator-boot-on;
        };

        ldo_vcn28 {
            regulator-name = "vcn28";
            regulator-min-microvolt = <2800000>;
            regulator-max-microvolt = <2800000>;
            regulator-enable-ramp-delay = <185>;
        };

        ldo_vcn33_bt {
            regulator-name = "vcn33_bt";
            regulator-min-microvolt = <3300000>;
            regulator-max-microvolt = <3600000>;
            regulator-enable-ramp-delay = <185>;
        };

        ldo_vcn33_wifi {
            regulator-name = "vcn33_wifi";
            regulator-min-microvolt = <3300000>;
            regulator-max-microvolt = <3600000>;
            regulator-enable-ramp-delay = <185>;
        };

        ldo_va {
            regulator-name = "va";
            regulator-min-microvolt = <2800000>;
            regulator-max-microvolt = <2800000>;
            regulator-enable-ramp-delay = <216>;
            regulator-always-on;
            regulator-boot-on;
        };

        ldo_vcama {
            regulator-name = "vcama";
            regulator-min-microvolt = <1500000>;
            regulator-max-microvolt = <2800000>;
            regulator-enable-ramp-delay = <216>;
        };

        ldo_vio28 {
            regulator-name = "vio28";
            regulator-min-microvolt = <2800000>;
            regulator-max-microvolt = <2800000>;
            regulator-enable-ramp-delay = <216>;
            regulator-always-on;
            regulator-boot-on;
        };

        ldo_vusb {
            regulator-name = "vusb";
            regulator-min-microvolt = <3300000>;
            regulator-max-microvolt = <3300000>;
            regulator-enable-ramp-delay = <216>;
            regulator-boot-on;
        };

        ldo_vmc {
            regulator-name = "vmc";
            regulator-min-microvolt = <1800000>;
            regulator-max-microvolt = <3300000>;
            regulator-enable-ramp-delay = <36>;
            regulator-boot-on;
        };

        ldo_vmch {
            regulator-name = "vmch";
            regulator-min-microvolt = <3000000>;
            regulator-max-microvolt = <3300000>;
            regulator-enable-ramp-delay = <36>;
            regulator-boot-on;
        };

        ldo_vemc3v3 {
            regulator-name = "vemc3v3";
            regulator-min-microvolt = <3000000>;
            regulator-max-microvolt = <3300000>;
            regulator-enable-ramp-delay = <36>;
            regulator-boot-on;
        };

        ldo_vgp1 {
            regulator-name = "vgp1";
            regulator-min-microvolt = <1200000>;
            regulator-max-microvolt = <3300000>;
            regulator-enable-ramp-delay = <216>;
        };

        ldo_vgp2 {
            regulator-name = "vgp2";
            regulator-min-microvolt = <1200000>;
            regulator-max-microvolt = <3000000>;
            regulator-enable-ramp-delay = <216>;
        };

        ldo_vgp3 {
            regulator-name = "vgp3";
            regulator-min-microvolt = <1200000>;
            regulator-max-microvolt = <1800000>;
            regulator-enable-ramp-delay = <216>;
        };

        ldo_vcn18 {
            regulator-name = "vcn18";
            regulator-min-microvolt = <1800000>;
            regulator-max-microvolt = <1800000>;
            regulator-enable-ramp-delay = <216>;
        };

        ldo_vsim1 {
            regulator-name = "vsim1";
            regulator-min-microvolt = <1800000>;
            regulator-max-microvolt = <3000000>;
            regulator-enable-ramp-delay = <216>;
        };

        ldo_vsim2 {
            regulator-name = "vsim2";
            regulator-min-microvolt = <1800000>;
            regulator-max-microvolt = <3000000>;
            regulator-enable-ramp-delay = <216>;
        };

        ldo_vrtc {
            regulator-name = "vrtc";
            regulator-min-microvolt = <2800000>;
            regulator-max-microvolt = <2800000>;
            regulator-always-on;
            regulator-boot-on;
        };

        ldo_vcamaf {
            regulator-name = "vcamaf";
            regulator-min-microvolt = <1200000>;
            regulator-max-microvolt = <3300000>;
            regulator-enable-ramp-delay = <216>;
        };

        ldo_vibr {
            regulator-name = "vibr";
            regulator-min-microvolt = <1200000>;
            regulator-max-microvolt = <3300000>;
            regulator-enable-ramp-delay = <36>;
        };

        ldo_vrf18 {
            regulator-name = "vrf18";
            regulator-min-microvolt = <1825000>;
            regulator-max-microvolt = <1825000>;
            regulator-enable-ramp-delay = <187>;
        };

        ldo_vm {
            regulator-name = "vm";
            regulator-min-microvolt = <1200000>;
            regulator-max-microvolt = <1800000>;
            regulator-enable-ramp-delay = <216>;
            regulator-always-on;
            regulator-boot-on;
        };

        ldo_vio18 {
            regulator-name = "vio18";
            regulator-min-microvolt = <1800000>;
            regulator-max-microvolt = <1800000>;
            regulator-enable-ramp-delay = <216>;
            regulator-always-on;
            regulator-boot-on;
        };

       ldo_vcamd {
            regulator-name = "vcamd";
            regulator-min-microvolt = <1200000>;
            regulator-max-microvolt = <1800000>;
            regulator-enable-ramp-delay = <216>;
        };

        ldo_vcamio {
            regulator-name = "vcamio";
            regulator-min-microvolt = <1800000>;
            regulator-max-microvolt = <1800000>;
            regulator-enable-ramp-delay = <216>;
        };
    };

    keys {
        compatible = "mediatek,mt6323-keys";
        mediatek,long-press-mode = <1>;
        power-off-time-sec = <0>;

        power {
            linux,keycodes = <116>;
            wakeup-source;
        };

        home {
            linux,keycodes = <114>;
        };
    };

    power-controller {
        compatible = "mediatek,mt6323-pwrc";
        #power-domain-cells = <0>;
    };

    rtc {
        compatible = "mediatek,mt6323-rtc";
    };
};
#include <dt-bindings/input/input.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

pmic {
    compatible = "mediatek,mt6358";
    interrupt-controller;
    #interrupt-cells = <2>;

    audio-codec {
        compatible = "mediatek,mt6358-sound";
        Avdd-supply = <&mt6358_vaud28_reg>;
        mediatek,dmic-mode = <0>;
    };

    regulators {
        compatible = "mediatek,mt6358-regulator";

        buck_vdram1 {
            regulator-name = "vdram1";
            regulator-min-microvolt = <500000>;
            regulator-max-microvolt = <2087500>;
            regulator-ramp-delay = <12500>;
            regulator-enable-ramp-delay = <0>;
            regulator-always-on;
            regulator-allowed-modes = <0 1>;
        };

        // ...

        ldo_vsim2 {
            regulator-name = "vsim2";
            regulator-min-microvolt = <1700000>;
            regulator-max-microvolt = <3100000>;
            regulator-enable-ramp-delay = <540>;
        };
    };

    rtc {
        compatible = "mediatek,mt6358-rtc";
    };

    keys {
        compatible = "mediatek,mt6358-keys";

        power {
            linux,keycodes = <KEY_POWER>;
            wakeup-source;
        };

        home {
            linux,keycodes = <KEY_HOME>;
        };
    };
};
#include <dt-bindings/interrupt-controller/arm-gic.h>

pmic {
    compatible = "mediatek,mt6397";

    interrupt-parent = <&pio>;
    interrupts-extended = <&pio 222 IRQ_TYPE_LEVEL_HIGH>;
    interrupt-controller;
    #interrupt-cells = <2>;

    audio-codec {
        compatible = "mediatek,mt6397-codec";
    };

    clocks {
        compatible = "mediatek,mt6397-clk";
        #clock-cells = <1>;
    };

    pinctrl {
        compatible = "mediatek,mt6397-pinctrl";
        gpio-controller;
        #gpio-cells = <2>;
    };

    regulators {
        compatible = "mediatek,mt6397-regulator";

        buck_vpca15 {
            regulator-name = "vpca15";
            regulator-min-microvolt = < 850000>;
            regulator-max-microvolt = <1350000>;
            regulator-ramp-delay = <12500>;
            regulator-enable-ramp-delay = <200>;
        };

        // ...

        ldo_vibr {
            regulator-name = "vibr";
            regulator-min-microvolt = <1200000>;
            regulator-max-microvolt = <3300000>;
            regulator-enable-ramp-delay = <218>;
        };
    };

    rtc {
        compatible = "mediatek,mt6397-rtc";
    };
};

Source notes #

Annotations retained from the schema source

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

Line 38: "mediatek,mt6331" for PMIC MT6331 and MT6332.

MediaTek System Control Processor System

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/mediatek,mt8195-scpsys.yaml#"

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

Maintainers (maintainers): "AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>", "Matthias Brugger <matthias.bgg@gmail.com>"

MediaTek System Control Processor System (SCPSYS) has several power management tasks. The tasks include MTCMOS power domain control, thermal measurement, DVFS, etc.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "mediatek,mt6795-scpsys", "mediatek,mt6893-scpsys", "mediatek,mt8167-scpsys", "mediatek,mt8173-scpsys", "mediatek,mt8183-scpsys", "mediatek,mt8186-scpsys", "mediatek,mt8188-scpsys", "mediatek,mt8192-scpsys", "mediatek,mt8195-scpsys", "mediatek,mt8365-scpsys"

Item 2

Exact value (const): "syscon"

Item 3

Exact value (const): "simple-mfd"

reg — required here #

Maximum number of items (maxItems): 1

power-controller — not listed as required here #

Shared schema rule ($ref): /schemas/power/mediatek,power-controller.yaml#

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

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/mt8195-clk.h>
#include <dt-bindings/power/mt8195-power.h>

syscon@10006000 {
  compatible = "mediatek,mt8195-scpsys", "syscon", "simple-mfd";
  reg = <0x10006000 0x100>;

  spm: power-controller {
    compatible = "mediatek,mt8195-power-controller";
    #address-cells = <1>;
    #size-cells = <0>;
    #power-domain-cells = <1>;

    /* sample of power domain nodes */
    power-domain@MT8195_POWER_DOMAIN_PCIE_PHY {
      reg = <MT8195_POWER_DOMAIN_PCIE_PHY>;
      #power-domain-cells = <0>;
    };

    power-domain@MT8195_POWER_DOMAIN_SSUSB_PCIE_PHY {
      reg = <MT8195_POWER_DOMAIN_SSUSB_PCIE_PHY>;
      #power-domain-cells = <0>;
    };
  };
};

Source notes #

Annotations retained from the schema source

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

MP2629 Battery Charger PMIC from Monolithic Power System.

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/mps,mp2629.yaml#"

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

Maintainers (maintainers): "Saravanan Sekar <sravanhome@gmail.com>"

MP2629 is a PMIC providing battery charging and power supply for smartphones, wireless camera and portable devices. Chip is controlled over I2C.

The battery charge management device handles battery charger controller and ADC IIO device for battery, system voltage

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "mps,mp2629", "mps,mp2733"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

interrupt-controller — required here #

true — No constraints added by this property rule.

#interrupt-cells — required here #

Exact value (const): 2

The first cell is the IRQ number, the second cell is the trigger type.

Required in this object (required): "compatible", "reg", "interrupts", "interrupt-controller", "#interrupt-cells"

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>
#include <dt-bindings/input/linux-event-codes.h>
i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    pmic@4b {
        compatible = "mps,mp2629";
        reg = <0x4b>;

        interrupt-controller;
        interrupt-parent = <&gpio2>;
        #interrupt-cells = <2>;
        interrupts = <3 IRQ_TYPE_LEVEL_HIGH>;
    };
};

Source notes #

Annotations retained from the schema source

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

Ocelot Externally-Controlled Ethernet Switch

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/mscc,ocelot.yaml#"

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

Maintainers (maintainers): "Colin Foster <colin.foster@in-advantage.com>"

The Ocelot ethernet switch family contains chips that have an internal CPU (VSC7513, VSC7514) and chips that don't (VSC7511, VSC7512). All switches have the option to be controlled externally via external interfaces like SPI or PCIe.

The switch family is a multi-port networking switch that supports many interfaces. Additionally, the device can perform pin control, MDIO buses, and external GPIO expanders.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "mscc,vsc7512"

reg — required here #

Maximum number of items (maxItems): 1

#address-cells — required here #

Exact value (const): 1

#size-cells — required here #

Exact value (const): 1

spi-max-frequency — not listed as required here #

Maximum number of items (maxItems): 1

Properties matching a name pattern (patternProperties) #

^pinctrl@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/pinctrl/mscc,ocelot-pinctrl.yaml

^gpio@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/pinctrl/microchip,sparx5-sgpio.yaml

Properties and child nodes (properties) #

compatible — not listed as required here

Allowed values (enum): "mscc,ocelot-sgpio"

^mdio@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/net/mscc,miim.yaml

Properties and child nodes (properties) #

compatible — not listed as required here

Allowed values (enum): "mscc,ocelot-miim"

^ethernet-switch@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/net/mscc,vsc7514-switch.yaml

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Allowed values (enum): "mscc,vsc7512-switch"

Required in this object (required): "compatible", "reg", "#address-cells", "#size-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

spi {
    #address-cells = <1>;
    #size-cells = <0>;

    soc@0 {
        compatible = "mscc,vsc7512";
        spi-max-frequency = <2500000>;
        reg = <0>;
        #address-cells = <1>;
        #size-cells = <1>;

        mdio@7107009c {
            compatible = "mscc,ocelot-miim";
            #address-cells = <1>;
            #size-cells = <0>;
            reg = <0x7107009c 0x24>;

            sw_phy0: ethernet-phy@0 {
                reg = <0x0>;
            };
        };

        mdio@710700c0 {
            compatible = "mscc,ocelot-miim";
            pinctrl-names = "default";
            pinctrl-0 = <&miim1_pins>;
            #address-cells = <1>;
            #size-cells = <0>;
            reg = <0x710700c0 0x24>;

            sw_phy4: ethernet-phy@4 {
                reg = <0x4>;
            };
        };

        gpio: pinctrl@71070034 {
            compatible = "mscc,ocelot-pinctrl";
            gpio-controller;
            #gpio-cells = <2>;
            gpio-ranges = <&gpio 0 0 22>;
            reg = <0x71070034 0x6c>;

            sgpio_pins: sgpio-pins {
                pins = "GPIO_0", "GPIO_1", "GPIO_2", "GPIO_3";
                function = "sg0";
            };

            miim1_pins: miim1-pins {
                pins = "GPIO_14", "GPIO_15";
                function = "miim";
            };
        };

        gpio@710700f8 {
            compatible = "mscc,ocelot-sgpio";
            #address-cells = <1>;
            #size-cells = <0>;
            bus-frequency = <12500000>;
            clocks = <&ocelot_clock>;
            microchip,sgpio-port-ranges = <0 15>;
            pinctrl-names = "default";
            pinctrl-0 = <&sgpio_pins>;
            reg = <0x710700f8 0x100>;

            sgpio_in0: gpio@0 {
                compatible = "microchip,sparx5-sgpio-bank";
                reg = <0>;
                gpio-controller;
                #gpio-cells = <3>;
                ngpios = <64>;
            };

            sgpio_out1: gpio@1 {
                compatible = "microchip,sparx5-sgpio-bank";
                reg = <1>;
                gpio-controller;
                #gpio-cells = <3>;
                ngpios = <64>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause */

Freescale MXS Low-Resolution ADC (LRADC)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/mxs-lradc.yaml#"

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

Maintainers (maintainers): "Dario Binacchi <dario.binacchi@amarulasolutions.com>"

The LRADC provides 16 physical channels of 12-bit resolution for analog-to-digital conversion and includes an integrated 4-wire/5-wire touchscreen controller.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "fsl,imx23-lradc", "fsl,imx28-lradc"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Minimum number of items (minItems): 1

interrupts — required here #

Minimum number of items (minItems): 9

Maximum number of items (maxItems): 13

fsl,lradc-touchscreen-wires — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 4, 5

Number of wires used to connect the touchscreen to LRADC. If this property is not present, then the touchscreen is disabled.

fsl,ave-ctrl — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Minimum value (minimum): 1

Maximum value (maximum): 32

Default value (default): 4

Number of samples per direction to calculate an average value.

fsl,ave-delay — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Minimum value (minimum): 2

Maximum value (maximum): 2048

Default value (default): 2

Delay between consecutive samples. It is used if 'fsl,ave-ctrl' > 1, counts at 2 kHz and its default value (2) is 1 ms.

fsl,settling — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Minimum value (minimum): 1

Maximum value (maximum): 2047

Default value (default): 10

Delay between plate switch to next sample. It counts at 2 kHz and its default (10) is 5 ms.

#io-channel-cells — not listed as required here #

Exact value (const): 1

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

Condition (if) #

Properties and child nodes (properties) #

compatible — not listed as required here #

Rule for matching array elements (contains)

Allowed values (enum): "fsl,imx23-lradc"

When the condition matches (then) #

Properties and child nodes (properties) #

interrupts — not listed as required here #

Array item rules (items)

Item 1

channel 0

Item 2

channel 1

Item 3

channel 2

Item 4

channel 3

Item 5

channel 4

Item 6

channel 5

Item 7

touchscreen

Item 8

channel 6

Item 9

channel 7

fsl,lradc-touchscreen-wires — not listed as required here #

Exact value (const): 4

When the condition does not match (else) #

Properties and child nodes (properties) #

interrupts — not listed as required here #

Array item rules (items)

Item 1

threshold 0

Item 2

threshold 1

Item 3

channel 0

Item 4

channel 1

Item 5

channel 2

Item 6

channel 3

Item 7

channel 4

Item 8

channel 5

Item 9

button 0

Item 10

button 1

Item 11

touchscreen

Item 12

channel 6

Item 13

channel 7

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

lradc@80050000 {
    compatible = "fsl,imx23-lradc";
    reg = <0x80050000 0x2000>;
    interrupts = <36>, <37>, <38>, <39>, <40>,
                 <41>, <42>, <43>, <44>;
    clocks = <&clks 26>;
    #io-channel-cells = <1>;
    fsl,lradc-touchscreen-wires = <4>;
    fsl,ave-ctrl = <4>;
    fsl,ave-delay = <2>;
    fsl,settling = <10>;
};

Source notes #

Annotations retained from the schema source

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

Netronix Embedded Controller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/netronix,ntxec.yaml#"

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

Maintainers (maintainers): "Jonathan Neuschäfer <j.neuschaefer@gmx.net>"

This EC is found in e-book readers of multiple brands (e.g. Kobo, Tolino), and is typically implemented as a TI MSP430 microcontroller.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "netronix,ntxec"

reg — required here #

Array item rules (items) #

Item 1

The I2C address of the EC

system-power-controller — not listed as required here #

Value type (type): "boolean"

See Documentation/devicetree/bindings/power/power-controller.txt

interrupts — not listed as required here #

Minimum number of items (minItems): 1

The EC can signal interrupts via a GPIO line

#pwm-cells — not listed as required here #

Exact value (const): 2

Number of cells in a PWM specifier.

The following PWM channels are supported:
  - 0: The PWM channel controlled by registers 0xa1-0xa7

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

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>
i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    ec: embedded-controller@43 {
            pinctrl-names = "default";
            pinctrl-0 = <&pinctrl_ntxec>;

            compatible = "netronix,ntxec";
            reg = <0x43>;
            system-power-controller;
            interrupt-parent = <&gpio4>;
            interrupts = <11 IRQ_TYPE_EDGE_FALLING>;
            #pwm-cells = <2>;
    };
};

Source notes #

Annotations retained from the schema source

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

NXP Battery-Backed Non-Secure Module

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/nxp,bbnsm.yaml#"

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

Maintainers (maintainers): "Jacky Bai <ping.bai@nxp.com>"

NXP BBNSM serves as non-volatile logic and storage for the system. it Intergrates RTC & ON/OFF control. The RTC can retain its state and continues counting even when the main chip is power down. A time alarm is generated once the most significant 32 bits of the real-time counter match the value in the Time Alarm register. The ON/OFF logic inside the BBNSM allows for connecting directly to a PMIC or other voltage regulator device. both smart PMIC mode and Dumb PMIC mode supported.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "nxp,imx93-bbnsm"

Item 2

Exact value (const): "syscon"

Item 3

Exact value (const): "simple-mfd"

reg — required here #

Maximum number of items (maxItems): 1

rtc — required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/rtc/rtc.yaml#

Properties and child nodes (properties) #

compatible — required here

Allowed values (enum): "nxp,imx93-bbnsm-rtc"

interrupts — required here

Maximum number of items (maxItems): 1

start-year — 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.

pwrkey — required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/input/input.yaml#

Properties and child nodes (properties) #

compatible — required here

Allowed values (enum): "nxp,imx93-bbnsm-pwrkey"

interrupts — required here

Maximum number of items (maxItems): 1

linux,code — 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.

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

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/input/linux-event-codes.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

bbnsm: bbnsm@44440000 {
    compatible = "nxp,imx93-bbnsm", "syscon", "simple-mfd";
    reg = <0x44440000 0x10000>;

    bbnsm_rtc: rtc {
        compatible = "nxp,imx93-bbnsm-rtc";
        interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
    };

    bbnsm_pwrkey: pwrkey {
        compatible = "nxp,imx93-bbnsm-pwrkey";
        interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
        linux,code = <KEY_POWER>;
    };
};

Source notes #

Annotations retained from the schema source

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

The NXP LPC18xx/43xx CREG (Configuration Registers) block

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/nxp,lpc1850-creg.yaml#"

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

Maintainers (maintainers): "Frank Li <Frank.Li@nxp.com>"

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "nxp,lpc1850-creg"

Item 2

Exact value (const): "syscon"

Item 3

Exact value (const): "simple-mfd"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

resets — required here #

Maximum number of items (maxItems): 1

clock-controller — not listed as required here #

Value type (type): "object"

The NXP LPC18xx/43xx CREG (Configuration Registers) block contains control registers for two low speed clocks. One of the clocks is a 32 kHz oscillator driver with power up/down and clock gating. Next is a fixed divider that creates a 1 kHz clock from the 32 kHz osc. These clocks are used by the RTC and the Event Router peripherals. The 32 kHz can also be routed to other peripherals to enable low power modes.

Properties and child nodes (properties) #

compatible — required here

Exact value (const): "nxp,lpc1850-creg-clk"

clocks — required here

Maximum number of items (maxItems): 1

#clock-cells — required here

Exact value (const): 1

0 1 kHz clock 1 32 kHz Oscillator

Required in this object (required): "compatible", "clocks", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

phy — not listed as required here #

Value type (type): "object"

the internal USB OTG PHY in NXP LPC18xx and LPC43xx SoCs

Properties and child nodes (properties) #

compatible — required here

Exact value (const): "nxp,lpc1850-usb-otg-phy"

clocks — required here

Maximum number of items (maxItems): 1

#phy-cells — required here

Exact value (const): 0

Required in this object (required): "compatible", "clocks", "#phy-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

dma-mux — not listed as required here #

Value type (type): "object"

NXP LPC18xx/43xx DMA MUX (DMA request router)

Properties and child nodes (properties) #

compatible — required here

Exact value (const): "nxp,lpc1850-dmamux"

#dma-cells — required here

Exact value (const): 3

Should be set to <3>. * 1st cell contain the master dma request signal * 2nd cell contain the mux value (0-3) for the peripheral * 3rd cell contain either 1 or 2 depending on the AHB master used.

dma-requests — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Maximum value (maximum): 64

Number of DMA requests the controller can handle

dma-masters — required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

phandle pointing to the DMA controller

Required in this object (required): "compatible", "#dma-cells", "dma-masters"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

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

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/lpc18xx-ccu.h>

syscon@40043000 {
    compatible = "nxp,lpc1850-creg", "syscon", "simple-mfd";
    reg = <0x40043000 0x1000>;
    clocks = <&ccu1 CLK_CPU_CREG>;
    resets = <&rgu 5>;

    clock-controller {
        compatible = "nxp,lpc1850-creg-clk";
        clocks = <&xtal32>;
        #clock-cells = <1>;
    };

    phy {
        compatible = "nxp,lpc1850-usb-otg-phy";
        clocks = <&ccu1 CLK_USB0>;
        #phy-cells = <0>;
    };

    dma-mux {
        compatible = "nxp,lpc1850-dmamux";
        #dma-cells = <3>;
        dma-requests = <64>;
        dma-masters = <&dmac>;
    };
};

Source notes #

Annotations retained from the schema source

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

NXP LPC32xx System Control Block

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/nxp,lpc3220-scb.yaml#"

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

Maintainers (maintainers): "Vladimir Zapolskiy <vz@mleia.com>"

NXP LPC32xx SoC series have a System Control Block, which serves for a multitude of purposes including clock management, DMA muxes, storing SoC unique ID etc.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "nxp,lpc3220-scb"

Item 2

Exact value (const): "syscon"

Item 3

Exact value (const): "simple-mfd"

reg — required here #

Maximum number of items (maxItems): 1

ranges — not listed as required here #

true — No constraints added by this property rule.

#address-cells — required here #

Exact value (const): 1

#size-cells — required here #

Exact value (const): 1

Properties matching a name pattern (patternProperties) #

^clock-controller@[0-9a-f]+$ — name matches this regular expression #

Shared schema rule ($ref): /schemas/clock/nxp,lpc3220-clk.yaml#

^dma-router@[0-9a-f]+$ — name matches this regular expression #

Shared schema rule ($ref): /schemas/dma/nxp,lpc3220-dmamux.yaml#

Required in this object (required): "compatible", "reg", "#address-cells", "#size-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

syscon@400040000 {
    compatible = "nxp,lpc3220-scb", "syscon", "simple-mfd";
    reg = <0x40004000 0x1000>;
    #address-cells = <1>;
    #size-cells = <1>;
    ranges = <0 0x40004000 0x1000>;

    clock-controller@0 {
        compatible = "nxp,lpc3220-clk";
        reg = <0x0 0x114>;
        clocks = <&xtal_32k>, <&xtal>;
        clock-names = "xtal_32k", "xtal";
        #clock-cells = <1>;
    };

    dma-router@78 {
        compatible = "nxp,lpc3220-dmamux";
        reg = <0x78 0x8>;
        dma-masters = <&dma>;
        #dma-cells = <3>;
    };
};

Source notes #

Annotations retained from the schema source

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

NXP PF1550 Power Management IC

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/nxp,pf1550.yaml#"

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

Maintainers (maintainers): "Samuel Kayode <samuel.kayode@savoirfairelinux.com>"

PF1550 PMIC provides battery charging and power supply for low power IoT and wearable applications. This device consists of an i2c controlled MFD that includes regulators, battery charging and an onkey/power button.

Shared schema rule ($ref): /schemas/power/supply/power-supply.yaml

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "nxp,pf1550"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

wakeup-source — not listed as required here #

true — No constraints added by this property rule.

regulators — not listed as required here #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties matching a name pattern (patternProperties) #

^(ldo[1-3]|sw[1-3]|vrefddr)$ — name matches this regular expression

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml

regulator configuration for ldo1-3, buck converters(sw1-3) and DDR termination reference voltage (vrefddr)

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

monitored-battery — not listed as required here #

A phandle to a monitored battery node that contains a valid value for: constant-charge-voltage-max-microvolt.

nxp,thermal-regulation-celsius — not listed as required here #

Temperature threshold for thermal regulation of charger in celsius.

Allowed values (enum): 80, 95, 110, 125

nxp,min-system-microvolt — not listed as required here #

System specific lower limit voltage.

Allowed values (enum): 3500000, 3700000, 4300000

nxp,disable-key-power — not listed as required here #

Value type (type): "boolean"

Disable power-down using a long key-press. The onkey driver will remove support for the KEY_POWER key press when triggered using a long press of the onkey.

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/input/linux-event-codes.h>

battery: battery-cell {
    compatible = "simple-battery";
    constant-charge-voltage-max-microvolt = <4400000>;
};

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    pmic@8 {
        compatible = "nxp,pf1550";
        reg = <0x8>;

        interrupt-parent = <&gpio1>;
        interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
        wakeup-source;
        monitored-battery = <&battery>;
        nxp,min-system-microvolt = <4300000>;
        nxp,thermal-regulation-celsius = <80>;

        regulators {
            sw1_reg: sw1 {
                regulator-name = "sw1";
                regulator-min-microvolt = <600000>;
                regulator-max-microvolt = <1387500>;
                regulator-always-on;
                regulator-ramp-delay = <6250>;

                regulator-state-mem {
                    regulator-on-in-suspend;
                    regulator-suspend-min-microvolt = <1270000>;
                };
            };

            sw2_reg: sw2 {
                regulator-name = "sw2";
                regulator-min-microvolt = <600000>;
                regulator-max-microvolt = <1387500>;
                regulator-always-on;

                regulator-state-mem {
                    regulator-on-in-suspend;
                };
            };

            sw3_reg: sw3 {
                regulator-name = "sw3";
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <3300000>;
                regulator-always-on;

                regulator-state-mem {
                    regulator-on-in-suspend;
                };
            };

            vldo1_reg: ldo1 {
                regulator-name = "ldo1";
                regulator-min-microvolt = <750000>;
                regulator-max-microvolt = <3300000>;
                regulator-always-on;

                regulator-state-mem {
                    regulator-off-in-suspend;
                };
            };

            vldo2_reg: ldo2 {
                regulator-name = "ldo2";
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <3300000>;
                regulator-always-on;
            };

            vldo3_reg: ldo3 {
                regulator-name = "ldo3";
                regulator-min-microvolt = <750000>;
                regulator-max-microvolt = <3300000>;
                regulator-always-on;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Qualcomm Technologies, Inc. PM8008 PMIC

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/qcom,pm8008.yaml#"

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

Maintainers (maintainers): "Guru Das Srinagesh <quic_gurus@quicinc.com>"

Qualcomm Technologies, Inc. PM8008 is a dedicated camera PMIC that integrates all the necessary power management, housekeeping, and interface support functions into a single IC.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,pm8008"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

reset-gpios — not listed as required here #

Maximum number of items (maxItems): 1

vdd-l1-l2-supply — required here #

true — No constraints added by this property rule.

vdd-l3-l4-supply — required here #

true — No constraints added by this property rule.

vdd-l5-supply — required here #

true — No constraints added by this property rule.

vdd-l6-supply — required here #

true — No constraints added by this property rule.

vdd-l7-supply — required here #

true — No constraints added by this property rule.

gpio-controller — required here #

true — No constraints added by this property rule.

#gpio-cells — required here #

Exact value (const): 2

gpio-ranges — required here #

Maximum number of items (maxItems): 1

interrupt-controller — required here #

true — No constraints added by this property rule.

#interrupt-cells — required here #

Exact value (const): 2

#thermal-sensor-cells — required here #

Exact value (const): 0

pinctrl — not listed as required here #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties matching a name pattern (patternProperties) #

-state$ — name matches this regular expression

Value type (type): "object"

All of these rules must match (allOf)

Rule 1

Shared schema rule ($ref): /schemas/pinctrl/pinmux-node.yaml

Rule 2

Shared schema rule ($ref): /schemas/pinctrl/pincfg-node.yaml

Properties and child nodes (properties)

pins — required here

Array item rules (items)

String pattern (pattern): "^gpio[12]$"

function — required here

Array item rules (items)

Item 1

Allowed values (enum): "normal"

Required in this object (required): "pins", "function"

Properties not matched by properties or patternProperties in this schema (additionalProperties)

false

Not allowed by this rule.

regulators — not listed as required here #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties matching a name pattern (patternProperties) #

^ldo[1-7]$ — name matches this regular expression

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "interrupts", "vdd-l1-l2-supply", "vdd-l3-l4-supply", "vdd-l5-supply", "vdd-l6-supply", "vdd-l7-supply", "gpio-controller", "#gpio-cells", "gpio-ranges", "interrupt-controller", "#interrupt-cells", "#thermal-sensor-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>

i2c {
  #address-cells = <1>;
  #size-cells = <0>;

  pm8008: pmic@8 {
    compatible = "qcom,pm8008";
    reg = <0x8>;

    interrupt-parent = <&tlmm>;
    interrupts = <32 IRQ_TYPE_EDGE_RISING>;

    reset-gpios = <&tlmm 42 GPIO_ACTIVE_LOW>;

    vdd-l1-l2-supply = <&vreg_s8b_1p2>;
    vdd-l3-l4-supply = <&vreg_s1b_1p8>;
    vdd-l5-supply = <&vreg_bob>;
    vdd-l6-supply = <&vreg_bob>;
    vdd-l7-supply = <&vreg_bob>;

    gpio-controller;
    #gpio-cells = <2>;
    gpio-ranges = <&pm8008 0 0 2>;

    interrupt-controller;
    #interrupt-cells = <2>;

    #thermal-sensor-cells = <0>;

    pinctrl {
      gpio-keys-state {
        pins = "gpio1";
        function = "normal";
      };
    };

    regulators {
      ldo1 {
        regulator-name = "vreg_l1";
        regulator-min-microvolt = <950000>;
        regulator-max-microvolt = <1300000>;
      };
    };
  };
};

Source notes #

Annotations retained from the schema source

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

Qualcomm SPMI PMICs multi-function device

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/qcom,spmi-pmic.yaml#"

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

Some Qualcomm PMICs used with the Snapdragon series SoCs are interfaced to the chip via the SPMI (System Power Management Interface) bus. Support for multiple independent functions are implemented by splitting the 16-bit SPMI peripheral address space into 256 smaller fixed-size regions, 256 bytes each. A function can consume one or more of these fixed-size register regions.

The Qualcomm SPMI series includes the PM8941, PM8841, PMA8084, PM8998 and other PMICs. These PMICs use a "QPNP" scheme through SPMI interface. QPNP is effectively a partitioning scheme for dividing the SPMI extended register space up into logical pieces, and set of fixed register locations/definitions within these regions, with some of these regions specifically used for interrupt handling.

Maintainers (maintainers): "Stephen Boyd <sboyd@kernel.org>"

Properties and child nodes (properties) #

$nodename — not listed as required here #

Exactly one of these rules must match (oneOf) #

Rule 1

String pattern (pattern): "^pmic@.*$"

Rule 2

String pattern (pattern): "^pm(a|s)?[0-9]*@.*$"

Deprecated (deprecated): true

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "qcom,pm2250", "qcom,pm6125", "qcom,pm6150", "qcom,pm6150l", "qcom,pm6350", "qcom,pm660", "qcom,pm660l", "qcom,pm7250b", "qcom,pm7550ba", "qcom,pm7325", "qcom,pm7550", "qcom,pm8004", "qcom,pm8005", "qcom,pm8009", "qcom,pm8010", "qcom,pm8019", "qcom,pm8028", "qcom,pm8110", "qcom,pm8150", "qcom,pm8150b", "qcom,pm8150c", "qcom,pm8150l", "qcom,pm8226", "qcom,pm8350", "qcom,pm8350b", "qcom,pm8350c", "qcom,pm8450", "qcom,pm8550", "qcom,pm8550b", "qcom,pm8550ve", "qcom,pm8550vs", "qcom,pm8841", "qcom,pm8909", "qcom,pm8916", "qcom,pm8937", "qcom,pm8941", "qcom,pm8950", "qcom,pm8953", "qcom,pm8994", "qcom,pm8998", "qcom,pma8084", "qcom,pmc8180", "qcom,pmc8180c", "qcom,pmc8380", "qcom,pmcx0102", "qcom,pmd8028", "qcom,pmd9635", "qcom,pmh0101", "qcom,pmh0104", "qcom,pmh0110", "qcom,pmi632", "qcom,pmi8950", "qcom,pmi8962", "qcom,pmi8994", "qcom,pmi8998", "qcom,pmih0108", "qcom,pmiv0104", "qcom,pmk8002", "qcom,pmk8350", "qcom,pmk8550", "qcom,pmk8850", "qcom,pmm8155au", "qcom,pmm8654au", "qcom,pmp8074", "qcom,pmr735a", "qcom,pmr735b", "qcom,pmr735d", "qcom,pms405", "qcom,pmx55", "qcom,pmx65", "qcom,pmx75", "qcom,smb2351", "qcom,smb2360", "qcom,smb2370"

Item 2

Exact value (const): "qcom,spmi-pmic"

reg — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

#address-cells — not listed as required here #

Exact value (const): 1

#size-cells — not listed as required here #

Exact value (const): 0

labibb — not listed as required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/qcom-labibb-regulator.yaml#

regulators — not listed as required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/qcom,spmi-regulator.yaml#

pwm — not listed as required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/leds/leds-qcom-lpg.yaml#

Properties matching a name pattern (patternProperties) #

^adc@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Exactly one of these rules must match (oneOf) #

Rule 1

Shared schema rule ($ref): /schemas/iio/adc/qcom,spmi-iadc.yaml#

Rule 2

Shared schema rule ($ref): /schemas/iio/adc/qcom,spmi-rradc.yaml#

Rule 3

Shared schema rule ($ref): /schemas/iio/adc/qcom,spmi-vadc.yaml#

^adc-tm@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

^audio-codec@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/sound/qcom,pm8916-wcd-analog-codec.yaml#

^battery@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Exactly one of these rules must match (oneOf) #

Rule 1

Shared schema rule ($ref): /schemas/power/supply/qcom,pm8916-bms-vm.yaml#

^charger@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Exactly one of these rules must match (oneOf) #

Rule 1

Shared schema rule ($ref): /schemas/power/supply/qcom,pm8916-lbc.yaml#

Rule 2

Shared schema rule ($ref): /schemas/power/supply/qcom,pm8941-charger.yaml#

Rule 3

Shared schema rule ($ref): /schemas/power/supply/qcom,pm8941-coincell.yaml#

Rule 4

Shared schema rule ($ref): /schemas/power/supply/qcom,pmi8998-charger.yaml#

gpio@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/pinctrl/qcom,pmic-gpio.yaml#

^led-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/leds/qcom,spmi-flash-led.yaml#

^nvram@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/nvmem/qcom,spmi-sdam.yaml#

^pbs@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/soc/qcom/qcom,pbs.yaml#

phy@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/phy/qcom,snps-eusb2-repeater.yaml#

pon@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/power/reset/qcom,pon.yaml#

^rtc@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/rtc/qcom-pm8xxx-rtc.yaml#

^temp-alarm@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/thermal/qcom,spmi-temp-alarm.yaml#

^typec@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/usb/qcom,pmic-typec.yaml#

^usb-detect@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/extcon/qcom,pm8941-misc.yaml#

^usb-vbus-regulator@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/qcom,usb-vbus-regulator.yaml#

^vibrator@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/input/qcom,pm8xxx-vib.yaml#

^mpps@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/pinctrl/qcom,pmic-mpp.yaml#

(.*)?(wled|leds)@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/leds/backlight/qcom-wled.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

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

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "qcom,pm8998"

When the condition matches (then) #

Properties matching a name pattern (patternProperties)

^adc-tm@[0-9a-f]+$ — name matches this regular expression

Shared schema rule ($ref): /schemas/thermal/qcom-spmi-adc-tm-hc.yaml#

When the condition does not match (else) #

Properties matching a name pattern (patternProperties)

^adc-tm@[0-9a-f]+$ — name matches this regular expression

Shared schema rule ($ref): /schemas/thermal/qcom-spmi-adc-tm5.yaml#

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/spmi/spmi.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

spmi@c440000 {
    compatible = "qcom,spmi-pmic-arb";
    reg = <0x0c440000 0x1100>,
          <0x0c600000 0x2000000>,
          <0x0e600000 0x100000>,
          <0x0e700000 0xa0000>,
          <0x0c40a000 0x26000>;
    reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
    interrupt-names = "periph_irq";
    interrupts = <GIC_SPI 481 IRQ_TYPE_LEVEL_HIGH>;
    qcom,ee = <0>;
    qcom,channel = <0>;
    #address-cells = <2>;
    #size-cells = <0>;
    interrupt-controller;
    #interrupt-cells = <4>;

    pmic@2 {
        compatible = "qcom,pmi8998", "qcom,spmi-pmic";
        reg = <0x2 SPMI_USID>;
        #address-cells = <1>;
        #size-cells = <0>;

        gpio@c000 {
            compatible = "qcom,pmi8998-gpio", "qcom,spmi-gpio";
            reg = <0xc000>;
            gpio-controller;
            gpio-ranges = <&pmi8998_gpio 0 0 14>;
            #gpio-cells = <2>;
            interrupt-controller;
            #interrupt-cells = <2>;
        };
    };
};
#include <dt-bindings/input/input.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/iio/qcom,spmi-vadc.h>
#include <dt-bindings/spmi/spmi.h>

pmic@0 {
    compatible = "qcom,pm6150", "qcom,spmi-pmic";
    reg = <0x0 SPMI_USID>;
    #address-cells = <1>;
    #size-cells = <0>;

    pon@800 {
        compatible = "qcom,pm8998-pon";
        reg = <0x800>;
        mode-bootloader = <0x2>;
        mode-recovery = <0x1>;

        pwrkey {
            compatible = "qcom,pm8941-pwrkey";
            interrupts = <0x0 0x8 0 IRQ_TYPE_EDGE_BOTH>;
            debounce = <15625>;
            bias-pull-up;
            linux,code = <KEY_POWER>;
        };
    };

    temp-alarm@2400 {
        compatible = "qcom,spmi-temp-alarm";
        reg = <0x2400>;
        interrupts = <0x0 0x24 0x0 IRQ_TYPE_EDGE_RISING>;
        io-channels = <&pm6150_adc ADC5_DIE_TEMP>;
        io-channel-names = "thermal";
        #thermal-sensor-cells = <0>;
    };

    pm6150_adc: adc@3100 {
        compatible = "qcom,spmi-adc5";
        reg = <0x3100>;
        interrupts = <0x0 0x31 0x0 IRQ_TYPE_EDGE_RISING>;
        #address-cells = <1>;
        #size-cells = <0>;
        #io-channel-cells = <1>;

        channel@6 {
            reg = <ADC5_DIE_TEMP>;
            label = "die_temp";
        };

        channel@4f {
            reg = <ADC5_AMUX_THM3_100K_PU>;
            qcom,ratiometric;
            qcom,hw-settle-time = <200>;
        };
    };

    adc-tm@3500 {
        compatible = "qcom,spmi-adc-tm5";
        reg = <0x3500>;
        interrupts = <0x0 0x35 0x0 IRQ_TYPE_EDGE_RISING>;
        #thermal-sensor-cells = <1>;
        #address-cells = <1>;
        #size-cells = <0>;

        charger-thermistor@0 {
            reg = <0>;
            io-channels = <&pm6150_adc ADC5_AMUX_THM3_100K_PU>;
            qcom,ratiometric;
            qcom,hw-settle-time-us = <200>;
        };
    };

    gpio@c000 {
        compatible = "qcom,pm6150-gpio", "qcom,spmi-gpio";
        reg = <0xc000>;
        gpio-controller;
        gpio-ranges = <&pm6150_gpio 0 0 10>;
        #gpio-cells = <2>;
        interrupt-controller;
        #interrupt-cells = <2>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only

Line 144: ref depends on compatible, see allOf below

Qualcomm Top Control and Status Register

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/qcom,tcsr.yaml#"

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

Maintainers (maintainers): "Bjorn Andersson <bjorn.andersson@linaro.org>"

Qualcomm devices have a set of registers that provide various control and status functions for their peripherals.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "qcom,msm8976-tcsr", "qcom,msm8998-tcsr", "qcom,qcm2290-tcsr", "qcom,qcs404-tcsr", "qcom,qcs615-tcsr", "qcom,qcs8300-tcsr", "qcom,sa8255p-tcsr", "qcom,sa8775p-tcsr", "qcom,sc7180-tcsr", "qcom,sc7280-tcsr", "qcom,sc8280xp-tcsr", "qcom,sdm630-tcsr", "qcom,sdm845-tcsr", "qcom,sdx55-tcsr", "qcom,sdx65-tcsr", "qcom,sdx75-tcsr", "qcom,sm4450-tcsr", "qcom,sm6115-tcsr", "qcom,sm8150-tcsr", "qcom,sm8250-tcsr", "qcom,sm8350-tcsr", "qcom,sm8450-tcsr", "qcom,tcsr-apq8064", "qcom,tcsr-apq8084", "qcom,tcsr-ipq5018", "qcom,tcsr-ipq5332", "qcom,tcsr-ipq5424", "qcom,tcsr-ipq6018", "qcom,tcsr-ipq8064", "qcom,tcsr-ipq8074", "qcom,tcsr-ipq9574", "qcom,tcsr-mdm9615", "qcom,tcsr-msm8226", "qcom,tcsr-msm8660", "qcom,tcsr-msm8916", "qcom,tcsr-msm8917", "qcom,tcsr-msm8937", "qcom,tcsr-msm8953", "qcom,tcsr-msm8960", "qcom,tcsr-msm8974", "qcom,tcsr-msm8996"

Item 2

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

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

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

syscon@1a400000 {
    compatible = "qcom,tcsr-msm8960", "syscon";
    reg = <0x1a400000 0x100>;
};

Source notes #

Annotations retained from the schema source

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

Qualcomm PM8xxx PMIC multi-function devices

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/qcom-pm8xxx.yaml#"

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

Maintainers (maintainers): "Satya Priya <quic_c_skakit@quicinc.com>"

The PM8xxx family of Power Management ICs are used to provide regulated voltages and other various functionality to Qualcomm SoCs.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "qcom,pm8058", "qcom,pm8821", "qcom,pm8901", "qcom,pm8921"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "qcom,pm8018"

Item 2

Exact value (const): "qcom,pm8921"

reg — not listed as required here #

Maximum number of items (maxItems): 1

#address-cells — required here #

Exact value (const): 1

#size-cells — required here #

Exact value (const): 0

interrupts — required here #

Maximum number of items (maxItems): 1

#interrupt-cells — required here #

Exact value (const): 2

interrupt-controller — required here #

true — No constraints added by this property rule.

Properties matching a name pattern (patternProperties) #

gpio@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/pinctrl/qcom,pmic-gpio.yaml#

keypad@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/input/qcom,pm8921-keypad.yaml#

led@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/leds/qcom,pm8058-led.yaml#

mpps@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/pinctrl/qcom,pmic-mpp.yaml#

pwrkey@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/input/qcom,pm8921-pwrkey.yaml#

rtc@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/rtc/qcom-pm8xxx-rtc.yaml#

vibrator@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/input/qcom,pm8xxx-vib.yaml#

xoadc@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/iio/adc/qcom,pm8018-adc.yaml#

Required in this object (required): "compatible", "#address-cells", "#size-cells", "interrupts", "#interrupt-cells", "interrupt-controller"

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>
ssbi {
  #address-cells = <1>;
  #size-cells = <0>;
  pmic@0 {
    compatible = "qcom,pm8921";
    reg = <0>;
    #address-cells = <1>;
    #size-cells = <0>;
    interrupt-controller;
    #interrupt-cells = <2>;

    interrupt-parent = <&tlmm>;
    interrupts = <32 IRQ_TYPE_EDGE_RISING>;
  };
};

Source notes #

Annotations retained from the schema source

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

QNAP NAS on-board Microcontroller

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/qnap,ts433-mcu.yaml#"

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

Maintainers (maintainers): "Heiko Stuebner <heiko@sntech.de>"

QNAP embeds a microcontroller on their NAS devices adding system feature as PWM Fan control, additional LEDs, power button status and more.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "qnap,ts133-mcu", "qnap,ts233-mcu", "qnap,ts433-mcu"

nvmem-layout — not listed as required here #

Shared schema rule ($ref): /schemas/nvmem/layouts/nvmem-layout.yaml

Properties matching a name pattern (patternProperties) #

^fan-[0-9]+$ — name matches this regular expression #

Shared schema rule ($ref): /schemas/hwmon/fan-common.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

uart {
  mcu {
    compatible = "qnap,ts433-mcu";

    fan-0 {
      #cooling-cells = <2>;
      cooling-levels = <0 64 89 128 166 204 221 238>;
    };
  };
};

Source notes #

Annotations retained from the schema source

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

Realtek RTD1xxx system controllers

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/realtek,rtd1xxx.yaml#"

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

Maintainers (maintainers): "Andreas Färber <afaerber@suse.de>"

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "realtek,rtd1293-crt", "realtek,rtd1293-iso", "realtek,rtd1293-misc", "realtek,rtd1293-sb2", "realtek,rtd1293-scpu-wrapper", "realtek,rtd1295-crt", "realtek,rtd1295-iso", "realtek,rtd1295-misc", "realtek,rtd1295-sb2", "realtek,rtd1295-scpu-wrapper", "realtek,rtd1296-crt", "realtek,rtd1296-iso", "realtek,rtd1296-misc", "realtek,rtd1296-sb2", "realtek,rtd1296-scpu-wrapper", "realtek,rtd1395-crt", "realtek,rtd1395-iso", "realtek,rtd1395-misc", "realtek,rtd1395-sb2", "realtek,rtd1395-scpu-wrapper", "realtek,rtd1619-crt", "realtek,rtd1619-iso", "realtek,rtd1619-misc", "realtek,rtd1619-sb2", "realtek,rtd1619-scpu-wrapper"

Item 2

Exact value (const): "syscon"

Item 3

Exact value (const): "simple-mfd"

reg — required here #

Maximum number of items (maxItems): 1

reg-io-width — not listed as required here #

Exact value (const): 4

ranges — not listed as required here #

true — No constraints added by this property rule.

#address-cells — not listed as required here #

Exact value (const): 1

#size-cells — not listed as required here #

Exact value (const): 1

Properties matching a name pattern (patternProperties) #

@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Required in this object (required): "compatible"

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

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Source notes #

Annotations retained from the schema source

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

Renesas R2A11302FT Power Supply ICs for R-Car

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/renesas,r2a11302ft.yaml#"

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

Maintainers (maintainers): "Wolfram Sang <wsa+renesas@sang-engineering.com>"

The Renesas R2A11302FT PMIC is used with Renesas R-Car Gen1/Gen2 based SoCs.

FIXME: The binding is incomplete and resembles the information gathered so far.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "renesas,r2a11302ft"

reg — required here #

Maximum number of items (maxItems): 1

spi-max-frequency — not listed as required here #

Maximum value (maximum): 6000000

spi-cpol — required here #

true — No constraints added by this property rule.

spi-cpha — required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "spi-cpol", "spi-cpha"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/spi/spi-peripheral-props.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

spi {
    #address-cells = <1>;
    #size-cells = <0>;

    pmic@0 {
        compatible = "renesas,r2a11302ft";
        reg = <0>;
        spi-max-frequency = <6000000>;
        spi-cpol;
        spi-cpha;
    };
};

Source notes #

Annotations retained from the schema source

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

Richtek RT4831 DSV and Backlight Integrated IC

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/richtek,rt4831.yaml#"

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

Maintainers (maintainers): "ChiYuan Huang <cy_huang@richtek.com>"

RT4831 is a multifunctional device that can provide power to the LCD display and LCD backlight.

For Display Bias Voltage DSVP and DSVN, the output range is about 4V to 6.5V. It's sufficient to meet the current LCD power requirement.

For the LCD backlight, it can provide four channel WLED driving capability. Each channel driving current is up to 30mA

Datasheet is available at https://www.richtek.com/assets/product_file/RT4831A/DS4831A-05.pdf

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "richtek,rt4831"

reg — required here #

I2C device address.

Maximum number of items (maxItems): 1

enable-gpios — not listed as required here #

GPIO to enable/disable the chip. It is optional. Some usage directly tied this pin to follow VIO 1.8V power on sequence.

Maximum number of items (maxItems): 1

regulators — not listed as required here #

Shared schema rule ($ref): /schemas/regulator/richtek,rt4831-regulator.yaml

backlight — not listed as required here #

Shared schema rule ($ref): /schemas/leds/backlight/richtek,rt4831-backlight.yaml

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

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/leds/rt4831-backlight.h>
i2c {
  #address-cells = <1>;
  #size-cells = <0>;

  rt4831@11 {
    compatible = "richtek,rt4831";
    reg = <0x11>;

    regulators {
      DSVLCM {
        regulator-min-microvolt = <4000000>;
        regulator-max-microvolt = <7150000>;
        regulator-allow-bypass;
      };
      DSVP {
        regulator-name = "rt4831-dsvp";
        regulator-min-microvolt = <4000000>;
        regulator-max-microvolt = <6500000>;
        regulator-boot-on;
      };
      DSVN {
        regulator-name = "rt4831-dsvn";
        regulator-min-microvolt = <4000000>;
        regulator-max-microvolt = <6500000>;
        regulator-boot-on;
      };
    };

    backlight {
      compatible = "richtek,rt4831-backlight";
      default-brightness = <1024>;
      max-brightness = <2048>;
      richtek,bled-ovp-sel = /bits/ 8 <RT4831_BLOVPLVL_21V>;
      richtek,channel-use = /bits/ 8 <RT4831_BLED_ALLCHEN>;
    };
  };
};

Source notes #

Annotations retained from the schema source

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

Richtek RT5033 Power Management Integrated Circuit

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/richtek,rt5033.yaml#"

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

Maintainers (maintainers): "Jakob Hauser <jahau@rocketmail.com>"

RT5033 is a multifunction device which includes battery charger, fuel gauge, flash LED current source, LDO and synchronous Buck converter for portable applications. It is interfaced to host controller using I2C interface. The battery fuel gauge uses a separate I2C bus.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "richtek,rt5033"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

regulators — not listed as required here #

The regulators of RT5033 have to be instantiated under a sub-node named "regulators". For SAFE_LDO voltage there is only one value of 4.9 V. LDO voltage ranges from 1.2 V to 3.0 V in 0.1 V steps. BUCK voltage ranges from 1.0 V to 3.0 V in 0.1 V steps.

Value type (type): "object"

Properties matching a name pattern (patternProperties) #

^(SAFE_LDO|LDO|BUCK)$ — name matches this regular expression

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

charger — not listed as required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/power/supply/richtek,rt5033-charger.yaml#

Required in this object (required): "compatible", "reg", "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>

battery: battery {
    compatible = "simple-battery";
    precharge-current-microamp = <450000>;
    constant-charge-current-max-microamp = <1000000>;
    charge-term-current-microamp = <150000>;
    precharge-upper-limit-microvolt = <3500000>;
    constant-charge-voltage-max-microvolt = <4350000>;
};

extcon {
    usb_con: connector {
        compatible = "usb-b-connector";
        label = "micro-USB";
        type = "micro";
    };
};

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    i2c@0 {
        #address-cells = <1>;
        #size-cells = <0>;
        reg = <0>;

        fuel-gauge@35 {
            compatible = "richtek,rt5033-battery";
            reg = <0x35>;

            interrupt-parent = <&msmgpio>;
            interrupts = <121 IRQ_TYPE_EDGE_FALLING>;

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

            power-supplies = <&rt5033_charger>;
        };
    };

    i2c@1 {
        #address-cells = <1>;
        #size-cells = <0>;
        reg = <1>;

        pmic@34 {
            compatible = "richtek,rt5033";
            reg = <0x34>;

            interrupt-parent = <&msmgpio>;
            interrupts = <62 IRQ_TYPE_EDGE_FALLING>;

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

            regulators {
                safe_ldo_reg: SAFE_LDO {
                    regulator-name = "SAFE_LDO";
                    regulator-min-microvolt = <4900000>;
                    regulator-max-microvolt = <4900000>;
                    regulator-always-on;
                };
                ldo_reg: LDO {
                    regulator-name = "LDO";
                    regulator-min-microvolt = <2800000>;
                    regulator-max-microvolt = <2800000>;
                };
                buck_reg: BUCK {
                    regulator-name = "BUCK";
                    regulator-min-microvolt = <1200000>;
                    regulator-max-microvolt = <1200000>;
                };
            };

            rt5033_charger: charger {
                compatible = "richtek,rt5033-charger";
                monitored-battery = <&battery>;
                richtek,usb-connector = <&usb_con>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Richtek RT5120 PMIC

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/richtek,rt5120.yaml#"

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

Maintainers (maintainers): "ChiYuan Huang <cy_huang@richtek.com>"

The RT5120 provides four high-efficiency buck converters and one LDO voltage regulator. The device is targeted at providingthe processor voltage, memory, I/O, and peripheral rails in home entertainment devices. The I2C interface is used for dynamic voltage scaling of the processor voltage, power rails on/off sequence control, operation mode selection.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "richtek,rt5120"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

interrupt-controller — required here #

true — No constraints added by this property rule.

#interrupt-cells — required here #

Exact value (const): 1

wakeup-source — not listed as required here #

true — No constraints added by this property rule.

richtek,enable-undervolt-hiccup — not listed as required here #

Value type (type): "boolean"

If used, under voltage protection trigger hiccup behavior, else latchup as default

richtek,enable-overvolt-hiccup — not listed as required here #

Value type (type): "boolean"

Like as 'enable-uv-hiccup', it configures over voltage protection to hiccup, else latchup as default

vin1-supply — not listed as required here #

phandle for buck1 input power source

vin2-supply — not listed as required here #

phandle for buck2 input power source

vin3-supply — not listed as required here #

phandle for buck3 input power source

vin4-supply — not listed as required here #

phandle for buck4 input power source

vinldo-supply — not listed as required here #

phandle for ldo input power source

regulators — required here #

Value type (type): "object"

Properties matching a name pattern (patternProperties) #

^buck[1-4]$ — name matches this regular expression

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties and child nodes (properties)

regulator-allowed-modes — not listed as required here

Used to specify the allowed buck converter operating mode
mode mapping:
  0: auto mode
  1: force pwm mode

Array item rules (items)

Allowed values (enum): 0, 1

^(ldo|exten)$ — name matches this regular expression

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

powerkey — required here #

Value type (type): "object"

PON key that connected to RT5120 PMIC.

Properties and child nodes (properties) #

compatible — required here

Allowed values (enum): "richtek,rt5120-pwrkey"

Required in this object (required): "compatible"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "interrupts", "#interrupt-cells", "interrupt-controller", "regulators", "powerkey"

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>

i2c {
  #address-cells = <1>;
  #size-cells = <0>;

  pmic@62 {
    compatible = "richtek,rt5120";
    reg = <0x62>;
    interrupts-extended = <&gpio_intc 32 IRQ_TYPE_LEVEL_LOW>;
    interrupt-controller;
    #interrupt-cells = <1>;
    wakeup-source;

    regulators {
      buck1 {
        regulator-name = "rt5120-buck1";
        regulator-min-microvolt = <600000>;
        regulator-max-microvolt = <1393750>;
        regulator-allowed-modes = <0 1>;
        regulator-boot-on;
      };
      buck2 {
        regulator-name = "rt5120-buck2";
        regulator-min-microvolt = <1100000>;
        regulator-max-microvolt = <1100000>;
        regulator-allowed-modes = <0 1>;
        regulator-always-on;
      };
      buck3 {
        regulator-name = "rt5120-buck3";
        regulator-min-microvolt = <1800000>;
        regulator-max-microvolt = <1800000>;
        regulator-allowed-modes = <0 1>;
        regulator-always-on;
      };
      buck4 {
        regulator-name = "rt5120-buck4";
        regulator-min-microvolt = <3300000>;
        regulator-max-microvolt = <3300000>;
        regulator-allowed-modes = <0 1>;
        regulator-always-on;
      };
      ldo {
        regulator-name = "rt5120-ldo";
        regulator-min-microvolt = <1800000>;
        regulator-max-microvolt = <1800000>;
        regulator-always-on;
      };
      exten {
        regulator-name = "rt5120-exten";
        regulator-min-microvolt = <3000000>;
        regulator-max-microvolt = <3000000>;
        regulator-always-on;
      };
    };
    powerkey {
      compatible = "richtek,rt5120-pwrkey";
    };
  };
};

Source notes #

Annotations retained from the schema source

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

Ricoh RN5T567/RN5T618/RC5T619 PMIC

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/ricoh,rn5t618.yaml#"

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

Maintainers (maintainers): "Andreas Kemnade <andreas@kemnade.info>"

Ricoh RN5T567/RN5T618/RC5T619 is a power management IC family which integrates 3 to 5 step-down DCDC converters, 7 to 10 low-dropout regulators, GPIOs, and a watchdog timer. It can be controlled through an I2C interface. The RN5T618/RC5T619 provides additionally a Li-ion battery charger, fuel gauge, and an ADC. The RC5T619 additionally includes USB charger detection and an RTC.

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "ricoh,rn5t567"

When the condition matches (then) #

Properties and child nodes (properties)

regulators — not listed as required here

Properties matching a name pattern (patternProperties)

^(DCDC[1-4]|LDO[1-5]|LDORTC[12])$ — name matches this regular expression

Shared schema rule ($ref): /schemas/regulator/regulator.yaml

Properties not matched by properties or patternProperties in this schema (additionalProperties)

false

Not allowed by this rule.

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "ricoh,rn5t618"

When the condition matches (then) #

Properties and child nodes (properties)

regulators — not listed as required here

Properties matching a name pattern (patternProperties)

^(DCDC[1-3]|LDO[1-5]|LDORTC[12])$ — name matches this regular expression

Shared schema rule ($ref): /schemas/regulator/regulator.yaml

Properties not matched by properties or patternProperties in this schema (additionalProperties)

false

Not allowed by this rule.

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "ricoh,rc5t619"

When the condition matches (then) #

Properties and child nodes (properties)

regulators — not listed as required here

Properties matching a name pattern (patternProperties)

^(DCDC[1-5]|LDO[1-9]|LDO10|LDORTC[12])$ — name matches this regular expression

Shared schema rule ($ref): /schemas/regulator/regulator.yaml

Properties not matched by properties or patternProperties in this schema (additionalProperties)

false

Not allowed by this rule.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "ricoh,rn5t567", "ricoh,rn5t618", "ricoh,rc5t619"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

system-power-controller — not listed as required here #

Value type (type): "boolean"

See Documentation/devicetree/bindings/power/power-controller.txt

regulators — not listed as required here #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

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

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>
i2c {
  #address-cells = <1>;
  #size-cells = <0>;

  pmic@32 {
    compatible = "ricoh,rn5t618";
    reg = <0x32>;
    interrupt-parent = <&gpio5>;
    interrupts = <11 IRQ_TYPE_EDGE_FALLING>;
    system-power-controller;

    regulators {
      DCDC1 {
        regulator-min-microvolt = <1050000>;
        regulator-max-microvolt = <1050000>;
      };

      DCDC2 {
        regulator-min-microvolt = <1175000>;
        regulator-max-microvolt = <1175000>;
      };
    };
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

RK801 Power Management Integrated Circuit

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/rockchip,rk801.yaml#"

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

Maintainers (maintainers): "Joseph Chen <chenjh@rock-chips.com>"

Rockchip RK801 series PMIC. This device consists of an i2c controlled MFD that includes multiple switchable regulators.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "rockchip,rk801"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

system-power-controller — not listed as required here #

Value type (type): "boolean"

Telling whether or not this PMIC is controlling the system power.

wakeup-source — not listed as required here #

Value type (type): "boolean"

Device can be used as a wakeup source.

vcc1-supply — not listed as required here #

The input supply for dcdc1.

vcc2-supply — not listed as required here #

The input supply for dcdc2.

vcc3-supply — not listed as required here #

The input supply for dcdc3.

vcc4-supply — not listed as required here #

The input supply for dcdc4.

vcc5-supply — not listed as required here #

The input supply for ldo1.

vcc6-supply — not listed as required here #

The input supply for ldo2.

vcc7-supply — not listed as required here #

The input supply for switch.

regulators — not listed as required here #

Value type (type): "object"

Properties matching a name pattern (patternProperties) #

^(dcdc[1-4]|ldo[1-2]|switch)$ — name matches this regular expression

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

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

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/pinctrl/rockchip.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/gpio/gpio.h>

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    rk801: pmic@27 {
        compatible = "rockchip,rk801";
        reg = <0x27>;
        interrupt-parent = <&gpio0>;
        interrupts = <RK_PC0 IRQ_TYPE_LEVEL_LOW>;
        pinctrl-names = "default";
        pinctrl-0 = <&pmic_int_l>;
        system-power-controller;
        wakeup-source;

        vcc1-supply = <&vcc_sys>;
        vcc2-supply = <&vcc_sys>;
        vcc3-supply = <&vcc_sys>;
        vcc4-supply = <&vcc_sys>;
        vcc5-supply = <&vcc3v3_sys>;
        vcc6-supply = <&vcc3v3_sys>;
        vcc7-supply = <&vcc3v3_sys>;

        regulators {
            vdd_cpu: dcdc1 {
                regulator-name = "vdd_cpu";
                regulator-min-microvolt = <500000>;
                regulator-max-microvolt = <1500000>;
                regulator-initial-mode = <0x1>;
                regulator-boot-on;
                regulator-always-on;
                regulator-state-mem {
                    regulator-mode = <0x2>;
                    regulator-off-in-suspend;
                    regulator-suspend-microvolt = <950000>;
                };
            };

            vcc3v3_sys: dcdc2 {
                regulator-name = "vcc3v3_sys";
                regulator-min-microvolt = <3300000>;
                regulator-max-microvolt = <3300000>;
                regulator-initial-mode = <0x1>;
                regulator-boot-on;
                regulator-always-on;
                regulator-state-mem {
                    regulator-mode = <0x2>;
                    regulator-on-in-suspend;
                    regulator-suspend-microvolt = <3300000>;
                };
            };

            vcc_ddr: dcdc3 {
                regulator-name = "vcc_ddr";
                regulator-boot-on;
                regulator-always-on;
                regulator-state-mem {
                    regulator-mode = <0x2>;
                    regulator-on-in-suspend;
                };
            };

            vdd_logic: dcdc4 {
                regulator-name = "vdd_logic";
                regulator-min-microvolt = <500000>;
                regulator-max-microvolt = <1500000>;
                regulator-initial-mode = <0x1>;
                regulator-boot-on;
                regulator-always-on;
                regulator-state-mem {
                    regulator-mode = <0x2>;
                    regulator-off-in-suspend;
                    regulator-suspend-microvolt = <900000>;
                };
            };

            vdd0v9_sys: ldo1 {
                regulator-name = "vdd0v9_sys";
                regulator-min-microvolt = <900000>;
                regulator-max-microvolt = <900000>;
                regulator-boot-on;
                regulator-always-on;
                regulator-state-mem {
                    regulator-off-in-suspend;
                    regulator-suspend-microvolt = <900000>;
                };
            };

            vcc_1v8: ldo2 {
                regulator-name = "vcc_1v8";
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <1800000>;
                regulator-boot-on;
                regulator-always-on;
                regulator-state-mem {
                    regulator-off-in-suspend;
                    regulator-suspend-microvolt = <1800000>;
                };
            };

            vcc_3v3: switch {
                regulator-name = "vcc_3v3";
                regulator-boot-on;
                regulator-always-on;
                regulator-state-mem {
                    regulator-off-in-suspend;
                    regulator-suspend-microvolt = <3300000>;
                };
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

RK805 Power Management Integrated Circuit

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/rockchip,rk805.yaml#"

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

Maintainers (maintainers): "Chris Zhong <zyw@rock-chips.com>", "Zhang Qing <zhangqing@rock-chips.com>"

Rockchip RK805 series PMIC. This device consists of an i2c controlled MFD that includes multiple switchable regulators.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "rockchip,rk805"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

See <dt-bindings/clock/rockchip,rk808.h> for clock IDs.

Minimum value (minimum): 0

Maximum value (maximum): 1

clock-output-names — not listed as required here #

From common clock binding to override the default output clock name.

gpio-controller — not listed as required here #

true — No constraints added by this property rule.

#gpio-cells — not listed as required here #

Exact value (const): 2

rockchip,system-power-controller — not listed as required here #

Value type (type): "boolean"

Deprecated (deprecated): true

Telling whether or not this PMIC is controlling the system power.

system-power-controller — not listed as required here #

true — No constraints added by this property rule.

wakeup-source — not listed as required here #

Value type (type): "boolean"

Device can be used as a wakeup source.

vcc1-supply — not listed as required here #

The input supply for DCDC_REG1.

vcc2-supply — not listed as required here #

The input supply for DCDC_REG2.

vcc3-supply — not listed as required here #

The input supply for DCDC_REG3.

vcc4-supply — not listed as required here #

The input supply for DCDC_REG4.

vcc5-supply — not listed as required here #

The input supply for LDO_REG1 and LDO_REG2.

vcc6-supply — not listed as required here #

The input supply for LDO_REG3.

regulators — not listed as required here #

Value type (type): "object"

Properties matching a name pattern (patternProperties) #

^(DCDC_REG[1-4]|LDO_REG[1-3])$ — name matches this regular expression

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

#clock-cells — not listed as required here

Exact value (const): 0

When the condition matches (then) #

Properties and child nodes (properties)

clock-output-names — not listed as required here

Maximum number of items (maxItems): 1

When the condition does not match (else) #

Properties and child nodes (properties)

clock-output-names — not listed as required here

Maximum number of items (maxItems): 2

Required in this object (required): "compatible", "reg", "interrupts", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/pinctrl/rockchip.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/gpio/gpio.h>
i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    pmic@18 {
        compatible = "rockchip,rk805";
        reg = <0x18>;
        interrupt-parent = <&gpio2>;
        interrupts = <RK_PA6 IRQ_TYPE_LEVEL_LOW>;
        pinctrl-names = "default";
        pinctrl-0 = <&pmic_int_l>;
        rockchip,system-power-controller;
        wakeup-source;
        #clock-cells = <0>;

        vcc1-supply = <&vcc_sys>;
        vcc2-supply = <&vcc_sys>;
        vcc3-supply = <&vcc_sys>;
        vcc4-supply = <&vcc_sys>;
        vcc5-supply = <&vcc_io>;
        vcc6-supply = <&vcc_io>;

        regulators {
            vdd_logic: DCDC_REG1 {
                regulator-name = "vdd_logic";
                regulator-min-microvolt = <700000>;
                regulator-max-microvolt = <1350000>;
                regulator-always-on;
                regulator-boot-on;
                regulator-state-mem {
                    regulator-on-in-suspend;
                    regulator-suspend-microvolt = <1000000>;
                };
            };

            vdd_arm: DCDC_REG2 {
                regulator-name = "vdd_arm";
                regulator-min-microvolt = <700000>;
                regulator-max-microvolt = <1350000>;
                regulator-always-on;
                regulator-boot-on;
                regulator-state-mem {
                    regulator-on-in-suspend;
                    regulator-suspend-microvolt = <950000>;
                };
            };

            vcc_ddr: DCDC_REG3 {
                regulator-name = "vcc_ddr";
                regulator-always-on;
                regulator-boot-on;
                regulator-state-mem {
                    regulator-on-in-suspend;
                };
            };

            vcc_io: DCDC_REG4 {
                regulator-name = "vcc_io";
                regulator-min-microvolt = <3300000>;
                regulator-max-microvolt = <3300000>;
                regulator-always-on;
                regulator-boot-on;
                regulator-state-mem {
                    regulator-on-in-suspend;
                    regulator-suspend-microvolt = <3300000>;
                };
            };

            vdd_18: LDO_REG1 {
                regulator-name = "vdd_18";
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <1800000>;
                regulator-always-on;
                regulator-boot-on;
                regulator-state-mem {
                    regulator-on-in-suspend;
                    regulator-suspend-microvolt = <1800000>;
                };
            };

            vcc18_emmc: LDO_REG2 {
                regulator-name = "vcc_18emmc";
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <1800000>;
                regulator-always-on;
                regulator-boot-on;
                regulator-state-mem {
                    regulator-on-in-suspend;
                    regulator-suspend-microvolt = <1800000>;
                };
            };

            vdd_11: LDO_REG3 {
                regulator-name = "vdd_11";
                regulator-min-microvolt = <1100000>;
                regulator-max-microvolt = <1100000>;
                regulator-always-on;
                regulator-boot-on;
                regulator-state-mem {
                    regulator-on-in-suspend;
                    regulator-suspend-microvolt = <1100000>;
                };
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

RK806 Power Management Integrated Circuit

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/rockchip,rk806.yaml#"

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

Maintainers (maintainers): "Sebastian Reichel <sebastian.reichel@collabora.com>"

Rockchip RK806 series PMIC. This device consists of an spi or i2c controlled MFD that includes multiple switchable regulators.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "rockchip,rk806"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

gpio-controller — not listed as required here #

true — No constraints added by this property rule.

#gpio-cells — not listed as required here #

Exact value (const): 2

system-power-controller — not listed as required here #

true — No constraints added by this property rule.

rockchip,reset-mode — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 1, 2

Mode to use when a reset of the PMIC is triggered. The reset can be triggered either programmatically, via one of the PWRCTRL pins (provided additional configuration) or asserting RESETB pin low. The following modes are supported - 0; restart PMU, - 1; reset all power off reset registers and force state to switch to ACTIVE mode, - 2; same as mode 1 and also pull RESETB pin down for 5ms, For example, some hardware may require a full restart (mode 0) in order to function properly as regulators are shortly interrupted in this mode.

vcc1-supply — not listed as required here #

The input supply for dcdc-reg1.

vcc2-supply — not listed as required here #

The input supply for dcdc-reg2.

vcc3-supply — not listed as required here #

The input supply for dcdc-reg3.

vcc4-supply — not listed as required here #

The input supply for dcdc-reg4.

vcc5-supply — not listed as required here #

The input supply for dcdc-reg5.

vcc6-supply — not listed as required here #

The input supply for dcdc-reg6.

vcc7-supply — not listed as required here #

The input supply for dcdc-reg7.

vcc8-supply — not listed as required here #

The input supply for dcdc-reg8.

vcc9-supply — not listed as required here #

The input supply for dcdc-reg9.

vcc10-supply — not listed as required here #

The input supply for dcdc-reg10.

vcc11-supply — not listed as required here #

The input supply for pldo-reg1, pldo-reg2 and pldo-reg3.

vcc12-supply — not listed as required here #

The input supply for pldo-reg4 and pldo-reg5.

vcc13-supply — not listed as required here #

The input supply for nldo-reg1, nldo-reg2 and nldo-reg3.

vcc14-supply — not listed as required here #

The input supply for nldo-reg4 and nldo-reg5.

vcca-supply — not listed as required here #

The input supply for pldo-reg6.

regulators — not listed as required here #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties matching a name pattern (patternProperties) #

^(dcdc-reg([1-9]|10)|pldo-reg[1-6]|nldo-reg[1-5])$ — name matches this regular expression

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties matching a name pattern (patternProperties) #

-pins$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Shared schema rule ($ref): /schemas/pinctrl/pinmux-node.yaml

Properties and child nodes (properties) #

function — not listed as required here

Allowed values (enum): "pin_fun0", "pin_fun1", "pin_fun2", "pin_fun3", "pin_fun4", "pin_fun5"

pins — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/string

Allowed values (enum): "gpio_pwrctrl1", "gpio_pwrctrl2", "gpio_pwrctrl3"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/spi/spi-peripheral-props.yaml

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/pinctrl/rockchip.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/gpio/gpio.h>
spi {
    #address-cells = <1>;
    #size-cells = <0>;

    pmic@0 {
        compatible = "rockchip,rk806";
        reg = <0x0>;

        interrupts = <7 IRQ_TYPE_LEVEL_LOW>;

        vcc1-supply = <&vcc5v0_sys>;
        vcc2-supply = <&vcc5v0_sys>;
        vcc3-supply = <&vcc5v0_sys>;
        vcc4-supply = <&vcc5v0_sys>;
        vcc5-supply = <&vcc5v0_sys>;
        vcc6-supply = <&vcc5v0_sys>;
        vcc7-supply = <&vcc5v0_sys>;
        vcc8-supply = <&vcc5v0_sys>;
        vcc9-supply = <&vcc5v0_sys>;
        vcc10-supply = <&vcc5v0_sys>;
        vcc11-supply = <&vcc_2v0_pldo_s3>;
        vcc12-supply = <&vcc5v0_sys>;
        vcc13-supply = <&vcc5v0_sys>;
        vcc14-supply = <&vcc_1v1_nldo_s3>;
        vcca-supply = <&vcc5v0_sys>;

        regulators {
            vdd_gpu_s0: dcdc-reg1 {
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = <550000>;
                regulator-max-microvolt = <950000>;
                regulator-ramp-delay = <12500>;
                regulator-name = "vdd_gpu_s0";
                regulator-state-mem {
                    regulator-off-in-suspend;
                };
            };

            vdd_npu_s0: dcdc-reg2 {
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = <550000>;
                regulator-max-microvolt = <950000>;
                regulator-ramp-delay = <12500>;
                regulator-name = "vdd_npu_s0";
                regulator-state-mem {
                    regulator-off-in-suspend;
                };
            };

            vdd_log_s0: dcdc-reg3 {
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = <750000>;
                regulator-max-microvolt = <750000>;
                regulator-ramp-delay = <12500>;
                regulator-name = "vdd_log_s0";
                regulator-state-mem {
                    regulator-on-in-suspend;
                    regulator-suspend-microvolt = <750000>;
                };
            };

            vdd_vdenc_s0: dcdc-reg4 {
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = <550000>;
                regulator-max-microvolt = <950000>;
                regulator-ramp-delay = <12500>;
                regulator-name = "vdd_vdenc_s0";
                regulator-state-mem {
                    regulator-off-in-suspend;
                };
            };

            vdd_gpu_mem_s0: dcdc-reg5 {
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = <675000>;
                regulator-max-microvolt = <950000>;
                regulator-ramp-delay = <12500>;
                regulator-name = "vdd_gpu_mem_s0";
                regulator-state-mem {
                    regulator-off-in-suspend;
                };
            };

            vdd_npu_mem_s0: dcdc-reg6 {
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = <675000>;
                regulator-max-microvolt = <950000>;
                regulator-ramp-delay = <12500>;
                regulator-name = "vdd_npu_mem_s0";
                regulator-state-mem {
                    regulator-off-in-suspend;
                };
            };

            vcc_2v0_pldo_s3: dcdc-reg7 {
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = <2000000>;
                regulator-max-microvolt = <2000000>;
                regulator-ramp-delay = <12500>;
                regulator-name = "vdd_2v0_pldo_s3";
                regulator-state-mem {
                    regulator-on-in-suspend;
                    regulator-suspend-microvolt = <2000000>;
                };
            };

            vdd_vdenc_mem_s0: dcdc-reg8 {
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = <675000>;
                regulator-max-microvolt = <950000>;
                regulator-ramp-delay = <12500>;
                regulator-name = "vdd_vdenc_mem_s0";
                regulator-state-mem {
                    regulator-off-in-suspend;
                };
            };

            vdd2_ddr_s3: dcdc-reg9 {
                regulator-always-on;
                regulator-boot-on;
                regulator-name = "vdd2_ddr_s3";
                regulator-state-mem {
                    regulator-on-in-suspend;
                };
            };

            vcc_1v1_nldo_s3: dcdc-reg10 {
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = <1100000>;
                regulator-max-microvolt = <1100000>;
                regulator-ramp-delay = <12500>;
                regulator-name = "vcc_1v1_nldo_s3";
                regulator-state-mem {
                    regulator-on-in-suspend;
                    regulator-suspend-microvolt = <1100000>;
                };
            };

            avcc_1v8_s0: pldo-reg1 {
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <1800000>;
                regulator-ramp-delay = <12500>;
                regulator-name = "avcc_1v8_s0";
                regulator-state-mem {
                    regulator-off-in-suspend;
                };
            };

            vdd1_1v8_ddr_s3: pldo-reg2 {
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <1800000>;
                regulator-ramp-delay = <12500>;
                regulator-name = "vdd1_1v8_ddr_s3";
                regulator-state-mem {
                    regulator-on-in-suspend;
                    regulator-suspend-microvolt = <1800000>;
                };
            };

            vcc_1v8_s3: pldo-reg3 {
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <1800000>;
                regulator-ramp-delay = <12500>;
                regulator-name = "vcc_1v8_s3";
                regulator-state-mem {
                    regulator-on-in-suspend;
                    regulator-suspend-microvolt = <1800000>;
                };
            };

            vcc_3v3_s0: pldo-reg4 {
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = <3300000>;
                regulator-max-microvolt = <3300000>;
                regulator-ramp-delay = <12500>;
                regulator-name = "vcc_3v3_s0";
                regulator-state-mem {
                    regulator-off-in-suspend;
                };
            };

            vccio_sd_s0: pldo-reg5 {
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <3300000>;
                regulator-ramp-delay = <12500>;
                regulator-name = "vccio_sd_s0";
                regulator-state-mem {
                    regulator-off-in-suspend;
                };
            };

            master_pldo6_s3: pldo-reg6 {
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <1800000>;
                regulator-name = "master_pldo6_s3";
                regulator-state-mem {
                    regulator-on-in-suspend;
                    regulator-suspend-microvolt = <1800000>;
                };
            };

            vdd_0v75_s3: nldo-reg1 {
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = <750000>;
                regulator-max-microvolt = <750000>;
                regulator-ramp-delay = <12500>;
                regulator-name = "vdd_0v75_s3";
                regulator-state-mem {
                    regulator-on-in-suspend;
                    regulator-suspend-microvolt = <750000>;
                };
            };

            vdd2l_0v9_ddr_s3: nldo-reg2 {
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = <900000>;
                regulator-max-microvolt = <900000>;
                regulator-name = "vdd2l_0v9_ddr_s3";
                regulator-state-mem {
                    regulator-on-in-suspend;
                    regulator-suspend-microvolt = <900000>;
                };
            };

            master_nldo3: nldo-reg3 {
                regulator-name = "master_nldo3";
                regulator-state-mem {
                    regulator-off-in-suspend;
                };
            };

            avdd_0v75_s0: nldo-reg4 {
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = <750000>;
                regulator-max-microvolt = <750000>;
                regulator-name = "avdd_0v75_s0";
                regulator-state-mem {
                    regulator-off-in-suspend;
                };
            };

            vdd_0v85_s0: nldo-reg5 {
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = <850000>;
                regulator-max-microvolt = <850000>;
                regulator-name = "vdd_0v85_s0";
                regulator-state-mem {
                    regulator-off-in-suspend;
                };
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

RK808 Power Management Integrated Circuit

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/rockchip,rk808.yaml#"

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

Maintainers (maintainers): "Chris Zhong <zyw@rock-chips.com>", "Zhang Qing <zhangqing@rock-chips.com>"

Rockchip RK808 series PMIC. This device consists of an i2c controlled MFD that includes regulators, an RTC, and a power button.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "rockchip,rk808"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

See <dt-bindings/clock/rockchip,rk808.h> for clock IDs.

Exact value (const): 1

clock-output-names — not listed as required here #

From common clock binding to override the default output clock name.

Maximum number of items (maxItems): 2

rockchip,system-power-controller — not listed as required here #

Value type (type): "boolean"

Deprecated (deprecated): true

Telling whether or not this PMIC is controlling the system power.

system-power-controller — not listed as required here #

true — No constraints added by this property rule.

wakeup-source — not listed as required here #

Value type (type): "boolean"

Device can be used as a wakeup source.

vcc1-supply — not listed as required here #

The input supply for DCDC_REG1.

vcc2-supply — not listed as required here #

The input supply for DCDC_REG2.

vcc3-supply — not listed as required here #

The input supply for DCDC_REG3.

vcc4-supply — not listed as required here #

The input supply for DCDC_REG4.

vcc6-supply — not listed as required here #

The input supply for LDO_REG1 and LDO_REG2.

vcc7-supply — not listed as required here #

The input supply for LDO_REG3 and LDO_REG7.

vcc8-supply — not listed as required here #

The input supply for SWITCH_REG1.

vcc9-supply — not listed as required here #

The input supply for LDO_REG4 and LDO_REG5.

vcc10-supply — not listed as required here #

The input supply for LDO_REG6.

vcc11-supply — not listed as required here #

The input supply for LDO_REG8.

vcc12-supply — not listed as required here #

The input supply for SWITCH_REG2.

vddio-supply — not listed as required here #

The input supply for digital IO.

dvs-gpios — not listed as required here #

buck1/2 can be controlled by gpio dvs, this is GPIO specifiers for 2 host gpio's used for dvs. The format of the gpio specifier depends in the gpio controller. If DVS GPIOs aren't present, voltage changes will happen very quickly with no slow ramp time.

Maximum number of items (maxItems): 2

regulators — not listed as required here #

Value type (type): "object"

Properties matching a name pattern (patternProperties) #

^(DCDC_REG[1-4]|LDO_REG[1-8]|SWITCH_REG[1-2])$ — name matches this regular expression

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "interrupts", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/pinctrl/rockchip.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/gpio/gpio.h>
i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    rk808: pmic@1b {
        compatible = "rockchip,rk808";
        clock-output-names = "xin32k", "rk808-clkout2";
        interrupt-parent = <&gpio0>;
        interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
        pinctrl-names = "default";
        pinctrl-0 = <&pmic_int &dvs_1 &dvs_2>;
        dvs-gpios = <&gpio7 11 GPIO_ACTIVE_HIGH>,
            <&gpio7 15 GPIO_ACTIVE_HIGH>;
        reg = <0x1b>;
        rockchip,system-power-controller;
        wakeup-source;
        #clock-cells = <1>;

        vcc8-supply = <&vcc_18>;
        vcc9-supply = <&vcc_io>;
        vcc10-supply = <&vcc_io>;
        vcc12-supply = <&vcc_io>;
        vddio-supply = <&vccio_pmu>;

        regulators {
            vdd_cpu: DCDC_REG1 {
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = <750000>;
                regulator-max-microvolt = <1300000>;
                regulator-name = "vdd_arm";
            };

            vdd_gpu: DCDC_REG2 {
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = <850000>;
                regulator-max-microvolt = <1250000>;
                regulator-name = "vdd_gpu";
            };

            vcc_ddr: DCDC_REG3 {
                regulator-always-on;
                regulator-boot-on;
                regulator-name = "vcc_ddr";
            };

            vcc_io: DCDC_REG4 {
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = <3300000>;
                regulator-max-microvolt = <3300000>;
                regulator-name = "vcc_io";
            };

            vccio_pmu: LDO_REG1 {
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = <3300000>;
                regulator-max-microvolt = <3300000>;
                regulator-name = "vccio_pmu";
            };

            vcc_tp: LDO_REG2 {
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = <3300000>;
                regulator-max-microvolt = <3300000>;
                regulator-name = "vcc_tp";
            };

            vdd_10: LDO_REG3 {
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = <1000000>;
                regulator-max-microvolt = <1000000>;
                regulator-name = "vdd_10";
            };

            vcc18_lcd: LDO_REG4 {
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <1800000>;
                regulator-name = "vcc18_lcd";
            };

            vccio_sd: LDO_REG5 {
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <3300000>;
                regulator-name = "vccio_sd";
            };

            vdd10_lcd: LDO_REG6 {
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = <1000000>;
                regulator-max-microvolt = <1000000>;
                regulator-name = "vdd10_lcd";
            };

            vcc_18: LDO_REG7 {
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <1800000>;
                regulator-name = "vcc_18";
            };

            vcca_codec: LDO_REG8 {
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = <3300000>;
                regulator-max-microvolt = <3300000>;
                regulator-name = "vcca_codec";
            };

            vcc_wl: SWITCH_REG1 {
                regulator-always-on;
                regulator-boot-on;
                regulator-name = "vcc_wl";
            };

            vcc_lcd: SWITCH_REG2 {
                regulator-always-on;
                regulator-boot-on;
                regulator-name = "vcc_lcd";
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

RK816 Power Management Integrated Circuit

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/rockchip,rk816.yaml#"

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

Maintainers (maintainers): "Chris Zhong <zyw@rock-chips.com>", "Zhang Qing <zhangqing@rock-chips.com>"

Rockchip RK816 series PMIC. This device consists of an i2c controlled MFD that includes regulators, a RTC, a GPIO controller, a power button, and a battery charger manager with fuel gauge.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "rockchip,rk816"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

See <dt-bindings/clock/rockchip,rk808.h> for clock IDs.

Exact value (const): 1

clock-output-names — not listed as required here #

Maximum number of items (maxItems): 2

gpio-controller — not listed as required here #

true — No constraints added by this property rule.

#gpio-cells — not listed as required here #

Exact value (const): 2

system-power-controller — not listed as required here #

Value type (type): "boolean"

Telling whether or not this PMIC is controlling the system power.

wakeup-source — not listed as required here #

Value type (type): "boolean"

vcc1-supply — not listed as required here #

The input supply for dcdc1.

vcc2-supply — not listed as required here #

The input supply for dcdc2.

vcc3-supply — not listed as required here #

The input supply for dcdc3.

vcc4-supply — not listed as required here #

The input supply for dcdc4.

vcc5-supply — not listed as required here #

The input supply for ldo1, ldo2, and ldo3.

vcc6-supply — not listed as required here #

The input supply for ldo4, ldo5, and ldo6.

vcc7-supply — not listed as required here #

The input supply for boost.

vcc8-supply — not listed as required here #

The input supply for otg-switch.

regulators — not listed as required here #

Value type (type): "object"

Properties matching a name pattern (patternProperties) #

^(boost|dcdc[1-4]|ldo[1-6]|otg-switch)$ — name matches this regular expression

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties matching a name pattern (patternProperties) #

-pins$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Shared schema rule ($ref): /schemas/pinctrl/pinmux-node.yaml

Properties and child nodes (properties) #

function — not listed as required here

Allowed values (enum): "gpio", "thermistor"

pins — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/string

Exact value (const): "gpio0"

Required in this object (required): "compatible", "reg", "interrupts", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/pinctrl/rockchip.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/gpio/gpio.h>

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    rk816: pmic@1a {
        compatible = "rockchip,rk816";
        reg = <0x1a>;
        interrupt-parent = <&gpio0>;
        interrupts = <RK_PA2 IRQ_TYPE_LEVEL_LOW>;
        clock-output-names = "xin32k", "rk816-clkout2";
        pinctrl-names = "default";
        pinctrl-0 = <&pmic_int_l>;
        gpio-controller;
        system-power-controller;
        wakeup-source;
        #clock-cells = <1>;
        #gpio-cells = <2>;

        vcc1-supply = <&vcc_sys>;
        vcc2-supply = <&vcc_sys>;
        vcc3-supply = <&vcc_sys>;
        vcc4-supply = <&vcc_sys>;
        vcc5-supply = <&vcc33_io>;
        vcc6-supply = <&vcc_sys>;

        regulators {
            vdd_cpu: dcdc1 {
                regulator-name = "vdd_cpu";
                regulator-min-microvolt = <750000>;
                regulator-max-microvolt = <1450000>;
                regulator-ramp-delay = <6001>;
                regulator-initial-mode = <1>;
                regulator-always-on;
                regulator-boot-on;

                regulator-state-mem {
                    regulator-off-in-suspend;
                };
            };

            vdd_logic: dcdc2 {
                regulator-name = "vdd_logic";
                regulator-min-microvolt = <800000>;
                regulator-max-microvolt = <1250000>;
                regulator-ramp-delay = <6001>;
                regulator-initial-mode = <1>;
                regulator-always-on;
                regulator-boot-on;

                regulator-state-mem {
                    regulator-on-in-suspend;
                    regulator-suspend-microvolt = <1000000>;
                };
            };

            vcc_ddr: dcdc3 {
                regulator-name = "vcc_ddr";
                regulator-initial-mode = <1>;
                regulator-always-on;
                regulator-boot-on;

                regulator-state-mem {
                    regulator-on-in-suspend;
                };
            };

            vcc33_io: dcdc4 {
                regulator-min-microvolt = <3300000>;
                regulator-max-microvolt = <3300000>;
                regulator-name = "vcc33_io";
                regulator-initial-mode = <1>;
                regulator-always-on;
                regulator-boot-on;

                regulator-state-mem {
                    regulator-on-in-suspend;
                    regulator-suspend-microvolt = <3300000>;
                };
            };

            vccio_pmu: ldo1 {
                regulator-min-microvolt = <3300000>;
                regulator-max-microvolt = <3300000>;
                regulator-name = "vccio_pmu";
                regulator-always-on;
                regulator-boot-on;

                regulator-state-mem {
                    regulator-on-in-suspend;
                    regulator-suspend-microvolt = <3300000>;
                };
            };

            vcc_tp: ldo2 {
                regulator-min-microvolt = <3300000>;
                regulator-max-microvolt = <3300000>;
                regulator-name = "vcc_tp";

                regulator-state-mem {
                    regulator-off-in-suspend;
                };
            };

            vdd_10: ldo3 {
                regulator-min-microvolt = <1000000>;
                regulator-max-microvolt = <1000000>;
                regulator-name = "vdd_10";
                regulator-always-on;
                regulator-boot-on;

                regulator-state-mem {
                    regulator-on-in-suspend;
                    regulator-suspend-microvolt = <1000000>;
                };
            };

            vcc18_lcd: ldo4 {
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <1800000>;
                regulator-name = "vcc18_lcd";

                regulator-state-mem {
                    regulator-on-in-suspend;
                    regulator-suspend-microvolt = <1800000>;
                };
            };

            vccio_sd: ldo5 {
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <3300000>;
                regulator-name = "vccio_sd";

                regulator-state-mem {
                    regulator-on-in-suspend;
                    regulator-suspend-microvolt = <3300000>;
                };
            };

            vdd10_lcd: ldo6 {
                regulator-min-microvolt = <1000000>;
                regulator-max-microvolt = <1000000>;
                regulator-name = "vdd10_lcd";

                regulator-state-mem {
                    regulator-on-in-suspend;
                    regulator-suspend-microvolt = <1000000>;
                };
            };
        };

        rk816_gpio_pins: gpio-pins {
            function = "gpio";
            pins = "gpio0";
        };
    };
};

Source notes #

Annotations retained from the schema source

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

RK809/RK817 Power Management Integrated Circuit

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/rockchip,rk817.yaml#"

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

Maintainers (maintainers): "Chris Zhong <zyw@rock-chips.com>", "Zhang Qing <zhangqing@rock-chips.com>"

Rockchip RK809/RK817 series PMIC. This device consists of an i2c controlled MFD that includes regulators, an RTC, a power button and an audio codec. The RK817 variant also provides a battery charger manager.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "rockchip,rk809", "rockchip,rk817"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

See <dt-bindings/clock/rockchip,rk808.h> for clock IDs.

Minimum value (minimum): 0

Maximum value (maximum): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "mclk"

clock-output-names — not listed as required here #

From common clock binding to override the default output clock name.

rockchip,system-power-controller — not listed as required here #

Value type (type): "boolean"

Deprecated (deprecated): true

Telling whether or not this PMIC is controlling the system power.

#sound-dai-cells — not listed as required here #

Exact value (const): 0

system-power-controller — not listed as required here #

true — No constraints added by this property rule.

wakeup-source — not listed as required here #

Value type (type): "boolean"

Device can be used as a wakeup source.

vcc1-supply — not listed as required here #

The input supply for DCDC_REG1.

vcc2-supply — not listed as required here #

The input supply for DCDC_REG2.

vcc3-supply — not listed as required here #

The input supply for DCDC_REG3.

vcc4-supply — not listed as required here #

The input supply for DCDC_REG4.

vcc5-supply — not listed as required here #

The input supply for LDO_REG1, LDO_REG2, and LDO_REG3.

vcc6-supply — not listed as required here #

The input supply for LDO_REG4, LDO_REG5, and LDO_REG6.

vcc7-supply — not listed as required here #

The input supply for LDO_REG7, LDO_REG8, and LDO_REG9.

vcc8-supply — not listed as required here #

The input supply for BOOST on RK817, or for SWITCH_REG2 on RK809.

vcc9-supply — not listed as required here #

The input supply for OTG_SWITCH on RK817, or for DCDC_REG5 and SWITCH_REG1 on RK809.

regulators — not listed as required here #

Value type (type): "object"

Properties matching a name pattern (patternProperties) #

^(LDO_REG[1-9]|DCDC_REG[1-5]|BOOST|OTG_SWITCH|SWITCH_REG[1-2])$ — name matches this regular expression

Shared schema rule ($ref): /schemas/regulator/regulator.yaml

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

codec — not listed as required here #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

rockchip,mic-in-differential — not listed as required here

Value type (type): "boolean"

Describes if the microphone uses differential mode.

charger — not listed as required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/power/supply/power-supply.yaml

Properties and child nodes (properties) #

monitored-battery — required here

A phandle to a monitored battery node that contains a valid value for: charge-full-design-microamp-hours, charge-term-current-microamp, constant-charge-current-max-microamp, constant-charge-voltage-max-microvolt, voltage-max-design-microvolt, voltage-min-design-microvolt, and a valid ocv-capacity table.

rockchip,resistor-sense-micro-ohms — required here

Value in microohms of the battery sense resistor. This value is used by the driver to set the correct divisor value to translate ADC readings into the proper units of measure.

Allowed values (enum): 10000, 20000

rockchip,sleep-enter-current-microamp — required here

Value in microamps of the sleep enter current for the charger. Value is used by the driver to calibrate the relax threshold.

rockchip,sleep-filter-current-microamp — required here

Value in microamps of the sleep filter current for the charger. Value is used by the driver to derive the sleep sample current.

Required in this object (required): "monitored-battery", "rockchip,resistor-sense-micro-ohms", "rockchip,sleep-enter-current-microamp", "rockchip,sleep-filter-current-microamp"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/sound/dai-common.yaml#

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

#clock-cells — not listed as required here

Exact value (const): 0

When the condition matches (then) #

Properties and child nodes (properties)

clock-output-names — not listed as required here

Maximum number of items (maxItems): 1

When the condition does not match (else) #

Properties and child nodes (properties)

clock-output-names — not listed as required here

Maximum number of items (maxItems): 2

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "rockchip,rk817"

When the condition matches (then) #

Properties and child nodes (properties)

regulators — not listed as required here

Properties matching a name pattern (patternProperties)

^(DCDC_REG5|SWITCH_REG[1-2])$ — name matches this regular expression

false — Not permitted by this property rule.

When the condition does not match (else) #

Properties and child nodes (properties)

regulators — not listed as required here

Properties matching a name pattern (patternProperties)

^(BOOST|OTG_SWITCH)$ — name matches this regular expression

false — Not permitted by this property rule.

Required in this object (required): "compatible", "reg", "interrupts", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/px30-cru.h>
#include <dt-bindings/pinctrl/rockchip.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/gpio/gpio.h>
i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    rk817: pmic@20 {
        compatible = "rockchip,rk817";
        reg = <0x20>;
        interrupt-parent = <&gpio0>;
        interrupts = <RK_PB2 IRQ_TYPE_LEVEL_LOW>;
        clock-output-names = "rk808-clkout1", "xin32k";
        clock-names = "mclk";
        clocks = <&cru SCLK_I2S1_OUT>;
        pinctrl-names = "default";
        pinctrl-0 = <&pmic_int>, <&i2s1_2ch_mclk>;
        wakeup-source;
        #clock-cells = <1>;
        #sound-dai-cells = <0>;

        vcc1-supply = <&vccsys>;
        vcc2-supply = <&vccsys>;
        vcc3-supply = <&vccsys>;
        vcc4-supply = <&vccsys>;
        vcc5-supply = <&vccsys>;
        vcc6-supply = <&vccsys>;
        vcc7-supply = <&vccsys>;

        regulators {
            vdd_logic: DCDC_REG1 {
                regulator-name = "vdd_logic";
                regulator-min-microvolt = <950000>;
                regulator-max-microvolt = <1150000>;
                regulator-ramp-delay = <6001>;
                regulator-always-on;
                regulator-boot-on;

                regulator-state-mem {
                    regulator-on-in-suspend;
                    regulator-suspend-microvolt = <950000>;
                };
            };

            vdd_arm: DCDC_REG2 {
                regulator-name = "vdd_arm";
                regulator-min-microvolt = <950000>;
                regulator-max-microvolt = <1350000>;
                regulator-ramp-delay = <6001>;
                regulator-always-on;
                regulator-boot-on;

                regulator-state-mem {
                    regulator-off-in-suspend;
                    regulator-suspend-microvolt = <950000>;
                };
            };

            vcc_ddr: DCDC_REG3 {
                regulator-name = "vcc_ddr";
                regulator-always-on;
                regulator-boot-on;

                regulator-state-mem {
                    regulator-on-in-suspend;
                };
            };

            vcc_3v3: DCDC_REG4 {
                regulator-name = "vcc_3v3";
                regulator-min-microvolt = <3300000>;
                regulator-max-microvolt = <3300000>;
                regulator-always-on;
                regulator-boot-on;

                regulator-state-mem {
                    regulator-off-in-suspend;
                    regulator-suspend-microvolt = <3300000>;
                };
            };

            vcc_1v8: LDO_REG2 {
                regulator-name = "vcc_1v8";
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <1800000>;
                regulator-always-on;
                regulator-boot-on;

                regulator-state-mem {
                    regulator-on-in-suspend;
                    regulator-suspend-microvolt = <1800000>;
                };
            };

            vdd_1v0: LDO_REG3 {
                regulator-name = "vdd_1v0";
                regulator-min-microvolt = <1000000>;
                regulator-max-microvolt = <1000000>;
                regulator-always-on;
                regulator-boot-on;

                regulator-state-mem {
                    regulator-on-in-suspend;
                    regulator-suspend-microvolt = <1000000>;
                };
            };

            vcc3v3_pmu: LDO_REG4 {
                regulator-name = "vcc3v3_pmu";
                regulator-min-microvolt = <3300000>;
                regulator-max-microvolt = <3300000>;
                regulator-always-on;
                regulator-boot-on;

                regulator-state-mem {
                    regulator-on-in-suspend;
                    regulator-suspend-microvolt = <3300000>;
                };
            };

            vccio_sd: LDO_REG5 {
                regulator-name = "vccio_sd";
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <3300000>;
                regulator-always-on;
                regulator-boot-on;

                regulator-state-mem {
                    regulator-on-in-suspend;
                    regulator-suspend-microvolt = <3300000>;
                };
            };

            vcc_sd: LDO_REG6 {
                regulator-name = "vcc_sd";
                regulator-min-microvolt = <3300000>;
                regulator-max-microvolt = <3300000>;
                regulator-boot-on;

                regulator-state-mem {
                    regulator-on-in-suspend;
                    regulator-suspend-microvolt = <3300000>;
                };
            };

            vcc_bl: LDO_REG7 {
                regulator-name = "vcc_bl";
                regulator-min-microvolt = <3300000>;
                regulator-max-microvolt = <3300000>;

                regulator-state-mem {
                    regulator-off-in-suspend;
                    regulator-suspend-microvolt = <3300000>;
                };
            };

            vcc_lcd: LDO_REG8 {
                regulator-name = "vcc_lcd";
                regulator-min-microvolt = <2800000>;
                regulator-max-microvolt = <2800000>;

                regulator-state-mem {
                    regulator-off-in-suspend;
                    regulator-suspend-microvolt = <2800000>;
                };
            };

            vcc_cam: LDO_REG9 {
                regulator-name = "vcc_cam";
                regulator-min-microvolt = <3000000>;
                regulator-max-microvolt = <3000000>;

                regulator-state-mem {
                    regulator-off-in-suspend;
                    regulator-suspend-microvolt = <3000000>;
                };
            };
        };

        rk817_charger: charger {
            monitored-battery = <&battery>;
            rockchip,resistor-sense-micro-ohms = <10000>;
            rockchip,sleep-enter-current-microamp = <300000>;
            rockchip,sleep-filter-current-microamp = <100000>;
        };

        rk817_codec: codec {
            rockchip,mic-in-differential;
        };
    };
};

Source notes #

Annotations retained from the schema source

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

RK818 Power Management Integrated Circuit

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/rockchip,rk818.yaml#"

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

Maintainers (maintainers): "Chris Zhong <zyw@rock-chips.com>", "Zhang Qing <zhangqing@rock-chips.com>"

Rockchip RK818 series PMIC. This device consists of an i2c controlled MFD that includes regulators, an RTC, and a power button.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "rockchip,rk818"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

See <dt-bindings/clock/rockchip,rk808.h> for clock IDs.

Exact value (const): 1

clock-output-names — not listed as required here #

From common clock binding to override the default output clock name.

Maximum number of items (maxItems): 2

rockchip,system-power-controller — not listed as required here #

Value type (type): "boolean"

Deprecated (deprecated): true

Telling whether or not this PMIC is controlling the system power.

system-power-controller — not listed as required here #

true — No constraints added by this property rule.

wakeup-source — not listed as required here #

Value type (type): "boolean"

Device can be used as a wakeup source.

vcc1-supply — not listed as required here #

The input supply for DCDC_REG1.

vcc2-supply — not listed as required here #

The input supply for DCDC_REG2.

vcc3-supply — not listed as required here #

The input supply for DCDC_REG3.

vcc4-supply — not listed as required here #

The input supply for DCDC_REG4.

boost-supply — not listed as required here #

The input supply for DCDC_BOOST

vcc6-supply — not listed as required here #

The input supply for LDO_REG1 and LDO_REG2.

vcc7-supply — not listed as required here #

The input supply for LDO_REG3, LDO_REG5, and LDO_REG7.

vcc8-supply — not listed as required here #

The input supply for LDO_REG4, LDO_REG6, and LDO_REG8.

vcc9-supply — not listed as required here #

The input supply for LDO_REG9 and SWITCH_REG.

vddio-supply — not listed as required here #

The input supply for digital IO.

h_5v-supply — not listed as required here #

The input supply for HDMI_SWITCH.

usb-supply — not listed as required here #

The input supply for OTG_SWITCH.

regulators — not listed as required here #

Value type (type): "object"

Properties matching a name pattern (patternProperties) #

^(DCDC_REG[1-4]|DCDC_BOOST|LDO_REG[1-9]|SWITCH_REG|HDMI_SWITCH|OTG_SWITCH)$ — name matches this regular expression

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "interrupts", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/px30-cru.h>
#include <dt-bindings/pinctrl/rockchip.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/gpio/gpio.h>
i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    rk818: pmic@1c {
        compatible = "rockchip,rk818";
        reg = <0x1c>;
        interrupt-parent = <&gpio0>;
        interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
        pinctrl-names = "default";
        pinctrl-0 = <&pmic_int>;
        rockchip,system-power-controller;
        wakeup-source;
        #clock-cells = <1>;

        vcc1-supply = <&vdd_sys>;
        vcc2-supply = <&vdd_sys>;
        vcc3-supply = <&vdd_sys>;
        vcc4-supply = <&vdd_sys>;
        boost-supply = <&vdd_in_otg_out>;
        vcc6-supply = <&vdd_sys>;
        vcc7-supply = <&vdd_misc_1v8>;
        vcc8-supply = <&vdd_misc_1v8>;
        vcc9-supply = <&vdd_3v3_io>;
        vddio-supply = <&vdd_3v3_io>;

        regulators {
            vdd_log: DCDC_REG1 {
                regulator-name = "vdd_log";
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = <1100000>;
                regulator-max-microvolt = <1100000>;
                regulator-state-mem {
                    regulator-off-in-suspend;
                };
            };

            vdd_gpu: DCDC_REG2 {
                regulator-name = "vdd_gpu";
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = <800000>;
                regulator-max-microvolt = <1250000>;
                regulator-state-mem {
                    regulator-on-in-suspend;
                    regulator-suspend-microvolt = <1000000>;
                };
            };

            vcc_ddr: DCDC_REG3 {
                regulator-name = "vcc_ddr";
                regulator-always-on;
                regulator-boot-on;
                regulator-state-mem {
                    regulator-on-in-suspend;
                };
            };

            vdd_3v3_io: DCDC_REG4 {
                regulator-name = "vdd_3v3_io";
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = <3300000>;
                regulator-max-microvolt = <3300000>;
                regulator-state-mem {
                    regulator-on-in-suspend;
                    regulator-suspend-microvolt = <3300000>;
                };
            };

            vdd_sys: DCDC_BOOST {
                regulator-name = "vdd_sys";
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = <5000000>;
                regulator-max-microvolt = <5000000>;
                regulator-state-mem {
                    regulator-on-in-suspend;
                    regulator-suspend-microvolt = <5000000>;
                };
            };

            vdd_sd: SWITCH_REG {
                regulator-name = "vdd_sd";
                regulator-always-on;
                regulator-boot-on;
                regulator-state-mem {
                    regulator-off-in-suspend;
                };
            };

            vdd_eth_2v5: LDO_REG2 {
                regulator-name = "vdd_eth_2v5";
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = <2500000>;
                regulator-max-microvolt = <2500000>;
                regulator-state-mem {
                    regulator-on-in-suspend;
                    regulator-suspend-microvolt = <2500000>;
                };
            };

            vdd_1v0: LDO_REG3 {
                regulator-name = "vdd_1v0";
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = <1000000>;
                regulator-max-microvolt = <1000000>;
                regulator-state-mem {
                    regulator-on-in-suspend;
                    regulator-suspend-microvolt = <1000000>;
                };
            };

            vdd_1v8_lcd_ldo: LDO_REG4 {
                regulator-name = "vdd_1v8_lcd_ldo";
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <1800000>;
                regulator-state-mem {
                    regulator-on-in-suspend;
                    regulator-suspend-microvolt = <1800000>;
                };
            };

            vdd_1v0_lcd: LDO_REG6 {
                regulator-name = "vdd_1v0_lcd";
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = <1000000>;
                regulator-max-microvolt = <1000000>;
                regulator-state-mem {
                    regulator-on-in-suspend;
                    regulator-suspend-microvolt = <1000000>;
                };
            };

            vdd_1v8_ldo: LDO_REG7 {
                regulator-name = "vdd_1v8_ldo";
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <1800000>;
                regulator-state-mem {
                    regulator-off-in-suspend;
                    regulator-suspend-microvolt = <1800000>;
                };
            };

            vdd_io_sd: LDO_REG9 {
                regulator-name = "vdd_io_sd";
                regulator-always-on;
                regulator-boot-on;
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <3300000>;
                regulator-state-mem {
                    regulator-off-in-suspend;
                };
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

ROHM BD71815 Power Management Integrated Circuit

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/rohm,bd71815-pmic.yaml#"

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

Maintainers (maintainers): "Matti Vaittinen <mazziesaccount@gmail.com>"

BD71815AGW is a single-chip power management ICs for battery-powered portable devices. It integrates 5 buck converters, 8 LDOs, a boost driver for LED and a 500 mA single-cell linear charger. Also included is a Coulomb counter, a real-time clock (RTC), and a 32.768 kHz clock gate and two GPOs.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "rohm,bd71815"

reg — required here #

I2C slave address.

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

gpio-controller — required here #

true — No constraints added by this property rule.

#gpio-cells — required here #

Exact value (const): 2

The first cell is the pin number and the second cell is used to specify flags. See ../gpio/gpio.txt for more information.

clocks — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 0

clock-output-names — not listed as required here #

Exact value (const): "bd71815-32k-out"

rohm,clkout-open-drain — not listed as required here #

clk32kout mode. Set to 1 for "open-drain" or 0 for "cmos".

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Minimum value (minimum): 0

Maximum value (maximum): 1

rohm,charger-sense-resistor-micro-ohms — not listed as required here #

Minimum value (minimum): 10000

Maximum value (maximum): 50000

BD71815 has SAR ADC for measuring charging currents. External sense resistor (RSENSE in data sheet) should be used. If something other but a 30 mOhm resistor is used the resistance value should be given here in micro Ohms.

Default value (default): 30000

regulators — required here #

Shared schema rule ($ref): /schemas/regulator/rohm,bd71815-regulator.yaml

List of child nodes that specify the regulators.

gpio-reserved-ranges — not listed as required here #

Usage of BD71815 GPIO pins can be changed via OTP. This property can be used to mark the pins which should not be configured for GPIO. Please see the ../gpio/gpio.txt for more information.

rohm,enable-hidden-gpo — not listed as required here #

The BD71815 has undocumented GPO at pin E5. Pin is marked as GND at the data-sheet as its location in the middle of GND pins makes it hard to use on PCB. If your board has managed to use this pin you can enable the second GPO by defining this property. Dont enable this if you are unsure about how the E5 pin is connected on your board.

Value type (type): "boolean"

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "#clock-cells", "regulators", "gpio-controller", "#gpio-cells"

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>
#include <dt-bindings/leds/common.h>
i2c {
    #address-cells = <1>;
    #size-cells = <0>;
    pmic: pmic@4b {
        compatible = "rohm,bd71815";
        reg = <0x4b>;

        interrupt-parent = <&gpio1>;
        interrupts = <29 IRQ_TYPE_LEVEL_LOW>;

        clocks = <&osc 0>;
        #clock-cells = <0>;
        clock-output-names = "bd71815-32k-out";

        gpio-controller;
        #gpio-cells = <2>;

        rohm,charger-sense-resistor-micro-ohms = <10000>;

        regulators {
            buck1: buck1 {
                regulator-name = "buck1";
                regulator-min-microvolt = <800000>;
                regulator-max-microvolt = <2000000>;
                regulator-always-on;
                regulator-ramp-delay = <1250>;
                rohm,dvs-run-voltage = <1150000>;
                rohm,dvs-suspend-voltage = <950000>;
            };
            buck2: buck2 {
                regulator-name = "buck2";
                regulator-min-microvolt = <800000>;
                regulator-max-microvolt = <2000000>;
                regulator-always-on;
                regulator-ramp-delay = <1250>;
                rohm,dvs-run-voltage = <1150000>;
                rohm,dvs-suspend-voltage = <950000>;
            };
            buck3: buck3 {
                regulator-name = "buck3";
                regulator-min-microvolt = <1200000>;
                regulator-max-microvolt = <2700000>;
                regulator-always-on;
            };
            buck4: buck4 {
                regulator-name = "buck4";
                regulator-min-microvolt = <1100000>;
                regulator-max-microvolt = <1850000>;
                regulator-always-on;
            };
            buck5: buck5 {
                regulator-name = "buck5";
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <3300000>;
                regulator-always-on;
            };
            ldo1: ldo1 {
                regulator-name = "ldo1";
                regulator-min-microvolt = <800000>;
                regulator-max-microvolt = <3300000>;
                regulator-always-on;
            };
            ldo2: ldo2 {
                regulator-name = "ldo2";
                regulator-min-microvolt = <800000>;
                regulator-max-microvolt = <3300000>;
                regulator-always-on;
            };
            ldo3: ldo3 {
                regulator-name = "ldo3";
                regulator-min-microvolt = <800000>;
                regulator-max-microvolt = <3300000>;
                regulator-always-on;
            };
            ldo4: ldo4 {
                regulator-name = "ldo4";
                regulator-min-microvolt = <800000>;
                regulator-max-microvolt = <3300000>;
                regulator-always-on;
            };
            ldo5: ldo5 {
                regulator-name = "ldo5";
                regulator-min-microvolt = <800000>;
                regulator-max-microvolt = <3300000>;
                regulator-always-on;
            };
            ldo6: ldodvref {
                regulator-name = "ldodvref";
                regulator-always-on;
            };
            ldo7: ldolpsr {
                regulator-name = "ldolpsr";
                regulator-always-on;
            };

            boost: wled {
                regulator-name = "wled";
                regulator-min-microamp = <10>;
                regulator-max-microamp = <25000>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

ROHM BD71828 Power Management Integrated Circuit

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/rohm,bd71828-pmic.yaml#"

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

Maintainers (maintainers): "Matti Vaittinen <mazziesaccount@gmail.com>"

BD71828GW is a single-chip power management IC for battery-powered portable devices. The IC integrates 7 buck converters, 7 LDOs, and a 1500 mA single-cell linear charger. Also included is a Coulomb counter, a real-time clock (RTC), and a 32.768 kHz clock gate.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "rohm,bd71828"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "rohm,bd71879"

Item 2

Exact value (const): "rohm,bd71828"

reg — required here #

I2C slave address.

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

gpio-controller — required here #

true — No constraints added by this property rule.

#gpio-cells — required here #

Exact value (const): 2

The first cell is the pin number and the second cell is used to specify flags. See ../gpio/gpio.txt for more information.

clocks — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 0

clock-output-names — not listed as required here #

Exact value (const): "bd71828-32k-out"

rohm,clkout-open-drain — not listed as required here #

clk32kout mode. Set to 1 for "open-drain" or 0 for "cmos".

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Minimum value (minimum): 0

Maximum value (maximum): 1

rohm,charger-sense-resistor-micro-ohms — not listed as required here #

Minimum value (minimum): 10000

Maximum value (maximum): 50000

Default value (default): 30000

BD71827 and BD71828 have SAR ADC for measuring charging currents. External sense resistor (RSENSE in data sheet) should be used. If some other but 30mOhm resistor is used the resistance value should be given here in microohms.

regulators — required here #

Shared schema rule ($ref): /schemas/regulator/rohm,bd71828-regulator.yaml

List of child nodes that specify the regulators.

leds — not listed as required here #

Shared schema rule ($ref): /schemas/leds/rohm,bd71828-leds.yaml

gpio-reserved-ranges — not listed as required here #

Usage of BD71828 GPIO pins can be changed via OTP. This property can be used to mark the pins which should not be configured for GPIO. Please see the ../gpio/gpio.txt for more information.

system-power-controller — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "#clock-cells", "regulators", "gpio-controller", "#gpio-cells"

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>
#include <dt-bindings/leds/common.h>
i2c {
    #address-cells = <1>;
    #size-cells = <0>;
    pmic: pmic@4b {
        compatible = "rohm,bd71828";
        reg = <0x4b>;

        interrupt-parent = <&gpio1>;
        interrupts = <29 IRQ_TYPE_LEVEL_LOW>;

        clocks = <&osc 0>;
        #clock-cells = <0>;
        clock-output-names = "bd71828-32k-out";

        gpio-controller;
        #gpio-cells = <2>;
        gpio-reserved-ranges = <0 1>, <2 1>;

        rohm,charger-sense-resistor-micro-ohms = <10000>;

        regulators {
            buck1: BUCK1 {
                regulator-name = "buck1";
                regulator-min-microvolt = <500000>;
                regulator-max-microvolt = <2000000>;
                regulator-ramp-delay = <2500>;
            };
            buck2: BUCK2 {
                regulator-name = "buck2";
                regulator-min-microvolt = <500000>;
                regulator-max-microvolt = <2000000>;
                regulator-ramp-delay = <2500>;
            };
            buck3: BUCK3 {
                regulator-name = "buck3";
                regulator-min-microvolt = <1200000>;
                regulator-max-microvolt = <2000000>;
            };
            buck4: BUCK4 {
                regulator-name = "buck4";
                regulator-min-microvolt = <1000000>;
                regulator-max-microvolt = <1800000>;
            };
            buck5: BUCK5 {
                regulator-name = "buck5";
                regulator-min-microvolt = <2500000>;
                regulator-max-microvolt = <3300000>;
            };
            buck6: BUCK6 {
                regulator-name = "buck6";
                regulator-min-microvolt = <500000>;
                regulator-max-microvolt = <2000000>;
                regulator-ramp-delay = <2500>;
            };
            buck7: BUCK7 {
                regulator-name = "buck7";
                regulator-min-microvolt = <500000>;
                regulator-max-microvolt = <2000000>;
                regulator-ramp-delay = <2500>;
            };
            ldo1: LDO1 {
                regulator-name = "ldo1";
                regulator-min-microvolt = <800000>;
                regulator-max-microvolt = <3300000>;
            };
            ldo2: LDO2 {
                regulator-name = "ldo2";
                regulator-min-microvolt = <800000>;
                regulator-max-microvolt = <3300000>;
            };
            ldo3: LDO3 {
                regulator-name = "ldo3";
                regulator-min-microvolt = <800000>;
                regulator-max-microvolt = <3300000>;
            };
            ldo4: LDO4 {
                regulator-name = "ldo4";
                regulator-min-microvolt = <800000>;
                regulator-max-microvolt = <3300000>;
            };
            ldo5: LDO5 {
                regulator-name = "ldo5";
                regulator-min-microvolt = <800000>;
                regulator-max-microvolt = <3300000>;
            };
            ldo6: LDO6 {
                regulator-name = "ldo6";
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <1800000>;
            };
            ldo7_reg: LDO7 {
                regulator-name = "ldo7";
                regulator-min-microvolt = <800000>;
                regulator-max-microvolt = <3300000>;
            };
        };

        leds {
            compatible = "rohm,bd71828-leds";

            led-1 {
                rohm,led-compatible = "bd71828-grnled";
                function = LED_FUNCTION_INDICATOR;
                color = <LED_COLOR_ID_GREEN>;
            };
            led-2 {
                rohm,led-compatible = "bd71828-ambled";
                function = LED_FUNCTION_CHARGING;
                color = <LED_COLOR_ID_AMBER>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

ROHM BD71837 Power Management Integrated Circuit

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/rohm,bd71837-pmic.yaml#"

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

Maintainers (maintainers): "Matti Vaittinen <mazziesaccount@gmail.com>"

BD71837MWV is programmable Power Management ICs for powering single-core, dual-core, and quad-core SoCs such as NXP-i.MX 8M. It is optimized for low BOM cost and compact solution footprint. BD71837MWV integrates 8 Buck regulators and 7 LDOs. Datasheet for BD71837 is available at https://www.rohm.com/products/power-management/power-management-ic-for-system/industrial-consumer-applications/nxp-imx/bd71837amwv-product

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "rohm,bd71837"

reg — required here #

I2C slave address.

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-names — not listed as required here #

Exact value (const): "osc"

#clock-cells — required here #

Exact value (const): 0

clock-output-names — not listed as required here #

Exact value (const): "pmic_clk"

rohm,reset-snvs-powered — not listed as required here #

Transfer PMIC to SNVS state at reset

Value type (type): "boolean"

rohm,short-press-ms — not listed as required here #

Short press duration in milliseconds

Allowed values (enum): 10, 500, 1000, 1500, 2000, 2500, 3000, 3500, 4000, 4500, 5000, 5500, 6000, 6500, 7000

rohm,long-press-ms — not listed as required here #

Long press duration in milliseconds

Allowed values (enum): 10, 1000, 2000, 3000, 4000, 5000, 6000, 7000, 8000, 9000, 10000, 11000, 12000, 13000, 14000

regulators — required here #

Shared schema rule ($ref): /schemas/regulator/rohm,bd71837-regulator.yaml

List of child nodes that specify the regulators.

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "#clock-cells", "regulators"

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>
#include <dt-bindings/leds/common.h>

i2c {
    #address-cells = <1>;
    #size-cells = <0>;
    pmic: pmic@4b {
        compatible = "rohm,bd71837";
        reg = <0x4b>;
        interrupt-parent = <&gpio1>;
        interrupts = <29 IRQ_TYPE_LEVEL_LOW>;
        #clock-cells = <0>;
        clocks = <&osc 0>;
        rohm,reset-snvs-powered;
        rohm,short-press-ms = <10>;
        rohm,long-press-ms = <2000>;

        regulators {
            buck1: BUCK1 {
                regulator-name = "buck1";
                regulator-min-microvolt = <700000>;
                regulator-max-microvolt = <1300000>;
                regulator-boot-on;
                regulator-always-on;
                regulator-ramp-delay = <1250>;
                rohm,dvs-run-voltage = <900000>;
                rohm,dvs-idle-voltage = <850000>;
                rohm,dvs-suspend-voltage = <800000>;
            };
            buck2: BUCK2 {
                regulator-name = "buck2";
                regulator-min-microvolt = <700000>;
                regulator-max-microvolt = <1300000>;
                regulator-boot-on;
                regulator-always-on;
                regulator-ramp-delay = <1250>;
                rohm,dvs-run-voltage = <1000000>;
                rohm,dvs-idle-voltage = <900000>;
            };
            buck3: BUCK3 {
                regulator-name = "buck3";
                regulator-min-microvolt = <700000>;
                regulator-max-microvolt = <1300000>;
                regulator-boot-on;
                rohm,dvs-run-voltage = <1000000>;
            };
            buck4: BUCK4 {
                regulator-name = "buck4";
                regulator-min-microvolt = <700000>;
                regulator-max-microvolt = <1300000>;
                regulator-boot-on;
                rohm,dvs-run-voltage = <1000000>;
            };
            buck5: BUCK5 {
                regulator-name = "buck5";
                regulator-min-microvolt = <700000>;
                regulator-max-microvolt = <1350000>;
                regulator-boot-on;
            };
            buck6: BUCK6 {
                regulator-name = "buck6";
                regulator-min-microvolt = <3000000>;
                regulator-max-microvolt = <3300000>;
                regulator-boot-on;
            };
            buck7: BUCK7 {
                regulator-name = "buck7";
                regulator-min-microvolt = <1605000>;
                regulator-max-microvolt = <1995000>;
                regulator-boot-on;
            };
            buck8: BUCK8 {
                regulator-name = "buck8";
                regulator-min-microvolt = <800000>;
                regulator-max-microvolt = <1400000>;
            };

            ldo1: LDO1 {
                regulator-name = "ldo1";
                regulator-min-microvolt = <3000000>;
                regulator-max-microvolt = <3300000>;
                regulator-boot-on;
            };
            ldo2: LDO2 {
                regulator-name = "ldo2";
                regulator-min-microvolt = <900000>;
                regulator-max-microvolt = <900000>;
                regulator-boot-on;
            };
            ldo3: LDO3 {
                regulator-name = "ldo3";
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <3300000>;
            };
            ldo4: LDO4 {
                regulator-name = "ldo4";
                regulator-min-microvolt = <900000>;
                regulator-max-microvolt = <1800000>;
            };
            ldo5: LDO5 {
                regulator-name = "ldo5";
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <3300000>;
            };
            ldo6: LDO6 {
                regulator-name = "ldo6";
                regulator-min-microvolt = <900000>;
                regulator-max-microvolt = <1800000>;
            };
            ldo7_reg: LDO7 {
                regulator-name = "ldo7";
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <3300000>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Line 44: The BD718x7 supports two different HW states as reset target states. States

Line 45: are called as SNVS and READY. At READY state all the PMIC power outputs go

Line 46: down and OTP is reload. At the SNVS state all other logic and external

Line 47: devices apart from the SNVS power domain are shut off. Please refer to NXP

Line 48: i.MX8 documentation for further information regarding SNVS state. When a

Line 49: reset is done via SNVS state the PMIC OTP data is not reload. This causes

Line 50: power outputs that have been under SW control to stay down when reset has

Line 51: switched power state to SNVS. If reset is done via READY state the power

Line 52: outputs will be returned to HW control by OTP loading. Thus the reset

Line 53: target state is set to READY by default. If SNVS state is used the boot

Line 54: crucial regulators must have the regulator-always-on and regulator-boot-on

Line 55: properties set in regulator node.

Line 62: Configure the "short press" and "long press" timers for the power button.

Line 63: Values are rounded to what hardware supports

Line 64: Short-press:

Line 65: Shortest being 10ms, next 500ms and then multiple of 500ms up to 7,5s

Line 66: Long-press:

Line 67: Shortest being 10ms, next 1000ms and then multiple of 1000ms up to 15s

Line 68: If these properties are not present the existing configuration (from

Line 69: bootloader or OTP) is not touched.

ROHM BD71847 and BD71850 Power Management Integrated Circuit

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/rohm,bd71847-pmic.yaml#"

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

Maintainers (maintainers): "Matti Vaittinen <mazziesaccount@gmail.com>"

BD71847AMWV and BD71850MWV are programmable Power Management ICs for powering single-core, dual-core, and quad-core SoCs such as NXP-i.MX 8M. It is optimized for low BOM cost and compact solution footprint. BD71847MWV and BD71850MWV integrate 6 Buck regulators and 6 LDOs. Datasheets are available at https://www.rohm.com/products/power-management/power-management-ic-for-system/industrial-consumer-applications/nxp-imx/bd71847amwv-product https://www.rohm.com/products/power-management/power-management-ic-for-system/industrial-consumer-applications/nxp-imx/bd71850mwv-product

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "rohm,bd71847", "rohm,bd71850"

reg — required here #

I2C slave address.

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

#clock-cells — not listed as required here #

Exact value (const): 0

clock-output-names — not listed as required here #

Maximum number of items (maxItems): 1

rohm,reset-snvs-powered — not listed as required here #

Transfer PMIC to SNVS state at reset.

Value type (type): "boolean"

rohm,short-press-ms — not listed as required here #

Short press duration in milliseconds

Allowed values (enum): 10, 500, 1000, 1500, 2000, 2500, 3000, 3500, 4000, 4500, 5000, 5500, 6000, 6500, 7000, 7500

rohm,long-press-ms — not listed as required here #

Long press duration in milliseconds

Allowed values (enum): 10, 1000, 2000, 3000, 4000, 5000, 6000, 7000, 8000, 9000, 10000, 11000, 12000, 13000, 14000, 15000

regulators — required here #

Shared schema rule ($ref): ../regulator/rohm,bd71847-regulator.yaml

List of child nodes that specify the regulators.

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

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Property dependencies (dependencies) #

#clock-cells — applies when this property is present #

Also requires: "clocks"

clocks — applies when this property is present #

Also requires: "#clock-cells"

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>

i2c {
    #address-cells = <1>;
    #size-cells = <0>;
    pmic: pmic@4b {
        compatible = "rohm,bd71847";
        reg = <0x4b>;
        interrupt-parent = <&gpio1>;
        interrupts = <29 IRQ_TYPE_LEVEL_LOW>;
        #clock-cells = <0>;
        clocks = <&osc 0>;
        rohm,reset-snvs-powered;
        rohm,short-press-ms = <10>;
        rohm,long-press-ms = <2000>;

        regulators {
            buck1: BUCK1 {
                regulator-name = "buck1";
                regulator-min-microvolt = <700000>;
                regulator-max-microvolt = <1300000>;
                regulator-boot-on;
                regulator-always-on;
                regulator-ramp-delay = <1250>;
                rohm,dvs-run-voltage = <900000>;
                rohm,dvs-idle-voltage = <850000>;
                rohm,dvs-suspend-voltage = <800000>;
            };
            buck2: BUCK2 {
                regulator-name = "buck2";
                regulator-min-microvolt = <700000>;
                regulator-max-microvolt = <1300000>;
                regulator-boot-on;
                regulator-always-on;
                regulator-ramp-delay = <1250>;
                rohm,dvs-run-voltage = <1000000>;
                rohm,dvs-idle-voltage = <900000>;
            };
            buck3: BUCK3 {
                regulator-name = "buck3";
                regulator-min-microvolt = <550000>;
                regulator-max-microvolt = <1350000>;
                regulator-boot-on;
            };
            buck4: BUCK4 {
                regulator-name = "buck4";
                regulator-min-microvolt = <2600000>;
                regulator-max-microvolt = <3300000>;
                regulator-boot-on;
            };
            buck5: BUCK5 {
                regulator-name = "buck5";
                regulator-min-microvolt = <1605000>;
                regulator-max-microvolt = <1995000>;
                regulator-boot-on;
            };
            buck8: BUCK6 {
                regulator-name = "buck6";
                regulator-min-microvolt = <800000>;
                regulator-max-microvolt = <1400000>;
            };

            ldo1: LDO1 {
                regulator-name = "ldo1";
                regulator-min-microvolt = <1600000>;
                regulator-max-microvolt = <3300000>;
                regulator-boot-on;
            };
            ldo2: LDO2 {
                regulator-name = "ldo2";
                regulator-min-microvolt = <800000>;
                regulator-max-microvolt = <900000>;
                regulator-boot-on;
            };
            ldo3: LDO3 {
                regulator-name = "ldo3";
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <3300000>;
            };
            ldo4: LDO4 {
                regulator-name = "ldo4";
                regulator-min-microvolt = <900000>;
                regulator-max-microvolt = <1800000>;
            };
            ldo5: LDO5 {
                regulator-name = "ldo5";
                regulator-min-microvolt = <800000>;
                regulator-max-microvolt = <3300000>;
            };
            ldo6: LDO6 {
                regulator-name = "ldo6";
                regulator-min-microvolt = <900000>;
                regulator-max-microvolt = <1800000>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Line 44: The BD71847 abd BD71850 support two different HW states as reset target

Line 45: states. States are called as SNVS and READY. At READY state all the PMIC

Line 46: power outputs go down and OTP is reload. At the SNVS state all other logic

Line 47: and external devices apart from the SNVS power domain are shut off. Please

Line 48: refer to NXP i.MX8 documentation for further information regarding SNVS

Line 49: state. When a reset is done via SNVS state the PMIC OTP data is not reload.

Line 50: This causes power outputs that have been under SW control to stay down when

Line 51: reset has switched power state to SNVS. If reset is done via READY state the

Line 52: power outputs will be returned to HW control by OTP loading. Thus the reset

Line 53: target state is set to READY by default. If SNVS state is used the boot

Line 54: crucial regulators must have the regulator-always-on and regulator-boot-on

Line 55: properties set in regulator node.

Line 62: Configure the "short press" and "long press" timers for the power button.

Line 63: Values are rounded to what hardware supports

Line 64: Short-press:

Line 65: Shortest being 10ms, next 500ms and then multiple of 500ms up to 7,5s

Line 66: Long-press:

Line 67: Shortest being 10ms, next 1000ms and then multiple of 1000ms up to 15s

Line 68: If these properties are not present the existing # configuration (from

Line 69: bootloader or OTP) is not touched.

ROHM BD72720 Power Management Integrated Circuit

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/rohm,bd72720-pmic.yaml#"

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

Maintainers (maintainers): "Matti Vaittinen <mazziesaccount@gmail.com>"

BD72720 is a single-chip power management IC for battery-powered portable devices. The BD72720 integrates 10 bucks and 11 LDOs, and a 3000 mA switching charger. The IC also includes a Coulomb counter, a real-time clock (RTC), GPIOs and a 32.768 kHz clock gate.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "rohm,bd72720"

reg — required here #

I2C slave address.

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

gpio-controller — required here #

true — No constraints added by this property rule.

#gpio-cells — required here #

Exact value (const): 2

The first cell is the pin number and the second cell is used to specify flags. See the gpio binding document for more information.

clocks — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 0

clock-output-names — not listed as required here #

Exact value (const): "bd71828-32k-out"

rohm,clkout-open-drain — not listed as required here #

clk32kout mode. Set to 1 for "open-drain" or 0 for "cmos".

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Maximum value (maximum): 1

rohm,charger-sense-resistor-micro-ohms — not listed as required here #

Minimum value (minimum): 10000

Maximum value (maximum): 50000

BD72720 has a SAR ADC for measuring charging currents. External sense resistor (RSENSE in data sheet) should be used. If some other but 30 mOhm resistor is used the resistance value should be given here in micro Ohms.

regulators — required here #

Shared schema rule ($ref): /schemas/regulator/rohm,bd72720-regulator.yaml

List of child nodes that specify the regulators.

leds — not listed as required here #

Shared schema rule ($ref): /schemas/leds/rohm,bd71828-leds.yaml

rohm,pin-fault_b — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/string

BD72720 has an OTP option to use fault_b-pin for different purposes. Set this property accordingly. OTP options are OTP0 - bi-directional FAULT_B or READY indicator depending on a 'sub option' OTP1 - GPO OTP2 - Power sequencer output.

Allowed values (enum): "faultb", "readyind", "gpo", "pwrseq"

Properties matching a name pattern (patternProperties) #

^rohm,pin-dvs[0-1]$ — name matches this regular expression #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/string

BD72720 has 4 different OTP options to determine the use of dvs<X>-pins. OTP0 - regulator RUN state control. OTP1 - GPI. OTP2 - GPO. OTP3 - Power sequencer output. This property specifies the use of the pin.

Allowed values (enum): "dvs-input", "gpi", "gpo", "pwrseq"

^rohm,pin-exten[0-1]$ — name matches this regular expression #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/string

BD72720 has an OTP option to use exten0-pin for different purposes. Set this property accordingly. OTP0 - GPO OTP1 - Power sequencer output.

Allowed values (enum): "gpo", "pwrseq"

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "#clock-cells", "regulators", "gpio-controller", "#gpio-cells"

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>
#include <dt-bindings/leds/common.h>
i2c {
    #address-cells = <1>;
    #size-cells = <0>;
    pmic: pmic@4b {
        compatible = "rohm,bd72720";
        reg = <0x4b>;

        interrupt-parent = <&gpio1>;
        interrupts = <29 IRQ_TYPE_LEVEL_LOW>;

        clocks = <&osc 0>;
        #clock-cells = <0>;
        clock-output-names = "bd71828-32k-out";

        gpio-controller;
        #gpio-cells = <2>;

        rohm,pin-dvs0 = "gpi";
        rohm,pin-dvs1 = "gpi";
        rohm,pin-exten0 = "gpo";
        rohm,pin-exten1 = "gpo";
        rohm,pin-fault_b = "faultb";

        rohm,charger-sense-resistor-micro-ohms = <10000>;

        regulators {
            buck1 {
                regulator-name = "buck1";
                regulator-min-microvolt = <500000>;
                regulator-max-microvolt = <2000000>;
                regulator-ramp-delay = <2500>;
            };
            buck2 {
                regulator-name = "buck2";
                regulator-min-microvolt = <500000>;
                regulator-max-microvolt = <2000000>;
                regulator-ramp-delay = <2500>;
            };
            buck3 {
                regulator-name = "buck3";
                regulator-min-microvolt = <1200000>;
                regulator-max-microvolt = <2000000>;
            };
            buck4 {
                regulator-name = "buck4";
                regulator-min-microvolt = <1000000>;
                regulator-max-microvolt = <1800000>;
            };
            buck5 {
                regulator-name = "buck5";
                regulator-min-microvolt = <2500000>;
                regulator-max-microvolt = <3300000>;
            };
            buck6 {
                regulator-name = "buck6";
                regulator-min-microvolt = <500000>;
                regulator-max-microvolt = <2000000>;
                regulator-ramp-delay = <2500>;
            };
            buck7 {
                regulator-name = "buck7";
                regulator-min-microvolt = <500000>;
                regulator-max-microvolt = <2000000>;
                regulator-ramp-delay = <2500>;
            };
            buck8 {
                regulator-name = "buck8";
                regulator-min-microvolt = <500000>;
                regulator-max-microvolt = <1700000>;
                regulator-ramp-delay = <2500>;
                rohm,dvs-run-voltage = <1700000>;
                rohm,dvs-idle-voltage = <1>;
                rohm,dvs-suspend-voltage = <1>;
                rohm,dvs-lpsr-voltage = <0>;
                regulator-boot-on;
            };
            buck9 {
                regulator-name = "buck9";
                regulator-min-microvolt = <500000>;
                regulator-max-microvolt = <1700000>;
                regulator-ramp-delay = <2500>;
                rohm,dvs-run-voltage = <1700000>;
                rohm,dvs-idle-voltage = <1>;
                rohm,dvs-suspend-voltage = <1>;
                rohm,dvs-lpsr-voltage = <0>;
                regulator-boot-on;
            };
            buck10 {
                regulator-name = "buck10";
                regulator-min-microvolt = <500000>;
                regulator-max-microvolt = <1700000>;
                regulator-ramp-delay = <2500>;
                rohm,dvs-run-voltage = <1700000>;
                rohm,dvs-idle-voltage = <1>;
                rohm,dvs-suspend-voltage = <1>;
                rohm,dvs-lpsr-voltage = <0>;
                regulator-boot-on;
            };
            ldo1 {
                regulator-name = "ldo1";
                regulator-min-microvolt = <800000>;
                regulator-max-microvolt = <3300000>;
            };
            ldo2 {
                regulator-name = "ldo2";
                regulator-min-microvolt = <800000>;
                regulator-max-microvolt = <3300000>;
            };
            ldo3 {
                regulator-name = "ldo3";
                regulator-min-microvolt = <800000>;
                regulator-max-microvolt = <3300000>;
            };
            ldo4 {
                regulator-name = "ldo4";
                regulator-min-microvolt = <800000>;
                regulator-max-microvolt = <3300000>;
            };
            ldo5 {
                regulator-name = "ldo5";
                regulator-min-microvolt = <800000>;
                regulator-max-microvolt = <3300000>;
            };
            ldo6 {
                regulator-name = "ldo6";
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <1800000>;
            };
            ldo7 {
                regulator-name = "ldo7";
                regulator-min-microvolt = <800000>;
                regulator-max-microvolt = <3300000>;
            };
            ldo8 {
                regulator-name = "ldo8";
                regulator-min-microvolt = <750000>;
                regulator-max-microvolt = <3300000>;
                rohm,dvs-suspend-voltage = <0>;
                rohm,dvs-lpsr-voltage = <1>;
                rohm,dvs-run-voltage = <750000>;
            };
            ldo9 {
                regulator-name = "ldo9";
                regulator-min-microvolt = <750000>;
                regulator-max-microvolt = <3300000>;
                rohm,dvs-suspend-voltage = <0>;
                rohm,dvs-lpsr-voltage = <1>;
                rohm,dvs-run-voltage = <750000>;
            };
            ldo10 {
                regulator-name = "ldo10";
                regulator-min-microvolt = <750000>;
                regulator-max-microvolt = <3300000>;
                rohm,dvs-suspend-voltage = <0>;
                rohm,dvs-lpsr-voltage = <1>;
                rohm,dvs-run-voltage = <750000>;
            };
            ldo11 {
                regulator-name = "ldo11";
                regulator-min-microvolt = <750000>;
                regulator-max-microvolt = <3300000>;
                rohm,dvs-suspend-voltage = <0>;
                rohm,dvs-lpsr-voltage = <1>;
                rohm,dvs-run-voltage = <750000>;
            };
        };

        leds {
            compatible = "rohm,bd71828-leds";

            led-1 {
                rohm,led-compatible = "bd71828-grnled";
                function = LED_FUNCTION_INDICATOR;
                color = <LED_COLOR_ID_GREEN>;
            };
            led-2 {
                rohm,led-compatible = "bd71828-ambled";
                function = LED_FUNCTION_CHARGING;
                color = <LED_COLOR_ID_AMBER>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Line 18: In addition to the properties found from the charger node, the ROHM BD72720

Line 19: uses properties from a static battery node. Please see the:

Line 20: Documentation/devicetree/bindings/power/supply/battery.yaml

Line 21:

Line 22: Following properties are used

Line 23: when present:

Line 24:

Line 25: charge-full-design-microamp-hours: Battry capacity in mAh

Line 26: voltage-max-design-microvolt: Maximum voltage

Line 27: voltage-min-design-microvolt: Minimum voltage system is still operating.

Line 28: degrade-cycle-microamp-hours: Capacity lost due to aging at each full

Line 29: charge cycle.

Line 30: ocv-capacity-celsius: Array of OCV table temperatures. 1/table.

Line 31: ocv-capacity-table-<N>: Table of OCV voltage/SOC pairs. Corresponds

Line 32: N.th temperature in ocv-capacity-celsius

Line 33:

Line 34: volt-drop-thresh-microvolt: Threshold for starting the VDR correction

Line 35: volt-drop-soc: Table of capacity values matching the

Line 36: values in VDR tables.

Line 37:

Line 38: volt-drop-temperatures-millicelsius: Temperatures corresponding to the volage

Line 39: drop values given in volt-drop-[0-9]-microvolt

Line 40:

Line 41: volt-drop-[0-9]-microvolt: VDR table for a temperature specified in

Line 42: volt-drop-temperatures-millicelsius

Line 43:

Line 44: VDR tables are (usually) determined for a specific battery by ROHM.

Line 45: The battery node would then be referred from the charger node:

Line 46:

Line 47: monitored-battery = <&battery>;

ROHM BD9571MWV/BD9574MWF Power Management Integrated Circuit (PMIC)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/rohm,bd9571mwv.yaml#"

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

Maintainers (maintainers): "Marek Vasut <marek.vasut@gmail.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "rohm,bd9571mwv", "rohm,bd9574mwf"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

interrupt-controller — required here #

true — No constraints added by this property rule.

#interrupt-cells — required here #

Exact value (const): 2

gpio-controller — required here #

true — No constraints added by this property rule.

#gpio-cells — required here #

Exact value (const): 2

rohm,ddr-backup-power — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Minimum value (minimum): 0

Maximum value (maximum): 15

Value to use for DDR-Backup Power (default 0).
This is a bitmask that specifies which DDR power rails need to be kept
powered when backup mode is entered, for system suspend:
  - bit 0: DDR0
  - bit 1: DDR1
  - bit 2: DDR0C
  - bit 3: DDR1C
These bits match the KEEPON_DDR* bits in the documentation for the "BKUP
Mode Cnt" register.

rohm,rstbmode-level — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

The RSTB signal is configured for level mode, to accommodate a toggle power switch (the RSTBMODE pin is strapped low).

rohm,rstbmode-pulse — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

The RSTB signal is configured for pulse mode, to accommodate a momentary power switch (the RSTBMODE pin is strapped high).

regulators — not listed as required here #

Value type (type): "object"

List of child nodes that specify the regulator initialization data. Child nodes must be named after their hardware counterparts.

Properties matching a name pattern (patternProperties) #

^(vd09|vd18|vd25|vd33|dvfs)$ — name matches this regular expression

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties and child nodes (properties)

regulator-name — not listed as required here

String pattern (pattern): "^(vd09|vd18|vd25|vd33|dvfs)$"

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "interrupts", "interrupt-controller", "#interrupt-cells", "gpio-controller", "#gpio-cells"

Exactly one of these rules must match (oneOf) #

Rule 1 #

Required in this object (required): "rohm,rstbmode-level"

Rule 2 #

Required in this object (required): "rohm,rstbmode-pulse"

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    pmic: pmic@30 {
        compatible = "rohm,bd9571mwv";
        reg = <0x30>;
        interrupt-parent = <&gpio2>;
        interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
        interrupt-controller;
        #interrupt-cells = <2>;
        gpio-controller;
        #gpio-cells = <2>;
        rohm,ddr-backup-power = <0xf>;
        rohm,rstbmode-pulse;

        regulators {
            dvfs: dvfs {
                regulator-name = "dvfs";
                regulator-min-microvolt = <750000>;
                regulator-max-microvolt = <1030000>;
                regulator-boot-on;
                regulator-always-on;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

ROHM BD9576MUF and BD9573MUF Power Management Integrated Circuit

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/rohm,bd9576-pmic.yaml#"

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

Maintainers (maintainers): "Matti Vaittinen <mazziesaccount@gmail.com>"

BD9576MUF and BD9573MUF are power management ICs primarily intended for powering the R-Car series processors. The IC provides 6 power outputs with configurable sequencing and safety monitoring. A watchdog logic with slow ping/windowed modes is also included.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "rohm,bd9576", "rohm,bd9573"

reg — required here #

I2C slave address.

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

rohm,vout1-en-low — not listed as required here #

BD9576 and BD9573 VOUT1 regulator enable state can be individually controlled by a GPIO. This is dictated by state of vout1-en pin during the PMIC startup. If vout1-en is LOW during PMIC startup then the VOUT1 enable state is controlled via this pin. Set this property if vout1-en is wired to be down at PMIC start-up.

Value type (type): "boolean"

rohm,vout1-en-gpios — not listed as required here #

GPIO specifier to specify the GPIO connected to vout1-en for vout1 ON/OFF state control.

Maximum number of items (maxItems): 1

rohm,ddr-sel-low — not listed as required here #

The BD9576 and BD9573 output voltage for DDR can be selected by setting the ddr-sel pin low or high. Set this property if ddr-sel is grounded.

Value type (type): "boolean"

rohm,watchdog-enable-gpios — not listed as required here #

The GPIO line used to enable the watchdog.

Maximum number of items (maxItems): 1

rohm,watchdog-ping-gpios — not listed as required here #

The GPIO line used to ping the watchdog.

Maximum number of items (maxItems): 1

rohm,hw-timeout-ms — not listed as required here #

Maximum number of items (maxItems): 2

Watchdog timeout in milliseconds. If single value is given it is the maximum timeout. Eg. if pinging watchdog is not done within this time limit the watchdog will be triggered. If two values are given watchdog is configured in "window mode". Then first value is limit for short-ping Eg. if watchdog is pinged sooner than that the watchdog will trigger. When two values is given the second value is the maximum timeout.

regulators — required here #

Shared schema rule ($ref): /schemas/regulator/rohm,bd9576-regulator.yaml

List of child nodes that specify the regulators.

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

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/leds/common.h>
i2c {
    #address-cells = <1>;
    #size-cells = <0>;
    pmic: pmic@30 {
        compatible = "rohm,bd9576";
        reg = <0x30>;
        rohm,vout1-en-low;
        rohm,vout1-en-gpios = <&gpio2 6 GPIO_ACTIVE_HIGH>;
        rohm,ddr-sel-low;
        rohm,watchdog-enable-gpios = <&gpio2 6 GPIO_ACTIVE_HIGH>;
        rohm,watchdog-ping-gpios = <&gpio2 7 GPIO_ACTIVE_HIGH>;
        rohm,hw-timeout-ms = <150>, <2300>;

        regulators {
            boost1: regulator-vd50 {
                regulator-name = "VD50";
            };
            buck1: regulator-vd18 {
                regulator-name = "VD18";
            };
            buck2: regulator-vdddr {
                regulator-name = "VDDDR";
            };
            buck3: regulator-vd10 {
                regulator-name = "VD10";
            };
            ldo: regulator-voutl1 {
                regulator-name = "VOUTL1";
            };
            sw: regulator-vouts1 {
                regulator-name = "VOUTS1";
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Line 70: (HW) minimum for short timeout is 2ms, maximum 220 ms.

Line 71: (HW) minimum for max timeout is 4ms, maximum 4416 ms.

ROHM BD96801/BD96805 Scalable Power Management Integrated Circuit

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/rohm,bd96801-pmic.yaml#"

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

Maintainers (maintainers): "Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>"

BD96801 and BD96805 are automotive grade, single-chip power management ICs. They both integrate 4 buck converters and 3 LDOs with safety features like over-/under voltage and over current detection and a watchdog.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "rohm,bd96801", "rohm,bd96805"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

The PMIC provides intb and errb IRQ lines. The errb IRQ line is used for fatal IRQs which will cause the PMIC to shut down power outputs. In many systems this will shut down the SoC controlling the PMIC and connecting/handling the errb can be omitted. However, there are cases where the SoC is not powered by the PMIC or has a short time backup energy to handle shutdown of critical hardware. In that case it may be useful to connect the errb and handle errb events.

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

interrupt-names — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Allowed values (enum): "intb", "errb"

Item 2

Exact value (const): "errb"

rohm,hw-timeout-ms — not listed as required here #

Watchdog timeout value(s). First walue is timeout limit. Second value is optional value for 'too early' watchdog ping if window timeout mode is to be used.

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

rohm,wdg-action — not listed as required here #

Whether the watchdog failure must turn off the regulator power outputs or just toggle the INTB line.

Allowed values (enum): "prstb", "intb-only"

timeout-sec — not listed as required here #

true — No constraints added by this property rule.

regulators — required here #

Shared schema rule ($ref): /schemas/regulator/rohm,bd96801-regulator.yaml

List of child nodes that specify the regulators.

Required in this object (required): "compatible", "reg", "interrupts", "interrupt-names", "regulators"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/watchdog/watchdog.yaml

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/leds/common.h>
i2c {
    #address-cells = <1>;
    #size-cells = <0>;
    pmic: pmic@60 {
        reg = <0x60>;
        compatible = "rohm,bd96801";
        interrupt-parent = <&gpio1>;
        interrupts = <29 IRQ_TYPE_LEVEL_LOW>, <6 IRQ_TYPE_LEVEL_LOW>;
        interrupt-names = "intb", "errb";

        regulators {
            buck1 {
                regulator-name = "buck1";
                regulator-ramp-delay = <1250>;
                /* 0.5V min INITIAL - 150 mV tune */
                regulator-min-microvolt = <350000>;
                /* 3.3V + 150mV tune */
                regulator-max-microvolt = <3450000>;

                /* These can be set only when PMIC is in STBY */
                rohm,initial-voltage-microvolt = <500000>;
                regulator-ov-error-microvolt = <230000>;
                regulator-uv-error-microvolt = <230000>;
                regulator-temp-protection-kelvin = <1>;
                regulator-temp-warn-kelvin = <0>;
            };
            buck2 {
                regulator-name = "buck2";
                regulator-min-microvolt = <350000>;
                regulator-max-microvolt = <3450000>;

                rohm,initial-voltage-microvolt = <3000000>;
                regulator-ov-error-microvolt = <18000>;
                regulator-uv-error-microvolt = <18000>;
                regulator-temp-protection-kelvin = <1>;
                regulator-temp-warn-kelvin = <1>;
            };
            buck3 {
                regulator-name = "buck3";
                regulator-min-microvolt = <350000>;
                regulator-max-microvolt = <3450000>;

                rohm,initial-voltage-microvolt = <600000>;
                regulator-ov-warn-microvolt = <18000>;
                regulator-uv-warn-microvolt = <18000>;
                regulator-temp-protection-kelvin = <1>;
                regulator-temp-error-kelvin = <0>;
            };
            buck4 {
                regulator-name = "buck4";
                regulator-min-microvolt = <350000>;
                regulator-max-microvolt = <3450000>;

                rohm,initial-voltage-microvolt = <600000>;
                regulator-ov-warn-microvolt = <18000>;
                regulator-uv-warn-microvolt = <18000>;
                regulator-temp-protection-kelvin = <1>;
                regulator-temp-error-kelvin = <0>;
            };
            ldo5 {
                regulator-name = "ldo5";
                regulator-min-microvolt = <300000>;
                regulator-max-microvolt = <3300000>;

                rohm,initial-voltage-microvolt = <500000>;
                regulator-ov-error-microvolt = <36000>;
                regulator-uv-error-microvolt = <34000>;
                regulator-temp-protection-kelvin = <1>;
                regulator-temp-warn-kelvin = <0>;
            };
            ldo6 {
                regulator-name = "ldo6";
                regulator-min-microvolt = <300000>;
                regulator-max-microvolt = <3300000>;

                rohm,initial-voltage-microvolt = <300000>;
                regulator-ov-error-microvolt = <36000>;
                regulator-uv-error-microvolt = <34000>;
                regulator-temp-protection-kelvin = <1>;
                regulator-temp-warn-kelvin = <0>;
            };
            ldo7 {
                regulator-name = "ldo7";
                regulator-min-microvolt = <300000>;
                regulator-max-microvolt = <3300000>;

                rohm,initial-voltage-microvolt = <500000>;
                regulator-ov-error-microvolt = <36000>;
                regulator-uv-error-microvolt = <34000>;
                regulator-temp-protection-kelvin = <1>;
                regulator-temp-warn-kelvin = <0>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

ROHM BD96802 / BD96806 Scalable Power Management Integrated Circuit

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/rohm,bd96802-pmic.yaml#"

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

Maintainers (maintainers): "Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>"

BD96802Qxx-C and BD96806 are automotive grade configurable Power Management Integrated Circuits supporting Functional Safety features for application processors, SoCs and FPGAs

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "rohm,bd96802", "rohm,bd96806"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

The PMIC provides intb and errb IRQ lines. The errb IRQ line is used for fatal IRQs which will cause the PMIC to shut down power outputs. In many systems this will shut down the SoC contolling the PMIC and connecting/handling the errb can be omitted. However, there are cases where the SoC is not powered by the PMIC or has a short time backup energy to handle shutdown of critical hardware. In that case it may be useful to connect the errb and handle errb events.

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

interrupt-names — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Allowed values (enum): "intb", "errb"

Item 2

Exact value (const): "errb"

regulators — required here #

Shared schema rule ($ref): ../regulator/rohm,bd96802-regulator.yaml

List of child nodes that specify the regulators.

Required in this object (required): "compatible", "reg", "interrupts", "interrupt-names", "regulators"

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>
#include <dt-bindings/leds/common.h>
i2c {
    #address-cells = <1>;
    #size-cells = <0>;
    pmic: pmic@62 {
        reg = <0x62>;
        compatible = "rohm,bd96802";
        interrupt-parent = <&gpio1>;
        interrupts = <29 IRQ_TYPE_LEVEL_LOW>, <6 IRQ_TYPE_LEVEL_LOW>;
        interrupt-names = "intb", "errb";

        regulators {
            buck1 {
                regulator-name = "buck1";
                regulator-ramp-delay = <1250>;
                /* 0.5V min INITIAL - 150 mV tune */
                regulator-min-microvolt = <350000>;
                /* 3.3V + 150mV tune */
                regulator-max-microvolt = <3450000>;

                /* These can be set only when PMIC is in STBY */
                rohm,initial-voltage-microvolt = <500000>;
                regulator-ov-error-microvolt = <230000>;
                regulator-uv-error-microvolt = <230000>;
                regulator-temp-protection-kelvin = <1>;
                regulator-temp-warn-kelvin = <0>;
            };
            buck2 {
                regulator-name = "buck2";
                regulator-min-microvolt = <350000>;
                regulator-max-microvolt = <3450000>;

                rohm,initial-voltage-microvolt = <3000000>;
                regulator-ov-error-microvolt = <18000>;
                regulator-uv-error-microvolt = <18000>;
                regulator-temp-protection-kelvin = <1>;
                regulator-temp-warn-kelvin = <1>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Samsung Exynos SoC Low Power Audio Subsystem (LPASS)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/samsung,exynos5433-lpass.yaml#"

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

Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>", "Sylwester Nawrocki <s.nawrocki@samsung.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "samsung,exynos5433-lpass"

#address-cells — required here #

Exact value (const): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "sfr0_ctrl"

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

ranges — required here #

true — No constraints added by this property rule.

reg — required here #

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

#size-cells — required here #

Exact value (const): 1

Properties matching a name pattern (patternProperties) #

^dma-controller@[0-9a-f]+$ — name matches this regular expression #

Shared schema rule ($ref): /schemas/dma/arm,pl330.yaml

^i2s@[0-9a-f]+$ — name matches this regular expression #

Shared schema rule ($ref): /schemas/sound/samsung-i2s.yaml

^serial@[0-9a-f]+$ — name matches this regular expression #

Shared schema rule ($ref): /schemas/serial/samsung_uart.yaml

Required in this object (required): "compatible", "#address-cells", "clocks", "clock-names", "ranges", "reg", "#size-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/exynos5433.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

audio-subsystem@11400000 {
    compatible = "samsung,exynos5433-lpass";
    reg = <0x11400000 0x100>, <0x11500000 0x08>;
    clocks = <&cmu_aud CLK_PCLK_SFR0_CTRL>;
    clock-names = "sfr0_ctrl";
    power-domains = <&pd_aud>;
    #address-cells = <1>;
    #size-cells = <1>;
    ranges;

    dma-controller@11420000 {
        compatible = "arm,pl330", "arm,primecell";
        reg = <0x11420000 0x1000>;
        interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
        clocks = <&cmu_aud CLK_ACLK_DMAC>;
        clock-names = "apb_pclk";
        #dma-cells = <1>;
        dma-channels = <8>;
        dma-requests = <32>;
        power-domains = <&pd_aud>;
    };

    i2s@11440000 {
        compatible = "samsung,exynos5433-i2s", "samsung,exynos7-i2s";
        reg = <0x11440000 0x100>;
        dmas = <&adma 0>, <&adma 2>;
        dma-names = "tx", "rx";
        interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
        #address-cells = <1>;
        #size-cells = <0>;
        clocks = <&cmu_aud CLK_PCLK_AUD_I2S>,
                 <&cmu_aud CLK_SCLK_AUD_I2S>,
                 <&cmu_aud CLK_SCLK_I2S_BCLK>;
        clock-names = "iis", "i2s_opclk0", "i2s_opclk1";
        #clock-cells = <1>;
        pinctrl-names = "default";
        pinctrl-0 = <&i2s0_bus>;
        power-domains = <&pd_aud>;
        #sound-dai-cells = <1>;
    };

    serial@11460000 {
        compatible = "samsung,exynos5433-uart";
        reg = <0x11460000 0x100>;
        interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
        clocks = <&cmu_aud CLK_PCLK_AUD_UART>,
                 <&cmu_aud CLK_SCLK_AUD_UART>;
        clock-names = "uart", "clk_uart_baud0";
        pinctrl-names = "default";
        pinctrl-0 = <&uart_aud_bus>;
        power-domains = <&pd_aud>;
    };
};

Source notes #

Annotations retained from the schema source

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

Samsung S2DOS05 Power Management IC

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/samsung,s2dos05.yaml#"

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

Maintainers (maintainers): "Dzmitry Sankouski <dsankouski@gmail.com>"

This is a device tree bindings for S2DOS family of Power Management IC (PMIC). The S2DOS05 is a companion power management IC for the panel and touchscreen in smart phones. Provides voltage regulators and ADC for power/current measurements. Regulator section has 4 LDO and 1 BUCK regulators and also provides ELVDD, ELVSS, AVDD lines.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "samsung,s2dos05"

reg — required here #

Maximum number of items (maxItems): 1

regulators — required here #

Properties matching a name pattern (patternProperties) #

^buck|ldo[1-4]$ — name matches this regular expression

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Required in this object (required): "regulator-name"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

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

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    pmic@60 {
        compatible = "samsung,s2dos05";
        reg = <0x60>;

        regulators {
            ldo1 {
                regulator-active-discharge = <1>;
                regulator-min-microvolt = <1500000>;
                regulator-max-microvolt = <2000000>;
                regulator-name = "ldo1";
            };

            ldo2 {
                regulator-active-discharge = <1>;
                regulator-boot-on;
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <1800000>;
                regulator-name = "ldo2";
            };

            ldo3 {
                regulator-active-discharge = <1>;
                regulator-boot-on;
                regulator-min-microvolt = <3000000>;
                regulator-max-microvolt = <3000000>;
                regulator-name = "ldo3";
            };

            ldo4 {
                regulator-active-discharge = <1>;
                regulator-min-microvolt = <2700000>;
                regulator-max-microvolt = <3775000>;
                regulator-name = "ldo4";
            };

            buck {
                regulator-active-discharge = <1>;
                regulator-min-microvolt = <850000>;
                regulator-max-microvolt = <2100000>;
                regulator-name = "buck";
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Samsung S2MPA01 Power Management IC

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/samsung,s2mpa01.yaml#"

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

Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"

This is a part of device tree bindings for S2M and S5M family of Power Management IC (PMIC).

The Samsung S2MPA01 is a Power Management IC which includes voltage and current regulators, RTC, clock outputs and other sub-blocks.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "samsung,s2mpa01-pmic"

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

reg — required here #

Maximum number of items (maxItems): 1

regulators — required here #

Shared schema rule ($ref): /schemas/regulator/samsung,s2mpa01.yaml

List of child nodes that specify the regulators.

wakeup-source — not listed as required here #

true — No constraints added by this property rule.

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

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>

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    pmic@66 {
        compatible = "samsung,s2mpa01-pmic";
        reg = <0x66>;

        regulators {
            ldo1_reg: LDO1 {
                regulator-name = "VDD_ALIVE";
                regulator-min-microvolt = <1000000>;
                regulator-max-microvolt = <1000000>;
            };

            ldo2_reg: LDO2 {
                regulator-name = "VDDQ_MMC2";
                regulator-min-microvolt = <2800000>;
                regulator-max-microvolt = <2800000>;
                regulator-always-on;
            };

            // ...

            buck1_reg: BUCK1 {
                regulator-name = "vdd_mif";
                regulator-min-microvolt = <950000>;
                regulator-max-microvolt = <1350000>;
                regulator-always-on;
                regulator-boot-on;
            };

            buck2_reg: BUCK2 {
                regulator-name = "vdd_arm";
                regulator-min-microvolt = <950000>;
                regulator-max-microvolt = <1350000>;
                regulator-always-on;
                regulator-boot-on;
                regulator-ramp-delay = <50000>;
            };

            // ...
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Samsung S2MPG10 Power Management IC

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/samsung,s2mpg10-pmic.yaml#"

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

Maintainers (maintainers): "André Draszik <andre.draszik@linaro.org>"

This is part of the device tree bindings for the S2MPG10 Power Management IC (PMIC).

The Samsung S2MPG10 is a Power Management IC for mobile applications with buck converters, various LDOs, power meters, RTC, clock outputs, and additional GPIO interfaces and is typically complemented by S2MPG10 PMIC in a main/sub configuration as the main PMIC.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "samsung,s2mpg10-pmic"

clocks — not listed as required here #

Shared schema rule ($ref): /schemas/clock/samsung,s2mps11.yaml

Child node describing clock provider.

interrupts — required here #

Maximum number of items (maxItems): 1

regulators — required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/samsung,s2mpg10-regulator.yaml

List of child nodes that specify the regulators.

system-power-controller — not listed as required here #

true — No constraints added by this property rule.

wakeup-source — not listed as required here #

true — No constraints added by this property rule.

Properties matching a name pattern (patternProperties) #

^vinb([1-9]|10)m-supply$ — name matches this regular expression #

Phandle to the power supply for each buck rail of this PMIC. There is a 1:1 mapping of supply to rail, e.g. vinb1m-supply supplies buck1m.

^vinl([1-9]|1[0-5])m-supply$ — name matches this regular expression #

Phandle to the power supply for one or multiple LDO rails of this PMIC.
The mapping of supply to rail(s) is as follows:
  vinl1m - ldo13m
  vinl2m - ldo15m
  vinl3m - ldo1m, ldo5m, ldo7m
  vinl4m - ldo3m, ldo8m
  vinl5m - ldo16m
  vinl6m - ldo17m
  vinl7m - ldo6m, ldo11m, ldo24m, ldo28m
  vinl8m - ldo12m
  vinl9m - ldo2m, ldo4m
  vinl10m - ldo9m, ldo14m, ldo18m, 19m, ldo20m, ldo25m
  vinl11m - ldo23m, ldo31m
  vinl12m - ldo29m
  vinl13m - ldo30m
  vinl14m - ldo21m
  vinl15m - ldo10m, ldo22m, ldo26m, ldo27m

Required in this object (required): "compatible", "interrupts", "regulators"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/regulator/samsung,s2mpg10-regulator.h>

pmic {
    compatible = "samsung,s2mpg10-pmic";
    interrupts-extended = <&gpa0 6 IRQ_TYPE_LEVEL_LOW>;
    pinctrl-names = "default";
    pinctrl-0 = <&pmic_int>;
    system-power-controller;
    wakeup-source;

    vinl3m-supply = <&buck8m>;

    clocks {
        compatible = "samsung,s2mpg10-clk";
        #clock-cells = <1>;
        clock-output-names = "rtc32k_ap", "peri32k1", "peri32k2";
    };

    regulators {
        buck8m {
            regulator-name = "vdd_mif";
            regulator-min-microvolt = <450000>;
            regulator-max-microvolt = <1300000>;
            regulator-ramp-delay = <6250>;
        };

        ldo1m {
            regulator-name = "vdd_ldo1";
            regulator-min-microvolt = <700000>;
            regulator-max-microvolt = <1300000>;
        };

        ldo20m {
            regulator-name = "vdd_dmics";
            regulator-min-microvolt = <700000>;
            regulator-max-microvolt = <1300000>;
            regulator-always-on;
            samsung,ext-control = <S2MPG10_EXTCTRL_LDO20M_EN2>;
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Samsung S2MPG11 Power Management IC

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/samsung,s2mpg11-pmic.yaml#"

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

Maintainers (maintainers): "André Draszik <andre.draszik@linaro.org>"

This is part of the device tree bindings for the S2MPG11 Power Management IC (PMIC).

The Samsung S2MPG11 is a Power Management IC for mobile applications with buck converters, various LDOs, power meters, NTC thermistor inputs, and additional GPIO interfaces and typically complements an S2MPG10 PMIC in a main/sub configuration as the sub-PMIC.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "samsung,s2mpg11-pmic"

interrupts — required here #

Maximum number of items (maxItems): 1

regulators — required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/samsung,s2mpg11-regulator.yaml

List of child nodes that specify the regulators.

wakeup-source — not listed as required here #

true — No constraints added by this property rule.

Properties matching a name pattern (patternProperties) #

^vinb(([1-9]|10)s|[abd])-supply$ — name matches this regular expression #

Phandle to the power supply for each buck rail of this PMIC. There is a 1:1 mapping of numbered supply to rail, e.g. vinb1s-supply supplies buck1s. The remaining mapping is as follows vinba - bucka vinbb - buck boost vinbd - buckd

^vinl[1-6]s-supply$ — name matches this regular expression #

Phandle to the power supply for one or multiple LDO rails of this PMIC.
The mapping of supply to rail(s) is as follows
  vinl1s - ldo1s, ldo2s
  vinl2s - ldo8s, ldo9s
  vinl3s - ldo3s, ldo5s, ldo7s, ldo15s
  vinl4s - ldo10s, ldo11s, ldo12s, ldo14s
  vinl5s - ldo4s, ldo6s
  vinl6s - ldo13s

Required in this object (required): "compatible", "interrupts", "regulators"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/regulator/samsung,s2mpg10-regulator.h>

pmic {
    compatible = "samsung,s2mpg11-pmic";
    interrupts-extended = <&gpa0 7 IRQ_TYPE_LEVEL_LOW>;
    pinctrl-names = "default";
    pinctrl-0 = <&pmic_int>;
    wakeup-source;

    vinl1s-supply = <&buck8m>;
    vinl2s-supply = <&buck6s>;

    regulators {
        buckd {
            regulator-name = "vcc_ufs";
            regulator-ramp-delay = <6250>;
            enable-gpios = <&gpp0 1 GPIO_ACTIVE_HIGH>;
            samsung,ext-control = <S2MPG11_EXTCTRL_UFS_EN>;
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Samsung S2MPS11/13/14/15 and S2MPU02 Power Management IC

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/samsung,s2mps11.yaml#"

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

Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"

This is a part of device tree bindings for S2M and S5M family of Power Management IC (PMIC).

The Samsung S2MPS11/13/14/15 and S2MPU02 is a family of Power Management IC which include voltage and current regulators, RTC, clock outputs and other sub-blocks.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "samsung,s2mps11-pmic", "samsung,s2mps13-pmic", "samsung,s2mps14-pmic", "samsung,s2mps15-pmic", "samsung,s2mpu02-pmic", "samsung,s2mpu05-pmic"

clocks — not listed as required here #

Shared schema rule ($ref): /schemas/clock/samsung,s2mps11.yaml

Child node describing clock provider.

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

reg — required here #

Maximum number of items (maxItems): 1

regulators — required here #

Value type (type): "object"

List of child nodes that specify the regulators.

samsung,s2mps11-acokb-ground — not listed as required here #

Indicates that ACOKB pin of S2MPS11 PMIC is connected to the ground so the PMIC must manually set PWRHOLD bit in CTRL1 register to turn off the power. Usually the ACOKB is pulled up to VBATT so when PWRHOLD pin goes low, the rising ACOKB will trigger power off.

Value type (type): "boolean"

samsung,s2mps11-wrstbi-ground — not listed as required here #

Indicates that WRSTBI pin of PMIC is pulled down. When the system is suspended it will always go down thus triggering unwanted buck warm reset (setting buck voltages to default values).

Value type (type): "boolean"

wakeup-source — not listed as required here #

true — No constraints added by this property rule.

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

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,s2mps11-pmic"

When the condition matches (then) #

Properties and child nodes (properties)

regulators — not listed as required here

Shared schema rule ($ref): /schemas/regulator/samsung,s2mps11.yaml

samsung,s2mps11-wrstbi-ground — not listed as required here

false — Not permitted by this property rule.

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,s2mps13-pmic"

When the condition matches (then) #

Properties and child nodes (properties)

regulators — not listed as required here

Shared schema rule ($ref): /schemas/regulator/samsung,s2mps13.yaml

samsung,s2mps11-acokb-ground — not listed as required here

false — Not permitted by this property rule.

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,s2mps14-pmic"

When the condition matches (then) #

Properties and child nodes (properties)

regulators — not listed as required here

Shared schema rule ($ref): /schemas/regulator/samsung,s2mps14.yaml

samsung,s2mps11-acokb-ground — not listed as required here

false — Not permitted by this property rule.

samsung,s2mps11-wrstbi-ground — not listed as required here

false — Not permitted by this property rule.

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,s2mps15-pmic"

When the condition matches (then) #

Properties and child nodes (properties)

regulators — not listed as required here

Shared schema rule ($ref): /schemas/regulator/samsung,s2mps15.yaml

samsung,s2mps11-acokb-ground — not listed as required here

false — Not permitted by this property rule.

samsung,s2mps11-wrstbi-ground — not listed as required here

false — Not permitted by this property rule.

Rule 5 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,s2mpu02-pmic"

When the condition matches (then) #

Properties and child nodes (properties)

regulators — not listed as required here

Shared schema rule ($ref): /schemas/regulator/samsung,s2mpu02.yaml

samsung,s2mps11-acokb-ground — not listed as required here

false — Not permitted by this property rule.

samsung,s2mps11-wrstbi-ground — not listed as required here

false — Not permitted by this property rule.

Rule 6 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,s2mpu05-pmic"

When the condition matches (then) #

Properties and child nodes (properties)

regulators — not listed as required here

Shared schema rule ($ref): /schemas/regulator/samsung,s2mpu05.yaml

samsung,s2mps11-acokb-ground — not listed as required here

false — Not permitted by this property rule.

samsung,s2mps11-wrstbi-ground — not listed as required here

false — Not permitted by this property rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    pmic@66 {
        compatible = "samsung,s2mps11-pmic";
        reg = <0x66>;

        interrupt-parent = <&gpx0>;
        interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
        pinctrl-names = "default";
        pinctrl-0 = <&s2mps11_irq>;
        samsung,s2mps11-acokb-ground;
        wakeup-source;

        clocks {
            compatible = "samsung,s2mps11-clk";
            #clock-cells = <1>;
            clock-output-names = "s2mps11_ap", "s2mps11_cp", "s2mps11_bt";
        };

        regulators {
            LDO1 {
                regulator-name = "vdd_ldo1";
                regulator-min-microvolt = <1000000>;
                regulator-max-microvolt = <1000000>;
                regulator-always-on;
            };

            LDO4 {
                regulator-name = "vdd_adc";
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <1800000>;

                regulator-state-mem {
                    regulator-off-in-suspend;
                };
            };

            // ....

            BUCK1 {
                regulator-name = "vdd_mif";
                regulator-min-microvolt = <800000>;
                regulator-max-microvolt = <1300000>;
                regulator-always-on;
                regulator-boot-on;

                regulator-state-mem {
                    regulator-off-in-suspend;
                };
            };

            BUCK2 {
                regulator-name = "vdd_arm";
                regulator-min-microvolt = <800000>;
                regulator-max-microvolt = <1500000>;
                regulator-always-on;
                regulator-boot-on;
                regulator-coupled-with = <&buck3_reg>;
                regulator-coupled-max-spread = <300000>;

                regulator-state-mem {
                    regulator-off-in-suspend;
                };
            };

            BUCK3 {
                regulator-name = "vdd_int";
                regulator-min-microvolt = <800000>;
                regulator-max-microvolt = <1400000>;
                regulator-always-on;
                regulator-boot-on;
                regulator-coupled-with = <&buck2_reg>;
                regulator-coupled-max-spread = <300000>;

                regulator-state-mem {
                    regulator-off-in-suspend;
                };
            };

            // ...
        };
    };
};
#include <dt-bindings/interrupt-controller/irq.h>

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    pmic@66 {
        compatible = "samsung,s2mps14-pmic";
        reg = <0x66>;

        interrupt-parent = <&gpx0>;
        interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
        wakeup-source;

        clocks {
            compatible = "samsung,s2mps14-clk";
            #clock-cells = <1>;
            clock-output-names = "s2mps14_ap", "unused", "s2mps14_bt";
        };

        regulators {
            LDO1 {
                regulator-name = "VLDO1_1.0V";
                regulator-min-microvolt = <1000000>;
                regulator-max-microvolt = <1000000>;
                regulator-always-on;

                regulator-state-mem {
                    regulator-on-in-suspend;
                };
            };

            // ...

            BUCK1 {
                regulator-name = "VBUCK1_1.0V";
                regulator-min-microvolt = <800000>;
                regulator-max-microvolt = <1000000>;
                regulator-always-on;

                regulator-state-mem {
                    regulator-off-in-suspend;
                };
            };

            // ...
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only

Samsung S5M8767 Power Management IC

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/samsung,s5m8767.yaml#"

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

Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"

This is a part of device tree bindings for S2M and S5M family of Power Management IC (PMIC).

The Samsung S5M8767 is a Power Management IC which includes voltage and current regulators, RTC, clock outputs and other sub-blocks.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "samsung,s5m8767-pmic"

clocks — not listed as required here #

Shared schema rule ($ref): /schemas/clock/samsung,s2mps11.yaml

Child node describing clock provider.

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

reg — required here #

Maximum number of items (maxItems): 1

regulators — required here #

Shared schema rule ($ref): /schemas/regulator/samsung,s5m8767.yaml

List of child nodes that specify the regulators.

s5m8767,pmic-buck2-dvs-voltage — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array

Minimum number of items (minItems): 8

Maximum number of items (maxItems): 8

A set of 8 voltage values in micro-volt (uV) units for buck2 when changing voltage using gpio dvs.

s5m8767,pmic-buck3-dvs-voltage — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array

Minimum number of items (minItems): 8

Maximum number of items (maxItems): 8

A set of 8 voltage values in micro-volt (uV) units for buck3 when changing voltage using gpio dvs.

s5m8767,pmic-buck4-dvs-voltage — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array

Minimum number of items (minItems): 8

Maximum number of items (maxItems): 8

A set of 8 voltage values in micro-volt (uV) units for buck4 when changing voltage using gpio dvs.

s5m8767,pmic-buck-ds-gpios — required here #

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 3

GPIO specifiers for three host gpio's used for selecting GPIO DVS lines. It is one-to-one mapped to dvs gpio lines.

s5m8767,pmic-buck2-uses-gpio-dvs — not listed as required here #

Value type (type): "boolean"

buck2 can be controlled by gpio dvs.

s5m8767,pmic-buck3-uses-gpio-dvs — not listed as required here #

Value type (type): "boolean"

buck3 can be controlled by gpio dvs.

s5m8767,pmic-buck4-uses-gpio-dvs — not listed as required here #

Value type (type): "boolean"

buck4 can be controlled by gpio dvs.

s5m8767,pmic-buck-default-dvs-idx — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array

Minimum value (minimum): 0

Maximum value (maximum): 7

Default value (default): 0

Default voltage setting selected from the possible 8 options selectable by the dvs gpios. The value of this property should be between 0 and 7. If not specified or if out of range, the default value of this property is set to 0.

s5m8767,pmic-buck-dvs-gpios — not listed as required here #

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 3

GPIO specifiers for three host gpio's used for dvs.

vinb1-supply — not listed as required here #

Power supply for buck1

vinb2-supply — not listed as required here #

Power supply for buck2

vinb3-supply — not listed as required here #

Power supply for buck3

vinb4-supply — not listed as required here #

Power supply for buck4

vinb5-supply — not listed as required here #

Power supply for buck5

vinb6-supply — not listed as required here #

Power supply for buck6

vinb7-supply — not listed as required here #

Power supply for buck7

vinb8-supply — not listed as required here #

Power supply for buck8

vinb9-supply — not listed as required here #

Power supply for buck9

vinl1-supply — not listed as required here #

Power supply for LDO3, LDO10, LDO26, LDO27

vinl2-supply — not listed as required here #

Power supply for LDO13, LDO16, LDO25, LDO28

vinl3-supply — not listed as required here #

Power supply for LDO11, LDO14

vinl4-supply — not listed as required here #

Power supply for LDO4, LDO9

vinl5-supply — not listed as required here #

Power supply for LDO12, LDO17, LDO19, LDO23

vinl6-supply — not listed as required here #

Power supply for LDO18, LDO20, LDO21, LDO24

vinl7-supply — not listed as required here #

Power supply for LDO5, LDO22

vinl8-supply — not listed as required here #

Power supply for LDO1, LDO6, LDO7, LDO8, LDO15

vinl9-supply — not listed as required here #

Power supply for LDO2

wakeup-source — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg", "regulators", "s5m8767,pmic-buck-ds-gpios"

Property dependencies (dependencies) #

s5m8767,pmic-buck2-dvs-voltage — applies when this property is present #

Also requires: "s5m8767,pmic-buck-dvs-gpios"

s5m8767,pmic-buck3-dvs-voltage — applies when this property is present #

Also requires: "s5m8767,pmic-buck-dvs-gpios"

s5m8767,pmic-buck4-dvs-voltage — applies when this property is present #

Also requires: "s5m8767,pmic-buck-dvs-gpios"

s5m8767,pmic-buck2-uses-gpio-dvs — applies when this property is present #

Also requires: "s5m8767,pmic-buck-dvs-gpios", "s5m8767,pmic-buck2-dvs-voltage"

s5m8767,pmic-buck3-uses-gpio-dvs — applies when this property is present #

Also requires: "s5m8767,pmic-buck-dvs-gpios", "s5m8767,pmic-buck3-dvs-voltage"

s5m8767,pmic-buck4-uses-gpio-dvs — applies when this property is present #

Also requires: "s5m8767,pmic-buck-dvs-gpios", "s5m8767,pmic-buck4-dvs-voltage"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

All of these rules must match (allOf) #

Rule 1 #

This rule must not match (not) #

Required in this object (required): "s5m8767,pmic-buck2-uses-gpio-dvs", "s5m8767,pmic-buck3-uses-gpio-dvs"

Rule 2 #

This rule must not match (not) #

Required in this object (required): "s5m8767,pmic-buck2-uses-gpio-dvs", "s5m8767,pmic-buck4-uses-gpio-dvs"

Rule 3 #

This rule must not match (not) #

Required in this object (required): "s5m8767,pmic-buck3-uses-gpio-dvs", "s5m8767,pmic-buck4-uses-gpio-dvs"

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    pmic@66 {
        compatible = "samsung,s5m8767-pmic";
        reg = <0x66>;

        interrupt-parent = <&gpx3>;
        interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
        pinctrl-names = "default";
        pinctrl-0 = <&s5m8767_irq &s5m8767_dvs &s5m8767_ds>;
        wakeup-source;

        s5m8767,pmic-buck-default-dvs-idx = <3>;
        s5m8767,pmic-buck2-uses-gpio-dvs;

        s5m8767,pmic-buck-dvs-gpios = <&gpd1 0 GPIO_ACTIVE_LOW>,
                                      <&gpd1 1 GPIO_ACTIVE_LOW>,
                                      <&gpd1 2 GPIO_ACTIVE_LOW>;

        s5m8767,pmic-buck-ds-gpios = <&gpx2 3 GPIO_ACTIVE_LOW>,
                                     <&gpx2 4 GPIO_ACTIVE_LOW>,
                                     <&gpx2 5 GPIO_ACTIVE_LOW>;

        s5m8767,pmic-buck2-dvs-voltage = <1350000>, <1300000>,
                                         <1250000>, <1200000>,
                                         <1150000>, <1100000>,
                                         <1000000>, <950000>;

        s5m8767,pmic-buck3-dvs-voltage = <1100000>, <1100000>,
                                         <1100000>, <1100000>,
                                         <1000000>, <1000000>,
                                         <1000000>, <1000000>;

        s5m8767,pmic-buck4-dvs-voltage = <1200000>, <1200000>,
                                         <1200000>, <1200000>,
                                         <1200000>, <1200000>,
                                         <1200000>, <1200000>;

        clocks {
            compatible = "samsung,s5m8767-clk";
            #clock-cells = <1>;
            clock-output-names = "en32khz_ap", "en32khz_cp", "en32khz_bt";
        };

        regulators {
            LDO1 {
                regulator-name = "VDD_ALIVE";
                regulator-min-microvolt = <1100000>;
                regulator-max-microvolt = <1100000>;
                regulator-always-on;
                regulator-boot-on;
                op_mode = <1>; /* Normal Mode */
            };

            // ...

            BUCK1 {
                regulator-name = "VDD_MIF";
                regulator-min-microvolt = <950000>;
                regulator-max-microvolt = <1100000>;
                regulator-always-on;
                regulator-boot-on;
                op_mode = <1>; /* Normal Mode */
            };

            BUCK2 {
                regulator-name = "VDD_ARM";
                regulator-min-microvolt = <900000>;
                regulator-max-microvolt = <1350000>;
                regulator-always-on;
                regulator-boot-on;
                op_mode = <1>; /* Normal Mode */
            };

            // ...
        };
    };
};
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    pmic@66 {
        compatible = "samsung,s5m8767-pmic";
        reg = <0x66>;

        interrupt-parent = <&gpx3>;
        interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
        pinctrl-names = "default";
        pinctrl-0 = <&s5m8767_irq &s5m8767_dvs &s5m8767_ds>;
        wakeup-source;

        s5m8767,pmic-buck-ds-gpios = <&gpx2 3 GPIO_ACTIVE_LOW>,
                                     <&gpx2 4 GPIO_ACTIVE_LOW>,
                                     <&gpx2 5 GPIO_ACTIVE_LOW>;

        clocks {
            compatible = "samsung,s5m8767-clk";
            #clock-cells = <1>;
            clock-output-names = "en32khz_ap", "en32khz_cp", "en32khz_bt";
        };

        regulators {
            LDO1 {
                regulator-name = "VDD_ALIVE";
                regulator-min-microvolt = <1100000>;
                regulator-max-microvolt = <1100000>;
                regulator-always-on;
                regulator-boot-on;
                op_mode = <1>; /* Normal Mode */
            };

            // ...
        };
    };
};

Source notes #

Annotations retained from the schema source

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

silergy sy7636a PMIC

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/silergy,sy7636a.yaml#"

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

Maintainers (maintainers): "Alistair Francis <alistair@alistair23.me>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "silergy,sy7636a"

reg — required here #

I2C device address.

Maximum number of items (maxItems): 1

#address-cells — not listed as required here #

Exact value (const): 1

#size-cells — not listed as required here #

Exact value (const): 0

#thermal-sensor-cells — required here #

Exact value (const): 0

epd-pwr-good-gpios — not listed as required here #

Specifying the power good GPIOs.

Maximum number of items (maxItems): 1

enable-gpios — not listed as required here #

Maximum number of items (maxItems): 1

vcom-en-gpios — not listed as required here #

Maximum number of items (maxItems): 1

vin-supply — not listed as required here #

Supply for the whole chip. Some vendor kernels and devicetrees declare this as a non-existing GPIO named "pwrall".

regulators — not listed as required here #

Value type (type): "object"

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "silergy,sy7636a-regulator"

vcom — not listed as required here

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

The regulator for the compenstation voltage. Enabling/disabling this enables/disables the entire device.

Properties and child nodes (properties)

regulator-name — not listed as required here

Exact value (const): "vcom"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "#thermal-sensor-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

i2c {
  #address-cells = <1>;
  #size-cells = <0>;

  pmic@62 {
    compatible = "silergy,sy7636a";
    reg = <0x62>;
    pinctrl-names = "default";
    pinctrl-0 = <&pinctrl_epdpmic>;
    #thermal-sensor-cells = <0>;

    regulators {
      reg_epdpmic: vcom {
        regulator-name = "vcom";
        regulator-boot-on;
      };
    };
  };
};

Source notes #

Annotations retained from the schema source

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

SpacemiT P1 Power Management Integrated Circuit

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/spacemit,p1.yaml#"

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

Maintainers (maintainers): "Troy Mitchell <troy.mitchell@linux.spacemit.com>"

P1 is an I2C-controlled PMIC produced by SpacemiT. It implements six constant-on-time buck converters and twelve low-dropout regulators. It also contains a load switch, watchdog timer, real-time clock, eight 12-bit ADC channels, and six GPIOs. Additional details are available in the "Power Stone/P1" section at the following link. https://developer.spacemit.com/documentation

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "spacemit,p1"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

vin-supply — not listed as required here #

Input supply phandle.

regulators — not listed as required here #

Value type (type): "object"

Properties matching a name pattern (patternProperties) #

^(buck[1-6]|aldo[1-4]|dldo[1-7])$ — name matches this regular expression

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    pmic@41 {
        compatible = "spacemit,p1";
        reg = <0x41>;
        interrupts = <64>;

        regulators {
            buck1 {
                regulator-name = "buck1";
                regulator-min-microvolt = <500000>;
                regulator-max-microvolt = <3450000>;
                regulator-ramp-delay = <5000>;
                regulator-always-on;
            };

            aldo1 {
                regulator-name = "aldo1";
                regulator-min-microvolt = <500000>;
                regulator-max-microvolt = <3400000>;
                regulator-boot-on;
            };

            dldo1 {
                regulator-name = "dldo1";
                regulator-min-microvolt = <500000>;
                regulator-max-microvolt = <3400000>;
                regulator-boot-on;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Spreadtrum SC27xx PMIC

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/sprd,sc2731.yaml#"

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

Maintainers (maintainers): "Orson Zhai <orsonzhai@gmail.com>", "Baolin Wang <baolin.wang7@gmail.com>", "Chunyan Zhang <zhang.lyra@gmail.com>"

Spreadtrum PMICs belonging to the SC27xx series integrate all mobile handset
power management, audio codec, battery management and user interface support
functions in a single chip. They have 6 major functional blocks:
  - DCDCs to support CPU, memory
  - LDOs to support both internal and external requirements
  - Battery management system, such as charger, fuel gauge
  - Audio codec
  - User interface functions, such as indicator, flash LED and so on
  - IC level interface, such as power on/off control, RTC, typec and so on

Properties and child nodes (properties) #

$nodename — not listed as required here #

String pattern (pattern): "^pmic@[0-9a-f]+$"

compatible — required here #

Allowed values (enum): "sprd,sc2720", "sprd,sc2721", "sprd,sc2723", "sprd,sc2730", "sprd,sc2731"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

interrupt-controller — required here #

true — No constraints added by this property rule.

spi-max-frequency — required here #

true — No constraints added by this property rule.

#address-cells — required here #

Exact value (const): 1

#interrupt-cells — required here #

Exact value (const): 1

#size-cells — required here #

Exact value (const): 0

regulators — not listed as required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/sprd,sc2731-regulator.yaml#

Properties matching a name pattern (patternProperties) #

^adc@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/iio/adc/sprd,sc2720-adc.yaml#

^charger@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/power/supply/sc2731-charger.yaml#

^efuse@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/nvmem/sprd,sc2731-efuse.yaml#

^fuel-gauge@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/power/supply/sc27xx-fg.yaml#

^gpio@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/gpio/sprd,gpio-eic.yaml#

^led-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/leds/sprd,sc2731-bltc.yaml#

^rtc@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/rtc/sprd,sc2731-rtc.yaml#

^vibrator@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/input/sprd,sc27xx-vibrator.yaml#

Required in this object (required): "compatible", "reg", "interrupts", "interrupt-controller", "spi-max-frequency", "#address-cells", "#interrupt-cells", "#size-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/leds/common.h>

spi {
  #address-cells = <1>;
  #size-cells = <0>;

  sc2731_pmic: pmic@0 {
    compatible = "sprd,sc2731";
    reg = <0>;
    interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
    interrupt-controller;
    spi-max-frequency = <26000000>;
    #address-cells = <1>;
    #interrupt-cells = <1>;
    #size-cells = <0>;

    charger@0 {
      compatible = "sprd,sc2731-charger";
      reg = <0x0>;
      phys = <&ssphy>;
      monitored-battery = <&bat>;
    };

    led-controller@200 {
      compatible = "sprd,sc2731-bltc";
      reg = <0x200>;
      #address-cells = <1>;
      #size-cells = <0>;

      led@0 {
        reg = <0x0>;
        color = <LED_COLOR_ID_RED>;
      };

      led@1 {
        reg = <0x1>;
        color = <LED_COLOR_ID_GREEN>;
      };

      led@2 {
        reg = <0x2>;
        color = <LED_COLOR_ID_BLUE>;
      };
    };

    rtc@280 {
      compatible = "sprd,sc2731-rtc";
      reg = <0x280>;
      interrupt-parent = <&sc2731_pmic>;
      interrupts = <2>;
    };

    pmic_eic: gpio@300 {
      compatible = "sprd,sc2731-eic";
      reg = <0x300>;
      interrupt-parent = <&sc2731_pmic>;
      interrupts = <5>;
      gpio-controller;
      #gpio-cells = <2>;
      interrupt-controller;
      #interrupt-cells = <2>;
    };

    efuse@380 {
      compatible = "sprd,sc2731-efuse";
      reg = <0x380>;
      hwlocks = <&hwlock 12>;
      #address-cells = <1>;
      #size-cells = <1>;

      /* Data cells */
      fgu_calib: calib@6 {
        reg = <0x6 0x2>;
        bits = <0 9>;
      };

      adc_big_scale: calib@24 {
        reg = <0x24 0x2>;
      };

      adc_small_scale: calib@26 {
        reg = <0x26 0x2>;
      };
    };

    pmic_adc: adc@480 {
      compatible = "sprd,sc2731-adc";
      reg = <0x480>;
      interrupt-parent = <&sc2731_pmic>;
      interrupts = <0>;
      #io-channel-cells = <1>;
      hwlocks = <&hwlock 4>;
      nvmem-cells = <&adc_big_scale>, <&adc_small_scale>;
      nvmem-cell-names = "big_scale_calib", "small_scale_calib";
    };

    fuel-gauge@a00 {
      compatible = "sprd,sc2731-fgu";
      reg = <0xa00>;
      battery-detect-gpios = <&pmic_eic 9 GPIO_ACTIVE_HIGH>;
      interrupt-parent = <&sc2731_pmic>;
      interrupts = <4>;
      io-channels = <&pmic_adc 5>, <&pmic_adc 14>;
      io-channel-names = "bat-temp", "charge-vol";
      nvmem-cells = <&fgu_calib>;
      nvmem-cell-names = "fgu_calib";
      monitored-battery = <&bat>;
      sprd,calib-resistance-micro-ohms = <21500>;
    };

    vibrator@ec8 {
      compatible = "sprd,sc2731-vibrator";
      reg = <0xec8>;
    };

    regulators {
      compatible = "sprd,sc2731-regulator";

      BUCK_CPU0 {
        regulator-name = "vddarm0";
        regulator-min-microvolt = <400000>;
        regulator-max-microvolt = <1996875>;
        regulator-ramp-delay = <25000>;
        regulator-always-on;
      };

      LDO_CAMA0 {
        regulator-name = "vddcama0";
        regulator-min-microvolt = <1200000>;
        regulator-max-microvolt = <3750000>;
        regulator-enable-ramp-delay = <100>;
      };
    };
  };
};

Source notes #

Annotations retained from the schema source

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

Unisoc System Global Register

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/sprd,ums512-glbreg.yaml#"

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

Maintainers (maintainers): "Orson Zhai <orsonzhai@gmail.com>", "Baolin Wang <baolin.wang7@gmail.com>", "Chunyan Zhang <zhang.lyra@gmail.com>"

Unisoc system global registers provide register map for clocks and some multimedia modules of the SoC.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "sprd,ums512-glbregs", "sprd,ums9620-glbregs"

Item 2

Exact value (const): "syscon"

Item 3

Exact value (const): "simple-mfd"

#address-cells — not listed as required here #

Exact value (const): 1

#size-cells — not listed as required here #

Exact value (const): 1

ranges — not listed as required here #

Maximum number of items (maxItems): 1

reg — required here #

Maximum number of items (maxItems): 1

Properties matching a name pattern (patternProperties) #

^clock-controller@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/clock/sprd,ums512-clk.yaml#

Clock controller for the SoC clocks.

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

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

ap_apb_regs: syscon@71000000 {
  compatible = "sprd,ums512-glbregs", "syscon", "simple-mfd";
  reg = <0x71000000 0x3000>;
  #address-cells = <1>;
  #size-cells = <1>;
  ranges = <0 0x71000000 0x3000>;

  clock-controller@0 {
    compatible = "sprd,ums512-apahb-gate";
    reg = <0x0 0x2000>;
    #clock-cells = <1>;
  };
};
ap_intc5_regs: syscon@32360000 {
  compatible = "sprd,ums512-glbregs", "syscon", "simple-mfd";
  reg = <0x32360000 0x1000>;
};

Source notes #

Annotations retained from the schema source

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

Line 2: Copyright 2022 Unisoc Inc.

STMicroelectronics STM32 Low-Power Timers

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/st,stm32-lptimer.yaml#"

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

The STM32 Low-Power Timer (LPTIM) is a 16-bit timer that provides several
functions
 - PWM output (with programmable prescaler, configurable polarity)
 - Trigger source for STM32 ADC/DAC (LPTIM_OUT)
 - Several counter modes:
   - quadrature encoder to detect angular position and direction of rotary
     elements, from IN1 and IN2 input signals.
   - simple counter from IN1 input signal.

Maintainers (maintainers): "Fabrice Gasnier <fabrice.gasnier@foss.st.com>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Exact value (const): "st,stm32mp25-lptimer"

Item 2

Exact value (const): "st,stm32-lptimer"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "st,stm32-lptimer"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "mux"

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

#address-cells — required here #

Exact value (const): 1

#size-cells — required here #

Exact value (const): 0

wakeup-source — not listed as required here #

true — No constraints added by this property rule.

access-controllers — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

pwm — not listed as required here #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

compatible — required here

Exactly one of these rules must match (oneOf)

Rule 1

Array item rules (items)

Item 1

Exact value (const): "st,stm32mp25-pwm-lp"

Item 2

Exact value (const): "st,stm32-pwm-lp"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "st,stm32-pwm-lp"

#pwm-cells — required here

Exact value (const): 3

Required in this object (required): "#pwm-cells", "compatible"

counter — not listed as required here #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

compatible — required here

Exactly one of these rules must match (oneOf)

Rule 1

Array item rules (items)

Item 1

Exact value (const): "st,stm32mp25-lptimer-counter"

Item 2

Exact value (const): "st,stm32-lptimer-counter"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "st,stm32-lptimer-counter"

Required in this object (required): "compatible"

timer — not listed as required here #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

compatible — required here

Exactly one of these rules must match (oneOf)

Rule 1

Array item rules (items)

Item 1

Exact value (const): "st,stm32mp25-lptimer-timer"

Item 2

Exact value (const): "st,stm32-lptimer-timer"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "st,stm32-lptimer-timer"

Required in this object (required): "compatible"

Properties matching a name pattern (patternProperties) #

^trigger@[0-9]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

compatible — required here

Exactly one of these rules must match (oneOf)

Rule 1

Array item rules (items)

Item 1

Exact value (const): "st,stm32mp25-lptimer-trigger"

Item 2

Exact value (const): "st,stm32-lptimer-trigger"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "st,stm32-lptimer-trigger"

reg — required here

Identify trigger hardware block.

Array item rules (items)

Minimum value (minimum): 0

Maximum value (maximum): 4

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

Required in this object (required): "#address-cells", "#size-cells", "compatible", "reg", "clocks", "clock-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/stm32mp1-clks.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
timer@40002400 {
  compatible = "st,stm32-lptimer";
  reg = <0x40002400 0x400>;
  clocks = <&timer_clk>;
  clock-names = "mux";
  interrupts-extended = <&exti 47 IRQ_TYPE_LEVEL_HIGH>;
  #address-cells = <1>;
  #size-cells = <0>;

  pwm {
    compatible = "st,stm32-pwm-lp";
    #pwm-cells = <3>;
  };

  trigger@0 {
    compatible = "st,stm32-lptimer-trigger";
    reg = <0>;
  };

  counter {
    compatible = "st,stm32-lptimer-counter";
  };

  timer {
    compatible = "st,stm32-lptimer-timer";
  };
};

Source notes #

Annotations retained from the schema source

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

STMicroelectronics STM32 Timers

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/st,stm32-timers.yaml#"

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

This hardware block provides 3 types of timer along with PWM functionality:
  - advanced-control timers consist of a 16-bit auto-reload counter driven
    by a programmable prescaler, break input feature, PWM outputs and
    complementary PWM outputs channels.
  - general-purpose timers consist of a 16-bit or 32-bit auto-reload counter
    driven by a programmable prescaler and PWM outputs.
  - basic timers consist of a 16-bit auto-reload counter driven by a
    programmable prescaler.

Maintainers (maintainers): "Fabrice Gasnier <fabrice.gasnier@foss.st.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "st,stm32-timers", "st,stm32mp25-timers"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "int"

resets — not listed as required here #

Maximum number of items (maxItems): 1

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

dmas — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 7

dma-names — not listed as required here #

Array item rules (items) #

Allowed values (enum): "ch1", "ch2", "ch3", "ch4", "up", "trig", "com"

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 7

interrupts — not listed as required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Maximum number of items (maxItems): 1

Rule 2

Maximum number of items (maxItems): 4

interrupt-names — not listed as required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Exact value (const): "global"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "brk"

Item 2

Exact value (const): "up"

Item 3

Exact value (const): "trg-com"

Item 4

Exact value (const): "cc"

#address-cells — not listed as required here #

Exact value (const): 1

#size-cells — not listed as required here #

Exact value (const): 0

access-controllers — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

pwm — not listed as required here #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

compatible — required here

Allowed values (enum): "st,stm32-pwm", "st,stm32mp25-pwm"

#pwm-cells — required here

Exact value (const): 3

st,breakinput — not listed as required here

One or two <index level filter> to describe break input configurations.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-matrix

Array item rules (items)

Array item rules (items)

Item 1

"index" indicates on which break input (0 or 1) the configuration should be applied.

Allowed values (enum): 0, 1

Item 2

"level" gives the active level (0=low or 1=high) of the input signal for this configuration

Allowed values (enum): 0, 1

Item 3

"filter" gives the filtering value (up to 15) to be applied.

Maximum value (maximum): 15

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

Required in this object (required): "#pwm-cells", "compatible"

counter — not listed as required here #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

compatible — required here

Allowed values (enum): "st,stm32-timer-counter", "st,stm32mp25-timer-counter"

Required in this object (required): "compatible"

Properties matching a name pattern (patternProperties) #

^timer@[0-9]+$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

compatible — required here

Allowed values (enum): "st,stm32-timer-trigger", "st,stm32h7-timer-trigger", "st,stm32mp25-timer-trigger"

reg — required here

Identify trigger hardware block.

Array item rules (items)

Minimum value (minimum): 0

Maximum value (maximum): 19

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

Required in this object (required): "compatible", "reg", "clocks", "clock-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/stm32mp1-clks.h>
timers2: timer@40000000 {
  #address-cells = <1>;
  #size-cells = <0>;
  compatible = "st,stm32-timers";
  reg = <0x40000000 0x400>;
  clocks = <&rcc TIM2_K>;
  clock-names = "int";
  dmas = <&dmamux1 18 0x400 0x1>,
         <&dmamux1 19 0x400 0x1>,
         <&dmamux1 20 0x400 0x1>,
         <&dmamux1 21 0x400 0x1>,
         <&dmamux1 22 0x400 0x1>;
  dma-names = "ch1", "ch2", "ch3", "ch4", "up";
  pwm {
    compatible = "st,stm32-pwm";
    #pwm-cells = <3>;
    st,breakinput = <0 1 5>;
  };
  timer@1 {
    compatible = "st,stm32-timer-trigger";
    reg = <1>;
  };
  counter {
    compatible = "st,stm32-timer-counter";
  };
};

Source notes #

Annotations retained from the schema source

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

STMicroelectonics Multi-Function eXpander (STMFX)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/st,stmfx.yaml#"

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

ST Multi-Function eXpander (STMFX) is a slave controller using I2C for communication with the main MCU. Its main features are GPIO expansion, main MCU IDD measurement (IDD is the amount of current that flows through VDD) and resistive touchscreen controller.

Maintainers (maintainers): "Amelie Delaunay <amelie.delaunay@foss.st.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "st,stmfx-0300"

reg — required here #

Allowed values (enum): 66, 67

interrupts — required here #

Maximum number of items (maxItems): 1

drive-open-drain — not listed as required here #

true — No constraints added by this property rule.

vdd-supply — not listed as required here #

true — No constraints added by this property rule.

pinctrl — not listed as required here #

Value type (type): "object"

Properties and child nodes (properties) #

compatible — required here

Exact value (const): "st,stmfx-0300-pinctrl"

#gpio-cells — required here

Exact value (const): 2

#interrupt-cells — required here

Exact value (const): 2

gpio-controller — required here

true — No constraints added by this property rule.

interrupt-controller — required here

true — No constraints added by this property rule.

gpio-ranges — required here

if all STMFX pins[24:0] are available (no other STMFX function in use), you should use gpio-ranges = <&stmfx_pinctrl 0 0 24>; if agpio[3:0] are not available (STMFX Touchscreen function in use), you should use gpio-ranges = <&stmfx_pinctrl 0 0 16>, <&stmfx_pinctrl 20 20 4>; if agpio[7:4] are not available (STMFX IDD function in use), you should use gpio-ranges = <&stmfx_pinctrl 0 0 20>;

Maximum number of items (maxItems): 1

Properties matching a name pattern (patternProperties) #

^[a-zA-Z]*-pins$ — name matches this regular expression

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties)

false

Not allowed by this rule.

All of these rules must match (allOf)

Rule 1

Shared schema rule ($ref): /schemas/pinctrl/pinmux-node.yaml

Properties and child nodes (properties)

pins — not listed as required here

true — No constraints added by this property rule.

bias-disable — not listed as required here

true — No constraints added by this property rule.

bias-pull-up — not listed as required here

true — No constraints added by this property rule.

bias-pull-pin-default — not listed as required here

true — No constraints added by this property rule.

bias-pull-down — not listed as required here

true — No constraints added by this property rule.

drive-open-drain — not listed as required here

true — No constraints added by this property rule.

drive-push-pull — not listed as required here

true — No constraints added by this property rule.

output-high — not listed as required here

true — No constraints added by this property rule.

output-low — not listed as required here

true — No constraints added by this property rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "#gpio-cells", "#interrupt-cells", "gpio-controller", "interrupt-controller", "gpio-ranges"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

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

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>
i2c {
  #address-cells = <1>;
  #size-cells = <0>;
  stmfx@42 {
    compatible = "st,stmfx-0300";
    reg = <0x42>;
    interrupts = <8 IRQ_TYPE_EDGE_RISING>;
    interrupt-parent = <&gpioi>;
    vdd-supply = <&v3v3>;

    stmfx_pinctrl: pinctrl {
      compatible = "st,stmfx-0300-pinctrl";
      #gpio-cells = <2>;
      #interrupt-cells = <2>;
      gpio-controller;
      interrupt-controller;
      gpio-ranges = <&stmfx_pinctrl 0 0 24>;

      joystick_pins: joystick-pins {
        pins = "gpio0", "gpio1", "gpio2", "gpio3", "gpio4";
        drive-push-pull;
        bias-pull-up;
      };
    };
  };
};

Source notes #

Annotations retained from the schema source

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

STMicroelectonics Port Expander (STMPE)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/st,stmpe.yaml#"

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

STMicroelectronics Port Expander (STMPE) is a series of slow bus controllers for various expanded peripherals such as GPIO, keypad, touchscreen, ADC, PWM or rotator. It can contain one or several different peripherals connected to SPI or I2C.

Maintainers (maintainers): "Linus Walleij <linusw@kernel.org>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/spi/spi-peripheral-props.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "st,stmpe601", "st,stmpe801", "st,stmpe811", "st,stmpe1600", "st,stmpe1601", "st,stmpe2401", "st,stmpe2403"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

vcc-supply — not listed as required here #

true — No constraints added by this property rule.

vio-supply — not listed as required here #

true — No constraints added by this property rule.

reset-gpios — not listed as required here #

Maximum number of items (maxItems): 1

wakeup-source — not listed as required here #

true — No constraints added by this property rule.

st,autosleep-timeout — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 4, 16, 32, 64, 128, 256, 512, 1024

Time idle before going to automatic sleep to save power

st,sample-time — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 1, 2, 3, 4, 5, 6

Sample time per iteration 0 = 36 clock ticks 1 = 44 clock ticks 2 = 56 clock ticks 3 = 64 clock ticks 4 = 80 clock ticks - recommended 5 = 96 clock ticks 6 = 124 clock ticks

st,mod-12b — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 1

ADC bit mode 0 = 10bit ADC, 1 = 12bit ADC

st,ref-sel — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 1

ADC reference source 0 = internal, 1 = external

st,adc-freq — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 1, 2, 3

ADC clock speed 0 = 1.625 MHz 1 = 3.25 MHz 2, 3 = 6.5 MHz

adc — not listed as required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/iio/adc/st,stmpe-adc.yaml#

gpio — not listed as required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/gpio/st,stmpe-gpio.yaml#

keyboard-controller — not listed as required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/input/matrix-keymap.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

compatible — required here

Exact value (const): "st,stmpe-keypad"

debounce-interval — not listed as required here

Debouncing interval in milliseconds

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

st,no-autorepeat — not listed as required here

If present, the keys will not autorepeat when pressed

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

st,scan-count — not listed as required here

Scanning cycles elapsed before key data is updated

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Required in this object (required): "compatible", "linux,keymap"

pwm — not listed as required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/pwm/pwm.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "st,stmpe-pwm"

#pwm-cells — not listed as required here

Exact value (const): 2

touchscreen — not listed as required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/input/touchscreen/touchscreen.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

compatible — required here

Exact value (const): "st,stmpe-ts"

st,ave-ctrl — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 1, 2, 3

Sample average control 0 = 1 sample 1 = 2 samples 2 = 4 samples 3 = 8 samples

st,touch-det-delay — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 1, 2, 3, 4, 5, 6, 7

Touch detection delay 0 = 10 us 1 = 50 us 2 = 100 us 3 = 500 us - recommended 4 = 1 ms 5 = 5 ms 6 = 10 ms 7 = 50 ms

st,settling — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 1, 2, 3, 4, 5, 6, 7

Panel driver settling time 0 = 10 us 1 = 100 us 2 = 500 us - recommended 3 = 1 ms 4 = 5 ms 5 = 10 ms 6 = 50 ms 7 = 100 ms

st,fraction-z — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 1, 2, 3, 4, 5, 6, 7

Length of the fractional part in z, recommended is 7 (fraction-z ([0..7]) = Count of the fractional part)

st,i-drive — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 1

current limit value of the touchscreen drivers 0 = 20 mA (typical 35 mA max) 1 = 50 mA (typical 80 mA max)

Required in this object (required): "compatible"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

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

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/input/input.h>
i2c {
  #address-cells = <1>;
  #size-cells = <0>;

  port-expander@43 {
    compatible = "st,stmpe2401";
    reg = <0x43>;
    reset-gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
    interrupts = <26 IRQ_TYPE_EDGE_FALLING>;
    interrupt-parent = <&gpio>;
    vcc-supply = <&db8500_vsmps2_reg>;
    vio-supply = <&db8500_vsmps2_reg>;
    wakeup-source;
    st,autosleep-timeout = <1024>;

    gpio {
      compatible = "st,stmpe-gpio";
      gpio-controller;
      #gpio-cells = <2>;
      interrupt-controller;
      #interrupt-cells = <2>;
      st,norequest-mask = <0xf0f002>;
    };

    keyboard-controller {
      compatible = "st,stmpe-keypad";
      debounce-interval = <64>;
      st,scan-count = <8>;
      st,no-autorepeat;
      keypad,num-rows = <8>;
      keypad,num-columns = <8>;
      linux,keymap = <
          MATRIX_KEY(0x00, 0x00, KEY_1)
          MATRIX_KEY(0x00, 0x01, KEY_2)
          MATRIX_KEY(0x00, 0x02, KEY_3)
          MATRIX_KEY(0x00, 0x03, KEY_4)
          MATRIX_KEY(0x00, 0x04, KEY_5)
          MATRIX_KEY(0x00, 0x05, KEY_6)
          MATRIX_KEY(0x00, 0x06, KEY_7)
          MATRIX_KEY(0x00, 0x07, KEY_8)
          MATRIX_KEY(0x00, 0x08, KEY_9)
          MATRIX_KEY(0x00, 0x09, KEY_0)
      >;
    };

    pwm {
      compatible = "st,stmpe-pwm";
      #pwm-cells = <2>;
    };
  };

  port-expander@41 {
    compatible = "st,stmpe811";
    reg = <0x41>;
    interrupts = <10 IRQ_TYPE_LEVEL_LOW>;
    interrupt-parent = <&gpio>;
    st,adc-freq = <1>;
    st,mod-12b = <1>;
    st,ref-sel = <0>;
    st,sample-time = <4>;

    adc {
      compatible = "st,stmpe-adc";
      st,norequest-mask = <0x0f>;
      #io-channel-cells = <1>;
    };

    gpio {
      compatible = "st,stmpe-gpio";
      gpio-controller;
      #gpio-cells = <2>;
      interrupt-controller;
      #interrupt-cells = <2>;
    };

    pwm {
      compatible = "st,stmpe-pwm";
      #pwm-cells = <2>;
    };

    touchscreen {
      compatible = "st,stmpe-ts";
      st,ave-ctrl = <3>;
      st,touch-det-delay = <5>;
      st,settling = <3>;
      st,fraction-z = <7>;
      st,i-drive = <1>;
    };
  };
};

Source notes #

Annotations retained from the schema source

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

STMicroelectonics STPMIC1 Power Management IC

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/st,stpmic1.yaml#"

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

STMicroelectronics STPMIC1 Power Management IC

Maintainers (maintainers): "pascal Paillet <p.paillet@foss.st.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "st,stpmic1"

reg — required here #

Exact value (const): 51

interrupts — required here #

Maximum number of items (maxItems): 1

#interrupt-cells — required here #

Exact value (const): 2

interrupt-controller — required here #

true — No constraints added by this property rule.

onkey — not listed as required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/input/input.yaml

Properties and child nodes (properties) #

compatible — required here

Exact value (const): "st,stpmic1-onkey"

interrupts — required here

Array item rules (items)

Item 1

onkey-falling, happens when onkey is pressed. IT_PONKEY_F of pmic

Item 2

onkey-rising, happens when onkey is released. IT_PONKEY_R of pmic

interrupt-names — required here

Array item rules (items)

Item 1

Exact value (const): "onkey-falling"

Item 2

Exact value (const): "onkey-rising"

st,onkey-clear-cc-flag — not listed as required here

onkey is able power on after an over-current shutdown event.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

st,onkey-pu-inactive — not listed as required here

onkey pull up is not active

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

power-off-time-sec — not listed as required here

Minimum value (minimum): 1

Maximum value (maximum): 16

Required in this object (required): "compatible", "interrupts", "interrupt-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

watchdog — not listed as required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/watchdog/watchdog.yaml

Properties and child nodes (properties) #

compatible — required here

Exact value (const): "st,stpmic1-wdt"

timeout-sec — not listed as required here

true — No constraints added by this property rule.

Required in this object (required): "compatible"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

regulators — not listed as required here #

Value type (type): "object"

Available Regulators in STPMIC1 device are:
  - buck1 for Buck BUCK1
  - buck2 for Buck BUCK2
  - buck3 for Buck BUCK3
  - buck4 for Buck BUCK4
  - ldo1 for LDO LDO1
  - ldo2 for LDO LDO2
  - ldo3 for LDO LDO3
  - ldo4 for LDO LDO4
  - ldo5 for LDO LDO5
  - ldo6 for LDO LDO6
  - vref_ddr for LDO Vref DDR
  - boost for Buck BOOST
  - pwr_sw1 for VBUS_OTG switch
  - pwr_sw2 for SW_OUT switch
Switches are fixed voltage regulators with only enable/disable capability.

Properties and child nodes (properties) #

compatible — required here

Exact value (const): "st,stpmic1-regulators"

ldo3 — not listed as required here

Shared schema rule ($ref): /schemas/regulator/regulator.yaml

Value type (type): "object"

Properties and child nodes (properties)

interrupts — not listed as required here

Maximum number of items (maxItems): 1

st,mask-reset — not listed as required here

mask reset for this regulator, the regulator configuration is maintained during pmic reset.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

regulator-name — not listed as required here

true — No constraints added by this property rule.

regulator-boot-on — not listed as required here

true — No constraints added by this property rule.

regulator-always-on — not listed as required here

true — No constraints added by this property rule.

regulator-min-microvolt — not listed as required here

true — No constraints added by this property rule.

regulator-max-microvolt — not listed as required here

true — No constraints added by this property rule.

regulator-allow-bypass — not listed as required here

true — No constraints added by this property rule.

regulator-over-current-protection — not listed as required here

true — No constraints added by this property rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties)

false

Not allowed by this rule.

ldo4 — not listed as required here

Shared schema rule ($ref): /schemas/regulator/regulator.yaml

Value type (type): "object"

Properties and child nodes (properties)

interrupts — not listed as required here

Maximum number of items (maxItems): 1

st,mask-reset — not listed as required here

mask reset for this regulator, the regulator configuration is maintained during pmic reset.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

regulator-name — not listed as required here

true — No constraints added by this property rule.

regulator-boot-on — not listed as required here

true — No constraints added by this property rule.

regulator-always-on — not listed as required here

true — No constraints added by this property rule.

regulator-min-microvolt — not listed as required here

true — No constraints added by this property rule.

regulator-max-microvolt — not listed as required here

true — No constraints added by this property rule.

regulator-over-current-protection — not listed as required here

true — No constraints added by this property rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties)

false

Not allowed by this rule.

vref_ddr — not listed as required here

Shared schema rule ($ref): /schemas/regulator/regulator.yaml

Value type (type): "object"

Properties and child nodes (properties)

interrupts — not listed as required here

Maximum number of items (maxItems): 1

st,mask-reset — not listed as required here

mask reset for this regulator, the regulator configuration is maintained during pmic reset.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

regulator-name — not listed as required here

true — No constraints added by this property rule.

regulator-boot-on — not listed as required here

true — No constraints added by this property rule.

regulator-always-on — not listed as required here

true — No constraints added by this property rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties)

false

Not allowed by this rule.

boost — not listed as required here

Shared schema rule ($ref): /schemas/regulator/regulator.yaml

Value type (type): "object"

Properties and child nodes (properties)

interrupts — not listed as required here

Maximum number of items (maxItems): 1

st,mask-reset — not listed as required here

mask reset for this regulator, the regulator configuration is maintained during pmic reset.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

regulator-name — not listed as required here

true — No constraints added by this property rule.

regulator-boot-on — not listed as required here

true — No constraints added by this property rule.

regulator-always-on — not listed as required here

true — No constraints added by this property rule.

regulator-over-current-protection — not listed as required here

true — No constraints added by this property rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties)

false

Not allowed by this rule.

Properties matching a name pattern (patternProperties) #

^(buck[1-4]|ldo[1-6]|vref_ddr|boost|pwr_sw[1-2])-supply$ — name matches this regular expression

STPMIC1 voltage regulators supplies

^ldo[1-2,5-6]$ — name matches this regular expression

Shared schema rule ($ref): /schemas/regulator/regulator.yaml

Value type (type): "object"

Properties and child nodes (properties)

interrupts — not listed as required here

Maximum number of items (maxItems): 1

st,mask-reset — not listed as required here

mask reset for this regulator, the regulator configuration is maintained during pmic reset.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

regulator-name — not listed as required here

true — No constraints added by this property rule.

regulator-boot-on — not listed as required here

true — No constraints added by this property rule.

regulator-always-on — not listed as required here

true — No constraints added by this property rule.

regulator-min-microvolt — not listed as required here

true — No constraints added by this property rule.

regulator-max-microvolt — not listed as required here

true — No constraints added by this property rule.

regulator-over-current-protection — not listed as required here

true — No constraints added by this property rule.

regulator-enable-ramp-delay — not listed as required here

true — No constraints added by this property rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties)

false

Not allowed by this rule.

^buck[1-4]$ — name matches this regular expression

Shared schema rule ($ref): /schemas/regulator/regulator.yaml

Value type (type): "object"

Properties and child nodes (properties)

interrupts — not listed as required here

Maximum number of items (maxItems): 1

st,mask-reset — not listed as required here

mask reset for this regulator, the regulator configuration is maintained during pmic reset.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

regulator-name — not listed as required here

true — No constraints added by this property rule.

regulator-boot-on — not listed as required here

true — No constraints added by this property rule.

regulator-always-on — not listed as required here

true — No constraints added by this property rule.

regulator-min-microvolt — not listed as required here

true — No constraints added by this property rule.

regulator-max-microvolt — not listed as required here

true — No constraints added by this property rule.

regulator-initial-mode — not listed as required here

true — No constraints added by this property rule.

regulator-pull-down — not listed as required here

true — No constraints added by this property rule.

regulator-over-current-protection — not listed as required here

true — No constraints added by this property rule.

regulator-enable-ramp-delay — not listed as required here

true — No constraints added by this property rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties)

false

Not allowed by this rule.

^pwr_sw[1-2]$ — name matches this regular expression

Shared schema rule ($ref): /schemas/regulator/regulator.yaml

Value type (type): "object"

Properties and child nodes (properties)

interrupts — not listed as required here

Maximum number of items (maxItems): 1

regulator-name — not listed as required here

true — No constraints added by this property rule.

regulator-boot-on — not listed as required here

true — No constraints added by this property rule.

regulator-always-on — not listed as required here

true — No constraints added by this property rule.

regulator-over-current-protection — not listed as required here

true — No constraints added by this property rule.

regulator-active-discharge — not listed as required here

true — No constraints added by this property rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties)

false

Not allowed by this rule.

Required in this object (required): "compatible"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "interrupts", "#interrupt-cells", "interrupt-controller"

Examples (examples) #

#include <dt-bindings/mfd/st,stpmic1.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
i2c {
  #address-cells = <1>;
  #size-cells = <0>;
  pmic@33 {
    compatible = "st,stpmic1";
    reg = <0x33>;
    interrupt-parent = <&gpioa>;
    interrupts = <0 2>;

    interrupt-controller;
    #interrupt-cells = <2>;

    onkey {
      compatible = "st,stpmic1-onkey";
      interrupts = <IT_PONKEY_F 0>,<IT_PONKEY_R 1>;
      interrupt-names = "onkey-falling", "onkey-rising";
      power-off-time-sec = <10>;
    };

    watchdog {
      compatible = "st,stpmic1-wdt";
    };

    regulators {
      compatible = "st,stpmic1-regulators";

      ldo6-supply = <&v3v3>;

      buck1 {
        regulator-name = "vdd_core";
        interrupts = <IT_CURLIM_BUCK1 0>;
        st,mask-reset;
        regulator-boot-on;
        regulator-min-microvolt = <700000>;
        regulator-max-microvolt = <1200000>;
      };

      buck3 {
        regulator-name = "vdd";
        regulator-min-microvolt = <3300000>;
        regulator-max-microvolt = <3300000>;
        regulator-boot-on;
        regulator-pull-down;
      };

      buck4 {
        regulator-name = "v3v3";
        interrupts = <IT_CURLIM_BUCK4 0>;
        regulator-min-microvolt = <3300000>;
        regulator-max-microvolt = <3300000>;
      };

      ldo6 {
        regulator-name = "v1v8";
        regulator-min-microvolt = <1800000>;
        regulator-max-microvolt = <1800000>;
        regulator-over-current-protection;
      };
    };
  };
};

Source notes #

Annotations retained from the schema source

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

ST-Ericsson Analog Baseband AB8500 and AB8505

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/stericsson,ab8500.yaml#"

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

Maintainers (maintainers): "Linus Walleij <linusw@kernel.org>"

the AB8500 "Analog Baseband" is the mixed-signals integrated circuit handling power management (regulators), analog-to-digital conversion (ADC), battery charging, fuel gauging of the battery, battery-backed RTC, PWM, USB PHY and some GPIO lines in the ST-Ericsson U8500 platforms in connection with the DB8500 digital baseband. The DB8500 PRCMU communicates directly and autonomously with the AB8500 and thus it appears as a subnode of the DB8500 PRCMU. An altered version called AB8505 also exist, the difference in AB8505 is that some of the USB and USB charging handling has changed, and it has an embedded USB-to-serial converter. Most subblocks takes their interrupts directly from the AB8500 embedded interrupt controller.

Properties and child nodes (properties) #

$nodename — not listed as required here #

String pattern (pattern): "^ab850[05]$"

compatible — required here #

Allowed values (enum): "stericsson,ab8500", "stericsson,ab8505"

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

interrupt-controller — not listed as required here #

true — No constraints added by this property rule.

#interrupt-cells — not listed as required here #

Exact value (const): 2

#address-cells — not listed as required here #

Exact value (const): 1

#size-cells — not listed as required here #

Exact value (const): 0

clock-controller — required here #

Node describing the AB8500 clock controller. This provides the reference clock for the entire U8500 system and the DB8500 counterpart.

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "stericsson,ab8500-clk"

#clock-cells — not listed as required here

Exact value (const): 1

gpio — required here #

Node describing the AB8500 GPIO controller. A few GPIO pins available for misc usage.

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Allowed values (enum): "stericsson,ab8500-gpio", "stericsson,ab8505-gpio"

gpio-controller — not listed as required here

true — No constraints added by this property rule.

#gpio-cells — not listed as required here

Exact value (const): 2

rtc — required here #

Node describing the AB8500 battery-backed RTC.

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "stericsson,ab8500-rtc"

interrupts — not listed as required here

Array item rules (items)

Item 1

60 second interval alarm interrupt

Item 2

RTC alarm

interrupt-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "60S"

Item 2

Exact value (const): "ALARM"

adc — required here #

Node describing the AB8500 general purpose analog to digital converter, GPADC.

Value type (type): "object"

Properties and child nodes (properties) #

compatible — required here

Exact value (const): "stericsson,ab8500-gpadc"

interrupts — required here

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

interrupt-names — required here

true — No constraints added by this property rule.

vddadc-supply — required here

true — No constraints added by this property rule.

#address-cells — required here

Exact value (const): 1

#size-cells — required here

Exact value (const): 0

#io-channel-cells — required here

Exact value (const): 1

Properties matching a name pattern (patternProperties) #

^channel@[0-9a-f]+$ — name matches this regular expression

Value type (type): "object"

Shared schema rule ($ref): /schemas/iio/adc/adc.yaml#

Represents each of the external channels which are connected to the ADC.

Properties and child nodes (properties)

reg — required here

Array item rules (items)

Minimum value (minimum): 1

Maximum value (maximum): 31

Required in this object (required): "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties)

false

Not allowed by this rule.

Required in this object (required): "compatible", "interrupts", "interrupt-names", "vddadc-supply", "#address-cells", "#size-cells", "#io-channel-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

thermal — required here #

Node describing the AB8500 thermal control block. All this block really does is to fire an interrupt when the die becomes 130 degrees Celsius in temperature.

Value type (type): "object"

Properties and child nodes (properties) #

compatible — required here

Exact value (const): "stericsson,abx500-temp"

interrupts — required here

Array item rules (items)

Item 1

Thermal warm warning interrupt

interrupt-names — required here

Array item rules (items)

Item 1

Exact value (const): "ABX500_TEMP_WARM"

Required in this object (required): "compatible", "interrupts", "interrupt-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

ab8500_fg — required here #

Node describing the AB8500 fuel gauge control block.

Value type (type): "object"

Shared schema rule ($ref): /schemas/power/supply/stericsson,ab8500-fg.yaml

ab8500_btemp — required here #

Node describing the AB8500 battery temperature control block.

Value type (type): "object"

Shared schema rule ($ref): /schemas/power/supply/stericsson,ab8500-btemp.yaml

ab8500_charger — required here #

Node describing the AB8500 battery charger control block.

Value type (type): "object"

Shared schema rule ($ref): /schemas/power/supply/stericsson,ab8500-charger.yaml

ab8500_chargalg — required here #

Node describing the AB8500 battery charger algorithm.

Value type (type): "object"

Shared schema rule ($ref): /schemas/power/supply/stericsson,ab8500-chargalg.yaml

phy — required here #

Node describing the AB8500 USB PHY control block.

Value type (type): "object"

Properties and child nodes (properties) #

compatible — required here

Exact value (const): "stericsson,ab8500-usb"

interrupts — required here

Array item rules (items)

Item 1

ID wakeup rising IRQ

Item 2

ID wakeup falling IRQ

Item 3

VBUS detection falling IRQ

Item 4

VBUS detection rising IRQ

Item 5

USB link status change IRQ

Item 6

ADP probe plug IRQ

Item 7

ADP probe unplug IRQ

interrupt-names — required here

Array item rules (items)

Item 1

Exact value (const): "ID_WAKEUP_R"

Item 2

Exact value (const): "ID_WAKEUP_F"

Item 3

Exact value (const): "VBUS_DET_F"

Item 4

Exact value (const): "VBUS_DET_R"

Item 5

Exact value (const): "USB_LINK_STATUS"

Item 6

Exact value (const): "USB_ADP_PROBE_PLUG"

Item 7

Exact value (const): "USB_ADP_PROBE_UNPLUG"

vddulpivio18-supply — required here

true — No constraints added by this property rule.

v-ape-supply — required here

true — No constraints added by this property rule.

musb_1v8-supply — required here

true — No constraints added by this property rule.

clocks — required here

Array item rules (items)

Item 1

PRCMY system clock

clock-names — required here

Array item rules (items)

Item 1

Exact value (const): "sysclk"

#phy-cells — required here

Exact value (const): 0

Required in this object (required): "compatible", "interrupts", "interrupt-names", "vddulpivio18-supply", "v-ape-supply", "musb_1v8-supply", "clocks", "clock-names", "#phy-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

key — required here #

Node describing the AB8500 power-on key control block.

Value type (type): "object"

Properties and child nodes (properties) #

compatible — required here

Exact value (const): "stericsson,ab8500-poweron-key"

interrupts — required here

Array item rules (items)

Item 1

ON key falling IRQ

Item 2

ON key rising IRQ

interrupt-names — required here

Array item rules (items)

Item 1

Exact value (const): "ONKEY_DBF"

Item 2

Exact value (const): "ONKEY_DBR"

Required in this object (required): "compatible", "interrupts", "interrupt-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

ab8500-sysctrl — not listed as required here #

Node describing the AB8500 system control block.

Value type (type): "object"

Properties and child nodes (properties) #

compatible — required here

Exact value (const): "stericsson,ab8500-sysctrl"

Required in this object (required): "compatible"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

codec — not listed as required here #

Node describing the AB8500 audio codec block.

Value type (type): "object"

Properties and child nodes (properties) #

compatible — required here

Exact value (const): "stericsson,ab8500-codec"

V-AUD-supply — not listed as required here

true — No constraints added by this property rule.

V-AMIC1-supply — not listed as required here

true — No constraints added by this property rule.

V-AMIC2-supply — not listed as required here

true — No constraints added by this property rule.

V-DMIC-supply — not listed as required here

true — No constraints added by this property rule.

clocks — not listed as required here

Array item rules (items)

Item 1

Audio system clock

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "audioclk"

stericsson,earpeice-cmv — not listed as required here

Earpiece voltage

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 950, 1100, 1270, 1580

Required in this object (required): "compatible"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

regulator — required here #

Node describing the AB8500 internal regulators.

Value type (type): "object"

Properties and child nodes (properties) #

compatible — required here

Allowed values (enum): "stericsson,ab8500-regulator", "stericsson,ab8505-regulator"

vin-supply — not listed as required here

The regulator supplying all of the internal regulators with power.

ab8500_ldo_aux1 — not listed as required here

The voltage for the auxiliary LDO regulator 1

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

ab8500_ldo_aux2 — not listed as required here

The voltage for the auxiliary LDO regulator 2

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

ab8500_ldo_aux3 — not listed as required here

The voltage for the auxiliary LDO regulator 3

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

ab8500_ldo_aux4 — not listed as required here

The voltage for the auxiliary LDO regulator 4 only present on AB8505

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

ab8500_ldo_aux5 — not listed as required here

The voltage for the auxiliary LDO regulator 5 only present on AB8505

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

ab8500_ldo_aux6 — not listed as required here

The voltage for the auxiliary LDO regulator 6 only present on AB8505

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

ab8500_ldo_aux8 — not listed as required here

The voltage for the auxiliary LDO regulator 8 only present on AB8505

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

ab8500_ldo_intcore — not listed as required here

The LDO regulator for the internal core voltage of the AB8500

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

ab8500_ldo_adc — not listed as required here

Analog power regulator for the analog to digital converter ADC, only present on AB8505

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

ab8500_ldo_tvout — not listed as required here

The voltage for the TV output regulator, incidentally this voltage is also used for other purposes such as measuring the temperature of the NTC thermistor on the battery. Only present on AB8500.

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

ab8500_ldo_audio — not listed as required here

The LDO regulator for the audio codec output

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

ab8500_ldo_anamic1 — not listed as required here

The LDO regulator for the analog microphone 1

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

ab8500_ldo_anamic2 — not listed as required here

The LDO regulator for the analog microphone 2

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

ab8500_ldo_dmic — not listed as required here

The LDO regulator for the digital microphone only present on AB8500

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

ab8500_ldo_ana — not listed as required here

Analog power regulator for CSI and DSI interfaces, Camera Serial Interface CSI and Display Serial Interface DSI.

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Required in this object (required): "compatible"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

regulator-external — not listed as required here #

Node describing the AB8500 external regulators. This concerns the autonomous regulators VSMPS1, VSMPS2 and VSMPS3 that are normally controlled by external electronics but also sometimes need to be explicitly controlled by software.

Value type (type): "object"

Properties and child nodes (properties) #

compatible — required here

Exact value (const): "stericsson,ab8500-ext-regulator"

ab8500_ext1 — not listed as required here

The voltage for the VSMPS1 external regulator

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

ab8500_ext2 — not listed as required here

The voltage for the VSMPS2 external regulator

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

ab8500_ext3 — not listed as required here

The voltage for the VSMPS3 external regulator

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Required in this object (required): "compatible"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties matching a name pattern (patternProperties) #

^pwm@[1-9]+?$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/pwm/pwm.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Represents each of the PWM blocks in the AB8500

Properties and child nodes (properties) #

compatible — required here

Exact value (const): "stericsson,ab8500-pwm"

reg — required here

true — No constraints added by this property rule.

clocks — not listed as required here

Array item rules (items)

Item 1

internal clock

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "intclk"

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

Required in this object (required): "compatible", "clock-controller", "gpio", "rtc", "adc", "thermal", "ab8500_fg", "ab8500_btemp", "ab8500_charger", "ab8500_chargalg", "phy", "key", "regulator"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Source notes #

Annotations retained from the schema source

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

Line 42: Some subnodes use a reg, some don't. Those that do use a single cell.

Line 108: AB8505 only supports one (software) EOC interrupt

Line 378: There is never any AUX7 regulator which is confusing

ST-Ericsson DB8500 PRCMU - Power Reset and Control Management Unit

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/stericsson,db8500-prcmu.yaml#"

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

Maintainers (maintainers): "Linus Walleij <linusw@kernel.org>"

The DB8500 Power Reset and Control Management Unit is an XP70 8-bit microprocessor that is embedded in the always-on power domain of the DB8500 SoCs to manage the low power states, powering up and down parts of the silicon, and controlling reset of different IP blocks.

Properties and child nodes (properties) #

$nodename — not listed as required here #

String pattern (pattern): "^prcmu@[0-9a-f]+$"

compatible — required here #

The device is compatible both to the device-specific compatible "stericsson,db8500-prcmu" and "syscon". The latter compatible is needed for the device to be exposed as a system controller so that arbitrary registers can be access by different operating system components.

Array item rules (items) #

Item 1

Exact value (const): "stericsson,db8500-prcmu"

Item 2

Exact value (const): "syscon"

reg — required here #

Array item rules (items) #

Item 1

Main PRCMU register area

Item 2

PRCMU TCPM register area

Item 3

PRCMU TCDM register area

reg-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "prcmu"

Item 2

Exact value (const): "prcmu-tcpm"

Item 3

Exact value (const): "prcmu-tcdm"

interrupts — required here #

Maximum number of items (maxItems): 1

#address-cells — required here #

Exact value (const): 1

#size-cells — required here #

Exact value (const): 1

ranges — required here #

true — No constraints added by this property rule.

interrupt-controller — required here #

true — No constraints added by this property rule.

#interrupt-cells — required here #

Exact value (const): 2

db8500-prcmu-regulators — required here #

Node describing the DB8500 regulators. These are mainly power rails inside the silicon but some of those are also routed out to external pins.

Value type (type): "object"

Properties and child nodes (properties) #

compatible — required here

Exact value (const): "stericsson,db8500-prcmu-regulator"

db8500_vape — required here

The voltage for the application processor, the main voltage domain for the chip.

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

db8500_varm — required here

The voltage for the ARM Cortex-A9 CPU.

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

db8500_vmodem — required here

The voltage for the modem subsystem.

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

db8500_vpll — required here

The voltage for the phase locked loop clocks.

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

db8500_vsmps1 — required here

Also known as VIO12, is a step-down voltage regulator for 1.2V I/O. SMPS means System Management Power Source.

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

db8500_vsmps2 — required here

Also known as VIO18, is a step-down voltage regulator for 1.8V I/O. SMPS means System Management Power Source.

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

db8500_vsmps3 — required here

This is a step-down voltage regulator for 0.87 thru 1.875V I/O. SMPS means System Management Power Source.

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

db8500_vrf1 — required here

RF transceiver voltage regulator.

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

db8500_sva_mmdsp — required here

Smart Video Accelerator (SVA) multimedia DSP (MMDSP) voltage regulator. This is the voltage for the accelerator DSP for video encoding and decoding.

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

db8500_sva_mmdsp_ret — required here

Smart Video Accelerator (SVA) multimedia DSP (MMDSP) voltage regulator for retention mode.

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

db8500_sva_pipe — required here

Smart Video Accelerator (SVA) multimedia DSP (MMDSP) voltage regulator for the data pipe.

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

db8500_sia_mmdsp — required here

Smart Image Accelerator (SIA) multimedia DSP (MMDSP) voltage regulator. This is the voltage for the accelerator DSP for image encoding and decoding.

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

db8500_sia_mmdsp_ret — required here

Smart Image Accelerator (SIA) multimedia DSP (MMDSP) voltage regulator for retention mode.

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

db8500_sia_pipe — required here

Smart Image Accelerator (SIA) multimedia DSP (MMDSP) voltage regulator for the data pipe.

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

db8500_sga — required here

Smart Graphics Accelerator (SGA) voltage regulator. This is in effect controlling the power to the MALI400 3D accelerator block.

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

db8500_b2r2_mcde — required here

Blit Blend Rotate and Rescale (B2R2), and Multi-Channel Display Engine (MCDE) voltage regulator. These are two graphics blocks.

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

db8500_esram12 — required here

Embedded Static RAM (ESRAM) 1 and 2 voltage regulator.

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

db8500_esram12_ret — required here

Embedded Static RAM (ESRAM) 1 and 2 voltage regulator for retention mode.

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

db8500_esram34 — required here

Embedded Static RAM (ESRAM) 3 and 4 voltage regulator.

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

db8500_esram34_ret — required here

Embedded Static RAM (ESRAM) 3 and 4 voltage regulator for retention mode.

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Required in this object (required): "compatible", "db8500_vape", "db8500_varm", "db8500_vmodem", "db8500_vpll", "db8500_vsmps1", "db8500_vsmps2", "db8500_vsmps3", "db8500_vrf1", "db8500_sva_mmdsp", "db8500_sva_mmdsp_ret", "db8500_sva_pipe", "db8500_sia_mmdsp", "db8500_sia_mmdsp_ret", "db8500_sia_pipe", "db8500_sga", "db8500_b2r2_mcde", "db8500_esram12", "db8500_esram12_ret", "db8500_esram34", "db8500_esram34_ret"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties matching a name pattern (patternProperties) #

^thermal@[0-9a-f]+$ — name matches this regular expression #

Node describing the DB8500 thermal control functions. This binds to an operating system driver that monitors the temperature of the SoC.

Value type (type): "object"

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "stericsson,db8500-thermal"

reg — not listed as required here

Maximum number of items (maxItems): 1

interrupts — not listed as required here

Array item rules (items)

Item 1

Hotmon low interrupt (falling temperature)

Item 2

Hotmon high interrupt (rising temperature)

interrupt-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "IRQ_HOTMON_LOW"

Item 2

Exact value (const): "IRQ_HOTMON_HIGH"

#thermal-sensor-cells — not listed as required here

Exact value (const): 0

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

^prcmu-timer-4@[0-9a-f]+$ — name matches this regular expression #

Node describing the externally visible timer 4 in the PRCMU block. This timer is interesting to the operating system since even thought it has a very low resolution (32768 Hz) it is always on, and thus provides a consistent monotonic timeline for the system.

Value type (type): "object"

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "stericsson,db8500-prcmu-timer-4"

reg — not listed as required here

Maximum number of items (maxItems): 1

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

^ab850[05]$ — name matches this regular expression #

Node describing the Analog Baseband 8500 mixed-signals ASIC AB8500 and subcomponents. The AB8500 is accessed through the PRCMU and hence it appears here. This component has a separate set of devicetree bindings. The AB8505 is a newer version of the same ASIC.

Value type (type): "object"

Shared schema rule ($ref): stericsson,ab8500.yaml#

Required in this object (required): "compatible", "reg", "#address-cells", "#size-cells", "ranges", "interrupts", "interrupt-controller", "#interrupt-cells", "db8500-prcmu-regulators"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Source notes #

Annotations retained from the schema source

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

System Controller Registers R/W Common Properties

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/syscon-common.yaml#"

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

System controller node represents a register region containing a set of miscellaneous registers. The registers are not cohesive enough to represent as any specific type of device. The typical use-case is for some other node's driver, or platform-specific code, to acquire a reference to the syscon node (e.g. by phandle, node path, or search using a specific compatible value), interrogate the node (or associated OS driver) to determine the location of the registers, and access the registers directly.

Maintainers (maintainers): "Lee Jones <lee@kernel.org>"

Automatic schema selection (select) #

Properties and child nodes (properties) #

compatible — required here #

Rule for matching array elements (contains)

Exact value (const): "syscon"

Required in this object (required): "compatible"

Properties and child nodes (properties) #

compatible — required here #

Rule for matching array elements (contains) #

Exact value (const): "syscon"

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 5

reg-io-width — not listed as required here #

The size (in bytes) of the IO accesses that should be performed on the device.

Allowed values (enum): 1, 2, 4, 8

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

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "simple-mfd"

When the condition matches (then) #

Properties and child nodes (properties)

compatible — not listed as required here

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 5

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Examples (examples) #

syscon: syscon@1c00000 {
    compatible = "allwinner,sun8i-h3-system-controller", "syscon";
    reg = <0x01c00000 0x1000>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Line 36: Should be enough

System Controller Devices

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/syscon.yaml#"

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

System controller node represents a register region containing a set of miscellaneous registers. The registers are not cohesive enough to represent as any specific type of device. The typical use-case is for some other node's driver, or platform-specific code, to acquire a reference to the syscon node (e.g. by phandle, node path, or search using a specific compatible value), interrogate the node (or associated OS driver) to determine the location of the registers, and access the registers directly.

Maintainers (maintainers): "Lee Jones <lee@kernel.org>"

Automatic schema selection (select) #

Properties and child nodes (properties) #

compatible — required here #

Rule for matching array elements (contains)

Allowed values (enum): "airoha,en7581-pbus-csr", "al,alpine-sysfabric-service", "allwinner,sun8i-a83t-system-controller", "allwinner,sun8i-h3-system-controller", "allwinner,sun8i-v3s-system-controller", "allwinner,sun50i-a64-system-controller", "altr,l3regs", "altr,sdr-ctl", "amd,pensando-elba-syscon", "amlogic,meson-mx-assist", "amlogic,meson-mx-bootrom", "amlogic,meson8-analog-top", "amlogic,meson8b-analog-top", "amlogic,meson8-pmu", "amlogic,meson8b-pmu", "apm,merlin-poweroff-mailbox", "apm,mustang-poweroff-mailbox", "apm,xgene-csw", "apm,xgene-efuse", "apm,xgene-mcb", "apm,xgene-rb", "apm,xgene-scu", "atmel,sama5d2-sfrbu", "atmel,sama5d3-nfc-io", "atmel,sama5d3-sfrbu", "atmel,sama5d4-sfrbu", "axis,artpec6-syscon", "brcm,cru-clkset", "brcm,sr-cdru", "brcm,sr-mhb", "cirrus,ep7209-syscon1", "cirrus,ep7209-syscon2", "cirrus,ep7209-syscon3", "cnxt,cx92755-uc", "freecom,fsg-cs2-system-controller", "fsl,imx93-aonmix-ns-syscfg", "fsl,imx93-wakeupmix-syscfg", "fsl,ls1088a-reset", "fsl,vf610-anatop", "fsl,vf610-mscm-cpucfg", "hisilicon,dsa-subctrl", "hisilicon,hi6220-sramctrl", "hisilicon,hip04-ppe", "hisilicon,pcie-sas-subctrl", "hisilicon,peri-subctrl", "hpe,gxp-sysreg", "loongson,ls1b-syscon", "loongson,ls1c-syscon", "lsi,axxia-syscon", "marvell,armada-3700-cpu-misc", "marvell,armada-3700-nb-pm", "marvell,armada-3700-avs", "marvell,armada-3700-usb2-host-device-misc", "marvell,armada-3700-usb2-host-misc", "marvell,dove-global-config", "mediatek,mt2701-pctl-a-syscfg", "mediatek,mt2712-pctl-a-syscfg", "mediatek,mt6397-pctl-pmic-syscfg", "mediatek,mt7981-topmisc", "mediatek,mt7988-topmisc", "mediatek,mt8135-pctl-a-syscfg", "mediatek,mt8135-pctl-b-syscfg", "mediatek,mt8173-pctl-a-syscfg", "mediatek,mt8365-syscfg", "microchip,lan966x-cpu-syscon", "microchip,mpfs-control-scb", "microchip,mpfs-sysreg-scb", "microchip,sam9x60-sfr", "microchip,sama7d65-ddr3phy", "microchip,sama7d65-sfrbu", "microchip,sama7g5-ddr3phy", "mscc,ocelot-cpu-syscon", "mstar,msc313-pmsleep", "nuvoton,ma35d1-sys", "nuvoton,wpcm450-shm", "nxp,s32g2-gpr", "nxp,s32g3-gpr", "qcom,apq8064-mmss-sfpb", "qcom,apq8064-sps-sic", "rockchip,px30-qos", "rockchip,rk3036-qos", "rockchip,rk3066-qos", "rockchip,rk3128-qos", "rockchip,rk3228-qos", "rockchip,rk3288-qos", "rockchip,rk3368-qos", "rockchip,rk3399-qos", "rockchip,rk3528-qos", "rockchip,rk3562-qos", "rockchip,rk3568-qos", "rockchip,rk3576-qos", "rockchip,rk3588-qos", "rockchip,rv1126-qos", "st,spear1340-misc", "stericsson,nomadik-pmu", "starfive,jh7100-sysmain", "ti,am62-opp-efuse-table", "ti,am62-usb-phy-ctrl", "ti,am625-dss-oldi-io-ctrl", "ti,am62p-cpsw-mac-efuse", "ti,am654-dss-oldi-io-ctrl", "ti,j784s4-acspcie-proxy-ctrl", "ti,j784s4-pcie-ctrl", "ti,keystone-pllctrl"

Required in this object (required): "compatible"

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): "airoha,en7581-pbus-csr", "al,alpine-sysfabric-service", "allwinner,sun8i-a83t-system-controller", "allwinner,sun8i-h3-system-controller", "allwinner,sun8i-v3s-system-controller", "allwinner,sun50i-a64-system-controller", "altr,l3regs", "altr,sdr-ctl", "amd,pensando-elba-syscon", "amlogic,meson-mx-assist", "amlogic,meson-mx-bootrom", "amlogic,meson8-analog-top", "amlogic,meson8b-analog-top", "amlogic,meson8-pmu", "amlogic,meson8b-pmu", "apm,merlin-poweroff-mailbox", "apm,mustang-poweroff-mailbox", "apm,xgene-csw", "apm,xgene-efuse", "apm,xgene-mcb", "apm,xgene-rb", "apm,xgene-scu", "atmel,sama5d2-sfrbu", "atmel,sama5d3-nfc-io", "atmel,sama5d3-sfrbu", "atmel,sama5d4-sfrbu", "axis,artpec6-syscon", "brcm,cru-clkset", "brcm,sr-cdru", "brcm,sr-mhb", "cirrus,ep7209-syscon1", "cirrus,ep7209-syscon2", "cirrus,ep7209-syscon3", "cnxt,cx92755-uc", "freecom,fsg-cs2-system-controller", "fsl,imx93-aonmix-ns-syscfg", "fsl,imx93-wakeupmix-syscfg", "fsl,ls1088a-reset", "fsl,vf610-anatop", "fsl,vf610-mscm-cpucfg", "hisilicon,dsa-subctrl", "hisilicon,hi6220-sramctrl", "hisilicon,hip04-ppe", "hisilicon,pcie-sas-subctrl", "hisilicon,peri-subctrl", "hpe,gxp-sysreg", "loongson,ls1b-syscon", "loongson,ls1c-syscon", "lsi,axxia-syscon", "marvell,armada-3700-cpu-misc", "marvell,armada-3700-nb-pm", "marvell,armada-3700-avs", "marvell,armada-3700-usb2-host-device-misc", "marvell,armada-3700-usb2-host-misc", "marvell,dove-global-config", "mediatek,mt2701-pctl-a-syscfg", "mediatek,mt2712-pctl-a-syscfg", "mediatek,mt6397-pctl-pmic-syscfg", "mediatek,mt7981-topmisc", "mediatek,mt7988-topmisc", "mediatek,mt8135-pctl-a-syscfg", "mediatek,mt8135-pctl-b-syscfg", "mediatek,mt8173-pctl-a-syscfg", "mediatek,mt8365-infracfg-nao", "mediatek,mt8365-syscfg", "microchip,lan966x-cpu-syscon", "microchip,mpfs-control-scb", "microchip,mpfs-sysreg-scb", "microchip,sam9x60-sfr", "microchip,sama7d65-ddr3phy", "microchip,sama7d65-sfrbu", "microchip,sama7g5-ddr3phy", "mscc,ocelot-cpu-syscon", "mstar,msc313-pmsleep", "nuvoton,ma35d1-sys", "nuvoton,wpcm450-shm", "nxp,s32g2-gpr", "nxp,s32g3-gpr", "qcom,apq8064-mmss-sfpb", "qcom,apq8064-sps-sic", "rockchip,px30-qos", "rockchip,rk3036-qos", "rockchip,rk3066-qos", "rockchip,rk3128-qos", "rockchip,rk3228-qos", "rockchip,rk3288-qos", "rockchip,rk3368-qos", "rockchip,rk3399-qos", "rockchip,rk3528-qos", "rockchip,rk3562-qos", "rockchip,rk3568-qos", "rockchip,rk3576-qos", "rockchip,rk3588-qos", "rockchip,rv1126-qos", "st,spear1340-misc", "stericsson,nomadik-pmu", "starfive,jh7100-sysmain", "ti,am62-opp-efuse-table", "ti,am62-usb-phy-ctrl", "ti,am625-dss-oldi-io-ctrl", "ti,am62p-cpsw-mac-efuse", "ti,am654-dss-oldi-io-ctrl", "ti,j784s4-acspcie-proxy-ctrl", "ti,j784s4-pcie-ctrl", "ti,keystone-pllctrl"

Item 2

Exact value (const): "syscon"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "microchip,sama7g5-sfrbu", "microchip,sama7d65-sfrbu"

Item 2

Exact value (const): "atmel,sama5d2-sfrbu"

Item 3

Exact value (const): "syscon"

Rule 3

Array item rules (items)

Item 1

Exact value (const): "microchip,pic64gx-control-scb"

Item 2

Exact value (const): "microchip,mpfs-control-scb"

Item 3

Exact value (const): "syscon"

Rule 4

Array item rules (items)

Item 1

Exact value (const): "microchip,pic64gx-sysreg-scb"

Item 2

Exact value (const): "microchip,mpfs-sysreg-scb"

Item 3

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

resets — not listed as required here #

Maximum number of items (maxItems): 1

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

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): syscon-common.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

syscon: syscon@1c00000 {
    compatible = "allwinner,sun8i-h3-system-controller", "syscon";
    reg = <0x01c00000 0x1000>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Line 22: Need a select with all compatibles listed for compatibility with older

Line 23: dtschema (<2024.02), so this will not be selected for other schemas having

Line 24: syscon fallback.

TI AM3359 Touchscreen controller/ADC

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/ti,am3359-tscadc.yaml#"

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

Maintainers (maintainers): "Miquel Raynal <miquel.raynal@bootlin.com>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "ti,am3359-tscadc"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "ti,am654-tscadc"

Item 2

Exact value (const): "ti,am3359-tscadc"

Rule 3

Exact value (const): "ti,am4372-magadc"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-names — required here #

Exact value (const): "fck"

dmas — not listed as required here #

Array item rules (items) #

Item 1

DMA controller phandle and request line for FIFO0

Item 2

DMA controller phandle and request line for FIFO1

dma-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "fifo0"

Item 2

Exact value (const): "fifo1"

adc — not listed as required here #

Value type (type): "object"

ADC child

tsc — not listed as required here #

Value type (type): "object"

Touchscreen controller child

mag — not listed as required here #

Value type (type): "object"

Magnetic reader

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>

tscadc@0 {
    compatible = "ti,am3359-tscadc";
    reg = <0x0 0x1000>;
    interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&adc_tsc_fck>;
    clock-names = "fck";
    dmas = <&edma 53 0>, <&edma 57 0>;
    dma-names = "fifo0", "fifo1";

    tsc {
    };

    adc {
    };
};

Source notes #

Annotations retained from the schema source

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

BQ25703A Charger Manager/Buck/Boost Converter

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/ti,bq25703a.yaml#"

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

Maintainers (maintainers): "Chris Morgan <macromorgan@hotmail.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/power/supply/power-supply.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "ti,bq25703a"

reg — required here #

Exact value (const): 107

input-current-limit-microamp — required here #

Maximum total input current allowed used for both charging and powering the device.

Minimum value (minimum): 50000

Maximum value (maximum): 6400000

Default value (default): 3250000

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

monitored-battery — required here #

A minimum of constant-charge-current-max-microamp, constant-charge-voltage-max-microvolt, and voltage-min-design-microvolt are required.

regulators — not listed as required here #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Boost converter regulator output of bq257xx.

Properties and child nodes (properties) #

vbus — not listed as required here

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml

Properties not matched by properties or patternProperties in this schema (additionalProperties)

false

Not allowed by this rule.

Properties and child nodes (properties)

regulator-name — required here

true — No constraints added by this property rule.

regulator-min-microamp — required here

Minimum value (minimum): 0

Maximum value (maximum): 6350000

regulator-max-microamp — required here

Minimum value (minimum): 0

Maximum value (maximum): 6350000

regulator-min-microvolt — required here

Minimum value (minimum): 4480000

Maximum value (maximum): 20800000

regulator-max-microvolt — required here

Minimum value (minimum): 4480000

Maximum value (maximum): 20800000

enable-gpios — not listed as required here

The BQ25703 may require both a register write and a GPIO toggle to enable the boost regulator.

Required in this object (required): "regulator-name", "regulator-min-microamp", "regulator-max-microamp", "regulator-min-microvolt", "regulator-max-microvolt"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "input-current-limit-microamp", "monitored-battery", "power-supplies"

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/pinctrl/rockchip.h>
i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    bq25703: charger@6b {
        compatible = "ti,bq25703a";
        reg = <0x6b>;
        input-current-limit-microamp = <5000000>;
        interrupt-parent = <&gpio0>;
        interrupts = <RK_PD5 IRQ_TYPE_LEVEL_LOW>;
        monitored-battery = <&battery>;
        power-supplies = <&fusb302>;

        regulators {
            usb_otg_vbus: vbus {
                enable-gpios = <&gpio4 RK_PA6 GPIO_ACTIVE_HIGH>;
                regulator-max-microamp = <960000>;
                regulator-max-microvolt = <5088000>;
                regulator-min-microamp = <512000>;
                regulator-min-microvolt = <4992000>;
                regulator-name = "usb_otg_vbus";
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

TI LP873X Power Management Integrated Circuit

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/ti,lp8732.yaml#"

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

Maintainers (maintainers): "J Keerthy <j-keerthy@ti.com>"

PMIC with two high-current buck converters and two linear regulators.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "ti,lp8732", "ti,lp8733"

reg — required here #

Maximum number of items (maxItems): 1

gpio-controller — not listed as required here #

true — No constraints added by this property rule.

#gpio-cells — not listed as required here #

Exact value (const): 2

regulators — required here #

List of child nodes that specify the regulator initialization data.

Value type (type): "object"

Properties matching a name pattern (patternProperties) #

^buck[01]|ldo[01]$ — name matches this regular expression

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties matching a name pattern (patternProperties) #

^(buck[01]|ldo[01])-in-supply$ — name matches this regular expression #

Phandle to parent supply of each regulator populated under regulators node.

Required in this object (required): "compatible", "reg", "regulators", "buck0-in-supply", "buck1-in-supply", "ldo0-in-supply", "ldo1-in-supply"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    pmic: pmic@60 {
        compatible = "ti,lp8733";
        reg = <0x60>;
        gpio-controller;
        #gpio-cells = <2>;

        buck0-in-supply = <&vsys_3v3>;
        buck1-in-supply = <&vsys_3v3>;
        ldo0-in-supply = <&vsys_3v3>;
        ldo1-in-supply = <&vsys_3v3>;

        regulators {
            buck0: buck0 {
                regulator-name = "buck0";
                regulator-min-microvolt = <800000>;
                regulator-max-microvolt = <1400000>;
                regulator-min-microamp = <1500000>;
                regulator-max-microamp = <4000000>;
                regulator-ramp-delay = <10000>;
                regulator-always-on;
                regulator-boot-on;
            };

            buck1: buck1 {
                regulator-name = "buck1";
                regulator-min-microvolt = <800000>;
                regulator-max-microvolt = <1400000>;
                regulator-min-microamp = <1500000>;
                regulator-max-microamp = <4000000>;
                regulator-ramp-delay = <10000>;
                regulator-boot-on;
                regulator-always-on;
            };

            ldo0: ldo0 {
                regulator-name = "ldo0";
                regulator-min-microvolt = <800000>;
                regulator-max-microvolt = <3000000>;
                regulator-boot-on;
                regulator-always-on;
            };

            ldo1: ldo1 {
                regulator-name = "ldo1";
                regulator-min-microvolt = <800000>;
                regulator-max-microvolt = <3000000>;
                regulator-always-on;
                regulator-boot-on;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

TI LP87524-Q1 four 1-phase output buck converter

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/ti,lp87524-q1.yaml#"

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

Maintainers (maintainers): "Keerthy <j-keerthy@ti.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "ti,lp87524-q1"

reg — required here #

I2C slave address

Exact value (const): 96

reset-gpios — not listed as required here #

GPIO connected to NRST pin (active low reset, pin 20)

Maximum number of items (maxItems): 1

gpio-controller — required here #

true — No constraints added by this property rule.

#gpio-cells — required here #

The first cell is the pin number. The second cell is used to specify flags. See ../gpio/gpio.txt for more information.

Exact value (const): 2

regulators — required here #

Value type (type): "object"

Properties matching a name pattern (patternProperties) #

^buck[0123]$ — name matches this regular expression

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Required in this object (required): "buck0", "buck1", "buck2", "buck3"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties matching a name pattern (patternProperties) #

^buck[0123]-in-supply$ — name matches this regular expression #

Voltage regulator supply for each BUCK converter

Required in this object (required): "compatible", "reg", "gpio-controller", "#gpio-cells", "buck0-in-supply", "buck1-in-supply", "buck2-in-supply", "buck3-in-supply", "regulators"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

i2c@0 {
    reg = <0x0 0x100>;
    #address-cells = <1>;
    #size-cells = <0>;

    pmic@60 {
        compatible = "ti,lp87524-q1";
        reg = <0x60>;
        gpio-controller;
        #gpio-cells = <2>;

        buck0-in-supply = <&vdd_5v0>;
        buck1-in-supply = <&vdd_5v0>;
        buck2-in-supply = <&vdd_5v0>;
        buck3-in-supply = <&vdd_5v0>;

        regulators {
            buck0_reg: buck0 {
                regulator-name = "buck0";
                regulator-min-microvolt = <3300000>;
                regulator-max-microvolt = <3300000>;
                regulator-always-on;
            };

            buck1_reg: buck1 {
                regulator-name = "buck1";
                regulator-min-microvolt = <1350000>;
                regulator-max-microvolt = <1350000>;
                regulator-always-on;
            };

            buck2_reg: buck2 {
                regulator-name = "buck2";
                regulator-min-microvolt = <950000>;
                regulator-max-microvolt = <950000>;
                regulator-always-on;
            };

            buck3_reg: buck3 {
                regulator-name = "buck3";
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <1800000>;
                regulator-always-on;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

TI LP87561-Q1 single 4-phase output buck converter

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/ti,lp87561-q1.yaml#"

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

Maintainers (maintainers): "Keerthy <j-keerthy@ti.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "ti,lp87561-q1"

reg — required here #

I2C slave address

Exact value (const): 96

reset-gpios — not listed as required here #

GPIO connected to NRST pin (active low reset, pin 20)

Maximum number of items (maxItems): 1

gpio-controller — required here #

true — No constraints added by this property rule.

#gpio-cells — required here #

The first cell is the pin number. The second cell is used to specify flags. See ../gpio/gpio.txt for more information.

Exact value (const): 2

buck3210-in-supply — required here #

Voltage regulator supply for all the four BUCK converters.

regulators — not listed as required here #

Value type (type): "object"

Properties and child nodes (properties) #

buck3210 — required here

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Required in this object (required): "buck3210"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "gpio-controller", "#gpio-cells", "buck3210-in-supply"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

i2c@0 {
    reg = <0x0 0x100>;
    #address-cells = <1>;
    #size-cells = <0>;

    pmic@60 {
        compatible = "ti,lp87561-q1";
        reg = <0x60>;
        gpio-controller;
        #gpio-cells = <2>;

        buck3210-in-supply = <&vsys_3v3>;

        regulators {
            buck3210_reg: buck3210 {
                /* VDD_CORE */
                regulator-name = "buck3210";
                regulator-min-microvolt = <800000>;
                regulator-max-microvolt = <800000>;
                regulator-always-on;
                regulator-boot-on;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

TI LP87565-Q1 / LP87565 dual 2-phase output buck converter

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/ti,lp87565-q1.yaml#"

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

Maintainers (maintainers): "Keerthy <j-keerthy@ti.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "ti,lp87565", "ti,lp87565-q1"

reg — required here #

I2C slave address

Exact value (const): 96

reset-gpios — not listed as required here #

GPIO connected to NRST pin (active low reset, pin 20)

Maximum number of items (maxItems): 1

gpio-controller — required here #

true — No constraints added by this property rule.

#gpio-cells — required here #

The first cell is the pin number. The second cell is used to specify flags. See ../gpio/gpio.txt for more information.

Exact value (const): 2

buck10-in-supply — required here #

Voltage regulator supply for BUCK0 and BUCK1 converters.

buck23-in-supply — required here #

Voltage regulator supply for BUCK2 and BUCK3 converters.

regulators — not listed as required here #

Value type (type): "object"

Properties matching a name pattern (patternProperties) #

^buck(10|23)$ — name matches this regular expression

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Required in this object (required): "buck10", "buck23"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "gpio-controller", "#gpio-cells", "buck10-in-supply", "buck23-in-supply"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

i2c@0 {
    reg = <0x0 0x100>;
    #address-cells = <1>;
    #size-cells = <0>;

    pmic@60 {
        compatible = "ti,lp87565-q1";
        reg = <0x60>;
        gpio-controller;
        #gpio-cells = <2>;

        buck10-in-supply = <&vsys_3v3>;
        buck23-in-supply = <&vsys_3v3>;

        regulators {
            buck10_reg: buck10 {
                /* VDD_MPU */
                regulator-name = "buck10";
                regulator-min-microvolt = <850000>;
                regulator-max-microvolt = <1250000>;
                regulator-always-on;
                regulator-boot-on;
            };

            buck23_reg: buck23 {
                /* VDD_GPU */
                regulator-name = "buck23";
                regulator-min-microvolt = <850000>;
                regulator-max-microvolt = <1250000>;
                regulator-boot-on;
                regulator-always-on;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

TI Nspire MISC hardware block

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/ti,nspire-misc.yaml#"

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

Maintainers (maintainers): "Andrew Davis <afd@ti.com>"

System controller node represents a register region containing a set of miscellaneous registers. The registers are not cohesive enough to represent as any specific type of device. Currently there is a reset controller.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "ti,nspire-misc"

Item 2

Exact value (const): "syscon"

Item 3

Exact value (const): "simple-mfd"

reg — required here #

Maximum number of items (maxItems): 1

reboot — required here #

Shared schema rule ($ref): /schemas/power/reset/syscon-reboot.yaml#

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

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

misc: misc@900a0000 {
  compatible = "ti,nspire-misc", "syscon", "simple-mfd";
  reg = <0x900a0000 0x1000>;

  reboot {
    compatible = "syscon-reboot";
    offset = <0x08>;
    value = <0x02>;
  };
};

Source notes #

Annotations retained from the schema source

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

Line 2: Copyright (C) 2022-2023 Texas Instruments Incorporated - https://www.ti.com/

TPS65086 Power Management Integrated Circuit (PMIC)

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/ti,tps65086.yaml#"

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

Maintainers (maintainers): "Emil Renner Berthing <kernel@esmil.dk>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "ti,tps65086"

reg — required here #

Exact value (const): 94

I2C slave address

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

interrupt-controller — not listed as required here #

true — No constraints added by this property rule.

#interrupt-cells — not listed as required here #

Exact value (const): 2

The first cell is the IRQ number. The second cell is the flags, encoded as trigger masks from ../interrupt-controller/interrupts.txt.

gpio-controller — required here #

true — No constraints added by this property rule.

#gpio-cells — required here #

Exact value (const): 2

The first cell is the pin number and the second cell is used to specify flags. See ../gpio/gpio.txt for more information.

regulators — required here #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

List of child nodes that specify the regulator initialization data. Child nodes must be named after their hardware counterparts: buck[1-6], ldoa[1-3], swa1, swb[1-2], and vtt. Each child node is defined using the standard binding for regulators and the optional regulator properties defined below.

Properties matching a name pattern (patternProperties) #

^buck[1-6]$ — name matches this regular expression

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml

Properties and child nodes (properties)

regulator-name — not listed as required here

true — No constraints added by this property rule.

regulator-boot-on — not listed as required here

true — No constraints added by this property rule.

regulator-always-on — not listed as required here

true — No constraints added by this property rule.

regulator-min-microvolt — not listed as required here

true — No constraints added by this property rule.

regulator-max-microvolt — not listed as required here

true — No constraints added by this property rule.

ti,regulator-step-size-25mv — not listed as required here

Value type (type): "boolean"

Set this if the regulator is factory set with a 25mv step voltage mapping.

ti,regulator-decay — not listed as required here

Value type (type): "boolean"

Set this if the output needs to decay, default is for the output to slew down.

Properties not matched by properties or patternProperties in this schema (additionalProperties)

false

Not allowed by this rule.

^(ldoa[1-3]|swa1|swb[1-2]|vtt)$ — name matches this regular expression

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml

Properties and child nodes (properties)

regulator-name — not listed as required here

true — No constraints added by this property rule.

regulator-boot-on — not listed as required here

true — No constraints added by this property rule.

regulator-always-on — not listed as required here

true — No constraints added by this property rule.

regulator-min-microvolt — not listed as required here

true — No constraints added by this property rule.

regulator-max-microvolt — not listed as required here

true — No constraints added by this property rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties)

false

Not allowed by this rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "gpio-controller", "#gpio-cells", "regulators"

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>
i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    pmic: pmic@5e {
        compatible = "ti,tps65086";
        reg = <0x5e>;
        interrupt-parent = <&gpio1>;
        interrupts = <28 IRQ_TYPE_LEVEL_LOW>;
        interrupt-controller;
        #interrupt-cells = <2>;
        gpio-controller;
        #gpio-cells = <2>;

        regulators {
            buck1 {
                regulator-name = "vcc1";
                regulator-min-microvolt = <1600000>;
                regulator-max-microvolt = <1600000>;
                regulator-boot-on;
                ti,regulator-decay;
                ti,regulator-step-size-25mv;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

TI TPS65910 Power Management Integrated Circuit

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/ti,tps65910.yaml#"

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

Maintainers (maintainers): "Shree Ramamoorthy <s-ramamoorthy@ti.com>"

TPS65910 device is a Power Management IC that provides 3 step-down converters, 1 stepup converter, and 8 LDOs. The device contains an embedded power controller (EPC), 1 GPIO, and an RTC.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "ti,tps65910", "ti,tps65911"

reg — required here #

I2C slave address

Maximum number of items (maxItems): 1

gpio-controller — required here #

true — No constraints added by this property rule.

#gpio-cells — required here #

Exact value (const): 2

The first cell is the GPIO number. The second cell is used to specify additional options <unused>.

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

interrupt-controller — not listed as required here #

true — No constraints added by this property rule.

#interrupt-cells — not listed as required here #

Specifies the IRQ number and flags

Exact value (const): 2

ti,vmbch-threshold — not listed as required here #

(TPS65911) Main battery charged threshold comparator. See VMBCH_VSEL in TPS65910 datasheet.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 1, 2, 3

ti,vmbch2-threshold — not listed as required here #

(TPS65911) Main battery discharged threshold comparator. See VMBCH_VSEL in TPS65910 datasheet.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 1, 2, 3

ti,en-ck32k-xtal — not listed as required here #

Value type (type): "boolean"

Enable external 32-kHz crystal oscillator.

ti,en-gpio-sleep — not listed as required here #

Enable sleep control for gpios.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array

Minimum number of items (minItems): 9

Maximum number of items (maxItems): 9

Array item rules (items) #

Minimum value (minimum): 0

Maximum value (maximum): 1

ti,system-power-controller — not listed as required here #

Value type (type): "boolean"

Identify whether or not this pmic controls the system power

ti,sleep-enable — not listed as required here #

Value type (type): "boolean"

Enable SLEEP state.

ti,sleep-keep-therm — not listed as required here #

Value type (type): "boolean"

Keep thermal monitoring on in sleep state.

ti,sleep-keep-ck32k — not listed as required here #

Value type (type): "boolean"

Keep the 32KHz clock output on in sleep state.

ti,sleep-keep-hsclk — not listed as required here #

Value type (type): "boolean"

Keep high speed internal clock on in sleep state.

regulators — required here #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

List of regulators provided by this controller.

Properties matching a name pattern (patternProperties) #

^(vrtc|vio|vpll|vdac|vmmc|vbb|vddctrl)$ — name matches this regular expression

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties and child nodes (properties)

ti,regulator-ext-sleep-control — not listed as required here

Enable external sleep control through external inputs: [0 (not enabled), 1 (EN1), 2 (EN2) or 4(EN3)]. If this property is not defined, it defaults to 0 (not enabled).

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 1, 2, 4, 8

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

^(vdd[1-3]|vaux([1-2]|33)|vdig[1-2])$ — name matches this regular expression

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties and child nodes (properties)

ti,regulator-ext-sleep-control — not listed as required here

Enable external sleep control through external inputs: [0 (not enabled), 1 (EN1), 2 (EN2) or 4(EN3)]. If this property is not defined, it defaults to 0 (not enabled).

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 1, 2, 4, 8

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

^ldo[1-8]$ — name matches this regular expression

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties and child nodes (properties)

ti,regulator-ext-sleep-control — not listed as required here

Enable external sleep control through external inputs: [0 (not enabled), 1 (EN1), 2 (EN2) or 4(EN3)]. If this property is not defined, it defaults to 0 (not enabled).

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 1, 2, 4, 8

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties matching a name pattern (patternProperties) #

^(vcc(io|[1-7])-supply)$ — name matches this regular expression #

Input voltage supply phandle for regulators. These entries are required if PMIC regulators are enabled, or else it can cause the regulator registration to fail.

If some input supply is powered through battery or always-on supply, then
it is also required to have these parameters with the proper node handle for always-on
power supply.
tps65910:
  vcc1-supply: VDD1 input.
  vcc2-supply: VDD2 input.
  vcc3-supply: VAUX33 and VMMC input.
  vcc4-supply: VAUX1 and VAUX2 input.
  vcc5-supply: VPLL and VDAC input.
  vcc6-supply: VDIG1 and VDIG2 input.
  vcc7-supply: VRTC and VBB input.
  vccio-supply: VIO input.
tps65911:
  vcc1-supply: VDD1 input.
  vcc2-supply: VDD2 input.
  vcc3-supply: LDO6, LDO7 and LDO8 input.
  vcc4-supply: LDO5 input.
  vcc5-supply: LDO3 and LDO4 input.
  vcc6-supply: LDO1 and LDO2 input.
  vcc7-supply: VRTC input.
  vccio-supply: VIO input.

Required in this object (required): "compatible", "reg", "gpio-controller", "#gpio-cells", "regulators"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "ti,tps65910"

When the condition matches (then) #

Properties and child nodes (properties)

regulators — not listed as required here

Properties matching a name pattern (patternProperties)

^(ldo[1-8]|vddctrl)$ — name matches this regular expression

false — Not permitted by this property rule.

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "ti,tps65911"

When the condition matches (then) #

Properties and child nodes (properties)

regulators — not listed as required here

Properties matching a name pattern (patternProperties)

^(vdd3|vaux([1-2]|33)|vdig[1-2])$ — name matches this regular expression

false — Not permitted by this property rule.

^(vpll|vdac|vmmc|vbb)$ — name matches this regular expression

false — Not permitted by this property rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>
i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    pmic: tps65910@2d {
        compatible = "ti,tps65910";
        reg = <0x2d>;
        interrupt-parent = <&intc>;
        interrupts = < 0 118 0x04 >;

        #gpio-cells = <2>;
        gpio-controller;

        #interrupt-cells = <2>;
        interrupt-controller;

        ti,system-power-controller;

        ti,vmbch-threshold = <0>;
        ti,vmbch2-threshold = <0>;
        ti,en-ck32k-xtal;
        ti,en-gpio-sleep = <0 0 1 0 0 0 0 0 0>;

        vcc1-supply = <&reg_parent>;
        vcc2-supply = <&some_reg>;
        vcc3-supply = <&vbat>;
        vcc4-supply = <&vbat>;
        vcc5-supply = <&vbat>;
        vcc6-supply = <&vbat>;
        vcc7-supply = <&vbat>;
        vccio-supply = <&vbat>;

        regulators {
            vio_reg: vio {
                regulator-name = "vio";
                regulator-min-microvolt = <1500000>;
                regulator-max-microvolt = <3300000>;
                regulator-always-on;
                regulator-boot-on;
            };
            vdd1_reg: vdd1 {
                regulator-name = "vdd1";
                regulator-min-microvolt = < 600000>;
                regulator-max-microvolt = <1500000>;
                regulator-always-on;
                regulator-boot-on;
                ti,regulator-ext-sleep-control = <0>;
            };
            vdd2_reg: vdd2 {
                regulator-name = "vdd2";
                regulator-min-microvolt = < 600000>;
                regulator-max-microvolt = <1500000>;
                regulator-always-on;
                regulator-boot-on;
            };
            vdd3_reg: vdd3 {
                regulator-name = "vdd3";
                regulator-min-microvolt = <5000000>;
                regulator-max-microvolt = <5000000>;
                regulator-always-on;
            };
            vdig1_reg: vdig1 {
                regulator-name = "vdig1";
                regulator-min-microvolt = <1200000>;
                regulator-max-microvolt = <2700000>;
                regulator-always-on;
            };
            vdig2_reg: vdig2 {
                regulator-name = "vdig2";
                regulator-min-microvolt = <1000000>;
                regulator-max-microvolt = <1800000>;
                regulator-always-on;
            };
            vpll_reg: vpll {
                regulator-name = "vpll";
                regulator-min-microvolt = <1000000>;
                regulator-max-microvolt = <2500000>;
                regulator-always-on;
            };
            vdac_reg: vdac {
                regulator-name = "vdac";
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <2850000>;
                regulator-always-on;
            };
            vaux1_reg: vaux1 {
                regulator-name = "vaux1";
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <2850000>;
                regulator-always-on;
            };
            vaux2_reg: vaux2 {
                regulator-name = "vaux2";
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <3300000>;
                regulator-always-on;
            };
            vaux33_reg: vaux33 {
                regulator-name = "vaux33";
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <3300000>;
                regulator-always-on;
            };
            vmmc_reg: vmmc {
                regulator-name = "vmmc";
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <3300000>;
                regulator-always-on;
                regulator-boot-on;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

TI TPS6594 Power Management Integrated Circuit

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/ti,tps6594.yaml#"

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

Maintainers (maintainers): "Julien Panis <jpanis@baylibre.com>"

TPS6594 is a Power Management IC which provides regulators and others features like GPIOs, RTC, watchdog, ESMs (Error Signal Monitor), and PFSM (Pre-configurable Finite State Machine) managing the state of the device. TPS6594 is the super-set device while TPS6593 and LP8764 are derivatives.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "ti,lp8764-q1", "ti,tps6593-q1", "ti,tps6594-q1", "ti,tps65224-q1", "ti,tps652g1"

reg — required here #

I2C slave address or SPI chip select number.

Maximum number of items (maxItems): 1

ti,primary-pmic — not listed as required here #

Value type (type): "boolean"

Identify the primary PMIC on SPMI bus. A multi-PMIC synchronization scheme is implemented in the PMIC device to synchronize the power state changes with other PMIC devices. This is accomplished through a SPMI bus: the primary PMIC is the controller device on the SPMI bus, and the secondary PMICs are the target devices on the SPMI bus.

system-power-controller — not listed as required here #

true — No constraints added by this property rule.

gpio-controller — not listed as required here #

true — No constraints added by this property rule.

gpio-line-names — not listed as required here #

true — No constraints added by this property rule.

#gpio-cells — not listed as required here #

Exact value (const): 2

The first cell is the pin number, the second cell is used to specify flags. See ../gpio/gpio.txt for more information.

interrupts — required here #

Maximum number of items (maxItems): 1

regulators — not listed as required here #

Value type (type): "object"

List of regulators provided by this controller.

Properties matching a name pattern (patternProperties) #

^buck([1-5]|12|34|123|1234)$ — name matches this regular expression

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

^ldo[1-4]$ — name matches this regular expression

Value type (type): "object"

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

All of these rules must match (allOf) #

Rule 1

Condition (if)

Required in this object (required): "buck12"

When the condition matches (then)

Properties and child nodes (properties)

buck123 — not listed as required here

false — Not permitted by this property rule.

buck1234 — not listed as required here

false — Not permitted by this property rule.

Rule 2

Condition (if)

Required in this object (required): "buck123"

When the condition matches (then)

Properties and child nodes (properties)

buck34 — not listed as required here

false — Not permitted by this property rule.

Rule 3

Condition (if)

Required in this object (required): "buck1234"

When the condition matches (then)

Properties and child nodes (properties)

buck34 — not listed as required here

false — Not permitted by this property rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties matching a name pattern (patternProperties) #

^buck([1-5]|12|34|123|1234)-supply$ — name matches this regular expression #

Input supply phandle for each buck.

^ldo[1-4]-supply$ — name matches this regular expression #

Input supply phandle for each ldo.

Required in this object (required): "compatible", "reg", "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/arm-gic.h>
i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    tps6593: pmic@48 {
        compatible = "ti,tps6593-q1";
        reg = <0x48>;
        ti,primary-pmic;
        system-power-controller;

        gpio-controller;
        #gpio-cells = <2>;

        pinctrl-names = "default";
        pinctrl-0 = <&pmic_irq_pins_default>;
        interrupt-parent = <&mcu_gpio0>;
        interrupts = <0 IRQ_TYPE_EDGE_FALLING>;

        buck123-supply = <&vcc_3v3_sys>;
        buck4-supply = <&vcc_3v3_sys>;
        buck5-supply = <&vcc_3v3_sys>;
        ldo1-supply = <&vcc_3v3_sys>;
        ldo2-supply = <&vcc_3v3_sys>;
        ldo3-supply = <&buck5>;
        ldo4-supply = <&vcc_3v3_sys>;

        regulators {
            buck123: buck123 {
                regulator-name = "vcc_core";
                regulator-min-microvolt = <750000>;
                regulator-max-microvolt = <850000>;
                regulator-boot-on;
                regulator-always-on;
            };

            buck4: buck4 {
                regulator-name = "vcc_1v1";
                regulator-min-microvolt = <1100000>;
                regulator-max-microvolt = <1100000>;
                regulator-boot-on;
                regulator-always-on;
            };

            buck5: buck5 {
                regulator-name = "vcc_1v8_sys";
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <1800000>;
                regulator-boot-on;
                regulator-always-on;
            };

            ldo1: ldo1 {
                regulator-name = "vddshv5_sdio";
                regulator-min-microvolt = <3300000>;
                regulator-max-microvolt = <3300000>;
                regulator-boot-on;
                regulator-always-on;
            };

            ldo2: ldo2 {
                regulator-name = "vpp_1v8";
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <1800000>;
                regulator-boot-on;
                regulator-always-on;
            };

            ldo3: ldo3 {
                regulator-name = "vcc_0v85";
                regulator-min-microvolt = <850000>;
                regulator-max-microvolt = <850000>;
                regulator-boot-on;
                regulator-always-on;
            };

            ldo4: ldo4 {
                regulator-name = "vdda_1v8";
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <1800000>;
                regulator-boot-on;
                regulator-always-on;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Texas Instruments TWL family

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/ti,twl.yaml#"

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

Maintainers (maintainers): "Andreas Kemnade <andreas@kemnade.info>"

The TWLs are Integrated Power Management Chips. Some versions might contain much more analog functions like USB transceiver or Audio amplifier. These chips are connected to an I2C bus.

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "ti,twl4030"

When the condition matches (then) #

Properties matching a name pattern (patternProperties)

^regulator- — name matches this regular expression

Properties and child nodes (properties)

compatible — not listed as required here

Allowed values (enum): "ti,twl4030-vaux1", "ti,twl4030-vaux2", "ti,twl4030-vaux3", "ti,twl4030-vaux4", "ti,twl4030-vmmc1", "ti,twl4030-vmmc2", "ti,twl4030-vpll1", "ti,twl4030-vpll2", "ti,twl4030-vsim", "ti,twl4030-vdac", "ti,twl4030-vintana2", "ti,twl4030-vio", "ti,twl4030-vdd1", "ti,twl4030-vdd2", "ti,twl4030-vintana1", "ti,twl4030-vintdig", "ti,twl4030-vusb1v5", "ti,twl4030-vusb1v8", "ti,twl4030-vusb3v1"

ti,retain-on-reset — not listed as required here

false — Not permitted by this property rule.

Properties and child nodes (properties)

charger — not listed as required here

Shared schema rule ($ref): /schemas/power/supply/twl4030-charger.yaml

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

gpadc — not listed as required here

false — Not permitted by this property rule.

pwrbutton — not listed as required here

Properties and child nodes (properties)

compatible — not listed as required here

Exact value (const): "ti,twl4030-pwrbutton"

interrupts — not listed as required here

Array item rules (items)

Item 1

Array item rules (items)

Exact value (const): 8

usb-comparator — not listed as required here

false — Not permitted by this property rule.

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "ti,twl6030"

When the condition matches (then) #

Properties matching a name pattern (patternProperties)

^regulator- — name matches this regular expression

Properties and child nodes (properties)

compatible — not listed as required here

Allowed values (enum): "ti,twl6030-vaux1", "ti,twl6030-vaux2", "ti,twl6030-vaux3", "ti,twl6030-vmmc", "ti,twl6030-vpp", "ti,twl6030-vusim", "ti,twl6030-vana", "ti,twl6030-vcxio", "ti,twl6030-vdac", "ti,twl6030-vusb", "ti,twl6030-v1v8", "ti,twl6030-v2v1", "ti,twl6030-vdd1", "ti,twl6030-vdd2", "ti,twl6030-vdd3"

regulator-initial-mode — not listed as required here

false — Not permitted by this property rule.

Properties and child nodes (properties)

charger — not listed as required here

Shared schema rule ($ref): /schemas/power/supply/ti,twl6030-charger.yaml

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

gpadc — not listed as required here

Properties and child nodes (properties)

compatible — not listed as required here

Exact value (const): "ti,twl6030-gpadc"

pwrbutton — not listed as required here

Properties and child nodes (properties)

compatible — not listed as required here

Exact value (const): "ti,twl6030-pwrbutton"

interrupts — not listed as required here

Array item rules (items)

Item 1

Array item rules (items)

Exact value (const): 0

madc — not listed as required here

false — Not permitted by this property rule.

watchdog — not listed as required here

false — Not permitted by this property rule.

audio — not listed as required here

false — Not permitted by this property rule.

keypad — not listed as required here

false — Not permitted by this property rule.

twl4030-usb — not listed as required here

false — Not permitted by this property rule.

gpio — not listed as required here

false — Not permitted by this property rule.

power — not listed as required here

false — Not permitted by this property rule.

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "ti,twl6032"

When the condition matches (then) #

Properties matching a name pattern (patternProperties)

^regulator- — name matches this regular expression

Properties and child nodes (properties)

compatible — not listed as required here

Allowed values (enum): "ti,twl6032-ldo1", "ti,twl6032-ldo2", "ti,twl6032-ldo3", "ti,twl6032-ldo4", "ti,twl6032-ldo5", "ti,twl6032-ldo6", "ti,twl6032-ldo7", "ti,twl6032-ldoln", "ti,twl6032-ldousb", "ti,twl6032-smps3", "ti,twl6032-smps4", "ti,twl6032-vio"

regulator-initial-mode — not listed as required here

false — Not permitted by this property rule.

Properties and child nodes (properties)

charger — not listed as required here

Shared schema rule ($ref): /schemas/power/supply/ti,twl6030-charger.yaml

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

gpadc — not listed as required here

Properties and child nodes (properties)

compatible — not listed as required here

Exact value (const): "ti,twl6032-gpadc"

pwrbutton — not listed as required here

Properties and child nodes (properties)

compatible — not listed as required here

Exact value (const): "ti,twl6030-pwrbutton"

interrupts — not listed as required here

Array item rules (items)

Item 1

Array item rules (items)

Exact value (const): 0

madc — not listed as required here

false — Not permitted by this property rule.

watchdog — not listed as required here

false — Not permitted by this property rule.

audio — not listed as required here

false — Not permitted by this property rule.

keypad — not listed as required here

false — Not permitted by this property rule.

twl4030-usb — not listed as required here

false — Not permitted by this property rule.

gpio — not listed as required here

false — Not permitted by this property rule.

power — not listed as required here

false — Not permitted by this property rule.

Properties and child nodes (properties) #

compatible — required here #

TWL4030 for integrated power-management/audio CODEC device used in OMAP3 based boards. TWL6030/32 for integrated power-management used in OMAP4 based boards

Allowed values (enum): "ti,twl4030", "ti,twl6030", "ti,twl6032"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

interrupt-controller — required here #

true — No constraints added by this property rule.

system-power-controller — not listed as required here #

true — No constraints added by this property rule.

#interrupt-cells — required here #

Exact value (const): 1

#clock-cells — not listed as required here #

Exact value (const): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

clock-names — not listed as required here #

Exact value (const): "fck"

charger — not listed as required here #

Value type (type): "object"

Properties and child nodes (properties) #

compatible — required here

true — No constraints added by this property rule.

Required in this object (required): "compatible"

rtc — not listed as required here #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "ti,twl4030-rtc"

interrupts — not listed as required here

Maximum number of items (maxItems): 1

madc — not listed as required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/iio/adc/ti,twl4030-madc.yaml

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

pwrbutton — not listed as required here #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Allowed values (enum): "ti,twl4030-pwrbutton", "ti,twl6030-pwrbutton"

interrupts — not listed as required here

Maximum number of items (maxItems): 1

watchdog — not listed as required here #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Exact value (const): "ti,twl4030-wdt"

audio — not listed as required here #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — required here

Exact value (const): "ti,twl4030-audio"

Required in this object (required): "compatible"

keypad — not listed as required here #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — required here

Exact value (const): "ti,twl4030-keypad"

Required in this object (required): "compatible"

twl4030-usb — not listed as required here #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — required here

Exact value (const): "ti,twl4030-usb"

Required in this object (required): "compatible"

gpio — not listed as required here #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — required here

Exact value (const): "ti,twl4030-gpio"

Required in this object (required): "compatible"

power — not listed as required here #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

The power management module inside the TWL4030 provides several facilities to control the power resources, including power scripts. For now, the binding only supports the complete shutdown of the system after poweroff. Board-specific compatible strings may be used for platform-specific power configurations. A board-specific compatible string (e.g., ti,twl4030-power-omap3-evm) may be paired with a generic fallback (generally for power saving mode).

Properties and child nodes (properties) #

compatible — required here

Exactly one of these rules must match (oneOf)

Rule 1

Allowed values (enum): "ti,twl4030-power", "ti,twl4030-power-reset", "ti,twl4030-power-idle", "ti,twl4030-power-idle-osc-off", "ti,twl4030-power-omap3-sdp", "ti,twl4030-power-omap3-ldp", "ti,twl4030-power-omap3-evm"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "ti,twl4030-power-idle-osc-off"

Item 2

Exact value (const): "ti,twl4030-power-idle"

Rule 3

Array item rules (items)

Item 1

Exact value (const): "ti,twl4030-power-omap3-evm"

Item 2

Exact value (const): "ti,twl4030-power-idle"

ti,system-power-controller — not listed as required here

Value type (type): "boolean"

Deprecated (deprecated): true

DEPRECATED. The standard 'system-power-controller' property on the parent node should be used instead.

ti,use_poweroff — not listed as required here

Value type (type): "boolean"

Deprecated (deprecated): true

DEPRECATED, to be removed.

Required in this object (required): "compatible"

gpadc — not listed as required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/iio/adc/ti,twl6030-gpadc.yaml

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

true — No constraints added by this property rule.

usb-comparator — not listed as required here #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — required here

Exact value (const): "ti,twl6030-usb"

Required in this object (required): "compatible"

pwm — not listed as required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/pwm/pwm.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

PWM controllers (PWM1 and PWM2 on TWL4030, PWM0 and PWM1 on TWL6030/32).

Properties and child nodes (properties) #

compatible — required here

Allowed values (enum): "ti,twl4030-pwm", "ti,twl6030-pwm"

#pwm-cells — required here

Exact value (const): 2

Required in this object (required): "compatible", "#pwm-cells"

pwmled — not listed as required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/pwm/pwm.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

PWM controllers connected to LED terminals (PWMA and PWMB on TWL4030. LED PWM on TWL6030/32, mainly used as charging indicator LED).

Properties and child nodes (properties) #

compatible — required here

Allowed values (enum): "ti,twl4030-pwmled", "ti,twl6030-pwmled"

#pwm-cells — required here

Exact value (const): 2

Required in this object (required): "compatible", "#pwm-cells"

Properties matching a name pattern (patternProperties) #

^regulator- — name matches this regular expression #

Value type (type): "object"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Shared schema rule ($ref): /schemas/regulator/regulator.yaml

Properties and child nodes (properties) #

compatible — not listed as required here

true — No constraints added by this property rule.

regulator-initial-mode — not listed as required here

Allowed values (enum): 8, 14

ti,retain-on-reset — not listed as required here

Does not turn off the supplies during warm reset. Could be needed for VMMC, as TWL6030 reset sequence for this signal does not comply with the SD specification.

Value type (type): "boolean"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "interrupts", "interrupt-controller", "#interrupt-cells"

Examples (examples) #

i2c {
  #address-cells = <1>;
  #size-cells = <0>;

  pmic@48 {
    compatible = "ti,twl6030";
    reg = <0x48>;
    interrupts = <39>; /* IRQ_SYS_1N cascaded to gic */
    interrupt-parent = <&gic>;
    interrupt-controller;
    #interrupt-cells = <1>;

    charger {
      compatible = "ti,twl6030-charger";
      interrupts = <2>, <5>;
      io-channels = <&gpadc 10>;
      io-channel-names = "vusb";
      monitored-battery = <&bat>;
    };

    gpadc {
      compatible = "ti,twl6030-gpadc";
      interrupts = <6>;
      #io-channel-cells = <1>;
    };

    pwrbutton {
      compatible = "ti,twl6030-pwrbutton";
      interrupts = <0>;
    };

    rtc {
      compatible = "ti,twl4030-rtc";
      interrupts = <8>;
    };

    regulator-vaux1 {
      compatible = "ti,twl6030-vaux1";
      regulator-min-microvolt = <1000000>;
      regulator-max-microvolt = <3000000>;
    };

    regulator-vmmc1 {
      compatible = "ti,twl6030-vmmc";
      ti,retain-on-reset;
    };

    pwm {
      compatible = "ti,twl6030-pwm";
      #pwm-cells = <2>;
    };

    pwmled {
      compatible = "ti,twl6030-pwmled";
      #pwm-cells = <2>;
    };
  };
};
i2c {
  #address-cells = <1>;
  #size-cells = <0>;

  pmic@48 {
    compatible = "ti,twl4030";
    reg = <0x48>;
    interrupts = <7>; /* SYS_NIRQ cascaded to intc */
    interrupt-parent = <&intc>;
    interrupt-controller;
    #interrupt-cells = <1>;

    charger {
      compatible = "ti,twl4030-bci";
      interrupts = <9>, <2>;
      bci3v1-supply = <&vusb3v1>;
      io-channels = <&twl_madc 11>;
      io-channel-names = "vac";
    };

    twl_madc: madc {
      compatible = "ti,twl4030-madc";
      interrupts = <3>;
      #io-channel-cells = <1>;
    };

    pwrbutton {
      compatible = "ti,twl4030-pwrbutton";
      interrupts = <8>;
    };

    rtc {
      compatible = "ti,twl4030-rtc";
      interrupts = <11>;
    };

    regulator-vaux1 {
      compatible = "ti,twl4030-vaux1";
      regulator-min-microvolt = <1000000>;
      regulator-max-microvolt = <3000000>;
      regulator-initial-mode = <0xe>;
    };

    vusb3v1: regulator-vusb3v1 {
      compatible = "ti,twl4030-vusb3v1";
    };

    watchdog {
      compatible = "ti,twl4030-wdt";
    };

    power {
      compatible = "ti,twl4030-power";
    };

    pwm {
      compatible = "ti,twl4030-pwm";
      #pwm-cells = <2>;
    };

    pwmled {
      compatible = "ti,twl4030-pwmled";
      #pwm-cells = <2>;
    };
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Line 329: Case 1: A single compatible string is provided.

Line 339: Case 2: The specific, valid fallback for 'idle-osc-off'.

Line 344: Case 3: The specific, valid fallback for 'omap3-evm'.

Line 435: Sleep mode, the nominal output voltage is maintained

Line 436: with low power consumption with low load current capability

Line 437: Active mode, the regulator can deliver its nominal output

Line 438: voltage with full-load current capability

Cirrus Logic/Wolfson Microelectronics Arizona class audio SoCs

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/wlf,arizona.yaml#"

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

Maintainers (maintainers): "patches@opensource.cirrus.com"

These devices are audio SoCs with extensive digital capabilities and a range of analogue I/O.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/spi/spi-peripheral-props.yaml

Rule 2 #

Shared schema rule ($ref): /schemas/sound/wlf,arizona.yaml#

Rule 3 #

Shared schema rule ($ref): /schemas/regulator/wlf,arizona.yaml#

Rule 4 #

Shared schema rule ($ref): /schemas/extcon/wlf,arizona.yaml#

Rule 5 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "cirrus,cs47l24", "wlf,wm1831"

When the condition matches (then) #

Required in this object (required): "DCVDD-supply", "MICVDD-supply"

When the condition does not match (else) #

Properties and child nodes (properties)

LDOVDD-supply — not listed as required here

Digital power supply, used internally to generate DCVDD when internally supplied.

Rule 6 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "wlf,wm1814", "wlf,wm5102", "wlf,wm5110", "wlf,wm8280", "wlf,wm8997", "wlf,wm8998"

When the condition matches (then) #

Properties and child nodes (properties)

DBVDD2-supply — required here

Databus power supply.

Required in this object (required): "DBVDD2-supply"

Rule 7 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "wlf,wm1814", "wlf,wm5102", "wlf,wm5110", "wlf,wm8280", "wlf,wm8998"

When the condition matches (then) #

Properties and child nodes (properties)

DBVDD3-supply — required here

Databus power supply.

Required in this object (required): "DBVDD3-supply"

Rule 8 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "cirrus,cs47l24", "wlf,wm1831", "wlf,wm8997"

When the condition matches (then) #

Properties and child nodes (properties)

SPKVDD-supply — required here

Mono speaker driver power supply.

Required in this object (required): "SPKVDD-supply"

When the condition does not match (else) #

Properties and child nodes (properties)

SPKVDDL-supply — required here

Left speaker driver power supply.

SPKVDDR-supply — required here

Right speaker driver power supply.

Required in this object (required): "SPKVDDL-supply", "SPKVDDR-supply"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "cirrus,cs47l24", "wlf,wm1814", "wlf,wm1831", "wlf,wm5102", "wlf,wm5110", "wlf,wm8280", "wlf,wm8997", "wlf,wm8998"

reg — not listed as required here #

Maximum number of items (maxItems): 1

AVDD-supply — required here #

Analogue power supply.

CPVDD-supply — required here #

Charge pump power supply.

DBVDD1-supply — required here #

Databus power supply.

DCVDD-supply — not listed as required here #

Digital power supply, normally supplied internally except on cs47l24, wm1831 where it is mandatory.

MICVDD-supply — not listed as required here #

Microphone power supply, normally supplied internally except on cs47l24, wm1831 where it is mandatory.

gpio-controller — required here #

true — No constraints added by this property rule.

#gpio-cells — required here #

The first cell is the pin number and the second cell is used to specify optional parameters.

Exact value (const): 2

wlf,gpio-defaults — not listed as required here #

A list of GPIO configuration register values. Defines for the appropriate values can found in dt-bindings/mfd/arizona.h. If absent, no configuration of these registers is performed. If any entry has a value that is out of range for a 16 bit register then the chip default will be used. If present exactly five values must be specified.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 5

interrupt-controller — required here #

true — No constraints added by this property rule.

#interrupt-cells — required here #

The first cell is the IRQ number. The second cell is the flags, encoded as trigger masks.

Exact value (const): 2

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Should reference the clocks supplied on MCLK1 and MCLK2.

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

clock-names — not listed as required here #

Should contains two strings mclk1 for the clock supplied on MCLK1, recommended to be a high quality audio reference clock mclk2 for the clock supplied on MCLK2, recommended to be an always on 32k clock.

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Exact value (const): "mclk1"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "mclk2"

Rule 3

Array item rules (items)

Item 1

Exact value (const): "mclk1"

Item 2

Exact value (const): "mclk2"

reset-gpios — not listed as required here #

Maximum number of items (maxItems): 1

wlf,reset — not listed as required here #

GPIO specifier for the GPIO controlling RESET

Deprecated (deprecated): true

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "AVDD-supply", "CPVDD-supply", "DBVDD1-supply", "gpio-controller", "#gpio-cells", "interrupt-controller", "#interrupt-cells", "interrupts"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/mfd/arizona.h>
i2c@e0004000 {
    #address-cells = <1>;
    #size-cells = <0>;
    reg = <0xe0004000 0x1000>;

    wm5102: codec@1a {
        compatible = "wlf,wm5102";
        reg = <0x1a>;

        reset-gpios = <&gpio 0>;
        wlf,ldoena = <&gpio 1>;

        AVDD-supply = <&vdd1v8>;
        DBVDD1-supply = <&vdd1v8>;
        DBVDD2-supply = <&vdd1v8>;
        DBVDD3-supply = <&vdd1v8>;
        CPVDD-supply = <&vdd1v8>;
        LDOVDD-supply = <&vdd1v8>;
        SPKVDDL-supply = <&vdd5v>;
        SPKVDDR-supply = <&vdd5v>;

        interrupts = <347>;
        interrupt-controller;
        #interrupt-cells = <2>;
        interrupt-parent = <&gic>;

        gpio-controller;
        #gpio-cells = <2>;

        #sound-dai-cells = <1>;

        wlf,gpio-defaults = <
            ARIZONA_GP_FN_TXLRCLK
            ARIZONA_GP_DEFAULT
            ARIZONA_GP_DEFAULT
            ARIZONA_GP_DEFAULT
            ARIZONA_GP_DEFAULT
        >;

        clocks = <&clks 0>, <&clks 1>;
        clock-names = "mclk1", "mclk2";

        wlf,inmode = <ARIZONA_INMODE_DIFF ARIZONA_INMODE_DMIC>;
        wlf,dmic-ref = <ARIZONA_DMIC_MICBIAS1 ARIZONA_DMIC_MICBIAS3>;

        wlf,use-jd2;
        wlf,use-jd2-nopull;
        wlf,jd-invert;

        wlf,micd-software-compare;
        wlf,micd-detect-debounce = <0>;
        wlf,micd-pol-gpio = <&codec 2 0>;
        wlf,micd-rate = <ARIZONA_MICD_TIME_8MS>;
        wlf,micd-dbtime = <4>;
        wlf,micd-timeout-ms = <100>;
        wlf,micd-force-micbias;
        wlf,micd-configs = <0 ARIZONA_DMIC_MICBIAS1 0>,
                           <0x2000 ARIZONA_DMIC_MICBIAS2 1>;

        wlf,gpsw = <ARIZONA_GPSW_OPEN>;
    };
};

Source notes #

Annotations retained from the schema source

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

X-Powers AC100

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/x-powers,ac100.yaml#"

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

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "x-powers,ac100"

reg — required here #

Maximum number of items (maxItems): 1

codec — required here #

Value type (type): "object"

Properties and child nodes (properties) #

#clock-cells — required here

Exact value (const): 0

compatible — required here

Exact value (const): "x-powers,ac100-codec"

interrupts — required here

Maximum number of items (maxItems): 1

clock-output-names — required here

Maximum number of items (maxItems): 1

Name of the 4M_adda clock exposed by the codec

Required in this object (required): "#clock-cells", "compatible", "interrupts", "clock-output-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

rtc — required here #

Value type (type): "object"

Properties and child nodes (properties) #

#clock-cells — required here

Exact value (const): 1

compatible — required here

Exact value (const): "x-powers,ac100-rtc"

interrupts — required here

Maximum number of items (maxItems): 1

clocks — required here

Maximum number of items (maxItems): 1

A phandle to the codec's "4M_adda" clock

clock-output-names — required here

Maximum number of items (maxItems): 3

Name of the cko1, cko2 and cko3 clocks exposed by the codec

Required in this object (required): "#clock-cells", "compatible", "interrupts", "clocks", "clock-output-names"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

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

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>

rsb {
    #address-cells = <1>;
    #size-cells = <0>;

    codec@e89 {
        compatible = "x-powers,ac100";
        reg = <0xe89>;

        ac100_codec: codec {
            compatible = "x-powers,ac100-codec";
            interrupt-parent = <&r_pio>;
            interrupts = <0 9 IRQ_TYPE_LEVEL_LOW>; /* PL9 */
            #clock-cells = <0>;
            clock-output-names = "4M_adda";
        };

        ac100_rtc: rtc {
            compatible = "x-powers,ac100-rtc";
            interrupt-parent = <&nmi_intc>;
            interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
            clocks = <&ac100_codec>;
            #clock-cells = <1>;
            clock-output-names = "cko1_rtc", "cko2_rtc", "cko3_rtc";
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

X-Powers AXP PMIC

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/x-powers,axp152.yaml#"

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

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "x-powers,axp152", "x-powers,axp202", "x-powers,axp209"

When the condition matches (then) #

Properties and child nodes (properties)

regulators — not listed as required here

Properties and child nodes (properties)

x-powers,dcdc-freq — not listed as required here

Minimum value (minimum): 750

Maximum value (maximum): 1875

Default value (default): 1500

When the condition does not match (else) #

Properties and child nodes (properties)

regulators — not listed as required here

Properties and child nodes (properties)

x-powers,dcdc-freq — not listed as required here

Minimum value (minimum): 1800

Maximum value (maximum): 4050

Default value (default): 3000

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "x-powers,axp152", "x-powers,axp202", "x-powers,axp209"

When the condition matches (then) #

Properties and child nodes (properties)

x-powers,drive-vbus-en — not listed as required here

false — Not permitted by this property rule.

Rule 3 #

Condition (if) #

This rule must not match (not)

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "x-powers,axp806"

When the condition matches (then) #

Properties and child nodes (properties)

x-powers,self-working-mode — not listed as required here

false — Not permitted by this property rule.

x-powers,master-mode — not listed as required here

false — Not permitted by this property rule.

Rule 4 #

Condition (if) #

This rule must not match (not)

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "x-powers,axp15060", "x-powers,axp305", "x-powers,axp313a", "x-powers,axp323"

When the condition matches (then) #

Required in this object (required): "interrupts"

Rule 5 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "x-powers,axp313a", "x-powers,axp323", "x-powers,axp15060", "x-powers,axp717"

When the condition matches (then) #

Properties and child nodes (properties)

x-powers,dcdc-freq — not listed as required here

false — Not permitted by this property rule.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "x-powers,axp152", "x-powers,axp192", "x-powers,axp202", "x-powers,axp209", "x-powers,axp221", "x-powers,axp223", "x-powers,axp313a", "x-powers,axp323", "x-powers,axp717", "x-powers,axp803", "x-powers,axp806", "x-powers,axp809", "x-powers,axp813", "x-powers,axp15060"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "x-powers,axp228"

Item 2

Exact value (const): "x-powers,axp221"

Rule 3

Array item rules (items)

Item 1

Exact value (const): "x-powers,axp805"

Item 2

Exact value (const): "x-powers,axp806"

Rule 4

Array item rules (items)

Item 1

Exact value (const): "x-powers,axp305"

Item 2

Exact value (const): "x-powers,axp805"

Item 3

Exact value (const): "x-powers,axp806"

Rule 5

Array item rules (items)

Item 1

Exact value (const): "x-powers,axp818"

Item 2

Exact value (const): "x-powers,axp813"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

interrupt-controller — required here #

true — No constraints added by this property rule.

#interrupt-cells — required here #

Exact value (const): 1

x-powers,drive-vbus-en — not listed as required here #

Value type (type): "boolean"

Set this when the N_VBUSEN pin is used as an output pin to control an external regulator to drive the OTG VBus, rather then as an input pin which signals whether the board is driving OTG VBus or not.

x-powers,self-working-mode — not listed as required here #

Value type (type): "boolean"

Set this when the PMIC is wired for self-working mode through the MODESET pin.

x-powers,master-mode — not listed as required here #

Value type (type): "boolean"

Set this when the PMIC is wired for master mode through the MODESET pin.

vin1-supply — not listed as required here #

DCDC1 power supply node, if present.

vin2-supply — not listed as required here #

DCDC2 power supply node, if present.

vin3-supply — not listed as required here #

DCDC3 power supply node, if present.

vin4-supply — not listed as required here #

DCDC4 power supply node, if present.

vin5-supply — not listed as required here #

DCDC5 power supply node, if present.

vin6-supply — not listed as required here #

DCDC6 power supply node, if present.

vin7-supply — not listed as required here #

DCDC7 power supply node, if present.

vina-supply — not listed as required here #

DCDCA power supply node, if present.

vinb-supply — not listed as required here #

DCDCB power supply node, if present.

vinc-supply — not listed as required here #

DCDCC power supply node, if present.

vind-supply — not listed as required here #

DCDCD power supply node, if present.

vine-supply — not listed as required here #

DCDCE power supply node, if present.

acin-supply — not listed as required here #

LDO1 power supply node, if present.

ldo24in-supply — not listed as required here #

LDO2 and LDO4 power supply node, if present.

ldo3in-supply — not listed as required here #

LDO3 power supply node, if present.

ldo5in-supply — not listed as required here #

LDO5 power supply node, if present.

aldoin-supply — not listed as required here #

ALDO* power supply node, if present.

bldoin-supply — not listed as required here #

BLDO* power supply node, if present.

cldoin-supply — not listed as required here #

CLDO* power supply node, if present.

dldoin-supply — not listed as required here #

DLDO* power supply node, if present.

eldoin-supply — not listed as required here #

ELDO* power supply node, if present.

fldoin-supply — not listed as required here #

FLDO* power supply node, if present.

ips-supply — not listed as required here #

LDO_IO0, LDO_IO1 and RTC_LDO power supply node, if present.

drivevbus-supply — not listed as required here #

DRIVEVBUS power supply node, if present.

swin-supply — not listed as required here #

SW power supply node, if present.

adc — not listed as required here #

Shared schema rule ($ref): /schemas/iio/adc/x-powers,axp209-adc.yaml#

gpio — not listed as required here #

Shared schema rule ($ref): /schemas/gpio/x-powers,axp209-gpio.yaml#

ac-power — not listed as required here #

Shared schema rule ($ref): /schemas/power/supply/x-powers,axp20x-ac-power-supply.yaml#

battery-power — not listed as required here #

Shared schema rule ($ref): /schemas/power/supply/x-powers,axp20x-battery-power-supply.yaml#

usb-power — not listed as required here #

Shared schema rule ($ref): /schemas/power/supply/x-powers,axp20x-usb-power-supply.yaml#

regulators — not listed as required here #

Value type (type): "object"

Properties and child nodes (properties) #

x-powers,dcdc-freq — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Defines the work frequency of DC-DC in kHz.

Properties matching a name pattern (patternProperties) #

^(([a-f])?ldo[0-9]|dcdc[0-7a-e]|ldo(_|-)io(0|1)|(dc1)?sw|rtc(_|-)ldo|cpusldo|drivevbus|dc5ldo|boost)$ — name matches this regular expression

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

Value type (type): "object"

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties and child nodes (properties)

regulator-ramp-delay — not listed as required here

Only 800 and 1600 are valid for the DCDC2 and LDO3 regulators on the AXP209.

regulator-soft-start — not listed as required here

Only valid for the LDO3 regulator.

x-powers,dcdc-workmode — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 0, 1

Only valid for DCDC regulators. Setup 1 for PWM mode, 0 for AUTO (PWM/PFM) mode. The DCDC regulators work in a mixed PWM/PFM mode, using PFM under light loads and switching to PWM for heavier loads. Forcing PWM mode trades efficiency under light loads for lower output noise. This probably makes sense for HiFi audio related applications that aren't battery constrained.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "#interrupt-cells", "interrupt-controller"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    pmic@30 {
        compatible = "x-powers,axp152";
        reg = <0x30>;
        interrupts = <0>;
        interrupt-controller;
        #interrupt-cells = <1>;
    };
};
#include <dt-bindings/interrupt-controller/irq.h>

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    pmic@34 {
        compatible = "x-powers,axp209";
        reg = <0x34>;
        interrupt-parent = <&nmi_intc>;
        interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
        interrupt-controller;
        #interrupt-cells = <1>;

        ac_power_supply: ac-power {
            compatible = "x-powers,axp202-ac-power-supply";
        };

        axp_adc: adc {
            compatible = "x-powers,axp209-adc";
            #io-channel-cells = <1>;
        };

        axp_gpio: gpio {
            compatible = "x-powers,axp209-gpio";
            gpio-controller;
            #gpio-cells = <2>;

            gpio0-adc-pin {
                pins = "GPIO0";
                function = "adc";
            };
        };

        battery_power_supply: battery-power {
            compatible = "x-powers,axp209-battery-power-supply";
        };

        regulators {
            /* Default work frequency for buck regulators */
            x-powers,dcdc-freq = <1500>;

            reg_dcdc2: dcdc2 {
                regulator-always-on;
                regulator-min-microvolt = <1000000>;
                regulator-max-microvolt = <1450000>;
                regulator-name = "vdd-cpu";
            };

            reg_dcdc3: dcdc3 {
                regulator-always-on;
                regulator-min-microvolt = <1000000>;
                regulator-max-microvolt = <1400000>;
                regulator-name = "vdd-int-dll";
            };

            reg_ldo1: ldo1 {
                /* LDO1 is a fixed output regulator */
                regulator-always-on;
                regulator-min-microvolt = <1300000>;
                regulator-max-microvolt = <1300000>;
                regulator-name = "vdd-rtc";
            };

            reg_ldo2: ldo2 {
                regulator-always-on;
                regulator-min-microvolt = <3000000>;
                regulator-max-microvolt = <3000000>;
                regulator-name = "avcc";
            };

            reg_ldo3: ldo3 {
                regulator-name = "ldo3";
            };

            reg_ldo4: ldo4 {
                regulator-name = "ldo4";
            };

            reg_ldo5: ldo5 {
                regulator-name = "ldo5";
            };
        };

        usb_power_supply: usb-power {
            compatible = "x-powers,axp202-usb-power-supply";
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Xylon LogiCVC multi-function device

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/xylon,logicvc.yaml#"

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

Maintainers (maintainers): "Paul Kocialkowski <paul.kocialkowski@bootlin.com>"

The LogiCVC is a display controller that also contains a GPIO controller. As a result, a multi-function device is exposed as parent of the display and GPIO blocks.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "xylon,logicvc-3.02.a"

Item 2

Exact value (const): "syscon"

Item 3

Exact value (const): "simple-mfd"

reg — required here #

Maximum number of items (maxItems): 1

#address-cells — not listed as required here #

Exact value (const): 1

#size-cells — not listed as required here #

Exact value (const): 1

Automatic schema selection (select) #

Properties and child nodes (properties) #

compatible — required here #

Rule for matching array elements (contains)

Allowed values (enum): "xylon,logicvc-3.02.a"

Required in this object (required): "compatible"

Properties matching a name pattern (patternProperties) #

^gpio@[0-9a-f]+$ — name matches this regular expression #

Shared schema rule ($ref): /schemas/gpio/xylon,logicvc-gpio.yaml#

^display@[0-9a-f]+$ — name matches this regular expression #

Shared schema rule ($ref): /schemas/display/xylon,logicvc-display.yaml#

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

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

logicvc: logicvc@43c00000 {
  compatible = "xylon,logicvc-3.02.a", "syscon", "simple-mfd";
  reg = <0x43c00000 0x6000>;
};

Source notes #

Annotations retained from the schema source

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

Line 2: Copyright 2019 Bootlin

Zodiac Inflight Innovations RAVE Supervisory Processor

Peios Kernel / Hardware and drivers / Device-tree binding reference / Mfd bindings

Schema identifier ($id): "http://devicetree.org/schemas/mfd/zii,rave-sp.yaml#"

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

Maintainers (maintainers): "Frank Li <Frank.Li@nxp.com>"

RAVE Supervisory Processor communicates with SoC over UART. It is expected that its Device Tree node is specified as a child of a node corresponding to UART controller used for communication.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "zii,rave-sp-niu", "zii,rave-sp-mezz", "zii,rave-sp-esb", "zii,rave-sp-rdu1", "zii,rave-sp-rdu2"

#address-cells — not listed as required here #

Exact value (const): 1

#size-cells — not listed as required here #

Exact value (const): 1

watchdog — not listed as required here #

Shared schema rule ($ref): /schemas/watchdog/zii,rave-sp-wdt.yaml

backlight — not listed as required here #

Shared schema rule ($ref): /schemas/leds/backlight/zii,rave-sp-backlight.yaml

pwrbutton — not listed as required here #

Shared schema rule ($ref): /schemas/input/zii,rave-sp-pwrbutton.yaml

Properties matching a name pattern (patternProperties) #

^eeprom@[0-9a-f]+$ — name matches this regular expression #

Shared schema rule ($ref): /schemas/nvmem/zii,rave-sp-eeprom.yaml

Required in this object (required): "compatible"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/serial/serial-peripheral-props.yaml

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

mfd {
    compatible = "zii,rave-sp-rdu2";
    current-speed = <1000000>;

    watchdog {
        compatible = "zii,rave-sp-watchdog";
    };
};

Source notes #

Annotations retained from the schema source

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

Peios Learn — documentation for Peios software.

Built with Trail.