From patchwork Tue Oct 23 18:53:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Oskari_Lemmel=C3=A4?= X-Patchwork-Id: 10653581 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DACDF14BD for ; Tue, 23 Oct 2018 19:49:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C3D6D29CE6 for ; Tue, 23 Oct 2018 19:49:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B12342A21C; Tue, 23 Oct 2018 19:49:22 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 2E27029CE6 for ; Tue, 23 Oct 2018 19:49:22 +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=rrs3d8TB4Cydo3PYt89hdp04GOqC0bRHk49vsy5ZGic=; b=ToqAG5BS7ptJ5uxgBcmk422xYa LzOBL6r++G79lQcKwEuKqoSzr7LElgYqodtnbGRx0q1FoDrfmS0Ry2Y9D4HKuPvWtFJ1xz3Ku/F+E kiVFeAaOFjs18n5u3zWUCdBL87wOWcwPn3Pnr2jvFenrXHuY9tESMuQyzYvVIT3TauonNsvpwrKE+ rISv88hJ9XCMOjotRtZ8Z/HZaJBG+d8KQun1d5kQD7/mQaF6ugzwbc31KdI3RwLrs2iQARSHTrgQv UZ/KaZeM8s2WZDb7jTDf1ykP7gxpaIQ7rznJaUlGwe+mw6XI5iP/M85M63fxN9b4ZbbaRerleH5WQ 72+JLeDQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gF2fv-0007BN-2S; Tue, 23 Oct 2018 19:49:11 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gF2dm-0006HC-UH for linux-arm-kernel@bombadil.infradead.org; Tue, 23 Oct 2018 19:46:58 +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=byKC5Md4iSp3SA49a9Frt0juPdQYHro4Ev2U7KpPzwc=; b=Yqhd1AGm9CTtDHi0yiIVUU4eG VMbocnfO2S7CzNNnFY0kw5Vx5BnKL/UFjPYhYc90ipV56eMroeSMk98pPTXnKvZIBmHY1Vp9Zoq+g fGyLOOpP5ynzRFTWWjil1XC+IMx1mksUYUiPg1r5hrpGVOnyWYRdRTAWby+ygZUyRdm/m2xoGujhs aAPxWKDDPoFJl57DKeeUAT+HxmKkbHsOrUusK6rJ9Htoh6c8sL+BLPRG5BQj7lmTuNWNI5g4Nlel5 lwCPacyaGGs9oyw0/dSIb/1naAwAU/KaoltNGmEuZwqRLOppWcVksfOEhWgiTGLiP2Qg8AU7VcyMo ykjj73oVg==; Received: from mail1.kuutio.org ([92.222.216.83]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gF1p2-0003or-4b for linux-arm-kernel@lists.infradead.org; Tue, 23 Oct 2018 18:54:33 +0000 Received: from localhost (localhost [127.0.0.1]) by mail1.kuutio.org (Postfix) with ESMTP id E31851FBEB; Tue, 23 Oct 2018 20:54:12 +0200 (CEST) Authentication-Results: mail1.kuutio.org (amavisd-new); dkim=pass (4096-bit key) reason="pass (just generated, assumed good)" header.d=lemmela.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lemmela.net; h= references:in-reply-to:x-mailer:message-id:date:date:subject :subject:from:from:received:received; s=dkim; t=1540320852; x= 1542912853; bh=cfMh6AcbyeWrvCk50dMKmOhXsNrpnTzv4+nFyu7Nu5E=; b=W Cibitt6zlC4OB8+O9kddsX3fIZQn0ZkTW2hizSrpeCerh6u74dU3vgdk9pqU2RTz bYRyjZCyH6i4jD5xpn+KAAAAw1w/iDokfMizwIj6OeLzYJKPwYcaO9WYleCDqY6D KbQoiMdZTX9U9zKTcT28X64IbUqqWlCEu9BXEjAjOr8bteCLTBKN6P1cf/XUyQbg yLYnodQ0yrjM/V73fNft/neS9Fke35qe299EXkKFcOcpPbvUVUf7dmUgmQeZYWqQ /UFd4zTIEMDbcaZtcOq7YFOWmiItJN5mg88kEUdLVuvIyXO5zbPAvhtLpNrdVjpt DNvwcDNdUhYHbzbG1TqS2Al3i3oIYdWJkBvFEiY9MVGwzcVNjnHgfDuba5Xu76By nKfk1bd7ZDhXfALZCxX42zpK46WtBbQfAuWFNV90Jx5iw1LQZ8KNdbvZmmavjaE9 d3C1AE6Av45hgGnpSxenE0E3ITBbV+Zz0eQAPzUd4wSBlmTi3ZZuu8miQ3VpxSrJ NWH+qUs4EyxgkTH7LCJW/WBjFyLwTseMokUujBc3rn1OmeQuGlJY3jCsTVB2nSQO aDFJc5zll+c3bAlHHSitM9p9/f4ywH9xNu7TV7ixCbbcxcFYeZWYCyglxdjtsZyS AV3az2tNJOuTASwsl6evEM0BLwVMPecdkezcy63j90= X-Virus-Scanned: amavisd-new at kuutio.org Received: from mail1.kuutio.org ([127.0.0.1]) by localhost (mail1.kuutio.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id EC5jHfqoXKP7; Tue, 23 Oct 2018 20:54:12 +0200 (CEST) Received: from build.kuutio.org (unknown [IPv6:2001:998:13:e4::69]) by mail1.kuutio.org (Postfix) with ESMTPSA id 49A881FBE9; Tue, 23 Oct 2018 20:54:11 +0200 (CEST) From: Oskari Lemmela To: Linus Walleij , Sebastian Reichel , Rob Herring , Mark Rutland , Chen-Yu Tsai , Maxime Ripard , Jonathan Cameron Subject: [PATCH v5 10/11] mfd: axp20x: Add AC power supply cell for AXP813 Date: Tue, 23 Oct 2018 21:53:29 +0300 Message-Id: <20181023185330.10472-11-oskari@lemmela.net> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181023185330.10472-1-oskari@lemmela.net> References: <20181023185330.10472-1-oskari@lemmela.net> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181023_145432_337807_7DA8BF38 X-CRM114-Status: GOOD ( 10.56 ) 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: devicetree@vger.kernel.org, Lars-Peter Clausen , linux-pm@vger.kernel.org, linux-iio@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Vasily Khoruzhick , Quentin Schulz , Oskari Lemmela , Hartmut Knaack , Lee Jones , linux-arm-kernel@lists.infradead.org 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-ac-power-supply now supports AXP813, add a cell for it. Signed-off-by: Oskari Lemmela Reviewed-by: Quentin Schulz Reviewed-by: Chen-Yu Tsai Tested-by: Vasily Khoruzhick --- drivers/mfd/axp20x.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c index 0be511dd93d0..dfc3cff1d08b 100644 --- a/drivers/mfd/axp20x.c +++ b/drivers/mfd/axp20x.c @@ -778,6 +778,11 @@ static const struct mfd_cell axp813_cells[] = { }, { .name = "axp20x-battery-power-supply", .of_compatible = "x-powers,axp813-battery-power-supply", + }, { + .name = "axp20x-ac-power-supply", + .of_compatible = "x-powers,axp813-ac-power-supply", + .num_resources = ARRAY_SIZE(axp20x_ac_power_supply_resources), + .resources = axp20x_ac_power_supply_resources, }, };