From patchwork Fri Jul 14 12:24: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: 12064 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a6b2:0:b0:3e4:2afc:c1 with SMTP id c18csp2501991vqm; Fri, 14 Jul 2023 06:25:00 -0700 (PDT) X-Google-Smtp-Source: APBJJlHDYR+6hrwtIIHVvX01/SrsvDo4tWzPwuYgf03AbAfqPnFuTCWLWWznGb1mCxXc7LzPXC2o X-Received: by 2002:a17:903:1205:b0:1b3:b998:8007 with SMTP id l5-20020a170903120500b001b3b9988007mr3947707plh.55.1689341100081; Fri, 14 Jul 2023 06:25:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689341100; cv=none; d=google.com; s=arc-20160816; b=O/QaBgNPKsE6NbNLH5VPs27d8nR6b9yTYLja2ZHT3SwCPOwYeSUcN6B45L0AMBrR66 ScljYVZOQkORxZutFp79Y52OC9Or4NH9iWkehJ5FkaH4nGEDWpHhLx+uLDqDGnk+TB5d 9asmlp0cXWpICLqY3GSJCDy2lQDoqJowZp/CcKK2NYiSoBznyVtVg1tOk6O2GbaSIu+h mQY0mqeG+Bjxa+zTIlTV5BzrAoDTBhEBqRgtmtQDPmu1OA2euzpZw58YTGgBe8f506ut SKZD2B11k2MXacN2QCtiTy0fs5BtapA4kjigO9JoWTZh5Nary2HYP5uX7ElRDl53ZSz2 k+6A== 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=JblZsyuuRL8BOIsbGDz/yxS8mexZKf55Ydy7VfUglf4=; fh=AUKMIfxULl55XkFyPlia2FBK2wVT9g5Exjvm/k9fVXk=; b=C3UtiQmDa4zRMsUvV5sW3HBP7+BZKtAKGpypAbjRHzd+brmYaZWV28gqeJmByPToWr NPL9PL66grkHfzYkEhkPuDwJn37dn3rqaEmqrJW2DMM6JBjFvAwocnWJYDnSDnc6Dy5M gluyryzbJtTZ78IQprFVOC/FKLsHavIqNZgt/BVVSFt0I2G2ZUueDn6P7sci3xCgQwqq a06iTMgrKyWY613Yse+b2bSgLjhGbPXqLtUhwKrBqasZCr+W/2Ft0kc+z48coRiYzLay 2a9HOF8t4unA8/4f+3pxjpnOcMpkYz3ZOKAAPTU/L73E+c0INMzCPhiauGK/nzzIrOoN n+fg== 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 u5-20020a170902e5c500b001b9fa098b2fsi2685335plf.411.2023.07.14.06.24.44; Fri, 14 Jul 2023 06:25:00 -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 S234562AbjGNM3c (ORCPT + 99 others); Fri, 14 Jul 2023 08:29:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40874 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234655AbjGNM3I (ORCPT ); Fri, 14 Jul 2023 08:29:08 -0400 Received: from mail-sh.amlogic.com (mail-sh.amlogic.com [58.32.228.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F9B43593; Fri, 14 Jul 2023 05:28:37 -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, 14 Jul 2023 20:24:44 +0800 From: Huqiang Qin To: , , , , , , , , , CC: , , , , , Huqiang Qin Subject: [PATCH V3 0/2] Add pinctrl driver support for Amlogic C3 SoCs Date: Fri, 14 Jul 2023 20:24:39 +0800 Message-ID: <20230714122441.3098337-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,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: 1771402533322763591 X-GMAIL-MSGID: 1771402533322763591 This patch adds pinctrl driver support for Amloigc C3 SoC (C308L and C302X) [PATCH 1/2]: V1 -> V2: Unchanged. V2 -> V3: Updated commit message, and compatible are sorted alphabetically. [PATCH 2/2]: V1 -> V2: Added a comma to the last item of the array and a period to the commit message. V2 -> V3: Ditto, and corrected license. Huqiang Qin (2): dt-bindings: pinctrl: Add compatibles 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 base-commit: fe57d0d86f03a8b2afe2869a95477d0ed1824c96