From patchwork Sun Nov 6 08:01:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Wunderlich X-Patchwork-Id: 1233 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp1381122wru; Sun, 6 Nov 2022 01:02:39 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6v+w/0UKqzADc87dVPs0njEPdl46lZ2OTGvYeTIVxYkwxM0vlBwqrBM4NnKilx49GmlzUX X-Received: by 2002:a63:1f53:0:b0:46f:ea8b:d746 with SMTP id q19-20020a631f53000000b0046fea8bd746mr24447521pgm.144.1667721758899; Sun, 06 Nov 2022 01:02:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667721758; cv=none; d=google.com; s=arc-20160816; b=c5/zG734VgyWaEKrJL45Moggvb0KQjm2kH7L9C3FCPFtuF1+YTR8tcoGOTWXAEBpFb Cj7FInRrtxnPHNjJd1sluh1gfeqrEPxo6lzHdwGVghzGYlZCYUeAHH9UZT7FspcSpq5Q g1hIovLBoTCkfgbDfj+eJ/in/NdJB74VHNZQT08TR/x6l0tYAcJMCxiYRzIzn0gOuB3z JKlqVxCR2sWQmHyQfumSAk7wjicyUOQtL8WETTi7QNZ5YAvPhXvaGYu0eLCCzPEG+hHT 0OiT4tWkseONuIW5tQP4S2peM+bhpJsjTQL37FjRXPy1oefNe0+KiFjNkcQs6P/tH45n EjRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=mdh0JZbus3L1IA6cFN14kANToV9RcRy1oDUVqP1gpbA=; b=V3BFqHxMl6U2B1fCTkAXADZElY2KUnrfktFptXKG1mHcxvBJsEW6sqoM/QtsYuq5Ei xUiGR0y6BrR/xz8y9dEakuO2TeaSdOe5jX+kr/ISbI7zaH+v/t0Pm4I3kDfAc1nOfa8R ja3Ud54qndr0Or/DoXv7cwnivIdtPonMLDLeB5Omn/nNnqkZ+B8f7Co+OoZ+ZtR7Sztf YyBM7MEIGww7xvRikEFxedanTudUJGXY+SOPczLqHC0/joIK+bvhCvtzbAlH0OlrfDVy tQsCHCQW3JWxx/9htWGI/R3RIOXiypKH3UthZU8qbYtEzzsJsKXX6IVv1kT95FO41F00 JHcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mailerdienst.de header.s=20200217 header.b=xHtUEUBv; 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 i63-20020a638742000000b004704321e058si5893298pge.247.2022.11.06.01.02.25; Sun, 06 Nov 2022 01:02:38 -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=@mailerdienst.de header.s=20200217 header.b=xHtUEUBv; 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 S229707AbiKFIBj (ORCPT + 99 others); Sun, 6 Nov 2022 03:01:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51508 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229674AbiKFIBb (ORCPT ); Sun, 6 Nov 2022 03:01:31 -0500 Received: from mxout4.routing.net (mxout4.routing.net [IPv6:2a03:2900:1:a::9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D923633D; Sun, 6 Nov 2022 01:01:30 -0700 (PDT) Received: from mxbox3.masterlogin.de (unknown [192.168.10.78]) by mxout4.routing.net (Postfix) with ESMTP id 3E118100067; Sun, 6 Nov 2022 08:01:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailerdienst.de; s=20200217; t=1667721688; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=mdh0JZbus3L1IA6cFN14kANToV9RcRy1oDUVqP1gpbA=; b=xHtUEUBvoMD2UHy2lWvVoW/VttiFBdmv2Cs1lqwaCXq7isW5cxsTF57/T6oOL9JYEOWXt5 hX3Fc32pOwwttmWEmRZM1Qqi/2peCIuWYxMoOraDBuI4W59oiyFOahAmbTEYlCym6Fneyi FnYCHT6RYRd3Ai+aIEr6zWLn2OAM+KM= Received: from frank-G5.. (fttx-pool-80.245.79.199.bambit.de [80.245.79.199]) by mxbox3.masterlogin.de (Postfix) with ESMTPSA id 701C03602A8; Sun, 6 Nov 2022 08:01:27 +0000 (UTC) From: Frank Wunderlich To: linux-mediatek@lists.infradead.org Cc: Frank Wunderlich , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Matthias Brugger , Sean Wang , Sam Shih , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/6] update mediatek MT7986 pinctrl driver Date: Sun, 6 Nov 2022 09:01:07 +0100 Message-Id: <20221106080114.7426-1-linux@fw-web.de> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Mail-ID: a546a87b-a989-4c8a-a19b-b2a470829b89 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748733011239642616?= X-GMAIL-MSGID: =?utf-8?q?1748733011239642616?= From: Frank Wunderlich This patch series introduces common bias-pull* pinconf support to MediaTek MT7986 pinctrl driver and fix some register offsets in the driver. v2: - added patches previously postes separately which are needed to have dt binding checks clean - fixed odd numbers in comments for mt7986_pull_type Frank Wunderlich (2): dt-bindings: pinctrl: update pcie/pwm/spi bindings for MT7986 SoC dt-bindings: pinctrl: update uart/mmc bindings for MT7986 SoC Sam Shih (4): dt-bindings: pinctrl: mt7986: add generic bias-pull* support pinctrl: mediatek: fix the pinconf register offset of some pins pinctrl: mediatek: extend pinctrl-moore to support new bias functions pinctrl: mediatek: add pull_type attribute for mediatek MT7986 SoC .../pinctrl/mediatek,mt7986-pinctrl.yaml | 108 ++++++++++++++++-- drivers/pinctrl/mediatek/pinctrl-moore.c | 49 ++++++-- drivers/pinctrl/mediatek/pinctrl-mt7986.c | 80 +++++++++++-- 3 files changed, 207 insertions(+), 30 deletions(-)