Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4186554imm; Mon, 6 Aug 2018 19:10:42 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcuEYNlCUeqGqaz7qyXSWl1bP4OymYw7VUawY21LV6tg/JN3t9iOFJgHglNMs/vgNCbLSTt X-Received: by 2002:a62:7590:: with SMTP id q138-v6mr11302455pfc.1.1533607842333; Mon, 06 Aug 2018 19:10:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533607842; cv=none; d=google.com; s=arc-20160816; b=ueZyfbjhIj7jn3mWE9duxg/+U2vaBKVVXGaMLEYyS0IABvBg0hZp/AJq6KmugRJ+po TNnZcvyShRvs3iiQQKLxX/wVZZZ1t0bhX2KeYQTmH88virYohiY/GS+FSUWcoRBw0kz5 SoA+omKFJxuFFL1Uva/pO3dt33NwNhija9x7HHT1Rr/H8oWLqW3MIjYkN4u6u2ljKNAh XJMQ3cUbLYBbzk2Kn1G6sIgyEuCLUrGinrvvm3RkBsVw0UwJQRKAZknQBMzuxrfQxDt0 /r+sBF0E9IIJzC1qV4UVirE/oWgPvBJBrleJJd6rFuh1XMobIpbGh2uOj0hNmeRqfYJe Gflg== 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:arc-authentication-results; bh=6vse+ifHG2kyvTknDY/7KGIFdchsNH0r8vOxQTL0RLs=; b=cnNeZ0zLMzOATTMwAymTB6a3WMWQSK5r5aoRS+09HZrkAGVMPb7JjQzmQtqNmWdquk WGk89LlixkXzN4MwpEGlfcXvsUECVee80Abb8NRgse8DuZSty1OxyPWHw5FpNOXQmTmH SFZxa0TgEFmQhzqJmaeVC6dxjcExQLLYInlGTZ9j8QtLhSsnyRUAvsCOOF/+bOxQ+t/b oWBWuNVkhEf+HvK8g9Tdu0W6bx/I9q0fOwc3gyxjFq/1vxez7xP9zg58xJuCAK+3w0CD bEf4O8Mt5hIuR+zVodRZvLUbxIrRHIDZL++0l4hi5FYhg/WYJ8TThzao+MrrSFSObLWz 0AFQ== 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 r11-v6si104193pfc.253.2018.08.06.19.10.28; Mon, 06 Aug 2018 19:10:42 -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 S1727124AbeHGETR (ORCPT + 99 others); Tue, 7 Aug 2018 00:19:17 -0400 Received: from mail-sh2.amlogic.com ([58.32.228.45]:35522 "EHLO mail-sh2.amlogic.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725815AbeHGETR (ORCPT ); Tue, 7 Aug 2018 00:19:17 -0400 Received: from ofmlt.linux-actions.org (10.18.20.235) by mail-sh2.amlogic.com (10.18.11.6) with Microsoft SMTP Server id 15.0.1320.4; Tue, 7 Aug 2018 10:07:27 +0800 From: Yixun Lan To: Linus Walleij , CC: Yixun Lan , Neil Armstrong , Jerome Brunet , Kevin Hilman , Carlo Caione , Martin Blumenstingl , Rob Herring , Xingyu Chen , , , , Subject: [PATCH v3 0/2] pinctrl: meson-g12a: add pinctrl driver support Date: Tue, 7 Aug 2018 10:06:32 +0800 Message-ID: <20180807020634.18182-1-yixun.lan@amlogic.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.18.20.235] Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series try to add pinctrl driver support for the Meson-G12A SoC. The pinctrl driver for Meson-G12A SoC share the similar IP as the previous Meson-AXG SoC, both use same pinmux ops (register layout). But, a new driver is needed here due to the differences in the pins. Changes since v2 at [2] - use ${FUNCTION}_${DOMAIN}_${PORT}_${PINFUNC}_${BANK}${PINNUM} to rename some pins - fix tdm groups - explain the similarity of pinmux between AXG and G12A - thanks Martin - collect Rob's Reviewed-by Changes since v1 at [1] - add Martin's Ack, Xingyu's Signed-off - squash patch 1,2 (documentation & header file) - explain pinctrl IP - notice GPIOE located in AO bank [1] https://lkml.kernel.org/r/20180704224511.29350-1-yixun.lan@amlogic.com [2] https://lkml.kernel.org/r/20180714232754.5402-1-yixun.lan@amlogic.com Yixun Lan (2): documentation: pinctrl: Add compatibles for Amlogic Meson G12A pin controllers pinctrl: meson-g12a: add pinctrl driver support .../bindings/pinctrl/meson,pinctrl.txt | 2 + drivers/pinctrl/meson/Kconfig | 6 + drivers/pinctrl/meson/Makefile | 1 + drivers/pinctrl/meson/pinctrl-meson-g12a.c | 1404 +++++++++++++++++ include/dt-bindings/gpio/meson-g12a-gpio.h | 114 ++ 5 files changed, 1527 insertions(+) create mode 100644 drivers/pinctrl/meson/pinctrl-meson-g12a.c create mode 100644 include/dt-bindings/gpio/meson-g12a-gpio.h -- 2.18.0