Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp97274pxb; Tue, 21 Sep 2021 19:58:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyJKyw1F6TUTIALAhiK+2+DqRiip5lje8Duth8kRdalRlt9xUUlZZYfWRngf90RYfe8yidN X-Received: by 2002:a17:906:3b53:: with SMTP id h19mr25562611ejf.109.1632279503115; Tue, 21 Sep 2021 19:58:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632279503; cv=none; d=google.com; s=arc-20160816; b=DdBVSsjplivbV1kZyXPVqRtdYEwf1ZDMjJJ3ZMqntkTOgTlcKmvpJjHW367SiB2Vnr 4RD2erzQHLpqv4LAQPhdYQl0aEXSKU9qqwI6Efk1ShQ9xzn1Rvdpr8KdA72gh/3b1154 E9x2SqZ+sT9jgPlTCo1++WrgvxjOcJu5lWOf85SgNLI4LyXvMMT3A47bJJb3nH4ylrUc tbUxUVAYuYVBIyPjrxfHRMpLj7JOJt0hsYEK7z6d1ARk3hXjhrv3QoHl3UlxUWdHrhlk 9uhMHaujuXnhgtybeuXNJZ9Aq6nzy7mDFs3Otas7S5FAT9R/qNqi4pgGbf+5dymuXNZ1 CWeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=S13oWNnUgBtdE/QnbG8P9ii+g07W7iN4qrgmYugUQ2A=; b=Z7LZhC+MRoVNgv7wW0G829SKlSF1mG6/WXq3kUSqRhP13fN1fcJCsaVw9J4hYrSCvE LirnClA+7Ro0aWNy6MwpaGrhIhNYkyvkM5pOxs3IjDHfyTXR9tlXPCHz3H+/Ri51D7Io MhOpgQZDNf62WqZ2PoNb8TaYmhgb+jOCKlocBYNyV14Eze+4QDJxjm36Va37qLuQOaC6 Sd4xkXa7LTgxMnHX83EZwjs5Aj4FPH4xH7syW0aULRmJgRezI+EWpAgGjHYmeCgXCI8e zWA8lLDs3QhxxloZ43sITA6fS53/NYCSs27mtNatNnwJI6Hvx4z5ZfQgOzqHTWo8tzQn ecVQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j16si1036244edr.556.2021.09.21.19.57.58; Tue, 21 Sep 2021 19:58:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230138AbhIVC6O (ORCPT + 99 others); Tue, 21 Sep 2021 22:58:14 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:33360 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S229909AbhIVC6O (ORCPT ); Tue, 21 Sep 2021 22:58:14 -0400 X-UUID: eec432d6d11c4749a3d7f6409deede68-20210922 X-UUID: eec432d6d11c4749a3d7f6409deede68-20210922 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 64861940; Wed, 22 Sep 2021 10:56:42 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs07n2.mediatek.inc (172.21.101.141) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 22 Sep 2021 10:56:41 +0800 Received: from localhost.localdomain (10.17.3.154) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 22 Sep 2021 10:56:40 +0800 From: Zhiyong Tao To: , , , , CC: , , , , , , , , , , , , Subject: [PATCH v13 0/5] Mediatek pinctrl patch on mt8195 Date: Wed, 22 Sep 2021 10:56:35 +0800 Message-ID: <20210922025640.11600-1-zhiyong.tao@mediatek.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series includes 5 patches: 1.add rsel define. 2.change pull up/down description 3.fix coding style 4.support rsel feature for common ICs 5.add rsel setting on MT8195 Changes in patch v13: 1)change "-EOPNOTSUPP" to "-ENOTSUPP" in patch 4/5. 2)fix description on 2/5. Changes in patch v12: 1)add "ack-by" on "rsel define" patch. 2)add "change reason" in commit message and write a shema on patch document patch 2/5. 3)separate eint pm_ops fucntion support patch 4)separate rsel patch, the common parts as patch 4/5 to support common ICs. The mt8195 specific changes as patch 5/5. 5)add fix coding style patch to fix Camel spelling to avoid checkpatch warning in a following patch. 6)remove unrelated changes in rsel patch. 7)change ternary ops in resel patch 8)add "rsel_is_unit" property on struct mtk_pinctrl, and itendify "mediatek,rsel_resistance_in_si_unit" property in probe function. 9)add explanation for "MTK_PULL_RSEL_TYPE" and "MTK_PULL_PU_PD_RSEL_TYPE". 10) fix spell warning in rsel patch. Changes in patch v11: 1)add pm_ops fucntion support 2)change pull up/down description 3)add resistance value feature support. Changes in patch v10: 1)fix PARENTHESIS_ALIGNMENT of mtk_pinconf_bias_set_rsel 2)fix LONG_LINE warning in 615 in pinctrl-paris.c. Changes in patch v9: 1)fix "mtk_pinconf_bias_set_rsel" build warning. Changes in patch v8: 1)add rsel define patch 2)avoid CamelCase 3)add pinctrl rsel setting patch which is another resistance selection solution for I2C on MT8195. Changes in patch v7: 1)add version in patch and fix spelling mistakes. Changes in patch v6: 1)add "pintcrl: mediatek" as prefix. Changes in patch v5: 1)document and driver patch are apploed. 2)change '-EOPNOTSUPP' to '-ENOTSUPP' Changes in patch v4: 1)fix pinctrl-mt8195.yaml warning error. 2)remove pinctrl device node patch which is based on "mt8195.dtsi". Changes in patch v3: 1)change '^pins' to '-pins$'. 2)change 'state_0_node_a' to 'gpio_pin' which is defined in dts. 3)change 'state_0_node_b' to 'i2c0_pin' which is defined in dts. 4)reorder this series patches. change pinctrl file and binding document together in one patch. There are no changes in v1 & v2. Zhiyong Tao (5): dt-bindings: pinctrl: mt8195: add rsel define dt-bindings: pinctrl: mt8195: change pull up/down description pinctrl: mediatek: fix coding style pinctrl: mediatek: support rsel feature pinctrl: mediatek: add rsel setting on MT8195 .../bindings/pinctrl/pinctrl-mt8195.yaml | 65 ++++- drivers/pinctrl/mediatek/pinctrl-mt8195.c | 133 ++++++++++ .../pinctrl/mediatek/pinctrl-mtk-common-v2.c | 231 +++++++++++++++--- .../pinctrl/mediatek/pinctrl-mtk-common-v2.h | 45 ++++ drivers/pinctrl/mediatek/pinctrl-paris.c | 68 ++++-- include/dt-bindings/pinctrl/mt65xx.h | 9 + 6 files changed, 497 insertions(+), 54 deletions(-) -- 2.18.0