From patchwork Mon Dec 4 14:12:50 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quentin Schulz X-Patchwork-Id: 10090495 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 5450D60327 for ; Mon, 4 Dec 2017 14:21:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2EE07288BB for ; Mon, 4 Dec 2017 14:21:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2D90028B0A; Mon, 4 Dec 2017 14:21:39 +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=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9178629443 for ; Mon, 4 Dec 2017 14:21:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=a5aqiVDDe7rTWX/t02hbMDtwkUsWQiAl1JO8+ifKEC4=; b=EEkGhW6EoWsW4E+OZ7S5s9dJ1F q1v8wjRpZxaMOkEguiLZL00M1NaJvj2+u4j60lOWQPT5Yp/YfZJiKqGDkkNO5bIhK4u71WJKpU8Ha Wxi48FngYXhpu40ubEMclCwmG67/WDYGZYrViupgB833OU41mNFjmlaYdxUuymASqCJ41H4mfyi6/ ysY6DS7L6SrCERRNRGH5Pr21kW7yiDqj+HqEAfF9nBOrJuXRNQJBh6Be1tsiHKpY3iWTnleg27VNM SD1Aje1QqnhdfR8PZh67zynzAAc1OTF5yyFJ7SiTQcCZ2sMmSxK5RPMAavNvz99I+Pk2RcErYNlbs X1DFjCcg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eLrcG-000638-0F; Mon, 04 Dec 2017 14:21:04 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eLrcD-0005v8-Tq for linux-arm-kernel@bombadil.infradead.org; Mon, 04 Dec 2017 14:21:02 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Gpz2DPT+phbB12RePjs9P/Huq+oVD9CldavofuPof1U=; b=ufVI9KZJVFQiRvhYhRxOL0LPj 35uOI99PvJB7bS1Hs5JMITryhVMv+g4vu+wi82seqvdnB7CzZxXkByqq1M63wR0UjE9gVtMlreKrr +admueX3ldMS0h/8C1oNTsz6jROes6sc7Ya5RloM2Grc+WWDBqdUJNYdPF+GEUELKu85f0ky2ogn4 FLJFrd64UuDLGR/0If16aXtxLvUcmXlpT1sUF840ZwvaAThWpgCvD6LEfat33Ix/K6RqCMI/y+74v CQAy2eUwuTGI2q8898dH2xfM5VxosDDHizFRJ+ujteXvkJ66QSz6jADMTz09ksnh4XhosCLP2cUYC jjfzGZWuA==; Received: from mail.free-electrons.com ([62.4.15.54]) by casper.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eLrWo-00039j-AY for linux-arm-kernel@lists.infradead.org; Mon, 04 Dec 2017 14:15:27 +0000 Received: by mail.free-electrons.com (Postfix, from userid 110) id 2600020810; Mon, 4 Dec 2017 15:15:06 +0100 (CET) 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 78FE120989; Mon, 4 Dec 2017 15:14:51 +0100 (CET) From: Quentin Schulz To: sre@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, wens@csie.org, linux@armlinux.org.uk, maxime.ripard@free-electrons.com, jic23@kernel.org, lee.jones@linaro.org Subject: [PATCH 4/8] dt-bindings: power: supply: axp20x: add AXP813 battery DT binding Date: Mon, 4 Dec 2017 15:12:50 +0100 Message-Id: X-Mailer: git-send-email 2.14.1 In-Reply-To: References: In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171204_141526_374603_01469969 X-CRM114-Status: GOOD ( 10.93 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: thomas.petazzoni@free-electrons.com, devicetree@vger.kernel.org, lars@metafoo.de, linux-pm@vger.kernel.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Quentin Schulz , linux-sunxi@googlegroups.com, pmeerw@pmeerw.net, knaack.h@gmx.de, linux-arm-kernel@lists.infradead.org, icenowy@aosc.io MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The AXP813 can have a battery as power supply, so let's add it to the list of compatibles. Signed-off-by: Quentin Schulz Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/power/supply/axp20x_battery.txt | 8 +++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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: