From patchwork Thu Feb 23 17:38:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Enric Balletbo i Serra X-Patchwork-Id: 9588725 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1D7BB60578 for ; Thu, 23 Feb 2017 17:40:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 10FF328522 for ; Thu, 23 Feb 2017 17:40:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 05CE8286F9; Thu, 23 Feb 2017 17:40:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C49BE28522 for ; Thu, 23 Feb 2017 17:40:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751284AbdBWRkO (ORCPT ); Thu, 23 Feb 2017 12:40:14 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:56256 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751245AbdBWRkN (ORCPT ); Thu, 23 Feb 2017 12:40:13 -0500 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id 987042660A6 From: Enric Balletbo i Serra To: Sebastian Reichel Cc: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Subject: [PATCH 2/2] dt-bindings: power/supply: Add support for xmega16d4-battery Date: Thu, 23 Feb 2017 18:38:12 +0100 Message-Id: <20170223173812.10740-2-enric.balletbo@collabora.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170223173812.10740-1-enric.balletbo@collabora.com> References: <20170223173812.10740-1-enric.balletbo@collabora.com> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- .../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>; + };