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: 9905331 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 53057603B5 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 40D1A28A15 for ; Thu, 17 Aug 2017 08:59:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 353BF289D8; 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 C082D289D8 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=XA5E4Tb3WTCltju6kP+J0EPtiaXvXbtb5ZHocGem2Do=; b=A84F49HRiGktpx DytPTKsQyJ4HF+EKPclvoNokbaYi5MXHvuiqyf3cDO0Cmw9G/7JwhGrRQm9MCxLBnEJihJ56jsZH0 SU5fAm6YkEruP//D8y64ByPFjDy3HtYIQnoaLsk9T0MW5BCbQKm/rkgk5mmnBif0SAglylMnafpvD zkhSLARvWLYw2UUg0tDjVyzJUu5w1YoMMkO+wpfVcpiVgP74V7p/sjO/z3zbfaSJS2+p7o4hmHAye ymybxK4GNmMUnCqAbzjr71vTQCtzCnJgAEogi1yvmqpATLblub7/m7GrvlU4F9dxFc0XbW2Pdch+5 02KGScYt/j8P58FHsOFQ==; 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 1diGd0-0003JL-9c; Thu, 17 Aug 2017 08:58:10 +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-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, Ryder Lee , linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org 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 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"),