Merge tag 'armsoc-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / power / supply / microchip,ucs1002.txt
1 Microchip UCS1002 USB Port Power Controller
2
3 Required properties:
4 - compatible            : Should be "microchip,ucs1002";
5 - reg                   : I2C slave address
6
7 Optional properties:
8 - interrupts            : A list of interrupts lines present (could be either
9                           corresponding to A_DET# pin, ALERT# pin, or both)
10 - interrupt-names       : A list of interrupt names. Should contain (if
11                           present):
12                           - "a_det" for line connected to A_DET# pin
13                           - "alert" for line connected to ALERT# pin
14                           Both are expected to be IRQ_TYPE_EDGE_BOTH
15 Example:
16
17 &i2c3 {
18         charger@32 {
19                 compatible = "microchip,ucs1002";
20                 pinctrl-names = "default";
21                 pinctrl-0 = <&pinctrl_ucs1002_pins>;
22                 reg = <0x32>;
23                 interrupts-extended = <&gpio5 2 IRQ_TYPE_EDGE_BOTH>,
24                                       <&gpio3 21 IRQ_TYPE_EDGE_BOTH>;
25                 interrupt-names = "a_det", "alert";
26         };
27 };