From patchwork Mon Aug 17 00:16:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "zhiyong.tao" X-Patchwork-Id: 11716241 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A255F739 for ; Mon, 17 Aug 2020 00:28:23 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 360E1206F4 for ; Mon, 17 Aug 2020 00:28:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="dEK7vXLt"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="td2cgV+p" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 360E1206F4 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=mediatek.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.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=hGsHY9SY3l7LHaLymhqaNmCnWZOZ3J06eJN4o4scusw=; b=dEK7vXLt7+ucrsWDY3kFSATffe xpVxHdsqE+Vwcp17OBuEmPBQJRk1gszAzsyFSrOAIRt9knvxCIkUj9r0pAcNVIoxL4kdilSh5J6D1 yhV05mXD9lE/U5kfIthw9oobmt1ZHmy3dK+ZrwLcfJttKy2M5ZUb7zupLS52v9OVzcgCbd8b/i5ji y/+ItCN6MNo1GIf5vK0alrBN4NmAGV+xa3pABYgJ//3b46MP3EwtDD8KbbiuyoLvVaZOnl52fOaui Cm2hVdShUA20ZzsirCffkvhdjNDWusTG6HjPK30iJHfpBCfo91zXZFZihmaOWz2wIoiUTsW5UMLHN b2YQwkFw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k7T0e-0001bP-NG; Mon, 17 Aug 2020 00:28:20 +0000 Received: from mailgw02.mediatek.com ([216.200.240.185]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1k7T0c-0001ac-7B; Mon, 17 Aug 2020 00:28:19 +0000 X-UUID: 3e38b98ce0fb4460ae27751dc7a9ed87-20200816 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=1S+vYeTE7vu8toawaEc6xhSra2zzhzuKWQJjR/BQbsg=; b=td2cgV+pOkmYb9/beDcFY+zTPmR7NsU/df4SnAUl6RmGZCP0fea54+vTeZvaZ5HXW6HtJQZlavbdPZLE245gqtQatSQL08M6X7qQivW1biboYakYg4QqYfGXW7Z17WxTJk0q0PsniQcpZSsp1iZf6eAYdgEMls9Mzpu+NUy3Jlo=; X-UUID: 3e38b98ce0fb4460ae27751dc7a9ed87-20200816 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLS) with ESMTP id 166168583; Sun, 16 Aug 2020 16:28:14 -0800 Received: from MTKMBS01N1.mediatek.inc (172.21.101.68) by MTKMBS62DR.mediatek.inc (172.29.94.18) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sun, 16 Aug 2020 17:18:18 -0700 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs01n1.mediatek.inc (172.21.101.68) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 17 Aug 2020 08:18:08 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 17 Aug 2020 08:18:06 +0800 From: Zhiyong Tao To: , , , , Subject: [PATCH v4 0/3] Mediatek pinctrl patch on mt8192 Date: Mon, 17 Aug 2020 08:16:59 +0800 Message-ID: <20200817001702.1646-1-zhiyong.tao@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200816_202818_882207_4EE1C036 X-CRM114-Status: GOOD ( 10.99 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 MIME_BASE64_TEXT RAW: Message text disguised using base64 encoding -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, sean.wang@mediatek.com, srv_heupstream@mediatek.com, chuanjia.liu@mediatek.com, biao.huang@mediatek.com, zhiyong.tao@mediatek.com, erin.lo@mediatek.com, hui.liu@mediatek.com, seiya.wang@mediatek.com, linux-kernel@vger.kernel.org, sin_jieyang@mediatek.com, hongzhou.yang@mediatek.com, sj.huang@mediatek.com, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, eddie.huang@mediatek.com, jg_poxu@mediatek.com Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org This series includes 3 patches: 1.add pinctrl file on mt8192. 2.add pinctrl binding document on mt8192. 3.add pinctrl driver on MT8192. Changes in patch v4: 1)remove execute permission of 'pinctrl-mt8192.yaml'. 2)change '$ref: "pinmux-node.yaml"' under '^pins'. 3)add a pin node sample in 'examples'. Changes in patch v3: 1)fix running 'make dt_binding_check' errors. 2)change 'node' to 'pincontroller'. 3)add an actual example. 4)change ref as 'pinmux-node.yaml'. 5)remove 'GENERIC_PINCONFIG'. 6)add 'addtionalProperties: false'. Changes in patch v2: 1)change maintainers name in pinctrl-mt8192.yaml. 2)remove unused description for "reg-names". 3)change 'subnode format:' which is not a child name to "^pins". 4)add ('|') after "description:". 5)remove "i2c0_pins_a: i2c0" and "i2c0_pins_a: i2c1". 6)add properties for pin configuration nodes. Zhiyong Tao (3): dt-bindings: pinctrl: mt8192: add pinctrl file dt-bindings: pinctrl: mt8192: add binding document pinctrl: add pinctrl driver on mt8192 .../bindings/pinctrl/pinctrl-mt8192.yaml | 155 ++ drivers/pinctrl/mediatek/Kconfig | 7 + drivers/pinctrl/mediatek/Makefile | 1 + drivers/pinctrl/mediatek/pinctrl-mt8192.c | 1409 ++++++++++ drivers/pinctrl/mediatek/pinctrl-mtk-mt8192.h | 2275 +++++++++++++++++ include/dt-bindings/pinctrl/mt8192-pinfunc.h | 1344 ++++++++++ 6 files changed, 5191 insertions(+) create mode 100644 Documentation/devicetree/bindings/pinctrl/pinctrl-mt8192.yaml create mode 100644 drivers/pinctrl/mediatek/pinctrl-mt8192.c create mode 100644 drivers/pinctrl/mediatek/pinctrl-mtk-mt8192.h create mode 100644 include/dt-bindings/pinctrl/mt8192-pinfunc.h --- 2.25.1