From patchwork Tue Jan 9 09:33:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quentin Schulz X-Patchwork-Id: 123825 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp3802226qgn; Tue, 9 Jan 2018 01:35:31 -0800 (PST) X-Google-Smtp-Source: ACJfBoumkoT6lCb1/I23X6E1u4/z0MCCMJF4LweAbbIqr7zzgBks4POxbtF1/iIkct8CaRXTMIOU X-Received: by 10.98.110.199 with SMTP id j190mr4247917pfc.147.1515490530910; Tue, 09 Jan 2018 01:35:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1515490530; cv=none; d=google.com; s=arc-20160816; b=ocRW7kZwo31OXoIjBEb91jmTGtXpMpsx5DLxxomCTByTfsRWrrEgUw8oHP8Rb4LnR/ v9T7YdKGoP2UI40Y8a373STWIEC7vfGGX47gWIxN5D5lFaTXedyM2it4YnUeQftCNaS3 dJJLS9aBjGRaRjDYr0xkPvLIZ/nKqUNO7urGkEMQk68Qn6Y/yrEKYNDhvEXlj1qoRczo sLo88PTdL0MOsDwMONyrrON95HPEs15s3nUn8ApABhKh6hNSh0eI2fdphKcdXUvI4PpK HLAp5aT2yIqR9a0CTr1KmAD5fyqGWvGXxb5Gl2tF1G75BviIIHAFxcQv9dRPy1TG4d+v D7Xw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=Gpz2DPT+phbB12RePjs9P/Huq+oVD9CldavofuPof1U=; b=D68E8UyuUNaJjXgMVwL4WnJ0sYkPv+L6PcsSZAQLeIeA16GXzcq19SiNzk0Msu4rtJ mmXRKuKqPYHbVM+bNdik6M21nnFJbexBQoWg58xHCav9Dd69UCQu9deMIXIbU/Otiq5h bpWMEWWY8m9VoMf++iWhkLl3UP2jmeoxtt9meGmx9hAmlKNs1gawgoNBwdRJAjxJ1TN+ E2NAKgkAW7+ROqLbJeS6YI+ZItDtr/gnWRMpw5lXSqROz4IORiAh/XCOxF0E3eiW8rqO 6zwxHLIR9k+u7NlhqJjfenk2D0O1Dg0NqWSdMugtSj2Ln5/8nzUmJGhP3RKNxydnZgdW 1WCQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r74si945985pfg.270.2018.01.09.01.35.30; Tue, 09 Jan 2018 01:35:30 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752978AbeAIJf2 (ORCPT + 28 others); Tue, 9 Jan 2018 04:35:28 -0500 Received: from mail.free-electrons.com ([62.4.15.54]:45815 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752636AbeAIJfM (ORCPT ); Tue, 9 Jan 2018 04:35:12 -0500 Received: by mail.free-electrons.com (Postfix, from userid 110) id 7C7B720A05; Tue, 9 Jan 2018 10:35:10 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.free-electrons.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost.localdomain (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.free-electrons.com (Postfix) with ESMTPSA id 3DE0F2091C; Tue, 9 Jan 2018 10:34:53 +0100 (CET) From: Quentin Schulz To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, robh+dt@kernel.org, mark.rutland@arm.com, wens@csie.org, sre@kernel.org, linux@armlinux.org.uk, maxime.ripard@free-electrons.com, lee.jones@linaro.org Cc: linux-iio@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, thomas.petazzoni@free-electrons.com, linux-sunxi@googlegroups.com, Quentin Schulz Subject: [PATCH v2 12/16] dt-bindings: power: supply: axp20x: add AXP813 battery DT binding Date: Tue, 9 Jan 2018 10:33:43 +0100 Message-Id: <538e93d723d7755928ad118564a571371cb337b6.1515486346.git-series.quentin.schulz@free-electrons.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The AXP813 can have a battery as power supply, so let's add it to the list of compatibles. Signed-off-by: Quentin Schulz --- Documentation/devicetree/bindings/power/supply/axp20x_battery.txt | 8 +++---- 1 file changed, 4 insertions(+), 4 deletions(-) -- git-series 0.9.1 diff --git a/Documentation/devicetree/bindings/power/supply/axp20x_battery.txt b/Documentation/devicetree/bindings/power/supply/axp20x_battery.txt index c248866..4614c8e 100644 --- a/Documentation/devicetree/bindings/power/supply/axp20x_battery.txt +++ b/Documentation/devicetree/bindings/power/supply/axp20x_battery.txt @@ -4,12 +4,12 @@ Required Properties: - compatible, one of: "x-powers,axp209-battery-power-supply" "x-powers,axp221-battery-power-supply" + "x-powers,axp813-battery-power-supply" -This node is a subnode of the axp20x/axp22x PMIC. +This node is a subnode of the axp20x/axp22x/axp81x PMIC. -The AXP20X and AXP22X can read the battery voltage, charge and discharge -currents of the battery by reading ADC channels from the AXP20X/AXP22X -ADC. +The AXP20X, AXP22X and AXP81X can read the battery voltage, charge and +discharge currents of the battery by reading ADC channels from the ADC. Example: