From patchwork Fri Sep 22 09:43:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Huqiang Qin X-Patchwork-Id: 14359 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp5442869vqi; Fri, 22 Sep 2023 02:55:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF4V9tlq87prWRToNCDYHHwN8nW0xtykFM1oS4fsUtXbtLT3CEnRFcqTOYBP8KIKhsAUZv5 X-Received: by 2002:a05:6359:6a8:b0:143:9b25:c021 with SMTP id ei40-20020a05635906a800b001439b25c021mr351355rwb.1.1695376538764; Fri, 22 Sep 2023 02:55:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695376538; cv=none; d=google.com; s=arc-20160816; b=05ejEvGTXlATmHeISBpZdnvqRM3XPZPsgdeDj6l7c3qNEHBeHyF8emNM/FGt9efh7+ KKDGWhC0n8Z6SpEw/nFspk5ZRksIlXkwgLyCislGmNvjrbLFWyM2r9yGzJd+wRPnZJ00 t9Ua0fOMuDDhxYx9XnCrFJAlJIgEFBvgnQ1u9WZfkKekYJq6m4XoDUnypnVw7Mnnl9IF h2x3Q+2taawehKyF0HBG9a+elHCW0aOZbrO0p3z1xtTrfAxByEy7JPsIJ/+lY8oMpI2a b5u3a4dLki4jp/SBb3PYKhUQb57yr1ZGBM4puNOBPCfC5zUvoCRNYCNHTopu+QiqdZFC E6oQ== 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; bh=c01ZQZCSfvKL7y+BRBstEwF2AfE7EBVVgv2P8CpC6LI=; fh=Unu24A6OtFVVWCPBK0xVewK08evrG6/FSGLBjCc1y2I=; b=a9vFOyWm1e8Pmmni9lQAMZHKJChVlV47W1b0avRPnvyENbuK/zKvS5ZjM9fzQIR7mn bYiYG2twOviYAnJX5rDp9Y5QnLZPBsWy09RG8H2y3+A0BfP7O/ql7mLHAk2ursuz/0TH 5d3xR4kvI/iksdejy3lN7ZlY8QSiNVsXG63mc1skEdUGwnmq8yssospPxm6lZSGuQlCY F603D6dr0Fx4tvooZi2+FMt+XQh6TVyX4XoWbTqsrbKzPB526kWCmEBqQuzEEbDUSZVa yli1EC+fUvZRcAOFP90tPT6gCE9jUS+RgvUINLIFTZH7z/5wan38jvWDGlMmc8YQJ5hG zpbQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=amlogic.com Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id i184-20020a6387c1000000b0057d7cff25b5si546736pge.258.2023.09.22.02.55.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 02:55:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=amlogic.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 420BE82296A8; Fri, 22 Sep 2023 02:44:13 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230238AbjIVJoG (ORCPT + 30 others); Fri, 22 Sep 2023 05:44:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33010 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230071AbjIVJoE (ORCPT ); Fri, 22 Sep 2023 05:44:04 -0400 Received: from mail-sh.amlogic.com (mail-sh.amlogic.com [58.32.228.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD8D094; Fri, 22 Sep 2023 02:43:57 -0700 (PDT) Received: from rd02-sz.amlogic.software (10.28.11.83) by mail-sh.amlogic.com (10.18.11.5) with Microsoft SMTP Server id 15.1.2507.13; Fri, 22 Sep 2023 17:43:50 +0800 From: Huqiang Qin To: , , , , , , , , , CC: , , , , , Huqiang Qin Subject: [PATCH V3 0/3] Add pinctrl driver support for Amlogic T7 SoCs Date: Fri, 22 Sep 2023 17:43:39 +0800 Message-ID: <20230922094342.637251-1-huqiang.qin@amlogic.com> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 X-Originating-IP: [10.28.11.83] X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Fri, 22 Sep 2023 02:44:13 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777731149556912893 X-GMAIL-MSGID: 1777731149556912893 This patch adds pinctrl driver support for Amloigc T7 SoC (A311D2) [PATCH 1/3]: V1 -> V2: Rename amlogic-t7-gpio.h to amlogic,t7-periphs-pinctrl.h Corrected indentation format. V2 -> V3: Updated subject. [PATCH 2/3]: V1 -> V2: Include header file changed to amlogic,t7-periphs-pinctrl.h V2 -> V3: Removed redundant blank line. [PATCH 3/3]: V1 -> V2: Unchanged. V2 -> V3: Unchanged. Huqiang Qin (3): dt-bindings: pinctrl: Add support for Amlogic T7 SoCs pinctrl: Add driver support for Amlogic T7 SoCs arm64: dts: Add pinctrl node for Amlogic T7 SoCs .../pinctrl/amlogic,meson-pinctrl-a1.yaml | 1 + arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi | 16 + drivers/pinctrl/meson/Kconfig | 6 + drivers/pinctrl/meson/Makefile | 1 + drivers/pinctrl/meson/pinctrl-amlogic-t7.c | 1611 +++++++++++++++++ .../gpio/amlogic,t7-periphs-pinctrl.h | 179 ++ 6 files changed, 1814 insertions(+) create mode 100644 drivers/pinctrl/meson/pinctrl-amlogic-t7.c create mode 100644 include/dt-bindings/gpio/amlogic,t7-periphs-pinctrl.h base-commit: e143016b56ecb0fcda5bb6026b0a25fe55274f56