1 # SPDX-License-Identifier: GPL-2.0 2 %YAML 1.2 3 --- 4 $id: http://devicetree.org/schemas/regulator/m 5 $schema: http://devicetree.org/meta-schemas/co 6 7 title: Regulator driver for MAX8893 PMIC from 8 9 maintainers: 10 - Sergey Larin <cerg2010cerg2010@mail.ru> 11 12 description: | 13 The device has 5 LDO regulators and a single 14 Programming is done through I2C bus. 15 16 properties: 17 compatible: 18 const: maxim,max8893 19 20 reg: 21 maxItems: 1 22 23 regulators: 24 type: object 25 26 patternProperties: 27 "^(ldo[1-5]|buck)$": 28 $ref: regulator.yaml# 29 30 additionalProperties: false 31 32 additionalProperties: false 33 34 required: 35 - compatible 36 - reg 37 - regulators 38 39 examples: 40 - | 41 i2c { 42 #address-cells = <1>; 43 #size-cells = <0>; 44 45 pmic@3e { 46 compatible = "maxim,max889 47 reg = <0x3e>; 48 49 regulators { 50 /* Front camera - 51 /* Numbers used to 52 front_1_back_1: bu 53 regulator- 54 regulator- 55 regulator- 56 }; 57 58 front_4_back_5: ld 59 regulator- 60 regulator- 61 regulator- 62 }; 63 64 front_3_back_4: ld 65 regulator- 66 regulator- 67 regulator- 68 }; 69 70 front_5_back_6: ld 71 regulator- 72 regulator- 73 regulator- 74 }; 75 76 ldo4 { 77 /* not use 78 }; 79 80 back_7: ldo5 { 81 regulator- 82 regulator- 83 regulator- 84 }; 85 }; 86 }; 87 }; 88 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.