From patchwork Sat Dec 8 17:36:16 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: 10719661 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 3EEAC17D5 for ; Sat, 8 Dec 2018 17:40:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1D54E2B211 for ; Sat, 8 Dec 2018 17:40:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0AD4D2B217; Sat, 8 Dec 2018 17:40:13 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED 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 A93422B211 for ; Sat, 8 Dec 2018 17:40:12 +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=O3CJ9SUqJQ9D9f/s+YUAaT6JZq WF77bhhqMBIVD9q0CVH8TOrux7iL4S2wqVmxAfe9i2d6eUTCwcHDx7PGZgOQnBaAMas0oX4zcGAqy afrzcoW3sKkJLBHe5WrPlzW/Fd6onVAfddUwR+KeAdikvmSuvqZKwpkrAqIC8U7JHyp4ZNNQJSr4Y KLlnAqD8jO7cERBgD2ngAL+g79shDacdPNIWauZV5J3MhbZB8cZxl8daNiaP9nBJCQLns5NBAq1uU Qg/Gj8UrZECWAZr04u/imN5DyDzlsk6RNH7jiFjh0Fb8eR0RZamvvp02NiEPIAuYuYOK2fGzFVdhd Ix3Zlx3w==; 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 1gVgaJ-0007Il-2I; Sat, 08 Dec 2018 17:40:11 +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 1gVgYk-0005Mu-F1 for linux-arm-kernel@lists.infradead.org; Sat, 08 Dec 2018 17:38:41 +0000 Received: from localhost (localhost [127.0.0.1]) by mail1.kuutio.org (Postfix) with ESMTP id 5CA3A2092A; Sat, 8 Dec 2018 18:38:11 +0100 (CET) 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=1544290690; x= 1546882691; bh=cfMh6AcbyeWrvCk50dMKmOhXsNrpnTzv4+nFyu7Nu5E=; b=Q o7mQIWzM7VSoUQwlHRNzg9qZ0ETnUWNQ7o0YWU9uzzei2Hd+PKKyY/N2MFuyXZwt aoJpyR91Wzb8Nh30mmq6LwzLBxh7nPTJEzFnAcEGdf/zzHMAbskKvuHq+eu5jtd4 159S37k3CCyLoD8/y0C01EvzmIhkmR2X3y+cJZJOYkX56rYwAve/8h/lbadw1BnR y/t/Imf1uDElx9XTc8zaYpaui3FQJlJGLNxGWLw5OwqUnBpnIEWXnTqoXspd8d8p lMeNHT0iPvR40exvmvDqRJoTOtbmvT48eYwg15Qy1te3lsqOuL9OU/zpGYQHIuMj f9FmsEkj11IUv+bkrNXTCly7P6Ans++alhMznvgsmWN7B6XoMCb5RZU8oO03UtIb KiGzh4xFnf4a4w/oOdU76p8MsX97Ui9m9s8O4icCjb+AT4R8/VMBn+UDzUbB8dOs VAckkgnUfCt/xzbpYzjbphnZkJzG9IImu8NGnH0IHAyVqwouVY8irdcCMQ8SbYwc 4hT/b0mvtLw+D9DYo+QYMXJJCMrqRIVYQTdLoNRuoR0R8X1GE66SNoHa1oHrXYuR 3pVSqt29+tn5l459FsRUAAZN1veFsQGPt2aYBM0SYCVGvGfvvvRmn95vWaD8TqVZ SQEoDdz/ybX8jgXlzjzEjng2WyKbkymYH7hynbG5u4= 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 8nE9SaZ1zfsz; Sat, 8 Dec 2018 18:38:10 +0100 (CET) Received: from build.kuutio.org (unknown [IPv6:2001:998:13:e4::69]) by mail1.kuutio.org (Postfix) with ESMTPSA id 3D7FC1F965; Sat, 8 Dec 2018 18:38:10 +0100 (CET) From: Oskari Lemmela To: Sebastian Reichel , Rob Herring , Mark Rutland , Chen-Yu Tsai , Maxime Ripard , Lee Jones Subject: [PATCH v7 7/9] mfd: axp20x: Add AC power supply cell for AXP813 Date: Sat, 8 Dec 2018 19:36:16 +0200 Message-Id: <20181208173618.31395-8-oskari@lemmela.net> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181208173618.31395-1-oskari@lemmela.net> References: <20181208173618.31395-1-oskari@lemmela.net> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181208_093835_665889_F2A4D69C X-CRM114-Status: GOOD ( 10.25 ) 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, Quentin Schulz , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Oskari Lemmela , 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, }, };