From patchwork Thu Aug 17 08:57:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryder Lee X-Patchwork-Id: 9905333 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 5F7AC603FB for ; Thu, 17 Aug 2017 08:59:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4CBC128987 for ; Thu, 17 Aug 2017 08:59:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3675328955; Thu, 17 Aug 2017 08:59:09 +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=-0.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW,SUSPICIOUS_RECIPS,UNPARSEABLE_RELAY, UPPERCASE_50_75 autolearn=no 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 C071128987 for ; Thu, 17 Aug 2017 08:59:08 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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:In-Reply-To:References: List-Owner; bh=jHOxlS+DkslBVfUtTHXYmhSnFIT20t2Jwoembl9efpc=; b=bMCK+YAOrI19aL LkZlYMA0NcSe+Gnl9Yqqm9IbVAiGb0xRid9ZiBe+IKx2ioQmrVd1wTVRrwJqJjLBcP0eMq5LdD+f8 7jdZtFw9n46E+mWnSHQhWNyy0s5yJuw1Akf/K/+YQCPW4Q5yEsbKXhE45CCEKOSu8iCVf9P1D6PHb UhUBoWQojrOJfC++xSQDiyN0LHz3tY8yyuph3jR3pIRmJG8qlY2y4fEE7UPa+lRtq++KpqtItZXVX PRWOfp+TakV9Cr+S/MAhqpRw+5RUxQ86D4j57aZ1OcTbDSvIWvqae3smwdZs7nlWETVxaRe3bPmq0 U0PpMzhW4QZ+LJ/JKYAQ==; 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 1diGcz-0003Ir-50; Thu, 17 Aug 2017 08:58:09 +0000 Received: from [210.61.82.183] (helo=mailgw01.mediatek.com) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1diGcu-000346-9T; Thu, 17 Aug 2017 08:58:07 +0000 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1784585896; Thu, 17 Aug 2017 16:57:40 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Thu, 17 Aug 2017 16:57:38 +0800 Received: from mtkslt306.mediatek.inc (10.21.14.136) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1210.3 via Frontend Transport; Thu, 17 Aug 2017 16:57:39 +0800 From: Ryder Lee To: Linus Walleij Subject: [PATCH] pinctrl: mediatek: update PCIe pinmux data Date: Thu, 17 Aug 2017 16:57:37 +0800 Message-ID: <7e51745301c377eb8527bdf6171eaf26fc53b0b4.1502959698.git.ryder.lee@mediatek.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170817_015804_580060_93364DFC X-CRM114-Status: UNSURE ( 7.69 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@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, Ryder Lee , linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Update pinmux data so that PCIe function can work normally. Signed-off-by: Ryder Lee --- drivers/pinctrl/mediatek/pinctrl-mtk-mt2701.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/pinctrl/mediatek/pinctrl-mtk-mt2701.h b/drivers/pinctrl/mediatek/pinctrl-mtk-mt2701.h index f906420..bdbb491 100644 --- a/drivers/pinctrl/mediatek/pinctrl-mtk-mt2701.h +++ b/drivers/pinctrl/mediatek/pinctrl-mtk-mt2701.h @@ -223,11 +223,11 @@ MTK_EINT_FUNCTION(0, 0), MTK_FUNCTION(0, "GPIO22"), MTK_FUNCTION(1, "UCTS0"), + MTK_FUNCTION(2, "PCIE0_PERST_N"), MTK_FUNCTION(3, "KCOL3"), MTK_FUNCTION(4, "CONN_DSP_JDO"), MTK_FUNCTION(5, "EXT_FRAME_SYNC"), - MTK_FUNCTION(7, "DBG_MON_A[30]"), - MTK_FUNCTION(10, "PCIE0_PERST_N") + MTK_FUNCTION(7, "DBG_MON_A[30]") ), MTK_PIN( PINCTRL_PIN(23, "EINT1"), @@ -235,11 +235,11 @@ MTK_EINT_FUNCTION(0, 1), MTK_FUNCTION(0, "GPIO23"), MTK_FUNCTION(1, "URTS0"), + MTK_FUNCTION(2, "PCIE1_PERST_N"), MTK_FUNCTION(3, "KCOL2"), MTK_FUNCTION(4, "CONN_MCU_TDO"), MTK_FUNCTION(5, "EXT_FRAME_SYNC"), - MTK_FUNCTION(7, "DBG_MON_A[29]"), - MTK_FUNCTION(10, "PCIE1_PERST_N") + MTK_FUNCTION(7, "DBG_MON_A[29]") ), MTK_PIN( PINCTRL_PIN(24, "EINT2"), @@ -247,10 +247,10 @@ MTK_EINT_FUNCTION(0, 2), MTK_FUNCTION(0, "GPIO24"), MTK_FUNCTION(1, "UCTS1"), + MTK_FUNCTION(2, "PCIE2_PERST_N"), MTK_FUNCTION(3, "KCOL1"), MTK_FUNCTION(4, "CONN_MCU_DBGACK_N"), - MTK_FUNCTION(7, "DBG_MON_A[28]"), - MTK_FUNCTION(10, "PCIE2_PERST_N") + MTK_FUNCTION(7, "DBG_MON_A[28]") ), MTK_PIN( PINCTRL_PIN(25, "EINT3"), @@ -308,8 +308,8 @@ MTK_FUNCTION(3, "KROW0"), MTK_FUNCTION(4, "CONN_MCU_TMS"), MTK_FUNCTION(5, "CONN_MCU_AICE_JMSC"), - MTK_FUNCTION(7, "DBG_MON_A[23]"), - MTK_FUNCTION(14, "PCIE2_PERST_N") + MTK_FUNCTION(6, "PCIE2_PERST_N"), + MTK_FUNCTION(7, "DBG_MON_A[23]") ), MTK_PIN( PINCTRL_PIN(30, "I2S5_LRCK"), @@ -1787,10 +1787,10 @@ MTK_FUNCTION(0, "GPIO208"), MTK_FUNCTION(1, "AUD_EXT_CK1"), MTK_FUNCTION(2, "PWM0"), + MTK_FUNCTION(3, "PCIE0_PERST_N"), MTK_FUNCTION(4, "ANT_SEL5"), MTK_FUNCTION(5, "DISP_PWM"), - MTK_FUNCTION(7, "DBG_MON_A[31]"), - MTK_FUNCTION(11, "PCIE0_PERST_N") + MTK_FUNCTION(7, "DBG_MON_A[31]") ), MTK_PIN( PINCTRL_PIN(209, "AUD_EXT_CK2"), @@ -1798,10 +1798,10 @@ MTK_EINT_FUNCTION(0, 121), MTK_FUNCTION(0, "GPIO209"), MTK_FUNCTION(1, "AUD_EXT_CK2"), + MTK_FUNCTION(3, "PCIE1_PERST_N"), MTK_FUNCTION(2, "MSDC1_WP"), MTK_FUNCTION(5, "PWM1"), - MTK_FUNCTION(7, "DBG_MON_A[32]"), - MTK_FUNCTION(11, "PCIE1_PERST_N") + MTK_FUNCTION(7, "DBG_MON_A[32]") ), MTK_PIN( PINCTRL_PIN(210, "AUD_CLOCK"),