From patchwork Mon Oct 8 18:19:07 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: 10631273 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 B288314BD for ; Mon, 8 Oct 2018 18:31:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A3D2729733 for ; Mon, 8 Oct 2018 18:31:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 95C922977A; Mon, 8 Oct 2018 18:31:37 +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 2281A29733 for ; Mon, 8 Oct 2018 18:31:37 +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=9JhRiqPFSbphUmYrA5scrm3m1eVhwGnSjq3SkCWxQKU=; b=b1jkocDCzJEEPzmGof4Lon5El8 S0jqcNOhTSq6HFpm8Vo0a432SXDNNNPSlxK6EAO5vGjx/km/xPjFQm10KTJIEQdLXeEsBmQL6pqsT oK5Chapk863yCEE4Tp93aRzQxhtzkG8S1+fSpJlqyaLzjbSqF+vBxmN5bNRGTVOYokjUNBJcxbEs5 Ph58UkWr9GkS/oAPOrfQbsHvetTdigJFRCI7uaq1c4hq6xyTcmW2qmE05XRL/QGijxWUB8zveDtZX tXboVpBnZHfIfMVB4gbBaKjP30/u6aSRdOaMf+jwWkzTGmLuYgV7yJrrNIT82CqlgczOqCC3AZ2j9 EIKberpw==; 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 1g9aJW-0000Y6-4N; Mon, 08 Oct 2018 18:31:30 +0000 Received: from mail1.kuutio.org ([2001:41d0:401:3100::431a]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g9a9L-0002hr-Fn for linux-arm-kernel@lists.infradead.org; Mon, 08 Oct 2018 18:21:56 +0000 Received: from localhost (localhost [127.0.0.1]) by mail1.kuutio.org (Postfix) with ESMTP id DF82220929; Mon, 8 Oct 2018 20:20:03 +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=1539022803; x= 1541614804; bh=YCvEZvi8r+B/iR11hwrDoTbiAvklCpnY5FxCAbplmOc=; b=a krjTU7reNlwqct45noygM6LBUEXmeJCyKex9AbLXZXUX9fKQ5YGXgRyg9t9hykDb MnoNRpvz/91DJvh0uvdDC5ZRjAV6PclthoXGRYkZijLoZGbNGNPo/+w0pWJj0//+ X6YaKskECXU4hkvfa0g06h6LJozi68MO+MTqKhmlKxSzI3eqaL4uKVS3jKXPBVtZ p4kMr/rMrCpIKdcT9EpHonAzOqa8JjLvHuZMBmmwI8YI/NvNA1YVLWZPnB5egalp iJUDCmc+USecHOxx9wDbXeChxBwvyTgxPxYYP+XaAHlk4ozXI+Hc2cyAu6E462Nq ykSziBoWNnROowdh92EmfZbsm0dO0Tz4Fbj2B3E53EdRW/LjpC00NtxJhBZbIcDj tW3Coi08CEMDKTnTbLIWv/ngrTgWWNjJqz2MqnYDk0M+A+E+Dq3JGoWtHZvlxdGN rfQvszfomKIFEgQZxVw4Me47pE3GhTIBbVS8nGGaWa7Hvi4+Qpn7vxj2HJMbPwOx CkkACtwmysJXEiBwIcm/hJ/PNjt4PH995DiL5N2WSjZD6Ge/xXI9hk51sH/Bd2w4 cLNGBb9uBl/IlcMfG5uhNhITjMK5dmgCZSTc1t/9IpY7dpSpTYI8mbD/qOQXQcnF 3JN76pVNUEbSA1Wt5pGk6MfmSoqTeMK4wpV4+CWw5E= 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 noG7XLmO-Ius; Mon, 8 Oct 2018 20:20:03 +0200 (CEST) Received: from build.kuutio.org (unknown [IPv6:2001:998:13:e4::69]) by mail1.kuutio.org (Postfix) with ESMTPSA id A482C20791; Mon, 8 Oct 2018 20:20:02 +0200 (CEST) From: Oskari Lemmela To: Sebastian Reichel , Rob Herring , Mark Rutland , Chen-Yu Tsai , Maxime Ripard Subject: [PATCH v3 6/7] mfd: axp20x: Add AC power supply cell for AXP813 Date: Mon, 8 Oct 2018 21:19:07 +0300 Message-Id: <20181008181908.9456-7-oskari@lemmela.net> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181008181908.9456-1-oskari@lemmela.net> References: <20181008181908.9456-1-oskari@lemmela.net> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181008_112059_727036_3409497C X-CRM114-Status: GOOD ( 10.98 ) 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, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Quentin Schulz , Oskari Lemmela , 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 --- drivers/mfd/axp20x.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c index 0be511dd93d0..1508d9113126 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, }, };