From patchwork Thu Jan 13 03:10:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Qianggui Song X-Patchwork-Id: 12712177 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F356BC433EF for ; Thu, 13 Jan 2022 03:11:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=+sdVZH+R1LsoQmIAw+Laq7NdoWs75Ebg3nwyOwYzB44=; b=U+/zQ90bmBeqRI M1HezxDMDvjYhVMyiii/tHo4DahudEhPuLqACWqZ7o2pGiODUlidgFymysO2kYaq4oOu3V3ZI1pHQ Gc8DZ/fwMu/PttGdilPvf3VmLrqeXKenGq7Df0LaOe2yMQkaGr0kMf7Cwnf1YxwaK5tu722TwNFGh pbSF4BQOWh1rhHBnfRP0ztMiWyTXagEd7Ukuf70PXI8lwhMqX1LLoZoSEGSJklM8hA01jIUyCfo3d 3xh7fvxZ3Rx37RKSd02L2b8Ns4iStTz76ss0XXTILi3mZQW/pF3QhbrgX553D9ckjqZG0XZRumz8I G0p0gjRAZE6pkf3eeckw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n7qW5-004MpU-0f; Thu, 13 Jan 2022 03:11:09 +0000 Received: from mail-sz.amlogic.com ([211.162.65.117]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n7qVs-004MlD-Im; Thu, 13 Jan 2022 03:10:57 +0000 Received: from droid09-sz.software.amlogic (10.28.8.19) by mail-sz.amlogic.com (10.28.11.5) with Microsoft SMTP Server id 15.1.2176.2; Thu, 13 Jan 2022 11:10:46 +0800 From: Qianggui Song To: Linus Walleij , CC: Qianggui Song , Neil Armstrong , Jerome Brunet , Kevin Hilman , Martin Blumenstingl , Rob Herring , Mark Rutland , , , , Subject: [PATCH v4 0/3] pinctrl: meson-s4: add pinctrl driver Date: Thu, 13 Jan 2022 11:10:40 +0800 Message-ID: <20220113031044.2665-1-qianggui.song@amlogic.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Originating-IP: [10.28.8.19] X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220112_191056_667447_18E8AD62 X-CRM114-Status: UNSURE ( 8.30 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org This patchset adds Pin controller driver support for Meson-S4 SoC which shares the same register layout with previous Meson-A1 Changes since v3 at [2]: - collect Martin's Acked-by and Reviewed-by - remove useless empty line Changes since v2 at [1]: - add dt-bindings header file patch back with Rob's Acked-by Changes since v1 at [0]: - fix typos in commit message - fix coding style problem in pinctrl-meson-s4.c - change tdm groups makeup and split mclk groups [0] https://lore.kernel.org/linux-amlogic/20211214022100.14841-1-qianggui.song@amlogic.com/ [1] https://lore.kernel.org/linux-amlogic/20211227080649.32275-1-qianggui.song@amlogic.com/ [2] https://lore.kernel.org/linux-amlogic/20211229121605.10513-1-qianggui.song@amlogic.com Qianggui Song (3): dt-bindings: pinctrl: meson: Add compatible for S4 dt-bindings: gpio: Add a header file for Amlogic Meson S4 pinctrl: meson: add pinctrl driver support for Meson-S4 Soc .../bindings/pinctrl/meson,pinctrl.txt | 1 + drivers/pinctrl/meson/Kconfig | 6 + drivers/pinctrl/meson/Makefile | 1 + drivers/pinctrl/meson/pinctrl-meson-s4.c | 1232 +++++++++++++++++ include/dt-bindings/gpio/meson-s4-gpio.h | 99 ++ 5 files changed, 1339 insertions(+) create mode 100644 drivers/pinctrl/meson/pinctrl-meson-s4.c create mode 100644 include/dt-bindings/gpio/meson-s4-gpio.h