From patchwork Mon Mar 25 12:41:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhiyong Tao X-Patchwork-Id: 1064263 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-gpio-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=mediatek.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 44SYnB3xwCz9sT7 for ; Mon, 25 Mar 2019 23:42:22 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731231AbfCYMl5 (ORCPT ); Mon, 25 Mar 2019 08:41:57 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:61399 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1731096AbfCYMl4 (ORCPT ); Mon, 25 Mar 2019 08:41:56 -0400 X-UUID: 13c0bfc77b9c4ad081e7542d806cccf5-20190325 X-UUID: 13c0bfc77b9c4ad081e7542d806cccf5-20190325 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 912487030; Mon, 25 Mar 2019 20:41:49 +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.1395.4; Mon, 25 Mar 2019 20:41:40 +0800 Received: from localhost.localdomain (10.17.3.153) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Mon, 25 Mar 2019 20:41:39 +0800 From: Zhiyong Tao To: , , , , CC: , , , , , , , , , , , , , Subject: [PATCH v3 RESEND 0/4] PINCTRL: Mediatek pinctrl patch on mt8183 Date: Mon, 25 Mar 2019 20:41:33 +0800 Message-ID: <20190325124137.6117-1-zhiyong.tao@mediatek.com> X-Mailer: git-send-email 2.12.5 MIME-Version: 1.0 X-TM-SNTS-SMTP: 315498D66F836E635214DB8D139430440DF7A464694D865B66E2D9BD454BCD972000:8 X-MTK: N Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org This series includes 4 patches: 1.add pintcrl binding document on mt8183. 2.add pintcrl file on mt8183. 3.add pintcrl device node on mt8183. 4.add drive for I2C related pins on MT8183. Changes in patch v3: 1)add the patch "dt-bindings: pinctrl: mt8183: add binding document". 2)add the patch "arm64: dts: mt8183: add pintcrl file". 3)add the patch "arm64: dts: mt8183: add pintcrl device node". 4)add more datail information for the specific driving setup in commit message. 5)use "mediatek,drive-strength-adv" instead of "mediatek,drive-enable-adv" and "mediatek,drive-enable-disable". 6)change "PINCTRL_PIN_REG_DRV_EN_DIS" to "PINCTRL_PIN_REG_DRV_EN". 7)change the function "mtk_pinconf_adv_drive_set". Changes in patch v2: 1)add the details strength specification of the I2c pins. 2)change "mt8183_pin_drv_en_dis_range" to "mt8183_pin_e1e0en_range". 3)change "mt8183_pin_drv_e0_range" to "mt8183_pin_e0_range". 4)change "mt8183_pin_drv_e1_range" to "mt8183_pin_e1_range". Zhiyong Tao (4): dt-bindings: pinctrl: mt8183: add binding document arm64: dts: mt8183: add pintcrl file arm64: dts: mt8183: add pintcrl device node pinctrl: add drive for I2C related pins on MT8183 .../devicetree/bindings/pinctrl/pinctrl-mt8183.txt | 132 +++ arch/arm64/boot/dts/mediatek/mt8183-pinfunc.h | 1120 ++++++++++++++++++++ arch/arm64/boot/dts/mediatek/mt8183.dtsi | 27 +- drivers/pinctrl/mediatek/pinctrl-mt8183.c | 50 + drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c | 47 + drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h | 11 + drivers/pinctrl/mediatek/pinctrl-paris.c | 12 + 7 files changed, 1398 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/pinctrl/pinctrl-mt8183.txt create mode 100644 arch/arm64/boot/dts/mediatek/mt8183-pinfunc.h --- 2.12.5