Received: by 10.223.185.116 with SMTP id b49csp3498039wrg; Mon, 26 Feb 2018 00:37:48 -0800 (PST) X-Google-Smtp-Source: AH8x226PfMYzRGAPdwA19ULRtFmO1ZJoJdl+cBQVw+c/vJpUOjMJ49zBhmdvOqAAkSXMJKU5sNSP X-Received: by 10.101.100.9 with SMTP id a9mr7833355pgv.102.1519634268334; Mon, 26 Feb 2018 00:37:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519634268; cv=none; d=google.com; s=arc-20160816; b=NjzCH+6vs+hjA3xH239HlQw/jJDhaAF5akcGJYUsAzWOZqAcgrAmHGWLS01wUW3p26 99u1mklz6G7toI5wZOkV4UxRLxT1vllxKJH9R9cZpHOI19fGwxU0lBqjNGSFilPPR7HM 1yqbJieuKkzxQZnU7CLWqEWMGokmeEAif/l7Yk+qGAJeNpI/vTzsubhnG+9aC7D3q7UX tjgTwFmXJgRm+vWbTlMshe5lFNflrQekjK4gfHMf6UoeQG9ZvuSJQB6e5PyLKAdhTjEx BUiZ9YInInVRgvqkUB1Pk+6gBGyMyuhKeNotycugU0YQDKfdVlfTLXyEkiBqp2CzMOMl Jcpw== 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=80nKNhpXHh+5pHajAFFmn1n1Vaz9WVFCHPSipSwLbz8=; b=O9AIeuGIfG1viPMYn1jiDU7oEGitH8BlFsIKQjsr/gSHiyBQtNzGZNNA404LVTqpIj Z2pzmo05iyqJcYEe6j9/GBGZgbVqa6CQ4u5B8/dFXQ/R5UryezOCegRWDuWmGz70fKQn jR/31yb0R0BvR2zxUQHard1v1njtGi8zdomZKi5Pj1AZRKbNOJViIDBgUbrP2s9z2ACW 7xeJiPxUYPAfSJWBTcbxQtftN8aKg8fe36zaGHoMUC2gIFw9V3CRsdLkA9zjuzJUNxKX oAHqJI0SUtqarWjUM5z2FdtWOX+Sf3NprpwvfM9cz4pUpKIyVl4myaKiBSTZjYo05sqg nfSw== 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 n8-v6si6422062pls.231.2018.02.26.00.37.34; Mon, 26 Feb 2018 00:37:48 -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 S1752275AbeBZIeR (ORCPT + 99 others); Mon, 26 Feb 2018 03:34:17 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:50983 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1752034AbeBZIeN (ORCPT ); Mon, 26 Feb 2018 03:34:13 -0500 X-UUID: 16f7546159564a30878f22d46bf8999d-20180226 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1651505187; Mon, 26 Feb 2018 16:34:10 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs01n2.mediatek.inc (172.21.101.79) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Mon, 26 Feb 2018 16:34:08 +0800 Received: from localhost.localdomain (10.17.3.153) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1210.3 via Frontend Transport; Mon, 26 Feb 2018 16:34:07 +0800 From: Zhiyong Tao To: , , , CC: , , , , , , , , , , , , Subject: [PATCH v2 0/4] PINCTRL: Mediatek pinctrl driver for mt2712 Date: Mon, 26 Feb 2018 16:33:58 +0800 Message-ID: <1519634042-12063-1-git-send-email-zhiyong.tao@mediatek.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series includes four patches: 1.Add mt2712 pintcrl head file 2.Add mt2712 pinctrl device node. 3.Add mt2712 pinctrl driver. 4.Support bias-disable of generic and special pins simultaneously Changes in patch v2: 1)Separate patch4 for supporting bias-disable of generic and special pins. 2)GPIO16~17 direction setting is changed as generic pins in mt2712 E2, So remove GPIO16~17 special direction setting and remove apmixedsys node in pinctrl device node. 3)Add pinmux define in "mt2712-pinfunc.h" and "pinctrl-mtk-mt2712.h" for mt2712 E2 design. Zhiyong Tao (4): arm64: dts: mt2712: add pintcrl file arm64: dts: mt2712: add pintcrl device node. pinctrl: add mt2712 pinctrl driver pintcrl: support bias-disable of generic and special pins simultaneously arch/arm64/boot/dts/mediatek/mt2712-pinfunc.h | 1129 ++++++++++++++ arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 18 + drivers/pinctrl/mediatek/Kconfig | 7 + drivers/pinctrl/mediatek/Makefile | 1 + drivers/pinctrl/mediatek/pinctrl-mt2712.c | 639 ++++++++ drivers/pinctrl/mediatek/pinctrl-mtk-common.c | 13 +- drivers/pinctrl/mediatek/pinctrl-mtk-mt2712.h | 1973 +++++++++++++++++++++++++ 7 files changed, 3778 insertions(+), 2 deletions(-) create mode 100644 arch/arm64/boot/dts/mediatek/mt2712-pinfunc.h create mode 100644 drivers/pinctrl/mediatek/pinctrl-mt2712.c create mode 100644 drivers/pinctrl/mediatek/pinctrl-mtk-mt2712.h -- 1.8.1.1.dirty