From patchwork Mon Dec 4 14:12:52 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quentin Schulz X-Patchwork-Id: 10090565 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 D85C160329 for ; Mon, 4 Dec 2017 14:49:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DDEC728DBD for ; Mon, 4 Dec 2017 14:49:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D0C3628DC1; Mon, 4 Dec 2017 14:49:30 +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 9107A28DBD for ; Mon, 4 Dec 2017 14:49:30 +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=DLVwOy69pD934GvtLTgN37bzY+kDB7K2qXDCMobAFdo=; b=HAn0Ca/hiDQTYPug8m4dB1T26d gQKjf4Ly8BGJ7ZBZMX1YJWBMvvledSXuNXGEQDptzfsGcdBDJ4WwjR/pj7r4mGb0BftB4Gs0El8ga Y+mcZAphFW1iyefth6SeX78lCuMhATzdQwPE0c9DeQdH3CX8shqJLRoWorvx+sVR9MjgiYp5D965K wXPBGcBEmhc4z9wTn11wQWoH0+QKxzdGOKzFonfOSqNjtLA7YZF8Z8RuCDGhYlFWzL7nDo6o6s3vy oLwn1eqMrVNW+vCzCNgx4cvQQ//f+Ked8q9GpWugcAtE8PEe6LmzmHIMYnXDT7lKtm3OAFPUO9T7N gcB5Gb9A==; 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 1eLs3i-0006rf-Q5; Mon, 04 Dec 2017 14:49:26 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eLrpI-0005oP-4l for linux-arm-kernel@bombadil.infradead.org; Mon, 04 Dec 2017 14:34:32 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.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=31JT3VdRE8RrZSiaVAHqfM9dNzf0mPRcjIYrYzWZ5a4=; b=sPLrh2ln+vLKdx7YHyEo3wIX4 vrvHWBeqJlFz2wUgkG7KgLcH5ilvx6ifpQ2FZX1NhtzlGRZEfdpusPOsG9LYLBmB87vcmnXVxeaAe DfvxaaajnXeRRn2xG5pPzKKf3D6BWPc9sDDWwiIGPABnVTUv3Yh5Y4b/xth+XIuJFc1jK5ZQOYgLy GvDG1EbghilVTtDsKs6Jq9qrPCi9dQVtpabT8mrXEytiaT4OtiPgvzjktw+Z0lbhlmOOzfjKWsXQX xvKuPxZKy68Su6ursxa3oV4PvDBTH3mhBrYgjH8eE45dmVaZPV/BP2/2fdpGfHJ8CbmuXX75nRzqg AIx3UOPEw==; Received: from mail.free-electrons.com ([62.4.15.54]) by merlin.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eLrX6-0001Sb-3f for linux-arm-kernel@lists.infradead.org; Mon, 04 Dec 2017 14:15:44 +0000 Received: by mail.free-electrons.com (Postfix, from userid 110) id AD83820C9A; 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 476932099A; Mon, 4 Dec 2017 15:14:52 +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 6/8] mfd: axp20x: add battery power supply cell for AXP813 Date: Mon, 4 Dec 2017 15:12:52 +0100 Message-Id: <9b5e9ed623165d0586f086343a7c67bc5c18bbb5.1512396054.git-series.quentin.schulz@free-electrons.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: References: In-Reply-To: References: 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 As axp20x-battery-power-supply now supports AXP813, add a cell for it. Signed-off-by: Quentin Schulz --- drivers/mfd/axp20x.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c index 42e54d1..7566358 100644 --- a/drivers/mfd/axp20x.c +++ b/drivers/mfd/axp20x.c @@ -880,6 +880,9 @@ static struct mfd_cell axp813_cells[] = { .name = "axp20x-regulator", }, { .name = "axp813-adc", + }, { + .name = "axp20x-battery-power-supply", + .of_compatible = "x-powers,axp813-battery-power-supply", }, };