Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: power: supply: bq27xxx: document optional interrupt

Document an optional interrupt found in some controllers of BQ27xxx
series. The pin to which the interrupt is connected is called SOC_INT or
GPOUT.

Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>

authored by

Svyatoslav Ryhel and committed by
Sebastian Reichel
b4f7a727 b8cac8c9

+34 -3
+34 -3
Documentation/devicetree/bindings/power/supply/bq27xxx.yaml
··· 16 16 Support various Texas Instruments fuel gauge devices that share similar 17 17 register maps and power supply properties 18 18 19 - allOf: 20 - - $ref: power-supply.yaml# 21 - 22 19 properties: 23 20 compatible: 24 21 enum: ··· 55 58 maxItems: 1 56 59 description: integer, I2C address of the fuel gauge. 57 60 61 + interrupts: 62 + maxItems: 1 63 + description: the SOC_INT or GPOUT pin 64 + 58 65 monitored-battery: 59 66 description: | 60 67 The fuel gauge uses the following battery properties: ··· 68 67 Both or neither of the *-full-design-*-hours properties must be set. 69 68 70 69 power-supplies: true 70 + 71 + allOf: 72 + - $ref: power-supply.yaml# 73 + - if: 74 + properties: 75 + compatible: 76 + contains: 77 + enum: 78 + - ti,bq27200 79 + - ti,bq27210 80 + - ti,bq27500 # deprecated, use revision specific property below 81 + - ti,bq27510 # deprecated, use revision specific property below 82 + - ti,bq27520 # deprecated, use revision specific property below 83 + - ti,bq27500-1 84 + - ti,bq27510g1 85 + - ti,bq27510g2 86 + - ti,bq27521 87 + - ti,bq27541 88 + - ti,bq27542 89 + - ti,bq27546 90 + - ti,bq27742 91 + - ti,bq27545 92 + - ti,bq27411 93 + - ti,bq27z561 94 + - ti,bq28z610 95 + - ti,bq34z100 96 + - ti,bq78z100 97 + then: 98 + properties: 99 + interrupts: false 71 100 72 101 required: 73 102 - compatible