summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/power/supply/microchip,ucs1002.txt
blob: 1d284ad816bf9094a6eabb2bc4876be7ee8e0ee8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Microchip UCS1002 USB Port Power Controller

Required properties:
- compatible		: Should be "microchip,ucs1002";
- reg			: I2C slave address

Optional properties:
- interrupts		: A list of interrupts lines present (could be either
			  corresponding to A_DET# pin, ALERT# pin, or both)
- interrupt-names	: A list of interrupt names. Should contain (if
			  present):
			  - "a_det" for line connected to A_DET# pin
			  - "alert" for line connected to ALERT# pin
			  Both are expected to be IRQ_TYPE_EDGE_BOTH
Example:

&i2c3 {
	charger@32 {
		compatible = "microchip,ucs1002";
		pinctrl-names = "default";
		pinctrl-0 = <&pinctrl_ucs1002_pins>;
		reg = <0x32>;
		interrupts-extended = <&gpio5 2 IRQ_TYPE_EDGE_BOTH>,
				      <&gpio3 21 IRQ_TYPE_EDGE_BOTH>;
		interrupt-names = "a_det", "alert";
	};
};