From: Dan Murphy <dmurphy@ti.com>
To: <sre@kernel.org>
Cc: <linux-pm@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
Dan Murphy <dmurphy@ti.com>, Rob Herring <robh@kernel.org>
Subject: [PATCH 1/2] dt-bindings: power: Add the BQ27561 fuel gauge bindings
Date: Fri, 17 Apr 2020 12:22:26 -0500 [thread overview]
Message-ID: <20200417172227.28075-1-dmurphy@ti.com> (raw)
Introduce the Texas Instrument BQ27561 and BQ27750 fuel gauge device
tree bindings.
Cc: Rob Herring <robh@kernel.org>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
---
.../bindings/power/supply/bq27561.yaml | 46 +++++++++++++++++++
1 file changed, 46 insertions(+)
create mode 100644 Documentation/devicetree/bindings/power/supply/bq27561.yaml
diff --git a/Documentation/devicetree/bindings/power/supply/bq27561.yaml b/Documentation/devicetree/bindings/power/supply/bq27561.yaml
new file mode 100644
index 000000000000..abc9acdbc704
--- /dev/null
+++ b/Documentation/devicetree/bindings/power/supply/bq27561.yaml
@@ -0,0 +1,46 @@
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (C) 2020 Texas Instruments Incorporated
+%YAML 1.2
+---
+$id: "http://devicetree.org/schemas/power/supply/bq27561.yaml#"
+$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+
+title: TI BQ27561 and BQ27750 Fuel Gauges
+
+maintainers:
+ - Dan Murphy <dmurphy@ti.com>
+
+description: |
+ The bq27z561 device provides a feature-rich gas gauging solution for
+ single-cell battery pack applications.
+
+ Specifications about the charger can be found at:
+ https://www.ti.com/lit/gpn/bq27z561
+ https://www.ti.com/lit/gpn/bq27750
+
+properties:
+ compatible:
+ enum:
+ - ti,bq27561
+ - ti,bq27750
+
+ reg:
+ maxItems: 1
+ description: |
+ I2C address of the device which is 0x55
+
+required:
+ - compatible
+ - reg
+additionalProperties: false
+
+examples:
+ - |
+ i2c0 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ fuel_gauge@55 {
+ compatible = "ti,bq27561";
+ reg = <0x55>;
+ };
+ };
--
2.25.1
next reply other threads:[~2020-04-17 17:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-17 17:22 Dan Murphy [this message]
2020-04-17 17:22 ` [PATCH 2/2] power: supply: Introduce the BQ27561 Fuel gauge driver Dan Murphy
2020-04-29 22:05 ` Sebastian Reichel
2020-04-30 12:43 ` Dan Murphy
2020-04-29 22:31 ` [PATCH 1/2] dt-bindings: power: Add the BQ27561 fuel gauge bindings Sebastian Reichel
2020-04-30 12:44 ` Dan Murphy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200417172227.28075-1-dmurphy@ti.com \
--to=dmurphy@ti.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=robh@kernel.org \
--cc=sre@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome