From patchwork Fri Dec 23 00:05:07 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: chris@lapa.com.au X-Patchwork-Id: 9486985 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 B7ACA62AAC for ; Fri, 23 Dec 2016 00:06:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AAB31282E2 for ; Fri, 23 Dec 2016 00:06:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9FAD2283FB; Fri, 23 Dec 2016 00:06:24 +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.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham 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 88ED1283F3 for ; Fri, 23 Dec 2016 00:06:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S942054AbcLWAGE (ORCPT ); Thu, 22 Dec 2016 19:06:04 -0500 Received: from mail-pg0-f68.google.com ([74.125.83.68]:34298 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S942099AbcLWAFt (ORCPT ); Thu, 22 Dec 2016 19:05:49 -0500 Received: by mail-pg0-f68.google.com with SMTP id b1so21669821pgc.1 for ; Thu, 22 Dec 2016 16:05:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lapa-com-au.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=hgX7xvb1fhrdGGVCPYYODo8yjojQP/LSfBLiMm8/RS8=; b=gIHWfZ2KhFR1/0wf+ldIo6cwPaGhx/7IgmY0BFc8+dTwKMrIJ1WjpptWac3dbilM2A ozpWrKFiYRhB2OjQ1MnT7PqL7bKkXVOozC5QgHEhuwplbFK0wuHuOug8a5EuO8epfRSR 9VrHCmBYnV+QvUqBK5o7cx//Pg7tTw3AAPu7+e9WbMvrxhdvtIwYRFBrdkltfY16rmcV vvPSH0P+8kLliX+Rfvn4ee9EkB51pwWFiAfFnk46Lo1/pbrsEAUUgbkOYFTaIwU4M6Xy ZHoPmoDa9Lq6E3zGbdMT9jK/VHRJa10iX2NajOvMMqxyCPpQCyGa4heOY2hd7lze+tPn 5gUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=hgX7xvb1fhrdGGVCPYYODo8yjojQP/LSfBLiMm8/RS8=; b=ZBDsxthZDTO0XBA8grvF++ELNW4amq6e82Mh7x4yB3UbOAzar7FmIMh0laOBfwcMBf EEF3H+arWZoEA+Nj7wMnuSC1vLvWBCXOM/gWvsrsqxL0HVyIRxrO0cBrY3zxiAo+SVWt BieubexMafSEKjOndnFUH55wh5Vlxqp2vQLLlvzp+eP+dNFFgFL9oUCmHXRO9Lrdl+27 fgBTaMC1Lz1F5BQuv/E9yF94WZZUH9GcyK+00Tj1o0x6SV4Krn0qK1JjJRXSHv1AhRhJ l+gQd8IZdWXlvkP7QGOx18eqUZl9mgS5vdQSTL1S06aQVN9oKVTplb4iNORGUkxCdh1b YdCg== X-Gm-Message-State: AIkVDXIAfxUnl4btvMivSS7aF09pO67rs2Ir3G9xaX8d2sgQZceh9Z+t0MdNGVaiz/e8qQ== X-Received: by 10.84.241.129 with SMTP id b1mr7910747pll.135.1482451549004; Thu, 22 Dec 2016 16:05:49 -0800 (PST) Received: from generaldeb-vm.management.cpd (163.164.70.115.static.exetel.com.au. [115.70.164.163]) by smtp.gmail.com with ESMTPSA id y6sm57688866pge.16.2016.12.22.16.05.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 22 Dec 2016 16:05:48 -0800 (PST) From: Chris Lapa X-Google-Original-From: Chris Lapa To: pali.rohar@gmail.com, afd@ti.com, sre@kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Chris Lapa Subject: [PATCH v2 11/11] power: supplies: bq275xx: adds device tree binding documentation. Date: Fri, 23 Dec 2016 11:05:07 +1100 Message-Id: <1482451507-37676-12-git-send-email-chris@lapa.com.au> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1482451507-37676-1-git-send-email-chris@lapa.com.au> References: <1482369743-79764-1-git-send-email-chris@lapa.com.au> <1482451507-37676-1-git-send-email-chris@lapa.com.au> 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 From: Chris Lapa The bq275xx binding is a standard i2c style binding, however the deprecated compatible fields and different revisions warrant its own documentation. Signed-off-by: Chris Lapa --- .../devicetree/bindings/power/supply/bq275xx.txt | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/supply/bq275xx.txt diff --git a/Documentation/devicetree/bindings/power/supply/bq275xx.txt b/Documentation/devicetree/bindings/power/supply/bq275xx.txt new file mode 100644 index 0000000..8f4f759 --- /dev/null +++ b/Documentation/devicetree/bindings/power/supply/bq275xx.txt @@ -0,0 +1,27 @@ +binding for BQ275XX fuel gauge family + +Supports revisions listed below in the BQ275XX family of fuel gauges. +Each revision is slightly different enough to warrant separate +comapatible fields. + +Required properties: +- compatible: + * "ti,bq27500" - deprecated + * "ti,bq27510" - deprecated + * "ti,bq27520" - deprecated + * "ti,bq27500-1" - BQ27500/1 + * "ti,bq27510g1" - BQ27510-g1 + * "ti,bq27510g2" - BQ27510-g2 + * "ti,bq27510g3" - BQ27510-g3 + * "ti,bq27520g1" - BQ27520-g1 + * "ti,bq27520g2" - BQ27520-g2 + * "ti,bq27520g3" - BQ27520-g3 + * "ti,bq27520g4" - BQ27520-g4 +- reg: The 7-bit I2C address. + +Example: + + fuelgauge: bq27510g3@55 { + compatible = "ti,bq27510g3"; + reg = <0x55>; + };