* [PATCH v1 0/1] dt-bindings: power: supply: bq27xxx: document optional interrupt @ 2025-09-09 14:34 Svyatoslav Ryhel 2025-09-09 14:34 ` [PATCH v1 1/1] " Svyatoslav Ryhel 0 siblings, 1 reply; 4+ messages in thread From: Svyatoslav Ryhel @ 2025-09-09 14:34 UTC (permalink / raw) To: Sebastian Reichel, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Pali Rohár, Andrew F. Davis, Svyatoslav Ryhel Cc: linux-pm, devicetree, linux-kernel 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. Svyatoslav Ryhel (1): dt-bindings: power: supply: bq27xxx: document optional interrupt .../bindings/power/supply/bq27xxx.yaml | 37 +++++++++++++++++-- 1 file changed, 34 insertions(+), 3 deletions(-) -- 2.48.1 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v1 1/1] dt-bindings: power: supply: bq27xxx: document optional interrupt 2025-09-09 14:34 [PATCH v1 0/1] dt-bindings: power: supply: bq27xxx: document optional interrupt Svyatoslav Ryhel @ 2025-09-09 14:34 ` Svyatoslav Ryhel 2025-09-14 22:32 ` Rob Herring (Arm) 2025-09-17 23:03 ` Sebastian Reichel 0 siblings, 2 replies; 4+ messages in thread From: Svyatoslav Ryhel @ 2025-09-09 14:34 UTC (permalink / raw) To: Sebastian Reichel, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Pali Rohár, Andrew F. Davis, Svyatoslav Ryhel Cc: linux-pm, devicetree, linux-kernel 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> --- .../bindings/power/supply/bq27xxx.yaml | 37 +++++++++++++++++-- 1 file changed, 34 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/power/supply/bq27xxx.yaml b/Documentation/devicetree/bindings/power/supply/bq27xxx.yaml index 309ea33b5b25..bc05400186cf 100644 --- a/Documentation/devicetree/bindings/power/supply/bq27xxx.yaml +++ b/Documentation/devicetree/bindings/power/supply/bq27xxx.yaml @@ -16,9 +16,6 @@ description: | Support various Texas Instruments fuel gauge devices that share similar register maps and power supply properties -allOf: - - $ref: power-supply.yaml# - properties: compatible: enum: @@ -58,6 +55,10 @@ properties: maxItems: 1 description: integer, I2C address of the fuel gauge. + interrupts: + maxItems: 1 + description: the SOC_INT or GPOUT pin + monitored-battery: description: | The fuel gauge uses the following battery properties: @@ -68,6 +69,36 @@ properties: power-supplies: true +allOf: + - $ref: power-supply.yaml# + - if: + properties: + compatible: + contains: + enum: + - ti,bq27200 + - ti,bq27210 + - ti,bq27500 # deprecated, use revision specific property below + - ti,bq27510 # deprecated, use revision specific property below + - ti,bq27520 # deprecated, use revision specific property below + - ti,bq27500-1 + - ti,bq27510g1 + - ti,bq27510g2 + - ti,bq27521 + - ti,bq27541 + - ti,bq27542 + - ti,bq27546 + - ti,bq27742 + - ti,bq27545 + - ti,bq27411 + - ti,bq27z561 + - ti,bq28z610 + - ti,bq34z100 + - ti,bq78z100 + then: + properties: + interrupts: false + required: - compatible - reg -- 2.48.1 ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v1 1/1] dt-bindings: power: supply: bq27xxx: document optional interrupt 2025-09-09 14:34 ` [PATCH v1 1/1] " Svyatoslav Ryhel @ 2025-09-14 22:32 ` Rob Herring (Arm) 2025-09-17 23:03 ` Sebastian Reichel 1 sibling, 0 replies; 4+ messages in thread From: Rob Herring (Arm) @ 2025-09-14 22:32 UTC (permalink / raw) To: Svyatoslav Ryhel Cc: Conor Dooley, Pali Rohár, linux-pm, devicetree, linux-kernel, Andrew F. Davis, Krzysztof Kozlowski, Sebastian Reichel On Tue, 09 Sep 2025 17:34:32 +0300, Svyatoslav Ryhel wrote: > 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> > --- > .../bindings/power/supply/bq27xxx.yaml | 37 +++++++++++++++++-- > 1 file changed, 34 insertions(+), 3 deletions(-) > Reviewed-by: Rob Herring (Arm) <robh@kernel.org> ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v1 1/1] dt-bindings: power: supply: bq27xxx: document optional interrupt 2025-09-09 14:34 ` [PATCH v1 1/1] " Svyatoslav Ryhel 2025-09-14 22:32 ` Rob Herring (Arm) @ 2025-09-17 23:03 ` Sebastian Reichel 1 sibling, 0 replies; 4+ messages in thread From: Sebastian Reichel @ 2025-09-17 23:03 UTC (permalink / raw) To: Sebastian Reichel, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Pali Rohár, Andrew F. Davis, Svyatoslav Ryhel Cc: linux-pm, devicetree, linux-kernel On Tue, 09 Sep 2025 17:34:32 +0300, Svyatoslav Ryhel wrote: > 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. > > Applied, thanks! [1/1] dt-bindings: power: supply: bq27xxx: document optional interrupt commit: b4f7a727c29cd1fa6149a81f16408ee7c1f7de0c Best regards, -- Sebastian Reichel <sebastian.reichel@collabora.com> ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-09-17 23:03 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2025-09-09 14:34 [PATCH v1 0/1] dt-bindings: power: supply: bq27xxx: document optional interrupt Svyatoslav Ryhel 2025-09-09 14:34 ` [PATCH v1 1/1] " Svyatoslav Ryhel 2025-09-14 22:32 ` Rob Herring (Arm) 2025-09-17 23:03 ` Sebastian Reichel
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®