From patchwork Wed Apr 26 15:20:20 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Icenowy Zheng X-Patchwork-Id: 9701673 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8DA7C60245 for ; Wed, 26 Apr 2017 16:01:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7EA1F280CF for ; Wed, 26 Apr 2017 16:01:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7216B2847F; Wed, 26 Apr 2017 16:01:16 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 F0AFD285EC for ; Wed, 26 Apr 2017 16:01:15 +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=r4oqq5scAZBFR3t44maRCZBISGas9IEsC9e/LviLRfw=; b=oYKUc50aB4/+ZuiNwbhBIL8RoE GBiQgXSWVmRlRquH78BpriDuL6RqAUwM2mdyKX5HSlKCIAp2n7tdDSDzuD2BW3PTiwHR9agqyJUOh iDi/+oZmOz9Pa3D5bgtmkBVjG/2dPtWTx3i6lV8F+H7vUwimMXi5A0ZS3mf8yiLfHyAih0EuMOQsn X6yts2yzyR9vA2AKt8dw1abQR4DeQMEab0K0H1qCSgv1RGMpvix/7mFnLlA0mTqdzU79iGdCLddAz srLWHoOWmKktvqYIzygjAvVgQCqvxOUpkxoiTC3SM8PJ8zxDjS5VL/zpmT+PD1x1+4xXV27/uR35X 3w3+vmKA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1d3PNQ-0002nX-Kj; Wed, 26 Apr 2017 16:01:12 +0000 Received: from merlin.infradead.org ([2001:4978:20e::2]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1d3PN0-0002It-4g for linux-arm-kernel@bombadil.infradead.org; Wed, 26 Apr 2017 16:00:46 +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=con8DKxtbcb+SrSFqyWgl3DPQbD/m6uDYbOg04cvcV4=; b=vgeyQwNnwZLKXYHBP10IDHEBZ kP18fDR2+Ekz4idWSPkm0GtYy65p2uQxrUMXqBEwFzq+5POijJk97aFme6kqPtOEvLs63pcAAkkks qlAchAjDZD7ogQTMXrneeObXrSCqhOTrb80QwNBpsA9aEEkfgkOZH5rqurJ32QEGGXUxH+M1yoIP7 AdsvLVfqJrEM5ylSWqvr3Olg6kIY1HrJgyqNR7ippP2ayhWTpcGaavY29P8Iyj9BDEbu9PsavAONE nXmIOtkY9FDisCz8JkACmKMYY5QEcccIMmL1DhW9nAU+ZxSuMS2R0q1k6dRcMZBHSBudKpnajhZjj v4nQt8g0g==; Received: from catfish.maple.relay.mailchannels.net ([23.83.214.32]) by merlin.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1d3OmA-0005Ki-1w for linux-arm-kernel@lists.infradead.org; Wed, 26 Apr 2017 15:22:47 +0000 X-Sender-Id: lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id C03B18A4925; Wed, 26 Apr 2017 15:22:14 +0000 (UTC) Received: from hermes.aosc.io (unknown [100.96.129.223]) by relay.mailchannels.net (Postfix) with ESMTPA id C5ABF8A2798; Wed, 26 Apr 2017 15:22:13 +0000 (UTC) X-Sender-Id: lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io Received: from hermes.aosc.io (hermes.aosc.io [172.20.63.14]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.9.2); Wed, 26 Apr 2017 15:22:14 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io X-MailChannels-Auth-Id: lmn-TZDUIOWCRQMW X-Bubble-Illustrious: 4318454673146c99_1493220134596_57444377 X-MC-Loop-Signature: 1493220134596:3503500852 X-MC-Ingress-Time: 1493220134595 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id 3C8E349693; Wed, 26 Apr 2017 15:21:56 +0000 (UTC) From: Icenowy Zheng To: Thomas Gleixner , Rob Herring , Maxime Ripard , Chen-Yu Tsai , Lee Jones , Liam Girdwood Subject: [PATCH v5 07/10] mfd: axp20x: add axp20x-regulator cell for AXP803 Date: Wed, 26 Apr 2017 23:20:20 +0800 Message-Id: <20170426152023.41567-8-icenowy@aosc.io> In-Reply-To: <20170426152023.41567-1-icenowy@aosc.io> References: <20170426152023.41567-1-icenowy@aosc.io> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170426_112245_246162_E770A328 X-CRM114-Status: UNSURE ( 9.68 ) X-CRM114-Notice: Please train this message. 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-sunxi@googlegroups.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Icenowy Zheng 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-regulator now supports AXP803, add a cell for it. Signed-off-by: Icenowy Zheng Acked-by: Chen-Yu Tsai --- Changes in v5: - Removed wrong snippet. Changes in v4: - Added a trailing comma for new cell, for easier further cell addition. Changes in v3: - Make the new cell one-liner. drivers/mfd/axp20x.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c index 1dc6235778eb..917b6ddc4f15 100644 --- a/drivers/mfd/axp20x.c +++ b/drivers/mfd/axp20x.c @@ -848,7 +848,8 @@ static struct mfd_cell axp803_cells[] = { .name = "axp20x-pek", .num_resources = ARRAY_SIZE(axp803_pek_resources), .resources = axp803_pek_resources, - } + }, + { .name = "axp20x-regulator" }, }; static struct mfd_cell axp806_cells[] = {