Message ID | cover.1674693008.git.daniel@makrotopia.org |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp14750wrn; Wed, 25 Jan 2023 16:35:06 -0800 (PST) X-Google-Smtp-Source: AK7set89A/jKlJ7mRz9A3BkuZFeDewOiHpPLYu6E0OCsByOYjPIsRFrWfm5RXuwdqm0PPvzIKSSh X-Received: by 2002:a17:906:a445:b0:878:605b:ffef with SMTP id cb5-20020a170906a44500b00878605bffefmr276384ejb.55.1674693306533; Wed, 25 Jan 2023 16:35:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674693306; cv=none; d=google.com; s=arc-20160816; b=SsU1WwxVsA23Ug2IcBcK0Kt5ccklkrdXh8abSHmD4L6i7FHc/p2uXxXybVBpDNRgSZ scx9r0N78z5MMXum8jmecFsGoTA4gusBeDrbJEhSEZpBzu9RyQlkCVmjPpExAzkvqFbA QPod8QNPrHPgXwBhlFsVYc/IpwfJd/QhxtSj0MGXjfT6HtzaX2sFBO/BWjGtSyatz+wT MMEpv+jHZgk3R7D9riMB3km4gipiqI8rfl+OWVZp2ypWsLJDNew8UOywgFwGxsIqeyuW FkgrT+T0ValW5KT9sjkhC+t3VsojCZzZ4LyZTohl9/hm1OuLg0iNGSxikYfbRtr2lT5R rZtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date; bh=2/D8cXmXNcAHljXU4dF+Qk+/JOcqsI8AMwgFVMFoz3c=; b=cs8jzCXuO1piSm1M0+riPDWn5T4aXqaFFNf8V2NRYqQCMag8p55VAEJLYz6CTge6ei tXJukf2KKSbFIuvNa775BjoQIl8GaCp3s7o/rLq9nV5dYHR/i/Q4rc7a6rRbbkipyVpV 8sATPAO4K9NkoZXGKAT2iOv9ADbx0gzoGMA4S2/aoFMeG0yvu0x6jdgV/PoqMiDoEHnL xBeG8C5KidCFWJcUWVB6ZwdnAFwsSDLGBLTIW6qsa8MofVAe2I73Rlflv/hfSYDzYmwB bUapIqWFo1I8cprawumNdn77ioYoxOaXD48oHsVeVcvJOCP7eRFupFydvCjYpfyAdKmH He+Q== ARC-Authentication-Results: i=1; mx.google.com; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u10-20020a170906108a00b0087851fbcfcdsi1803374eju.239.2023.01.25.16.34.43; Wed, 25 Jan 2023 16:35:06 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236343AbjAZAeJ (ORCPT <rfc822;lekhanya01809@gmail.com> + 99 others); 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 <rfc822;linux-kernel@vger.kernel.org>); 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 <daniel@makrotopia.org>) id 1pKqDJ-000393-1D; Thu, 26 Jan 2023 01:34:01 +0100 Date: Thu, 26 Jan 2023 00:33:54 +0000 From: Daniel Golle <daniel@makrotopia.org> 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 <sean.wang@kernel.org>, Linus Walleij <linus.walleij@linaro.org>, Matthias Brugger <matthias.bgg@gmail.com>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> Cc: Chen-Yu Tsai <wenst@chromium.org>, Miles Chen <miles.chen@mediatek.com>, Edward-JW Yang <edward-jw.yang@mediatek.com>, Johnson Wang <johnson.wang@mediatek.com>, Fabien Parent <fparent@baylibre.com>, Sam Shih <sam.shih@mediatek.com>, Jianhui Zhao <zhaojh329@gmail.com> Subject: [PATCH v2 0/2] add pinctrl driver for MT7981 SoC Message-ID: <cover.1674693008.git.daniel@makrotopia.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1756043208563783058?= X-GMAIL-MSGID: =?utf-8?q?1756043208563783058?= |
Series |
add pinctrl driver for MT7981 SoC
|
|
Message
Daniel Golle
Jan. 26, 2023, 12:33 a.m. UTC
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
Comments
On Thu, 26 Jan 2023 00:34:15 +0000, Daniel Golle wrote: > Add bindings for the MT7981 pinctrl driver. As MT7981 has most features > in common with MT7986 (but has a different layout in terms on pinctrl > and clocks), the existing mediatek,mt7986-pinctrl.yaml was used as an > example to create a similar document covering MT7981. > > Signed-off-by: Daniel Golle <daniel@makrotopia.org> > --- > .../pinctrl/mediatek,mt7981-pinctrl.yaml | 475 ++++++++++++++++++ > 1 file changed, 475 insertions(+) > create mode 100644 Documentation/devicetree/bindings/pinctrl/mediatek,mt7981-pinctrl.yaml > Reviewed-by: Rob Herring <robh@kernel.org>
On Thu, Jan 26, 2023 at 1:34 AM Daniel Golle <daniel@makrotopia.org> wrote: > 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. Bindings reviewed, the driver is vert straight-forward and slim, and no further comments, so patches applied for v6.3. Yours, Linus Walleij