From patchwork Mon Apr 17 11:57:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Icenowy Zheng X-Patchwork-Id: 9683787 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 656AD600C5 for ; Mon, 17 Apr 2017 12:03:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5817B26C9B for ; Mon, 17 Apr 2017 12:03:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4C1EE27B81; Mon, 17 Apr 2017 12:03:27 +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 0667026C9B for ; Mon, 17 Apr 2017 12:03:27 +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=AWtjOyuWXYXPZ6Lcn17gUC7srOyxSQ2vUOOavIQuSbM=; b=dgjsJE2ToIS0fA58e6oJNBgX4P kzVZW89PfZwLYx2uq3wiZNybdg5dlZP4KZtTORqtWjWLSTXvxeznToFb+atRY+hhc+W0l/toVedj+ T0iW+rQi3A89giFPzHP3BP3x3KnDfWBAFOcYm6Z4sh5/q35dU+GtwPdZ/oIul1jwSRxiOvBoeQhpm ntaOBwwMBX2Jb7al5W17zIo0U3g0AERliroVZXkhcvbZFVOxdlTv0gVDzFTlXnRJHA2v7AbuIRtLl 2UCfIag+SV5JJ5ihgytNK2VcjtD3mljzSFBfW0UwaVCuvOxg/3DSUs+PAmKcmJT387BtkAj9zVF2J t5l1jk5w==; 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 1d05NN-0004Se-VH; Mon, 17 Apr 2017 12:03:25 +0000 Received: from catfish.ash.relay.mailchannels.net ([23.83.222.32]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1d05N8-00043L-OH for linux-arm-kernel@lists.infradead.org; Mon, 17 Apr 2017 12:03:23 +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 93F9F202A2F; Mon, 17 Apr 2017 12:02:45 +0000 (UTC) Received: from hermes.aosc.io (unknown [100.96.133.151]) by relay.mailchannels.net (Postfix) with ESMTPA id 915AA202E3C; Mon, 17 Apr 2017 12:02:44 +0000 (UTC) X-Sender-Id: lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io Received: from hermes.aosc.io (hermes.aosc.io [172.20.120.92]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.7.37); Mon, 17 Apr 2017 12:02:45 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io X-MailChannels-Auth-Id: lmn-TZDUIOWCRQMW X-Whistle-Lyrical: 52e66e8158adabb3_1492430565423_713891006 X-MC-Loop-Signature: 1492430565423:3128191648 X-MC-Ingress-Time: 1492430565422 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id 7B67B46B30; Mon, 17 Apr 2017 12:02:35 +0000 (UTC) From: Icenowy Zheng To: Lee Jones , Rob Herring , Chen-Yu Tsai , Maxime Ripard , Liam Girdwood , Mark Brown Subject: [PATCH v3 09/12] mfd: axp20x: add axp20x-regulator cell for AXP803 Date: Mon, 17 Apr 2017 19:57:44 +0800 Message-Id: <20170417115747.7300-10-icenowy@aosc.io> In-Reply-To: <20170417115747.7300-1-icenowy@aosc.io> References: <20170417115747.7300-1-icenowy@aosc.io> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170417_050311_696242_D239AEC5 X-CRM114-Status: UNSURE ( 8.92 ) 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 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..431b7f118606 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[] = {