Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp164875rwb; Thu, 18 Aug 2022 01:19:18 -0700 (PDT) X-Google-Smtp-Source: AA6agR4D223ca2ivhvj9Mp28MrhXEBNd9AVFFX6SDIH8XCvSmoaRcWi3SP6vgv9PjNf7OA5wFLhm X-Received: by 2002:a17:90b:180f:b0:1f4:e294:d322 with SMTP id lw15-20020a17090b180f00b001f4e294d322mr7720448pjb.163.1660810758399; Thu, 18 Aug 2022 01:19:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660810758; cv=none; d=google.com; s=arc-20160816; b=EDQwLQAOcbKMLlt35FGyJ82XJND2aVv2ZnRAW1YZ2mV7cFYMdEpjnmkAiCaSDnQSyY lxoBVdn7pi0yxWPQ2f568H71X/UQAka57zQLLxQ1XjJDuzztN3g4MVtJSPR/Rht4Zmh5 DYzsBI+v2a6hEFkkwxMVXD/TQZRazaI2x/aTCKk8I97yi6IOeZt7QADMN0sCPje1n7gN x+bzokifjmNd0jwvfXsxHc5Keab7RdlvGceLJ02pr7IQLa8lgkOTNfmauLf914ENUjPl 7KlrPTXf6PKyRMFEkIdJM80oiOqFY43pBGNpYfn3sche70CYbtCqg/TXvV8E3xX5np7X j6Tg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=vX2cKsWvqrnEhdZf9O25sP1+ldbSuDmn4Zp0hffNaYw=; b=Lx5zISml3kQc3vauA2cx0a0dwhfQlAvDKPyxY7+zMF/4y/nV9vRkF7BJj3ewvk0RQQ /DJwLYlDtIXn96XgAXcPRusu6+mei7xPbxu+eppNRi2G8v7aqN57fqjB5foOHjvmePuH biuZjjFQluBFOFwDFvc+oJNkxlbENv7Xg9TJGig8ku+7MDnlcs7qW3ExxDVvJvMTCgG6 EySOybeJABhD8fKURtMYV3oVydyPekl7JmWeZMHXglVabBfXrOgORPOonwEV4V+0nIbo h+5Sf/WagAdZO5QfjqbPirMILxcyb+Lp459ZdnLbgH0dxgqf3iUjrBd6bf43F6EDp7AX ZJpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=QwwstUsz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v13-20020a056a00148d00b005107cf64e1dsi1170426pfu.212.2022.08.18.01.19.06; Thu, 18 Aug 2022 01:19:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=QwwstUsz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243908AbiHRHu1 (ORCPT + 99 others); Thu, 18 Aug 2022 03:50:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37344 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229760AbiHRHuY (ORCPT ); Thu, 18 Aug 2022 03:50:24 -0400 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C8654AEDB8; Thu, 18 Aug 2022 00:50:22 -0700 (PDT) X-UUID: f4b565959cb54cf983c8fccf3b709810-20220818 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=vX2cKsWvqrnEhdZf9O25sP1+ldbSuDmn4Zp0hffNaYw=; b=QwwstUszz1fDHp5xQxEZkxNKfd3bC4i5HgLWyctQSYz+uG1kSuKWe+hmZ/pi/xfViyV8MS3/0WIQPRshaYhZhykc/J1Qqt52k1TwnNPZb5pBbZ/cmCmlguYZRsRP/xCuA8QdJkXh+a/A356G6UNuvwoX4HOkmpYQpRIIO0qwQEU=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.10,REQID:b28166fc-59e6-46eb-a816-c7db45bb4653,OB:0,L OB:0,IP:0,URL:0,TC:0,Content:-5,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release _Ham,ACTION:release,TS:-5 X-CID-META: VersionHash:84eae18,CLOUDID:b2dfabfd-9e71-4a0f-ba6b-417998daea35,C OID:IGNORED,Recheck:0,SF:nil,TC:nil,Content:0,EDM:-3,IP:nil,URL:0,File:nil ,Bulk:nil,QS:nil,BEC:nil,COL:0 X-UUID: f4b565959cb54cf983c8fccf3b709810-20220818 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1820611805; Thu, 18 Aug 2022 15:50:16 +0800 Received: from mtkmbs11n2.mediatek.inc (172.21.101.187) by mtkmbs11n2.mediatek.inc (172.21.101.187) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Thu, 18 Aug 2022 15:50:14 +0800 Received: from localhost.localdomain (10.17.3.154) by mtkmbs11n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.15 via Frontend Transport; Thu, 18 Aug 2022 15:50:14 +0800 From: Hui Liu To: , , , , , CC: , , , , , , , , , Subject: [PATCH v6 0/2] MediaTek pinctrl patch on mt8188 Date: Thu, 18 Aug 2022 15:50:10 +0800 Message-ID: <20220818075012.20880-1-hui.liu@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series include 2 patches: 1.Add pinmux definition file and pinctrl binding document for mt8188. 2.Add pinctrl driver for mt8188. Changes in patch v6: 1.Update driver file's coding style. Changes in patch v5: 1.Move ref pincfg-node.yaml to the child '^pins' node in binding document. Changes in patch v4: 1.Add gpio-line-names in binding document. 2.Fix typo in driver files. Changes in patch v3: 1.Fix binding document dt_binding_check fail issue. Changes in patch v2: 1.Change pinmux definition file name to mediatek,mt8188-pinfunc.h. 2.Change binding document name to mediatek,mt8188-pinctrl.yaml. 3.Update yaml description. Changes in patch v1: 1.Add pinmux definition file. 2.Add binding document. 3.Add mt8188 pinctrl drivers. *** BLURB HERE *** Hui.Liu (2): dt-bindings: pinctrl: mediatek: add support for mt8188 pinctrl: mediatek: add mt8188 driver .../pinctrl/mediatek,mt8188-pinctrl.yaml | 226 ++ drivers/pinctrl/mediatek/Kconfig | 12 + drivers/pinctrl/mediatek/Makefile | 1 + drivers/pinctrl/mediatek/pinctrl-mt8188.c | 1673 ++++++++++++ drivers/pinctrl/mediatek/pinctrl-mtk-mt8188.h | 2259 +++++++++++++++++ .../pinctrl/mediatek,mt8188-pinfunc.h | 1280 ++++++++++ 6 files changed, 5451 insertions(+) create mode 100644 Documentation/devicetree/bindings/pinctrl/mediatek,mt8188-pinctrl.yaml create mode 100644 drivers/pinctrl/mediatek/pinctrl-mt8188.c create mode 100644 drivers/pinctrl/mediatek/pinctrl-mtk-mt8188.h create mode 100644 include/dt-bindings/pinctrl/mediatek,mt8188-pinfunc.h -- 2.18.0