From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 78751C433EF for ; Wed, 8 Jun 2022 05:39:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=EeZVwp9EGLl1NUFl5VpUHREKMrXIePEmwsa4rX14E7U=; b=brdlmP6lG/vWL0 3LCS0uJoJJUNA3r8znlMmdIT682Og+Tsys5iu2T9ZlK6YBay028BAhYxwXWB9Q/aodnFi7qHDgZs6 1pCYCJw9ZEdT9+ermVHS2mlI6mRvOpiUbh0vXj/eoat2Ylhk+yVOnT1wFRY2csoNe10MBySyKV5c/ UtwHLYI6ABp/u4VJ/MjrdzCIYFCObktTA3dNd2sZyMl/zUE1p4pd5fQcckDa9LhPmrdUNltuOuySb r5ZEl5cRy3EqO9Kq903mIMNOsUNnba8rLzgg0pjzKQMwlM3sjKM3iAWMdia91ka/YCHwKKNhpL7tI ZPOgwrlEGAxoBZFDbNiQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nyoPj-00B9zy-UY; Wed, 08 Jun 2022 05:39:31 +0000 Received: from mailgw02.mediatek.com ([216.200.240.185]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nyoPZ-00B9yX-GM; Wed, 08 Jun 2022 05:39:22 +0000 X-UUID: ee3766b9b7a7450481ae27adde706864-20220607 X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.5,REQID:ac4edaef-ca82-4b96-b4f7-4f46d8fb0a8d,OB:0,LO B:0,IP:0,URL:0,TC:0,Content:-5,EDM:0,RT:0,SF:0,FILE:0,RULE:Release_Ham,ACT ION:release,TS:-5 X-CID-META: VersionHash:2a19b09,CLOUDID:ce780ce5-2ba2-4dc1-b6c5-11feb6c769e0,C OID:IGNORED,Recheck:0,SF:nil,TC:nil,Content:0,EDM:-3,IP:nil,URL:0,File:nil ,QS:0,BEC:nil X-UUID: ee3766b9b7a7450481ae27adde706864-20220607 Received: from mtkcas68.mediatek.inc [(172.29.94.19)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1977466459; Tue, 07 Jun 2022 22:39:17 -0700 Received: from mtkmbs10n1.mediatek.inc (172.21.101.34) by MTKMBS62N2.mediatek.inc (172.29.193.42) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 7 Jun 2022 22:39:16 -0700 Received: from mtkcas10.mediatek.inc (172.21.101.39) by mtkmbs10n1.mediatek.inc (172.21.101.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.792.15; Wed, 8 Jun 2022 13:39:14 +0800 Received: from localhost.localdomain (10.17.3.154) by mtkcas10.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 8 Jun 2022 13:39:13 +0800 From: Guodong Liu To: Linus Walleij , Rob Herring , Matthias Brugger , Sean Wang CC: Sean Wang , Zhiyong Tao , =?UTF-8?q?N=EDcolas=20F=20=2E=20R=20=2E=20A=20=2E=20Prado?= , , , , , , , Guodong Liu Subject: [PATCH v1 0/4] pinctrl: mediatek: add driver support driving and resistance property on mt8192 Date: Wed, 8 Jun 2022 13:39:05 +0800 Message-ID: <20220608053909.1252-1-guodong.liu@mediatek.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220607_223921_586485_2909D8D6 X-CRM114-Status: UNSURE ( 9.55 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Patch 1 make driver consistent with "drive-strength" properties description of pinctrl-mt8192.yaml Patch 2 make driver consistent with "mediatek,drive-strength-adv" description pinctrl-mt8192.yaml, however, "mediatek,drive-strength-adv" description of pinctrl-mt8192.yaml needs to be synchronize a little bit. Patch 3 Since the bias-pull-{up,down} is generic properties, make driver to be used for setting type {PUPD/R1/R0 , PU/PD, PU/PD/RSEL}. Patch 4 Remove some pins definitions not support PUPD/R1/R0. Please see the following for detailed description Patch 1 provides generic driving setup, which support 2/4/6/8/10/12/14/16mA driving. Patch 2 provides I2C pins specific driving setup property, can support 0.125/0.25/0.5/1mA adjustment, and also support driving setup with unit microamp. Patch 3 provides I2C pins pull up/down type which is RSEL. It can support RSEL define or si unit value(ohm) to set different resistance Patch 4 Remove pin definitions that do not support the R0 & R1 pinconfig property Guodong Liu (4): pinctrl: add generic driving setup property on mt8192 pinctrl: add drive for I2C related pins on mt8192 pinctrl: mediatek: add rsel setting on mt8192 pinctrl: mediatek: fix the pinconf definition of some GPIO pins drivers/pinctrl/mediatek/pinctrl-mt8192.c | 295 ++++++++++++---------- 1 file changed, 163 insertions(+), 132 deletions(-) -- 2.25.5 _______________________________________________ Linux-mediatek mailing list Linux-mediatek@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-mediatek From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 67EA6C43334 for ; Wed, 8 Jun 2022 05:40:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=6X5qxo6McuQEapmz5MeXTJRqjbudyqouSg/tuVI/BHI=; b=AXqaWl9rEa5lr8 AM/c+JITWdzplAq2sTOhbdqbBpcPFhTVUanHOrsnZoYa7Vy6s5PSDndPhCX5GPDD1bIk0HCsA346d 5Grq07DsV8RkXJd0nX4i8BwQK/+wkAY+w3BcBdhlgunCNOny5Xw2vtZaPn25A7zZ/vfveBAyrv6/B RdDzqCNIfYESv6Nl5aA6ISmqliyN+6ugumC0ROh7YzdbiicZ+SyQy02hJHf62KW0+X5u+yZ8N84cY 2Y318tsE6arfm8aqrRhZwCl3RiFbB9lJMIuU90Bg5GutaTYiYpcgTyV2mIVogqOCKcS45g4hbgICE NPRqPTgcyj0QYpR2oGhw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nyoPc-00B9z9-AQ; Wed, 08 Jun 2022 05:39:24 +0000 Received: from mailgw02.mediatek.com ([216.200.240.185]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nyoPZ-00B9yX-GM; Wed, 08 Jun 2022 05:39:22 +0000 X-UUID: ee3766b9b7a7450481ae27adde706864-20220607 X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.5,REQID:ac4edaef-ca82-4b96-b4f7-4f46d8fb0a8d,OB:0,LO B:0,IP:0,URL:0,TC:0,Content:-5,EDM:0,RT:0,SF:0,FILE:0,RULE:Release_Ham,ACT ION:release,TS:-5 X-CID-META: VersionHash:2a19b09,CLOUDID:ce780ce5-2ba2-4dc1-b6c5-11feb6c769e0,C OID:IGNORED,Recheck:0,SF:nil,TC:nil,Content:0,EDM:-3,IP:nil,URL:0,File:nil ,QS:0,BEC:nil X-UUID: ee3766b9b7a7450481ae27adde706864-20220607 Received: from mtkcas68.mediatek.inc [(172.29.94.19)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1977466459; Tue, 07 Jun 2022 22:39:17 -0700 Received: from mtkmbs10n1.mediatek.inc (172.21.101.34) by MTKMBS62N2.mediatek.inc (172.29.193.42) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 7 Jun 2022 22:39:16 -0700 Received: from mtkcas10.mediatek.inc (172.21.101.39) by mtkmbs10n1.mediatek.inc (172.21.101.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.792.15; Wed, 8 Jun 2022 13:39:14 +0800 Received: from localhost.localdomain (10.17.3.154) by mtkcas10.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 8 Jun 2022 13:39:13 +0800 From: Guodong Liu To: Linus Walleij , Rob Herring , Matthias Brugger , Sean Wang CC: Sean Wang , Zhiyong Tao , =?UTF-8?q?N=EDcolas=20F=20=2E=20R=20=2E=20A=20=2E=20Prado?= , , , , , , , Guodong Liu Subject: [PATCH v1 0/4] pinctrl: mediatek: add driver support driving and resistance property on mt8192 Date: Wed, 8 Jun 2022 13:39:05 +0800 Message-ID: <20220608053909.1252-1-guodong.liu@mediatek.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220607_223921_586485_2909D8D6 X-CRM114-Status: UNSURE ( 9.55 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Patch 1 make driver consistent with "drive-strength" properties description of pinctrl-mt8192.yaml Patch 2 make driver consistent with "mediatek,drive-strength-adv" description pinctrl-mt8192.yaml, however, "mediatek,drive-strength-adv" description of pinctrl-mt8192.yaml needs to be synchronize a little bit. Patch 3 Since the bias-pull-{up,down} is generic properties, make driver to be used for setting type {PUPD/R1/R0 , PU/PD, PU/PD/RSEL}. Patch 4 Remove some pins definitions not support PUPD/R1/R0. Please see the following for detailed description Patch 1 provides generic driving setup, which support 2/4/6/8/10/12/14/16mA driving. Patch 2 provides I2C pins specific driving setup property, can support 0.125/0.25/0.5/1mA adjustment, and also support driving setup with unit microamp. Patch 3 provides I2C pins pull up/down type which is RSEL. It can support RSEL define or si unit value(ohm) to set different resistance Patch 4 Remove pin definitions that do not support the R0 & R1 pinconfig property Guodong Liu (4): pinctrl: add generic driving setup property on mt8192 pinctrl: add drive for I2C related pins on mt8192 pinctrl: mediatek: add rsel setting on mt8192 pinctrl: mediatek: fix the pinconf definition of some GPIO pins drivers/pinctrl/mediatek/pinctrl-mt8192.c | 295 ++++++++++++---------- 1 file changed, 163 insertions(+), 132 deletions(-) -- 2.25.5 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A19C0CCA48F for ; Wed, 8 Jun 2022 06:43:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242271AbiFHG2k (ORCPT ); Wed, 8 Jun 2022 02:28:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44610 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347064AbiFHGNB (ORCPT ); Wed, 8 Jun 2022 02:13:01 -0400 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4123CC366F; Tue, 7 Jun 2022 22:39:55 -0700 (PDT) X-UUID: 4d1341d6bf1b4c72b87222a3247d5988-20220608 X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.5,REQID:79cb48ab-0312-40dc-8802-87df0af67eee,OB:0,LO B:10,IP:0,URL:0,TC:0,Content:-5,EDM:0,RT:0,SF:95,FILE:0,RULE:Release_Ham,A CTION:release,TS:90 X-CID-INFO: VERSION:1.1.5,REQID:79cb48ab-0312-40dc-8802-87df0af67eee,OB:0,LOB: 10,IP:0,URL:0,TC:0,Content:-5,EDM:0,RT:0,SF:95,FILE:0,RULE:Spam_GS981B3D,A CTION:quarantine,TS:90 X-CID-META: VersionHash:2a19b09,CLOUDID:d8d5967e-c8dc-403a-96e8-6237210dceee,C OID:932e8ed994a5,Recheck:0,SF:28|17|19|48,TC:nil,Content:0,EDM:-3,IP:nil,U RL:0,File:nil,QS:0,BEC:nil X-UUID: 4d1341d6bf1b4c72b87222a3247d5988-20220608 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1449899651; Wed, 08 Jun 2022 13:39:16 +0800 Received: from mtkcas10.mediatek.inc (172.21.101.39) by mtkmbs10n1.mediatek.inc (172.21.101.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.792.15; Wed, 8 Jun 2022 13:39:14 +0800 Received: from localhost.localdomain (10.17.3.154) by mtkcas10.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 8 Jun 2022 13:39:13 +0800 From: Guodong Liu To: Linus Walleij , Rob Herring , Matthias Brugger , Sean Wang CC: Sean Wang , Zhiyong Tao , =?UTF-8?q?N=EDcolas=20F=20=2E=20R=20=2E=20A=20=2E=20Prado?= , , , , , , , Guodong Liu Subject: [PATCH v1 0/4] pinctrl: mediatek: add driver support driving and resistance property on mt8192 Date: Wed, 8 Jun 2022 13:39:05 +0800 Message-ID: <20220608053909.1252-1-guodong.liu@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-gpio@vger.kernel.org Patch 1 make driver consistent with "drive-strength" properties description of pinctrl-mt8192.yaml Patch 2 make driver consistent with "mediatek,drive-strength-adv" description pinctrl-mt8192.yaml, however, "mediatek,drive-strength-adv" description of pinctrl-mt8192.yaml needs to be synchronize a little bit. Patch 3 Since the bias-pull-{up,down} is generic properties, make driver to be used for setting type {PUPD/R1/R0 , PU/PD, PU/PD/RSEL}. Patch 4 Remove some pins definitions not support PUPD/R1/R0. Please see the following for detailed description Patch 1 provides generic driving setup, which support 2/4/6/8/10/12/14/16mA driving. Patch 2 provides I2C pins specific driving setup property, can support 0.125/0.25/0.5/1mA adjustment, and also support driving setup with unit microamp. Patch 3 provides I2C pins pull up/down type which is RSEL. It can support RSEL define or si unit value(ohm) to set different resistance Patch 4 Remove pin definitions that do not support the R0 & R1 pinconfig property Guodong Liu (4): pinctrl: add generic driving setup property on mt8192 pinctrl: add drive for I2C related pins on mt8192 pinctrl: mediatek: add rsel setting on mt8192 pinctrl: mediatek: fix the pinconf definition of some GPIO pins drivers/pinctrl/mediatek/pinctrl-mt8192.c | 295 ++++++++++++---------- 1 file changed, 163 insertions(+), 132 deletions(-) -- 2.25.5