From patchwork Fri Jan 21 06:01:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Liu X-Patchwork-Id: 12719302 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0C68FC433F5 for ; Fri, 21 Jan 2022 06:10:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :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=RMYL/fK2jIRoygm9UDXP4f+RGNJVGJpL9rBGiU1zw+s=; b=BllK200ZYOedl6 ECYzAJZlFpvfclRGlwhH54pv4sJFZSFoQwSjuwEt8H6HYQkt/cmqVjKXj0slHGjjqo0yTgResM7OQ IuVP4Oar1KtkdCLolRl65pxXV9fGmjbuPEyVPH+kTSzIHufBoTxBAJ9EPsrEZk8WjAJP9wZdw6m8v Tv1hEyyJIlZNxIIyc8jrQw/w1JrblVXZ0B1nzez+bi1fu6wzp4fVSbgwiHXF+9FCtbZHmVs1iVSyY w3DgzFyr1CVkt3i9hUl3yfpsfiz8QPVuI0f07NZDS73kx/3jOwaXBg7sDnvYNJrgrMbLK37rWL5w3 pGPD4OhR+cbpva/4Divg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nAn6h-00Dw0n-AC; Fri, 21 Jan 2022 06:09:07 +0000 Received: from mailgw01.mediatek.com ([216.200.240.184]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nAn6b-00DvzR-8a; Fri, 21 Jan 2022 06:09:02 +0000 X-UUID: 2c33ccb268144bff9f5ae29e71877722-20220120 X-UUID: 2c33ccb268144bff9f5ae29e71877722-20220120 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw01.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1102168176; Thu, 20 Jan 2022 23:08:52 -0700 Received: from mtkmbs07n1.mediatek.inc (172.21.101.16) by MTKMBS62DR.mediatek.inc (172.29.94.18) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 20 Jan 2022 22:01:24 -0800 Received: from mtkcas10.mediatek.inc (172.21.101.39) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 21 Jan 2022 14:01:23 +0800 Received: from localhost.localdomain (10.17.3.154) by mtkcas10.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 21 Jan 2022 14:01:22 +0800 From: Guodong Liu To: Linus Walleij , Rob Herring , Matthias Brugger , Sean Wang CC: Sean Wang , , , , , , , Guodong Liu Subject: [PATCH v2 0/2] pinctrl: mediatek: Support pinctrl driver on mt8186 Date: Fri, 21 Jan 2022 14:01:18 +0800 Message-ID: <20220121060120.10683-1-guodong.liu@mediatek.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220120_220901_353777_B5CE544C X-CRM114-Status: UNSURE ( 9.73 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org changes since v1: - add default pinctrl config to consistent with other MTK pinctrl drivers Patch 1 add pinctrl file and binding document. Patch 2 add pinctrl chip driver on mt8186. Guodong Liu (2): dt-bindings: pinctrl: mt8186: add pinctrl file and binding document pinctrl: add pinctrl driver on mt8186 .../bindings/pinctrl/pinctrl-mt8186.yaml | 303 +++ drivers/pinctrl/mediatek/Kconfig | 7 + drivers/pinctrl/mediatek/Makefile | 1 + drivers/pinctrl/mediatek/pinctrl-mt8186.c | 1313 ++++++++++ drivers/pinctrl/mediatek/pinctrl-mtk-mt8186.h | 2186 +++++++++++++++++ include/dt-bindings/pinctrl/mt8186-pinfunc.h | 1174 +++++++++ 6 files changed, 4984 insertions(+) create mode 100644 Documentation/devicetree/bindings/pinctrl/pinctrl-mt8186.yaml create mode 100644 drivers/pinctrl/mediatek/pinctrl-mt8186.c create mode 100644 drivers/pinctrl/mediatek/pinctrl-mtk-mt8186.h create mode 100644 include/dt-bindings/pinctrl/mt8186-pinfunc.h