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 21053C54EAA for ; Thu, 26 Jan 2023 00:34:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236307AbjAZAeJ (ORCPT ); Wed, 25 Jan 2023 19:34:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236228AbjAZAeH (ORCPT ); Wed, 25 Jan 2023 19:34:07 -0500 Received: from fudo.makrotopia.org (fudo.makrotopia.org [IPv6:2a07:2ec0:3002::71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF5B8646B8; Wed, 25 Jan 2023 16:34:05 -0800 (PST) Received: from local by fudo.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.96) (envelope-from ) id 1pKqDJ-000393-1D; Thu, 26 Jan 2023 01:34:01 +0100 Date: Thu, 26 Jan 2023 00:33:54 +0000 From: Daniel Golle To: devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Sean Wang , Linus Walleij , Matthias Brugger , Rob Herring , Krzysztof Kozlowski Cc: Chen-Yu Tsai , Miles Chen , Edward-JW Yang , Johnson Wang , Fabien Parent , Sam Shih , Jianhui Zhao Subject: [PATCH v2 0/2] add pinctrl driver for MT7981 SoC Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The MediaTek MT7981 SoC is the smaller sibbling of the MT7986 SoC. While MT7986 is already fully supported in vanilla Linux, only few things are missing to support also MT7981. Add pinctrl driver including devicetree bindings for MediaTek MT7981 which together with the added clock drivers[1] completes support for the most basic features of this SoC. A complete work-in-progress tree based on linux-next for testing is available via Github[2]: [1]: https://patchwork.kernel.org/project/linux-clk/list/?series=714497 [2]: https://github.com/dangowrt/linux Changes since v1: * cleaned up YAML bindings according to comments of Rob Herring * sync with pinctrl-mt7986.c to get pu/pd bias working Daniel Golle (2): dt-bindings: pinctrl: add bindings for MT7981 SoC pinctrl: add mt7981 pinctrl driver .../pinctrl/mediatek,mt7981-pinctrl.yaml | 475 ++++++++ drivers/pinctrl/mediatek/Kconfig | 5 + drivers/pinctrl/mediatek/Makefile | 1 + drivers/pinctrl/mediatek/pinctrl-mt7981.c | 1048 +++++++++++++++++ 4 files changed, 1529 insertions(+) create mode 100644 Documentation/devicetree/bindings/pinctrl/mediatek,mt7981-pinctrl.yaml create mode 100644 drivers/pinctrl/mediatek/pinctrl-mt7981.c base-commit: 9fbee811e479aca2f3523787cae1f46553141b40 -- 2.39.1