From patchwork Tue Nov 20 17:52:10 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: 10691007 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 D0D6A15A7 for ; Tue, 20 Nov 2018 17:56:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BC71A2983D for ; Tue, 20 Nov 2018 17:56:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ACB4B29938; Tue, 20 Nov 2018 17:56: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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW 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 43E232983D for ; Tue, 20 Nov 2018 17:56: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=rrs3d8TB4Cydo3PYt89hdp04GOqC0bRHk49vsy5ZGic=; b=s2oNfJa8bIrEf0dmAZ4d1uop7r zAF+1eXwFdEJIge12GsBUU++JT35aBHiySSA3zg8W8TZ4bjKchOIsENsvLlChFqAnrA4u6MKgkOE/ G17x0jb5st/3UeqKPrPUvTSRPRHrWOSgsnTUV7fEf4TOfuswmeX5DSMqh4x22egdVQtwvXPVSQi2e AQy9yRdElM+AoIiU6TId+bsadDKZi9J541I2ZN/0ZNeeT6MK8N4X0yqbdgmcwyQEwYoQDf5Z97z8D gsf2zLtC+Vkldoj+4ShtueZmB3C2SFzSdElZ7T18iKZwhiJa/PEs683jONZzdc7BT5SF4m4RZTNsy bC1T+JRQ==; 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 1gPAG9-00011g-98; Tue, 20 Nov 2018 17:56:25 +0000 Received: from mail1.kuutio.org ([92.222.216.83]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gPAFC-0008Eq-SF for linux-arm-kernel@lists.infradead.org; Tue, 20 Nov 2018 17:56:03 +0000 Received: from localhost (localhost [127.0.0.1]) by mail1.kuutio.org (Postfix) with ESMTP id C405A20926; Tue, 20 Nov 2018 18:52:31 +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=1542736351; x= 1545328352; bh=cfMh6AcbyeWrvCk50dMKmOhXsNrpnTzv4+nFyu7Nu5E=; b=c mvtkqQpzHlrpHu/zYaF3/aIyhUsdZUPnKctZwJ3ihutH/4m7ThlbYAnBFq8xhrW4 I+K5Yki5PPV+Gl9RWZMR+1yX8Wf0UiMlpALoPCWeVChurJHBapnTfPQfKmdOik3H 4Zv9hASyDwGpzldCQ//I+PSb/hMu58RwBHiKMW2/VRB6AIcicBwAJ2fBInkxbDxT Skndilb9UO5DbsNFwhnUFWy8F5+vnPkVfuRISnc7TL6w0000G8/co0+QNlCBMqmD 998M/roye82baLOtLfe934JTX/Z0iLqGlqrqjP3cfzRIYw3fzwhMC/P1PFGYLy/F zM/0ZYQGr6TIK5ivaTP3TnzrQOjoa1tu4kDfcS4LlYu1qY9Ff/dWif4ZdBMgESXJ DdWYlCbqPsj+/u1XhRbbLAvIQiYqin559alv5+yk7yUqScMJe/sPc4/ebjj5Okye LOBstRV51+TYl6lxUR6b3qh8WWXhM9fnhXGjsLO77QH7VoNtSVxEZylRPdae9S2b 9/GPFFHYp3CX1cBFriF3AZvf4FGMhI4DDawYJdrQWc5H7aE6PvexJtAvWW2LJc3C M5pXB8FUmZ/bru+UGWZyFrR+3qdHDsdDtZvVsSOqiR5IT8+Z8NxiS0+lEijH27Bq 1iUntVya1iLEVhKrO3sO8e9x6gvq1N5ch+QtaFmD9g= 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 SJ2k2z5qujiY; Tue, 20 Nov 2018 18:52:31 +0100 (CET) Received: from build.kuutio.org (unknown [IPv6:2001:998:13:e4::69]) by mail1.kuutio.org (Postfix) with ESMTPSA id CD18C1F943; Tue, 20 Nov 2018 18:52:29 +0100 (CET) From: Oskari Lemmela To: Sebastian Reichel , Rob Herring , Mark Rutland , Chen-Yu Tsai , Maxime Ripard Subject: [PATCH v6 7/8] mfd: axp20x: Add AC power supply cell for AXP813 Date: Tue, 20 Nov 2018 19:52:10 +0200 Message-Id: <20181120175211.3913-8-oskari@lemmela.net> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181120175211.3913-1-oskari@lemmela.net> References: <20181120175211.3913-1-oskari@lemmela.net> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181120_095527_609426_1A75CEC4 X-CRM114-Status: GOOD ( 10.40 ) 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, Vasily Khoruzhick , 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 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, }, };