1# Copyright (c), 2021 NXP 2# Copyright (c), 2023 Martin Kiepfer <mrmarteng@teleschirm.org> 3# SPDX-License-Identifier: Apache-2.0 4 5description: | 6 AXP192 PMIC 7 8 The PMIC has three DCDC converters and two LDOs (LDO1 cannot be disabled). 9 All need to be defined as children nodes. 10 For example: 11 12 i2c { 13 pmic@34 { 14 reg = <0x34>; 15 ... 16 regulators { 17 compatible = "x-powers,axp192-regulator"; 18 19 DCDC1 { 20 /* all properties for DCDC1 */ 21 }; 22 DCDC2 { 23 /* all properties for DCDC2 */ 24 }; 25 DCDC3 { 26 /* all properties for DCDC3 */ 27 }; 28 LDOIO0 { 29 /* all properties for LDOIO0 */ 30 }; 31 LDO2 { 32 /* all properties for LDO2 */ 33 }; 34 LDO3 { 35 /* all properties for LDO3 */ 36 }; 37 }; 38 }; 39 }; 40 41compatible: "x-powers,axp192-regulator" 42 43on-bus: axp192 44 45include: base.yaml 46 47child-binding: 48 include: 49 - name: regulator.yaml 50 property-allowlist: 51 - regulator-init-microvolt 52 - regulator-min-microvolt 53 - regulator-max-microvolt 54 - regulator-always-on 55 - regulator-boot-on 56 - regulator-boot-off 57 - regulator-initial-mode 58 - regulator-allowed-modes 59 60 properties: 61 regulator-initial-mode: 62 type: int 63 default: 0 64 enum: 65 - 0 66 - 1 67 description: | 68 Initial operating mode. AXP192 supports 2 different power modes: 69 AXP192_DCDC_MODE_AUTO: Auto (0, default) 70 AXP192_DCDC_MODE_PWM: PWM 71