Skip to content

Commit 0768e6e

Browse files
krzksre
authored andcommitted
dt-bindings: power: supply: bq25890: Document required interrupt
The driver requires interrupts (fails probe if it is not provided) so document this requirement in bindings. Fixes: 4aeae9c ("power_supply: Add support for TI BQ25890 charger chip") Cc: <[email protected]> Signed-off-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
1 parent 307b0d6 commit 0768e6e

File tree

1 file changed

+4
-0
lines changed
  • Documentation/devicetree/bindings/power/supply

1 file changed

+4
-0
lines changed

Documentation/devicetree/bindings/power/supply/bq25890.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Required properties:
1010
* "ti,bq25895"
1111
* "ti,bq25896"
1212
- reg: integer, i2c address of the device.
13+
- interrupts: interrupt line;
1314
- ti,battery-regulation-voltage: integer, maximum charging voltage (in uV);
1415
- ti,charge-current: integer, maximum charging current (in uA);
1516
- ti,termination-current: integer, charge will be terminated when current in
@@ -39,6 +40,9 @@ bq25890 {
3940
compatible = "ti,bq25890";
4041
reg = <0x6a>;
4142

43+
interrupt-parent = <&gpio1>;
44+
interrupts = <16 IRQ_TYPE_EDGE_FALLING>;
45+
4246
ti,battery-regulation-voltage = <4200000>;
4347
ti,charge-current = <1000000>;
4448
ti,termination-current = <50000>;

0 commit comments

Comments
 (0)