Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5501261pxj; Wed, 23 Jun 2021 02:38:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxKTYeT48Mrz7Lt/0xZDNjMJzGm729Ysau/bpFWx/ASXzEKuNIUc1SHR1wvVPztt8DBV2z+ X-Received: by 2002:a05:6402:1001:: with SMTP id c1mr11082731edu.26.1624441119198; Wed, 23 Jun 2021 02:38:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624441119; cv=none; d=google.com; s=arc-20160816; b=JyXfprjAK6rqkBxj2uhKztdtyyfQw7US8GdU7uX0VlRw6JgNCCUSu4Zs/ng9kNB76s 6mN7ijhXp2UWTRg+RrEXouHXtK/3RaWRB1A2oMsB7tBUzxfegfRfayVLTigUVrJo7+gW NdNG233WK1kEOxml1eiTr4qyXxf1WRi2VHAAAQAnMpSwsxrqcrEDpJ9+FuFaZBVWVrEX nshguL5VLKmCmh8DIPAy0ybhrmn0huDyaCOu+TFMWcQa8xPFPAMo7WTVccM1Tz/MdYNQ GhvZWg8JLOnAZK/kR/0avSdDZcfL7aLrMKdH4GJDY9kUs2Rk0blGuYhVC+PSiDwo6QMi NlVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=kfTuzUBhNgB4XSBrqmOkImALaXePUL8V7SNk307+tW0=; b=sYYNXFqGa+jd+gL6eKFnVibjU0F4lZpGDmtU4tV27emuTZcSSZscrw3bLAO0ubAvSa vr72n1pozsSq7VpIg0TCRNIcr9nu1+rSCiWg2G5LpxtQNpDVm5kLUsGEsL7UcvDnPufv xaPuut+9VPCCPKbruyl3lounEHPSzEnZWb5BVhVFgYrtILZIN50WosCEijlvNdKh/UG4 Zg9l2NAlO3YGMgLn3wsaNBL9tBnfwu7qy7bx0c57J4SD7LJdXWVOunCd4vvlApLss1rQ sh0ijNfYVj56TuKfaOywZJrpSLguzWmFk4KCqV/N2uWyxnM6kq5e1VkuZ3bTQJWFpJZp Pb0Q== 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 ka11si5757633ejc.367.2021.06.23.02.38.16; Wed, 23 Jun 2021 02:38:39 -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 S230170AbhFWJjj (ORCPT + 99 others); Wed, 23 Jun 2021 05:39:39 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:35500 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S230004AbhFWJji (ORCPT ); Wed, 23 Jun 2021 05:39:38 -0400 X-UUID: d132d4704be84bfaad737c0e332c7526-20210623 X-UUID: d132d4704be84bfaad737c0e332c7526-20210623 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 243492518; Wed, 23 Jun 2021 17:37:16 +0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 23 Jun 2021 17:37:14 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 23 Jun 2021 17:37:13 +0800 From: Zhiyong Tao To: , , , , CC: , , , , , , , , , , , , , , Subject: [PATCH v8 0/2] Mediatek pinctrl patch on mt8195 Date: Wed, 23 Jun 2021 17:37:08 +0800 Message-ID: <20210623093710.5340-1-zhiyong.tao@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series includes 1 patches: 1.add rsel define 2.add pinctrl rsel setting on MT8195. 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 (2): dt-bindings: pinctrl: mt8195: add rsel define pinctrl: mediatek: add rsel setting on MT8195 drivers/pinctrl/mediatek/pinctrl-mt8195.c | 96 +++++++++++++ .../pinctrl/mediatek/pinctrl-mtk-common-v2.c | 135 +++++++++++++++--- .../pinctrl/mediatek/pinctrl-mtk-common-v2.h | 10 +- drivers/pinctrl/mediatek/pinctrl-paris.c | 23 ++- drivers/pinctrl/mediatek/pinctrl-paris.h | 2 +- include/dt-bindings/pinctrl/mt65xx.h | 9 ++ 6 files changed, 248 insertions(+), 27 deletions(-) -- 2.18.0