Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp2185726ybx; Fri, 8 Nov 2019 01:01:46 -0800 (PST) X-Google-Smtp-Source: APXvYqyJcLQUvCG7Ke6pCPTaiimhuu1OeWcyNnatZ8zwjUnQpTfz/EMPdKqptm8xJQ0+vFEE2TSm X-Received: by 2002:a05:6402:602:: with SMTP id n2mr9082083edv.23.1573203706533; Fri, 08 Nov 2019 01:01:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573203706; cv=none; d=google.com; s=arc-20160816; b=FVsC/q6MvpaFG+AE+R/kpPvRNwZPS8Iltix8on878U4ISpVCV91vvqEOlVEqdd8Diq fX3lDyG3TJIlsqHt+ElsYm/LbrXnkUvABY0fGculvYFLWMZo7asYNLLZfXfF9mbDNhe3 YdMegVhgnLngxF0vXnJ/7jFCX9bb9/Bg1FXcLHaNomFXuh2nnMKl2zIjY3nPk81qWzlh 3iwbH9jTFWvBkA0pcR4pPuQUDZNDFfA8xDMBNfBds4B427MwUEmL6NhqzQrtaNZPqo+d zJFgL8XAr7Kj/98HYZ++lpHhjXJkk327HBKRQiSyKaxllI8WHmAp0qp1PqzfyrLvv+PW O/rA== 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=n6ZT3eL1JcRxCyj8TJDOefrTkZJXJHXEJkXRpxfoRDE=; b=h18AFGXtHKU3emMLTCjIWDo61jskMrRzpeI8yPXyg5PPwIyA/JD4ZGxwx36Hqk9x+3 QzA9bLbq4lj10SxrVSX74mXKab+zjIdg7abf0Ynh2V3jR+WcJA5tCEHhz1R8J/TvamRn u3/Ifh+C8pXvoc29b0okGigQEPnvSZ5alJTuO0gd6gU73aIrsvYYs8HvseS+nusTV8Ev NLm96ckBtqK+P90VEjSDNTNbSQguwwSVsQojvqZJxQqWZZgz42TVKtLZiapHYm6KtZ+3 vnYiTSzfyuUllZ/5bYo+m1pkE8tjQ76VCf+mRkfc+ouJ+dKv3Agq69BUEc4fhSgTNIjh Scjw== 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 n1si4479039eda.359.2019.11.08.01.01.22; Fri, 08 Nov 2019 01:01:46 -0800 (PST) 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 S1730868AbfKHJAm (ORCPT + 99 others); Fri, 8 Nov 2019 04:00:42 -0500 Received: from mail-sz.amlogic.com ([211.162.65.117]:18424 "EHLO mail-sz.amlogic.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729873AbfKHJAl (ORCPT ); Fri, 8 Nov 2019 04:00:41 -0500 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, 8 Nov 2019 17:00:58 +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 v5 0/3] pinctrl: meson-a1: add pinctrl driver Date: Fri, 8 Nov 2019 17:00:33 +0800 Message-ID: <1573203636-7436-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. Note that since dt-binding patch has been removed from this patch set, compiling need header file in patch 1 of [3]. Changes since v4 at [3] - remove dt-binding patch for it can be merged first according to Linus Walleij's suggestion. - make SoCs before g12a share the same aobus dt paser function - make A1 dt paser function also as common part for later chip will re-use this definition. - modify meson_map_resource return value 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/ [3] https://lore.kernel.org/linux-amlogic/1572004167-24150-1-git-send-email-qianggui.song@amlogic.com/ Qianggui Song (3): 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 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-axg.c | 1 + drivers/pinctrl/meson/pinctrl-meson-g12a.c | 9 + drivers/pinctrl/meson/pinctrl-meson-gxbb.c | 1 + drivers/pinctrl/meson/pinctrl-meson-gxl.c | 1 + drivers/pinctrl/meson/pinctrl-meson.c | 34 +- drivers/pinctrl/meson/pinctrl-meson.h | 7 + drivers/pinctrl/meson/pinctrl-meson8.c | 1 + drivers/pinctrl/meson/pinctrl-meson8b.c | 1 + 12 files changed, 1015 insertions(+), 7 deletions(-) create mode 100644 drivers/pinctrl/meson/pinctrl-meson-a1.c -- 1.9.1