Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1723989 > unrolled thread
| Started by | "H. Nikolaus Schaller" <hns@goldelico.com> |
|---|---|
| First post | 2017-08-31 10:30 +0200 |
| Last post | 2017-08-31 10:30 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH v3 3/4] DT: OpenPandora: add battery node to describe OpenPandora battery "H. Nikolaus Schaller" <hns@goldelico.com> - 2017-08-31 10:30 +0200
| From | "H. Nikolaus Schaller" <hns@goldelico.com> |
|---|---|
| Date | 2017-08-31 10:30 +0200 |
| Subject | [PATCH v3 3/4] DT: OpenPandora: add battery node to describe OpenPandora battery |
| Message-ID | <ukt1n-3fk-13@gated-at.bofh.it> |
Add DT node to describe the standard OpenPandora battery PB-4000-001
so that its properties can be used by the fuel gauge driver.
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
---
arch/arm/boot/dts/omap3-pandora-common.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/omap3-pandora-common.dtsi b/arch/arm/boot/dts/omap3-pandora-common.dtsi
index 582e1fe25602..154865289dba 100644
--- a/arch/arm/boot/dts/omap3-pandora-common.dtsi
+++ b/arch/arm/boot/dts/omap3-pandora-common.dtsi
@@ -273,6 +273,14 @@
enable-active-high;
gpio = <&twl_gpio 13 GPIO_ACTIVE_HIGH>;
};
+
+ /* standard OpenPandora battery (PB-4000-001) */
+ bat: battery {
+ compatible = "simple-battery", "openpandora-battery";
+ voltage-min-design-microvolt = <3200000>;
+ energy-full-design-microwatt-hours = <14800000>;
+ charge-full-design-microamp-hours = <4000000>;
+ };
};
&omap3_pmx_core {
--
2.12.2
Back to top | Article view | linux.kernel
csiph-web