lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 23 Feb 2017 18:38:12 +0100
From:   Enric Balletbo i Serra <enric.balletbo@...labora.com>
To:     Sebastian Reichel <sre@...nel.org>
Cc:     linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org
Subject: [PATCH 2/2] dt-bindings: power/supply: Add support for xmega16d4-battery

Add the documentation for binding of Toby Churchill SBS battery monitor
driver. The device is connected via SPI and is able to report different
battery characteristics.

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@...labora.com>
---
 .../devicetree/bindings/power/supply/xmega16d4-battery.txt   | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/power/supply/xmega16d4-battery.txt

diff --git a/Documentation/devicetree/bindings/power/supply/xmega16d4-battery.txt b/Documentation/devicetree/bindings/power/supply/xmega16d4-battery.txt
new file mode 100644
index 0000000..c76db67
--- /dev/null
+++ b/Documentation/devicetree/bindings/power/supply/xmega16d4-battery.txt
@@ -0,0 +1,12 @@
+Binding for the Toby Churchill SBS battery monitor
+
+Required properties :
+ - compatible : "tcl,xmega16d4-battery"
+
+Example:
+
+	battery: smart-battery@0 {
+		compatible = "tcl,xmega16d4-battery";
+		reg = <0>;
+		spi-max-frequency = <100000>;
+	};
-- 
2.9.3

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ