Ricoh RN5T567/RN5T618/RC5T619 PMIC

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

Edit this page