From patchwork Fri Feb 17 17:37:15 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Icenowy Zheng X-Patchwork-Id: 9580441 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 D1A146043A for ; Fri, 17 Feb 2017 17:39:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C20E228755 for ; Fri, 17 Feb 2017 17:39:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B38B028760; Fri, 17 Feb 2017 17:39:44 +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 21B1028755 for ; Fri, 17 Feb 2017 17:39:42 +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=63OXOP8A7mFdjffCx4NljMk0hgEm78X2YMnDjKdkItM=; b=ssNXff1Llgztq3eTMWkfHeMiWT M6VRJy7fxFXvlhoKGNXPObOrPvca8WnW9TRavg6+PeAr6sSkgRBkklWnDQ7jzNyACLl4oBc9Ct8qo I2ZgWYf9rqmnY4CiEJvGEXDOGrn07pDJ6OOzhWoGv+ct0x14U4nOjtafRi5+j40fBFMGSAqv2eDT2 Y408eGGD4x/fYuGB5ql9EorMgUu+84LKWAccn6IJmZfbjDN1+AJBl1kSk+kDgl7bpiSlhAkBM04j0 UcLvLavTjMFrDoi7WBKtnV4MQcqkmf9aUoWUsOgjNzGD1gWPbpPLXl3V5Gf5wRfki50u2bXaZWyCP jwuhNN9w==; 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 1cemVR-0004kJ-7W; Fri, 17 Feb 2017 17:39:41 +0000 Received: from forward20p.cmail.yandex.net ([2a02:6b8:0:1465::a9]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cemVF-0004c9-D0 for linux-arm-kernel@lists.infradead.org; Fri, 17 Feb 2017 17:39:38 +0000 Received: from smtp1h.mail.yandex.net (smtp1h.mail.yandex.net [84.201.187.144]) by forward20p.cmail.yandex.net (Yandex) with ESMTP id DAE11217C6; Fri, 17 Feb 2017 20:39:04 +0300 (MSK) Received: from smtp1h.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp1h.mail.yandex.net (Yandex) with ESMTP id 31A418C0B2A; Fri, 17 Feb 2017 20:38:57 +0300 (MSK) Received: by smtp1h.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id FT0kHVt6CM-cq1KFZLC; Fri, 17 Feb 2017 20:38:56 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aosc.xyz; s=mail; t=1487353137; bh=qJ1ra4bDmILnorRh4y37i+vyWn0mufIlmPRHUfHpuRU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=rhwFF6aR06T4YMawWbC4hZLfrp1l3ZH9EooC0oc9jO4bozG9qu+k+hHllTF1UQMcl vWjFpNrOONqNBAnsBUwOZloAxelxErh18REvBYlxoZic51KD2XUBuGtjDRTw32uQfz 04HWEAyTCTr0NNg7Koy6OimK0VJt4umnokbyaXsA= Authentication-Results: smtp1h.mail.yandex.net; dkim=pass header.i=@aosc.xyz X-Yandex-ForeignMX: FR X-Yandex-Suid-Status: 1 0,1 0,1 0,1 0,1 0,1 0,1 0,1 0,1 1130000036118848 From: Icenowy Zheng To: Maxime Ripard , Chen-Yu Tsai , Kishon Vijay Abraham I , Linus Walleij Subject: [PATCH 2/9] pinctrl: sunxi: rename sun7i-a20 driver to sunxi-a20-r40 Date: Sat, 18 Feb 2017 01:37:15 +0800 Message-Id: <20170217173722.6477-3-icenowy@aosc.xyz> X-Mailer: git-send-email 2.11.1 In-Reply-To: <20170217173722.6477-1-icenowy@aosc.xyz> References: <20170217173722.6477-1-icenowy@aosc.xyz> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170217_093929_797478_F52FCC97 X-CRM114-Status: UNSURE ( 7.64 ) 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: linux-gpio@vger.kernel.org, linux-sunxi@googlegroups.com, linux-clk@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 The new R40 SoC come with a largely similar version of the pin controller in A20. Rename the driver, in order to extend it with R40 support. Signed-off-by: Icenowy Zheng --- drivers/pinctrl/sunxi/Kconfig | 2 +- drivers/pinctrl/sunxi/Makefile | 2 +- drivers/pinctrl/sunxi/{pinctrl-sun7i-a20.c => pinctrl-sunxi-a20-r40.c} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename drivers/pinctrl/sunxi/{pinctrl-sun7i-a20.c => pinctrl-sunxi-a20-r40.c} (100%) diff --git a/drivers/pinctrl/sunxi/Kconfig b/drivers/pinctrl/sunxi/Kconfig index 92d845827577..6552cfd5c057 100644 --- a/drivers/pinctrl/sunxi/Kconfig +++ b/drivers/pinctrl/sunxi/Kconfig @@ -26,7 +26,7 @@ config PINCTRL_SUN6I_A31_R depends on RESET_CONTROLLER select PINCTRL_SUNXI -config PINCTRL_SUN7I_A20 +config PINCTRL_SUNXI_A20_R40 def_bool MACH_SUN7I select PINCTRL_SUNXI diff --git a/drivers/pinctrl/sunxi/Makefile b/drivers/pinctrl/sunxi/Makefile index f9a3855c42f1..6ceab91c3834 100644 --- a/drivers/pinctrl/sunxi/Makefile +++ b/drivers/pinctrl/sunxi/Makefile @@ -7,7 +7,7 @@ obj-$(CONFIG_PINCTRL_SUN5I) += pinctrl-sun5i.o obj-$(CONFIG_PINCTRL_SUN6I_A31) += pinctrl-sun6i-a31.o obj-$(CONFIG_PINCTRL_SUN6I_A31S) += pinctrl-sun6i-a31s.o obj-$(CONFIG_PINCTRL_SUN6I_A31_R) += pinctrl-sun6i-a31-r.o -obj-$(CONFIG_PINCTRL_SUN7I_A20) += pinctrl-sun7i-a20.o +obj-$(CONFIG_PINCTRL_SUNXI_A20_R40) += pinctrl-sunxi-a20-r40.o obj-$(CONFIG_PINCTRL_SUN8I_A23) += pinctrl-sun8i-a23.o obj-$(CONFIG_PINCTRL_SUN8I_A23_R) += pinctrl-sun8i-a23-r.o obj-$(CONFIG_PINCTRL_SUN8I_A33) += pinctrl-sun8i-a33.o diff --git a/drivers/pinctrl/sunxi/pinctrl-sun7i-a20.c b/drivers/pinctrl/sunxi/pinctrl-sunxi-a20-r40.c similarity index 100% rename from drivers/pinctrl/sunxi/pinctrl-sun7i-a20.c rename to drivers/pinctrl/sunxi/pinctrl-sunxi-a20-r40.c