Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4078334ybg; Fri, 25 Oct 2019 13:01:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqyyZpkH2+Wd1T+FHCSrah+otQ7BRxL0wuHUIuJLH+qsx/jJWWkneXLNKwE/ARYmnRZqYVjr X-Received: by 2002:aa7:db88:: with SMTP id u8mr6069256edt.278.1572033668152; Fri, 25 Oct 2019 13:01:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572033668; cv=none; d=google.com; s=arc-20160816; b=N+b/lbbZpi7fE24AxsuQTH/tV0rfdKm4MBKOc4Kb3QM1U1mpGzOIB1xzCo9MtTSPaJ aPO362+gdQYdRSvWpeLVdiSDqmoBLnXRn2qBeqlr8HCFrSAjNfku203Eq2z8Po+huCjU /ItO3O/9U2k+jbx6x6D3O8MMb7Br/X/u05EpG6KkrToc3ZspZwvZ8ECt6pLtWWIAJuvZ 5IQlvh2DQlnx8SQvmiwPn8ELA8g1fZaikYT7TQPHnH3Rb/CK8VIBb9rQjX3nC3nKqgQP JbclcGjlRhjsPY/6LbqqaKYuJrZNwdIiC/+XxVKLqwqHQzTSeI4zFBhpl+0/m+LX3njJ rENQ== 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=NaKZ6h5NKLMHf3BtTsVfQp7s1fsbLQr5/MMaICM8Un0=; b=GjZDLoxDAYDPxZwtbC92/9vbrj1wcgy+NSAK5D2WaD/rIJiS5UG8pr2GX0RbAPn9k/ oXt/0sb9ePsNl7N6CZ2kOmVtx8pKrv1qbYfiUYf3+fCkNU28q8jOYyChEQs+tLhIx322 38vzsQSCXXCU57bWngB8LnO8wOpNXlPGSN6vKfxrPBHWrieUXmb8TCzCRdm6xLnr98/a xWtdGP6fn1gi92WFnMlFCapkNSMggeLal/6HvNo76LhIsNQV88+LqgvUQOGjB+A50qbT H9nYdtDQkRfYTkm+eXCeWIZV55iwCWNwRkNCrtZE5NADOw9NCkwqlOYAIyrYuoPxl+MR UX6Q== 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 cc4si2218369edb.237.2019.10.25.13.00.45; Fri, 25 Oct 2019 13:01:08 -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 S2393525AbfJYLtg (ORCPT + 99 others); Fri, 25 Oct 2019 07:49:36 -0400 Received: from mail-sz.amlogic.com ([211.162.65.117]:17053 "EHLO mail-sz.amlogic.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730867AbfJYLtf (ORCPT ); Fri, 25 Oct 2019 07:49:35 -0400 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; Fri, 25 Oct 2019 19:49:47 +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 v4 0/4] pinctrl: meson-a1: add pinctrl driver Date: Fri, 25 Oct 2019 19:49:23 +0800 Message-ID: <1572004167-24150-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. Changes since v3 at [2] - separate ao fixup from meson_pinctrl_parse_dt - provide ao extra dt parse callback for each SoC Changes since v2 at [1]: - make dt parser callback as a separate patch Changes since v1 at [0]: - collect Reviewed-by - modify commit log - add an extra dt parser function for a1 [0] https://lore.kernel.org/linux-amlogic/1568700442-18540-1-git-send-email-qianggui.song@amlogic.com/ [1] https://lore.kernel.org/linux-amlogic/1570532999-23302-1-git-send-email-qianggui.song@amlogic.com/ [2] https://lore.kernel.org/linux-amlogic/1571050492-6598-1-git-send-email-qianggui.song@amlogic.com/ Qianggui Song (4): pinctrl: add compatible for Amlogic Meson A1 pin controller pinctrl: meson: add a new callback for SoCs fixup pinctrl: meson: add pinctrl driver support 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 | 951 +++++++++++++++++++++ drivers/pinctrl/meson/pinctrl-meson-axg.c | 11 + drivers/pinctrl/meson/pinctrl-meson-g12a.c | 9 + drivers/pinctrl/meson/pinctrl-meson-gxbb.c | 11 + drivers/pinctrl/meson/pinctrl-meson-gxl.c | 11 + drivers/pinctrl/meson/pinctrl-meson.c | 9 +- drivers/pinctrl/meson/pinctrl-meson.h | 3 + drivers/pinctrl/meson/pinctrl-meson8.c | 11 + drivers/pinctrl/meson/pinctrl-meson8b.c | 11 + include/dt-bindings/gpio/meson-a1-gpio.h | 73 ++ 14 files changed, 1122 insertions(+), 4 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