Merge tag 'linux-kselftest-kunit-fixes-5.11-rc3' of git://git.kernel.org/pub/scm...
[linux/fpc-iii.git] / Documentation / devicetree / bindings / power / supply / microchip,ucs1002.txt
blob1d284ad816bf9094a6eabb2bc4876be7ee8e0ee8
1 Microchip UCS1002 USB Port Power Controller
3 Required properties:
4 - compatible            : Should be "microchip,ucs1002";
5 - reg                   : I2C slave address
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:
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         };