Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/mfd/samsung,s2mpa01.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Samsung S2MPA01 Power Management IC
0008 
0009 maintainers:
0010   - Krzysztof Kozlowski <krzk@kernel.org>
0011 
0012 description: |
0013   This is a part of device tree bindings for S2M and S5M family of Power
0014   Management IC (PMIC).
0015 
0016   The Samsung S2MPA01 is a Power Management IC which includes voltage
0017   and current regulators, RTC, clock outputs and other sub-blocks.
0018 
0019 properties:
0020   compatible:
0021     const: samsung,s2mpa01-pmic
0022 
0023   interrupts:
0024     maxItems: 1
0025 
0026   reg:
0027     maxItems: 1
0028 
0029   regulators:
0030     $ref: ../regulator/samsung,s2mpa01.yaml
0031     description:
0032       List of child nodes that specify the regulators.
0033 
0034   wakeup-source: true
0035 
0036 required:
0037   - compatible
0038   - reg
0039   - regulators
0040 
0041 additionalProperties: false
0042 
0043 examples:
0044   - |
0045     #include <dt-bindings/interrupt-controller/irq.h>
0046 
0047     i2c {
0048         #address-cells = <1>;
0049         #size-cells = <0>;
0050 
0051         pmic@66 {
0052             compatible = "samsung,s2mpa01-pmic";
0053             reg = <0x66>;
0054 
0055             regulators {
0056                 ldo1_reg: LDO1 {
0057                     regulator-name = "VDD_ALIVE";
0058                     regulator-min-microvolt = <1000000>;
0059                     regulator-max-microvolt = <1000000>;
0060                 };
0061 
0062                 ldo2_reg: LDO2 {
0063                     regulator-name = "VDDQ_MMC2";
0064                     regulator-min-microvolt = <2800000>;
0065                     regulator-max-microvolt = <2800000>;
0066                     regulator-always-on;
0067                 };
0068 
0069                 // ...
0070 
0071                 buck1_reg: BUCK1 {
0072                     regulator-name = "vdd_mif";
0073                     regulator-min-microvolt = <950000>;
0074                     regulator-max-microvolt = <1350000>;
0075                     regulator-always-on;
0076                     regulator-boot-on;
0077                 };
0078 
0079                 buck2_reg: BUCK2 {
0080                     regulator-name = "vdd_arm";
0081                     regulator-min-microvolt = <950000>;
0082                     regulator-max-microvolt = <1350000>;
0083                     regulator-always-on;
0084                     regulator-boot-on;
0085                     regulator-ramp-delay = <50000>;
0086                 };
0087 
0088                 // ...
0089             };
0090         };
0091     };