Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp5435635ybe; Tue, 17 Sep 2019 08:02:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqzl3BNR4wpS3pBkyRIpe5d/KV/Zy3uKXaSXqhdl5dzfnQQBUK/he41AwnI+O/YG65KPaHjr X-Received: by 2002:aa7:d40d:: with SMTP id z13mr4983424edq.229.1568732538870; Tue, 17 Sep 2019 08:02:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568732538; cv=none; d=google.com; s=arc-20160816; b=aKXaKDY9c9GJ+b7kKvjsuzqaLqufK/9g9uc8YHMIE86+hlPdTPON1pl7HWbgbwiGkI Ng2BEWksTwQwnxhol0xlp6xi5nVldRQRrPkLPWKa2Sq6uVRuJCi7NbjuEbbw74F2j8Za g/taDr1rrdSxSlANYtZQwX6Hsl3w6C+c8uAQzrcVP+enb8G0AGq4LlfkmnaSnHcWKD1e vjfotwOEqONcaVM14jDcwA7G8h8tWmiGivjnB4k5x+i8wCnbq953bbaD947OZ5oLrTLM 7LmRNNtZHdQSBS2PozoqrkdWd11RxCQ7kMVbdwqAzHBMgZS6zJuhArdos8vFKBGhK6B1 mt2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=YYCrpN6klpMPA3vo4u7Gi85kL2xNQ2Sx12GX0yLt+/A=; b=TKpQWeioN16aCF2enMf2QZGZ+uTITTuUDSoHWyoUyVW6kDp3GVdy+lDjDjFQskxq8U NMqRTVmUQ5v8Py8nQlKuATkCCwndaGCg/SX4txY52F/hX5A4fGk0qJPZCA9eFfUCc5f5 4eO4EPqH16OeXqKSNaKDtDaNVNeGNoNbxxsUSlbBd62Xj4Z5/49GKouPm5BuKu1ZK7ta +wx2sO68DnDxg+KBB4jvhLcxUBtauxUcjtEZlvVQU3Qv04DkFl9tAcli8wbnL3zm4LnE xaXowYhKUy2VUDtEfXEf5Qvs51h1PS64FELGVdNM0HBWxIdYY8CE+8yj6kdmAVrJvYmc UhCA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l22si1474990edq.174.2019.09.17.08.01.53; Tue, 17 Sep 2019 08:02:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404189AbfIQGWg (ORCPT + 99 others); Tue, 17 Sep 2019 02:22:36 -0400 Received: from mail-sz.amlogic.com ([211.162.65.117]:11520 "EHLO mail-sz.amlogic.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2403814AbfIQGWg (ORCPT ); Tue, 17 Sep 2019 02:22:36 -0400 X-Greylist: delayed 904 seconds by postgrey-1.27 at vger.kernel.org; Tue, 17 Sep 2019 02:22:35 EDT Received: from localhost.localdomain (10.28.8.19) by mail-sz.amlogic.com (10.28.11.5) with Microsoft SMTP Server id 15.1.1591.10; Tue, 17 Sep 2019 14:08:26 +0800 From: Qianggui Song To: Linus Walleij , CC: Qianggui Song , Neil Armstrong , Jerome Brunet , Kevin Hilman , Martin Blumenstingl , Carlo Caione , Rob Herring , Xingyu Chen , Jianxin Pan , Hanjie Lin , Mark Rutland , , , , Subject: [PATCH 0/3] pinctrl: meson-a1: add pinctrl driver Date: Tue, 17 Sep 2019 14:07:19 +0800 Message-ID: <1568700442-18540-1-git-send-email-qianggui.song@amlogic.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.28.8.19] Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset adds Pin controller driver support for Meson-A1 Soc which shares the same register layout of pinmux with previous Meson-G12A, however there is difference for gpio and pin config registers in A1. This patchset is based on A1 DTBv4[1]. [1] https://lore.kernel.org/linux-amlogic/1568276370-54181-1-git-send-email-jianxin.pan@amlogic.com Qianggui Song (3): pinctrl: add compatible for Amlogic Meson A1 pin controller pinctrl: meson-a1: add pinctrl driver for Meson A1 Soc arm64: dts: meson: a1: add pinctrl controller support .../devicetree/bindings/pinctrl/meson,pinctrl.txt | 1 + arch/arm64/boot/dts/amlogic/meson-a1.dtsi | 18 + drivers/pinctrl/meson/Kconfig | 6 + drivers/pinctrl/meson/Makefile | 1 + drivers/pinctrl/meson/pinctrl-meson-a1.c | 942 +++++++++++++++++++++ drivers/pinctrl/meson/pinctrl-meson.c | 8 +- drivers/pinctrl/meson/pinctrl-meson.h | 9 + include/dt-bindings/gpio/meson-a1-gpio.h | 73 ++ 8 files changed, 1056 insertions(+), 2 deletions(-) create mode 100644 drivers/pinctrl/meson/pinctrl-meson-a1.c create mode 100644 include/dt-bindings/gpio/meson-a1-gpio.h -- 1.9.1