GNU Linux-libre 4.19.304-gnu1
[releases.git] / Documentation / devicetree / bindings / power / supply / maxim,max14656.txt
1 Maxim MAX14656 / AL32 USB Charger Detector
2
3 Required properties :
4 - compatible : "maxim,max14656";
5 - reg: i2c slave address
6 - interrupts: interrupt line
7
8 Example:
9
10 &i2c2 {
11         clock-frequency = <50000>;
12         pinctrl-names = "default";
13         pinctrl-0 = <&pinctrl_i2c2>;
14
15         max14656@35 {
16                 compatible = "maxim,max14656";
17                 reg = <0x35>;
18                 pinctrl-names = "default";
19                 pinctrl-0 = <&pinctrl_charger_detect>;
20                 interrupt-parent = <&gpio6>;
21                 interrupts = <26 IRQ_TYPE_LEVEL_HIGH>;
22         };
23 };