File Index
Files and directories
Sign in
FILE

maxim,max14656.yaml

File preview with syntax highlighting.

linux-6.19.14/Documentation/devicetree/bindings/power/supply/maxim,max14656.yaml YAML
 1# SPDX-License-Identifier: GPL-2.0
 2%YAML 1.2
 3---
 4$id: http://devicetree.org/schemas/power/supply/maxim,max14656.yaml#
 5$schema: http://devicetree.org/meta-schemas/core.yaml#
 6
 7title: Maxim MAX14656
 8
 9maintainers:
10  - Sebastian Reichel <sre@kernel.org>
11
12allOf:
13  - $ref: power-supply.yaml#
14
15properties:
16  compatible:
17    const: maxim,max14656
18
19  reg:
20    maxItems: 1
21
22  interrupts:
23    maxItems: 1
24
25required:
26  - compatible
27  - reg
28  - interrupts
29
30additionalProperties: false
31
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    };
~/ Read-only file preview.