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: 533978 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C2ECCC433F5 for ; Fri, 21 Jan 2022 06:01:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347804AbiAUGBb (ORCPT ); Fri, 21 Jan 2022 01:01:31 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:59356 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S237848AbiAUGB3 (ORCPT ); Fri, 21 Jan 2022 01:01:29 -0500 X-UUID: f7d46c83d52a401b8aadf0e4e7f7ad4f-20220121 X-UUID: f7d46c83d52a401b8aadf0e4e7f7ad4f-20220121 Received: from mtkmbs10n2.mediatek.inc [(172.21.101.183)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1606192875; Fri, 21 Jan 2022 14: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 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.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