46 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---4$id: http://devicetree.org/schemas/power/supply/maxim,max14656.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Maxim MAX146568 9maintainers:10 - Sebastian Reichel <sre@kernel.org>11 12allOf:13 - $ref: power-supply.yaml#14 15properties:16 compatible:17 const: maxim,max1465618 19 reg:20 maxItems: 121 22 interrupts:23 maxItems: 124 25required:26 - compatible27 - reg28 - interrupts29 30additionalProperties: false31 32examples:33 - |34 #include <dt-bindings/interrupt-controller/irq.h>35 i2c {36 #address-cells = <1>;37 #size-cells = <0>;38 39 charger-detector@35 {40 compatible = "maxim,max14656";41 reg = <0x35>;42 interrupt-parent = <&gpio6>;43 interrupts = <26 IRQ_TYPE_LEVEL_HIGH>;44 };45 };46