Actions Semi ATC260x Power Management IC
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 hereRule 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 expressionProperties 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 hereRule 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 expressionProperties 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 = <®_5v0>;
dcdc3-supply = <®_5v0>;
ldo5-supply = <®_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)