From patchwork Mon Jul 10 04:28:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Huqiang Qin X-Patchwork-Id: 11779 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f45:0:b0:3ea:f831:8777 with SMTP id v5csp4777439vqx; Sun, 9 Jul 2023 21:42:34 -0700 (PDT) X-Google-Smtp-Source: APBJJlEvEdbfO7e906X6O2sVBH994ScUNCOyj5vP8XTMcEjW6zsZ6cOXPtxM4QINDKyKazmKzgu4 X-Received: by 2002:aa7:d349:0:b0:51e:16ae:b6d7 with SMTP id m9-20020aa7d349000000b0051e16aeb6d7mr9693188edr.33.1688964154185; Sun, 09 Jul 2023 21:42:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688964154; cv=none; d=google.com; s=arc-20160816; b=buSUV9A59+/dOJz4Uolg5CCsG7pisK6x/parQ6OvfynLSoCfN4B2hQzsniOCB6DHo7 oWZWpIzMOU1Dw70UijXSTu/GlMuXtygJmMWsSmbaMUW0Xhgk86Vdy6q/hIIb73eIz44Y D12rExmpj4w9fhQm1lM3VPhQTLvJnDWe4frO45Q8W1ILlkciO7UWttGYVbVIh4v+M+ZM tOzUkrjZUVHmDeBwhfmb8dN3yHfTTdZZEMz5Tow1aoQRRVizwuBlvYZilzeLaiO58ZnX +Oujsc6xla7MJ0qwfO1lekwDl3uojBKUSzhdqxCu1oZbzD5oSnzoYNKkfzFQnN1hFLm9 VdZA== 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=RZZggVHmDULqxvUIRxM3PV+lhCAW4Dk3XMPf+KHrlmI=; fh=AUKMIfxULl55XkFyPlia2FBK2wVT9g5Exjvm/k9fVXk=; b=DPDXUsAVtQJ2fxFN0PVZAaa3Mce7pP6cOvBI4YDnRNg4gPakIccODQaGnblPJGVTHh r+Ar7CKg43gLWWPSAE4dlR0Uu20maktzGcufZDITzLljIODflHSyPeUVRbUviZvJcR8A 69d07GS3mYqofhpUXro0teb+J8Wvwsdmju5G7Ky8aLN8YTklybvLrCeuQjD1VYlpHKzN bKXLd8N8/nSBdrm6JEU3DBZ23RBDq7VvmaNqZFXm5x9Sh1OCf21qAtRqk2vHqFsGQIwR KcTlYM/EdksX+XW3S/TAtv8VZS2G1H5mtsX+NMHpCdoVHC9hh01j+PqQx/ndXEkRMnFZ 9URQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=amlogic.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w10-20020aa7cb4a000000b0051a595dc64bsi7330628edt.105.2023.07.09.21.42.10; Sun, 09 Jul 2023 21:42:34 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=amlogic.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230107AbjGJE3e (ORCPT + 99 others); Mon, 10 Jul 2023 00:29:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46272 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229662AbjGJE3c (ORCPT ); Mon, 10 Jul 2023 00:29:32 -0400 Received: from mail-sh.amlogic.com (mail-sh.amlogic.com [58.32.228.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 714FA114; Sun, 9 Jul 2023 21:28:35 -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; Mon, 10 Jul 2023 12:28:23 +0800 From: Huqiang Qin To: , , , , , , , , , CC: , , , , , Huqiang Qin Subject: [PATCH V2 0/2] Add pinctrl driver support for Amlogic C3 SoCs Date: Mon, 10 Jul 2023 12:28:10 +0800 Message-ID: <20230710042812.2007928-1-huqiang.qin@amlogic.com> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 X-Originating-IP: [10.28.11.83] X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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: INBOX X-GMAIL-THRID: 1771007276660950907 X-GMAIL-MSGID: 1771007276660950907 This patch adds pinctrl driver support for Amloigc C3 SoC (C308L and C302X) Huqiang Qin (2): dt-bindings: gpio: Add a header file for Amlogic C3 SoCs pinctrl: Add driver support for Amlogic C3 SoCs .../pinctrl/amlogic,meson-pinctrl-a1.yaml | 1 + drivers/pinctrl/meson/Kconfig | 6 + drivers/pinctrl/meson/Makefile | 1 + drivers/pinctrl/meson/pinctrl-amlogic-c3.c | 1108 +++++++++++++++++ include/dt-bindings/gpio/amlogic-c3-gpio.h | 72 ++ 5 files changed, 1188 insertions(+) create mode 100644 drivers/pinctrl/meson/pinctrl-amlogic-c3.c create mode 100644 include/dt-bindings/gpio/amlogic-c3-gpio.h