brintos

brintos / linux-shallow public Read only

0
0
Text · 2.3 KiB · ad92eb6 Raw
92 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/mfd/samsung,s2mpa01.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Samsung S2MPA01 Power Management IC8 9maintainers:10  - Krzysztof Kozlowski <krzk@kernel.org>11 12description: |13  This is a part of device tree bindings for S2M and S5M family of Power14  Management IC (PMIC).15 16  The Samsung S2MPA01 is a Power Management IC which includes voltage17  and current regulators, RTC, clock outputs and other sub-blocks.18 19properties:20  compatible:21    const: samsung,s2mpa01-pmic22 23  interrupts:24    maxItems: 125 26  reg:27    maxItems: 128 29  regulators:30    $ref: /schemas/regulator/samsung,s2mpa01.yaml31    description:32      List of child nodes that specify the regulators.33 34  wakeup-source: true35 36required:37  - compatible38  - reg39  - regulators40 41additionalProperties: false42 43examples:44  - |45    #include <dt-bindings/interrupt-controller/irq.h>46 47    i2c {48        #address-cells = <1>;49        #size-cells = <0>;50 51        pmic@66 {52            compatible = "samsung,s2mpa01-pmic";53            reg = <0x66>;54 55            regulators {56                ldo1_reg: LDO1 {57                    regulator-name = "VDD_ALIVE";58                    regulator-min-microvolt = <1000000>;59                    regulator-max-microvolt = <1000000>;60                };61 62                ldo2_reg: LDO2 {63                    regulator-name = "VDDQ_MMC2";64                    regulator-min-microvolt = <2800000>;65                    regulator-max-microvolt = <2800000>;66                    regulator-always-on;67                };68 69                // ...70 71                buck1_reg: BUCK1 {72                    regulator-name = "vdd_mif";73                    regulator-min-microvolt = <950000>;74                    regulator-max-microvolt = <1350000>;75                    regulator-always-on;76                    regulator-boot-on;77                };78 79                buck2_reg: BUCK2 {80                    regulator-name = "vdd_arm";81                    regulator-min-microvolt = <950000>;82                    regulator-max-microvolt = <1350000>;83                    regulator-always-on;84                    regulator-boot-on;85                    regulator-ramp-delay = <50000>;86                };87 88                // ...89            };90        };91    };92