1 # SPDX-License-Identifier: GPL-2.0-only OR BSD 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/mfd/maxim,m 4 $id: http://devicetree.org/schemas/mfd/maxim,max77714.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: MAX77714 PMIC with GPIO, RTC and watchd 7 title: MAX77714 PMIC with GPIO, RTC and watchdog from Maxim Integrated. 8 8 9 maintainers: 9 maintainers: 10 - Luca Ceresoli <luca.ceresoli@bootlin.com> !! 10 - Luca Ceresoli <luca@lucaceresoli.net> 11 11 12 description: | 12 description: | 13 MAX77714 is a Power Management IC with 4 buc 13 MAX77714 is a Power Management IC with 4 buck regulators, 9 14 low-dropout regulators, 8 GPIOs, RTC and wat 14 low-dropout regulators, 8 GPIOs, RTC and watchdog. 15 15 16 properties: 16 properties: 17 compatible: 17 compatible: 18 const: maxim,max77714 18 const: maxim,max77714 19 19 20 reg: 20 reg: 21 maxItems: 1 21 maxItems: 1 22 22 23 interrupts: 23 interrupts: 24 maxItems: 1 24 maxItems: 1 25 25 26 interrupt-controller: true 26 interrupt-controller: true 27 27 28 "#interrupt-cells": 28 "#interrupt-cells": 29 const: 2 29 const: 2 30 description: 30 description: 31 The first cell is the IRQ number, the se 31 The first cell is the IRQ number, the second cell is the trigger type. 32 32 33 regulators: 33 regulators: 34 type: object 34 type: object 35 additionalProperties: false 35 additionalProperties: false 36 36 37 patternProperties: 37 patternProperties: 38 '^(buck[0-3]|ldo[0-8])$': 38 '^(buck[0-3]|ldo[0-8])$': 39 type: object 39 type: object 40 unevaluatedProperties: false 40 unevaluatedProperties: false 41 $ref: /schemas/regulator/regulator.yam 41 $ref: /schemas/regulator/regulator.yaml# 42 42 43 required: 43 required: 44 - compatible 44 - compatible 45 - reg 45 - reg 46 - interrupts 46 - interrupts 47 - interrupt-controller 47 - interrupt-controller 48 - "#interrupt-cells" 48 - "#interrupt-cells" 49 49 50 additionalProperties: false 50 additionalProperties: false 51 51 52 examples: 52 examples: 53 - | 53 - | 54 #include <dt-bindings/interrupt-controller 54 #include <dt-bindings/interrupt-controller/irq.h> 55 i2c { 55 i2c { 56 #address-cells = <1>; 56 #address-cells = <1>; 57 #size-cells = <0>; 57 #size-cells = <0>; 58 58 59 pmic@1c { 59 pmic@1c { 60 compatible = "maxim,max77714"; 60 compatible = "maxim,max77714"; 61 reg = <0x1c>; 61 reg = <0x1c>; 62 interrupt-parent = <&gpio2>; 62 interrupt-parent = <&gpio2>; 63 interrupts = <3 IRQ_TYPE_LEVEL_LOW 63 interrupts = <3 IRQ_TYPE_LEVEL_LOW>; 64 64 65 interrupt-controller; 65 interrupt-controller; 66 #interrupt-cells = <2>; 66 #interrupt-cells = <2>; 67 }; 67 }; 68 }; 68 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.