1aad19ec1SSebastian Reichel# SPDX-License-Identifier: GPL-2.0 2aad19ec1SSebastian Reichel%YAML 1.2 3aad19ec1SSebastian Reichel--- 4*1ea78ec5SKrzysztof Kozlowski$id: http://devicetree.org/schemas/power/supply/maxim,max14656.yaml# 5*1ea78ec5SKrzysztof Kozlowski$schema: http://devicetree.org/meta-schemas/core.yaml# 6aad19ec1SSebastian Reichel 7aad19ec1SSebastian Reicheltitle: Maxim MAX14656 DT bindings 8aad19ec1SSebastian Reichel 9aad19ec1SSebastian Reichelmaintainers: 10aad19ec1SSebastian Reichel - Sebastian Reichel <sre@kernel.org> 11aad19ec1SSebastian Reichel 12aad19ec1SSebastian ReichelallOf: 13aad19ec1SSebastian Reichel - $ref: power-supply.yaml# 14aad19ec1SSebastian Reichel 15aad19ec1SSebastian Reichelproperties: 16aad19ec1SSebastian Reichel compatible: 17aad19ec1SSebastian Reichel const: maxim,max14656 18aad19ec1SSebastian Reichel 19aad19ec1SSebastian Reichel reg: 20aad19ec1SSebastian Reichel maxItems: 1 21aad19ec1SSebastian Reichel 22aad19ec1SSebastian Reichel interrupts: 23aad19ec1SSebastian Reichel maxItems: 1 24aad19ec1SSebastian Reichel 25aad19ec1SSebastian Reichelrequired: 26aad19ec1SSebastian Reichel - compatible 27aad19ec1SSebastian Reichel - reg 28aad19ec1SSebastian Reichel - interrupts 29aad19ec1SSebastian Reichel 30aad19ec1SSebastian ReicheladditionalProperties: false 31aad19ec1SSebastian Reichel 32aad19ec1SSebastian Reichelexamples: 33aad19ec1SSebastian Reichel - | 34aad19ec1SSebastian Reichel #include <dt-bindings/interrupt-controller/irq.h> 35aad19ec1SSebastian Reichel i2c0 { 36aad19ec1SSebastian Reichel #address-cells = <1>; 37aad19ec1SSebastian Reichel #size-cells = <0>; 38aad19ec1SSebastian Reichel 39aad19ec1SSebastian Reichel charger-detector@35 { 40aad19ec1SSebastian Reichel compatible = "maxim,max14656"; 41aad19ec1SSebastian Reichel reg = <0x35>; 42aad19ec1SSebastian Reichel interrupt-parent = <&gpio6>; 43aad19ec1SSebastian Reichel interrupts = <26 IRQ_TYPE_LEVEL_HIGH>; 44aad19ec1SSebastian Reichel }; 45aad19ec1SSebastian Reichel }; 46