Samsung S2MPA01 Power Management IC
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