Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2866142rwb; Mon, 19 Sep 2022 11:07:58 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6jEw/A1zSfByAlpHO1ac8y1ulFz0bgZ6aoVPV+QZE51rAU4VwBXEYInF6x6m52MwVMhin3 X-Received: by 2002:aa7:8583:0:b0:53e:5344:2b7d with SMTP id w3-20020aa78583000000b0053e53442b7dmr19678828pfn.49.1663610878594; Mon, 19 Sep 2022 11:07:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663610878; cv=none; d=google.com; s=arc-20160816; b=QF4UyetyLuT4yQruPOH4gY+gfUUyYFB7/26hurb9C8IKqILXkKvRKvBbhCFiAHkkBr vwvWAmHkKh6hi7mjMlPIvjZ4l/IWGHupv/WjjIDs3ekY2h3f4FbiFMnlLS9xCvco0pNz VxJostDxQ5q2XOn5jdY64lR8PL0ww7n7XvKL9dN8BB66QAjTa+nfJLXb4dKu/58T9odN I1tmRbbpSoB3uIHjJQ03EDscDShm4kgWR7YY6Af3B8AcZe30Z8ZzMw7qlYM1BVRJUw+R S6IZE3dd57SFE0JEmaaoQux0a4KhwFtTDgUAJdbVmnajHmQeiEMmD+E+8DA2RYjsKRgi Vwyw== 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=gqdfX/1lhtDbmfJeIadecs7tBJ8OWa8eyinT/PgvpPY=; b=fDdFhifAxpjIMNtkM2Ypt1GRu74FDgxxrzuMQ7A1YS3Vt6cbSjzyB6fjHov97wHBtx 7X6uKc1agYwTTyaUrln3qsvrVrQV7A50jEFK+TQtJG/9+PhvrRKHQJrjY+0FBLjUJvwS YucT/vePGdVZPQXi+poGBsBb59MiQIH7PhkX5lCSd+cnfZWtYDz5a/z1mtWO79S57Rpt F09J6x+YwY9LF9qQvDQV2Zn4YE2sOe8gfZPZVeMiTOQsZe/PilxSMMX1lNEQXmDkt3nx K4TRefXkrbk9qcIR4SKfyta5xzvUNnVPlGWowL5OZLHl/Udv7vG9llbF13xaREszyfN9 Ho5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ZfZ3F+T1; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r3-20020a635d03000000b004276c7b2253si327898pgb.584.2022.09.19.11.07.46; Mon, 19 Sep 2022 11:07:58 -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=@gmail.com header.s=20210112 header.b=ZfZ3F+T1; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230214AbiISRFL (ORCPT + 99 others); Mon, 19 Sep 2022 13:05:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230490AbiISREg (ORCPT ); Mon, 19 Sep 2022 13:04:36 -0400 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58EE040E23; Mon, 19 Sep 2022 10:03:48 -0700 (PDT) Received: by mail-wm1-x336.google.com with SMTP id ay7-20020a05600c1e0700b003b49861bf48so4150706wmb.0; Mon, 19 Sep 2022 10:03:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date; bh=gqdfX/1lhtDbmfJeIadecs7tBJ8OWa8eyinT/PgvpPY=; b=ZfZ3F+T1rO9Xo20L5ZV5e36zfIvSTZwRqaV7ygVZzaSQ75HuDe4xA/hc51RpZqn5MM iST2P9W7JgM8TgtkvbIfkSbCJGmeKPfiKsQOBJ+7cRoVFK60lcqYLSdHc106YtDtTwTs zgXplemn4zZOHF0lsAvJPMr87eMjq4BQAz7V2xOEXrU6zeucfTAYKc8bvfgXLiZy4ntg THeiSiZH27eIjQCsjcoPRl8Bo6wIn9iHcDycodSpvC71vivtqksYXFnei2q7MRE0o37d JV8E1kRa3Cp7AusVUjCpc1QFzRUU4+m55nEc5dpe2+QGIumSTLpxGFF5/Zy0/G5lSk+9 Jbfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date; bh=gqdfX/1lhtDbmfJeIadecs7tBJ8OWa8eyinT/PgvpPY=; b=4qRzmNSzMp5HvYCyuoyU3yKcC511d+5N/usgCO29XgjwhaQG3Orr3+hJC7FOVoAX0m XUzmZ9RhDWsKpDGklE/OPjSHJIaG/tAnPzV9eRoeA+N0m/pIAKJyYFnSvPCOkO4xfOkM 4qv7aB9P8pHdmk3xRXKm9mYRxrubWDBI015f1V4Ifoq3JXuIyHPiGl0nojqBwpBMXSEi BJx8gqTx6P1o8vqVR2Dq4nOZMp2YdmviKhkaUmJDWRzaziN/LLdNWg4EioAlDJaLv7WF hNGjLhwn4MyIvnVDq4uvSYRWQKKXApXCA4k66Id5hREgnIEJYyB/h/iAbrWnVNx0TOV6 WvXg== X-Gm-Message-State: ACrzQf0RS9+vclMhcCIFtn8MNqp8ZLDphrr2Yiy8y7nKOnt98JEZhN2+ +9nUHPSTs88NLAu6P1hz2LE= X-Received: by 2002:a05:600c:26d2:b0:3b4:7572:4317 with SMTP id 18-20020a05600c26d200b003b475724317mr13194152wmv.134.1663607009937; Mon, 19 Sep 2022 10:03:29 -0700 (PDT) Received: from localhost.localdomain ([95.183.227.98]) by smtp.gmail.com with ESMTPSA id ci10-20020a5d5d8a000000b0021e6c52c921sm17562487wrb.54.2022.09.19.10.03.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Sep 2022 10:03:29 -0700 (PDT) From: Yassine Oudjana X-Google-Original-From: Yassine Oudjana To: Linus Walleij , Rob Herring , Krzysztof Kozlowski , Matthias Brugger , Sean Wang , Andy Teng , AngeloGioacchino Del Regno Cc: Yassine Oudjana , Yassine Oudjana , linux-mediatek@lists.infradead.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/4] MediaTek MT6735 pinctrl support and DT binding changes Date: Mon, 19 Sep 2022 20:01:11 +0300 Message-Id: <20220919170115.94873-1-y.oudjana@protonmail.com> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, 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 From: Yassine Oudjana This series adds a driver for the pin controller found on the MediaTek MT6735 and MT6735M SoCs. The two differ in the last 6 physical pins, which are used for MSDC2 on MT6735 but don't exist on MT6735M (since MSDC2 doesn't exist on it to begin with). In preparation to document DT bindings for this pin controller, the existing documents for MT67xx SoCs are combined into one in order to eliminate duplicate property definitions and standardize pin configuration node names. Yassine Oudjana (4): dt-bindings: pinctrl: Combine MediaTek MT67xx pinctrl binding docs arm64: dts: mediatek: mt6797: Make pin configuration nodes follow DT bindings dt-bindings: pinctrl: mediatek,mt67xx-pinctrl: Document MT6735 pin controller bindings pinctrl: mediatek: Add MT6735 pinctrl driver .../pinctrl/mediatek,mt6779-pinctrl.yaml | 207 - .../pinctrl/mediatek,mt6797-pinctrl.yaml | 176 - ...6795.yaml => mediatek,mt67xx-pinctrl.yaml} | 222 +- MAINTAINERS | 10 +- arch/arm64/boot/dts/mediatek/mt6797.dtsi | 20 +- drivers/pinctrl/mediatek/Kconfig | 6 + drivers/pinctrl/mediatek/Makefile | 1 + drivers/pinctrl/mediatek/pinctrl-mt6735.c | 584 +++ drivers/pinctrl/mediatek/pinctrl-mtk-mt6735.h | 3993 +++++++++++++++++ 9 files changed, 4778 insertions(+), 441 deletions(-) delete mode 100644 Documentation/devicetree/bindings/pinctrl/mediatek,mt6779-pinctrl.yaml delete mode 100644 Documentation/devicetree/bindings/pinctrl/mediatek,mt6797-pinctrl.yaml rename Documentation/devicetree/bindings/pinctrl/{mediatek,pinctrl-mt6795.yaml => mediatek,mt67xx-pinctrl.yaml} (58%) create mode 100644 drivers/pinctrl/mediatek/pinctrl-mt6735.c create mode 100644 drivers/pinctrl/mediatek/pinctrl-mtk-mt6735.h -- 2.37.3