1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/power/suppl 4 $id: http://devicetree.org/schemas/power/supply/maxim,max14656.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Maxim MAX14656 7 title: Maxim MAX14656 8 8 9 maintainers: 9 maintainers: 10 - Sebastian Reichel <sre@kernel.org> 10 - Sebastian Reichel <sre@kernel.org> 11 11 12 allOf: 12 allOf: 13 - $ref: power-supply.yaml# 13 - $ref: power-supply.yaml# 14 14 15 properties: 15 properties: 16 compatible: 16 compatible: 17 const: maxim,max14656 17 const: maxim,max14656 18 18 19 reg: 19 reg: 20 maxItems: 1 20 maxItems: 1 21 21 22 interrupts: 22 interrupts: 23 maxItems: 1 23 maxItems: 1 24 24 25 required: 25 required: 26 - compatible 26 - compatible 27 - reg 27 - reg 28 - interrupts 28 - interrupts 29 29 30 additionalProperties: false 30 additionalProperties: false 31 31 32 examples: 32 examples: 33 - | 33 - | 34 #include <dt-bindings/interrupt-controller 34 #include <dt-bindings/interrupt-controller/irq.h> 35 i2c { 35 i2c { 36 #address-cells = <1>; 36 #address-cells = <1>; 37 #size-cells = <0>; 37 #size-cells = <0>; 38 38 39 charger-detector@35 { 39 charger-detector@35 { 40 compatible = "maxim,max14656"; 40 compatible = "maxim,max14656"; 41 reg = <0x35>; 41 reg = <0x35>; 42 interrupt-parent = <&gpio6>; 42 interrupt-parent = <&gpio6>; 43 interrupts = <26 IRQ_TYPE_LEVEL_HIGH>; 43 interrupts = <26 IRQ_TYPE_LEVEL_HIGH>; 44 }; 44 }; 45 }; 45 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.