From patchwork Sat Oct 13 08:08:47 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: 10640035 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 B843D925 for ; Sat, 13 Oct 2018 08:14:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A873D28F2F for ; Sat, 13 Oct 2018 08:14:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9C4D62B1D6; Sat, 13 Oct 2018 08:14: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=-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 3D33828F2F for ; Sat, 13 Oct 2018 08:14:13 +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=EykIY6bGMcY0dRFWjecg4ThRZ0L3PPrheeaL0Dvj+gQ=; b=adVkSO0iN+IogCnZTzXLk4u+FY 5OIjqnhNjeJOGPdKJSs8aVWiNpRQK4pHP25QIpnE/WB/2cIMqrTF4OQLjsZvrcf5kzhuSpl3ZIOvn 6xorjYeFFc5x4KyhdJfZZHV/O0vy5QZ1TgJJJUWskMiIPOyTtlm51DVhgaNyU8buQIL4Zpt0xQLwL rdrcgmJLASUAs11zxc266HR4ra92Bf8z7F8tjxD0ZknW/ru7uNYfkx0+nt2gVwvSRn1NJciPZnPED TNbEjirhtBfpcqXREO8fZR004a8T6yJ4bsYZqemY0XR9m2QWODIeQQ3m26ggGE+z9ZbsCp0Oa3L1c QgN5XqHg==; 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 1gBF3o-0002TD-Al; Sat, 13 Oct 2018 08:14:08 +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 1gBEzr-0007lZ-GC for linux-arm-kernel@lists.infradead.org; Sat, 13 Oct 2018 08:10:17 +0000 Received: from localhost (localhost [127.0.0.1]) by mail1.kuutio.org (Postfix) with ESMTP id 5BB4D1F99A; Sat, 13 Oct 2018 10:09:36 +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=1539418175; x= 1542010176; bh=RDLMb/zCp3FWggHEX2Z0jTQ4Z/KHaPoFVBQtwQaF15s=; b=b wNzomrJ5xPpdsSODYm02IylMPMhrrBXXQo7mNWbB5gsdaVNmGZwFruW6BMQt0swL x+e1toU5R2Xd5HIHWFHdnu6v1Yf9KRJIE6sXqOvoVGg135CP9aQc1lG5jnulnQBh OJWgXRJc2cfrZZCwJcqhdMNl9toXxgqyQQ99EhgMLtDOHHSlxB4L5yEXQjKsE1DQ RTQeg9ON35FfW8IpptIR/R/seVR4kg74ofsMOjxjzIpq1UUqtq3KoX/gZy+Unzev LJq1DLLsn91O0KzLnzXyGLeMCo74rZKNxAxuLfWSTT8oh8GYO13mvCGxBciJ/JHs kpoS87+8aUrrsLaVoVpZ6tjgwthvPBijkNabv1EFbiHoeNSaC9sZkEiXzUutV93A gFZyFq84ewMvWyd+ntd8MQ0wlzdfF8FYFhZjp/Y4H4rEaS0brRrB57AX1Xgpt7VC 71wPAXzSozaykqgdVo/Ob9eOJi9ats8FSNHw5Y9F1UNR5ZCbkTkRUHwXPW3jNT5m haLGJSCtxdOYsviMIvPFXD0qmsCBV/gSL1B0QKGD7s6SqtncBoiDN4+6vmFfIymG YyzCgKymJt3YukWsgxCwPmsk8qEpb7PRozp+0XbIQNgJBE6SBCi4Y9B0hJatcHeZ lySxT/DQas9QL0+TjT6x23iAWSYzUO3ywNJYrb1sdU= 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 s92H13R-iaDY; Sat, 13 Oct 2018 10:09:35 +0200 (CEST) Received: from build.kuutio.org (unknown [IPv6:2001:998:13:e4::69]) by mail1.kuutio.org (Postfix) with ESMTPSA id 974F52092A; Sat, 13 Oct 2018 10:09:34 +0200 (CEST) From: Oskari Lemmela To: Sebastian Reichel , Rob Herring , Mark Rutland , Chen-Yu Tsai , Maxime Ripard Subject: [PATCH v4 6/7] mfd: axp20x: Add AC power supply cell for AXP813 Date: Sat, 13 Oct 2018 11:08:47 +0300 Message-Id: <20181013080848.29894-7-oskari@lemmela.net> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181013080848.29894-1-oskari@lemmela.net> References: <20181013080848.29894-1-oskari@lemmela.net> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181013_011003_743976_69CB0F66 X-CRM114-Status: GOOD ( 10.31 ) 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 Reviewed-by: Chen-Yu Tsai --- 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, }, };