From: heiko@sntech.de (Heiko Stuebner)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/4] ARM: dts: Add sbs-battery dts fragment used by chromebooks
Date: Sat, 11 Jul 2015 02:29:19 +0200 [thread overview]
Message-ID: <1436574562-16308-2-git-send-email-heiko@sntech.de> (raw)
In-Reply-To: <1436574562-16308-1-git-send-email-heiko@sntech.de>
From: Chris Zhong <zyw@rock-chips.com>
This patch creates a sbs-battery fragment for batteries connected
to the i2c tunnel of the cros-ec embedded controller.
Signed-off-by: Chris Zhong <zyw@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
---
arch/arm/boot/dts/cros-ec-sbs.dtsi | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 arch/arm/boot/dts/cros-ec-sbs.dtsi
diff --git a/arch/arm/boot/dts/cros-ec-sbs.dtsi b/arch/arm/boot/dts/cros-ec-sbs.dtsi
new file mode 100644
index 0000000..b76afe2
--- /dev/null
+++ b/arch/arm/boot/dts/cros-ec-sbs.dtsi
@@ -0,0 +1,18 @@
+/*
+ * Smart battery dts fragment for devices that use cros-ec-sbs
+ *
+ * Copyright (c) 2015 Google, Inc
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+&i2c_tunnel {
+ battery: sbs-battery at b {
+ compatible = "sbs,sbs-battery";
+ reg = <0xb>;
+ sbs,i2c-retry-count = <2>;
+ sbs,poll-retry-count = <1>;
+ };
+};
--
2.1.4
next prev parent reply other threads:[~2015-07-11 0:29 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-11 0:29 [PATCH 0/4] ARM: dts: rockchip: add initial support for rk3288 Chrome-devices Heiko Stuebner
2015-07-11 0:29 ` Heiko Stuebner [this message]
2015-07-15 11:30 ` [PATCH v1.1 1/4] ARM: dts: Add sbs-battery dts fragment used by chromebooks Heiko Stübner
2015-07-15 13:34 ` Doug Anderson
2015-07-11 0:29 ` [PATCH 2/4] ARM: dts: rockchip: add shared rk3288-veyron files Heiko Stuebner
2015-07-15 21:28 ` Doug Anderson
2015-07-11 0:29 ` [PATCH 3/4] ARM: dts: rockchip: add veyron-jerry board Heiko Stuebner
2015-07-15 21:28 ` Doug Anderson
2015-07-11 0:29 ` [PATCH 4/4] ARM: dts: rockchip: add Pinky board Heiko Stuebner
2015-07-16 12:22 ` [PATCH 0/4] ARM: dts: rockchip: add initial support for rk3288 Chrome-devices Heiko Stübner
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=1436574562-16308-2-git-send-email-heiko@sntech.de \
--to=heiko@sntech.de \
--cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).