From patchwork Thu Jul 18 02:23:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Inochi Amaoto X-Patchwork-Id: 813272 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02olkn2087.outbound.protection.outlook.com [40.92.44.87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2BBA52868D; Thu, 18 Jul 2024 02:24:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.92.44.87 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721269454; cv=fail; b=TRjThDL3ID74GxaIGq142DPme/iwoFwfvGkZ5ZfOlUWuIr5sSbdej7DKMoT6z4JXUeY5xbsWTWkGTGHN5+w5fdiSz4oZiK3bvAHLGrrhQCD5nHSen4M5KfYjOlNvunMxAZVxSHCdNvU/E87RmD1FEJzSczfhm1nMKCyw3HYrf3g= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721269454; c=relaxed/simple; bh=BxZObFUUay+5x1I5irEGhNhg0rwAds9wPjh2aHAU1iA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=XT6wy0osCEq2e6+dxootzdge6fZulZORgoMf1cOrBRuI3VQfqbtSFs9+q5yQmRBg5TbPx1uVZYZwvLmL9hNOvdU46tET0dRYjLXMCRzQQM1g4McCup7bZk7x6u+HP+qGOJNoWb4CuAOi/1MhMcsNZ6dSN1vTYQIgRR8QPMUv6so= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=outlook.com; spf=pass smtp.mailfrom=outlook.com; dkim=pass (2048-bit key) header.d=outlook.com header.i=@outlook.com header.b=q/Soi9id; arc=fail smtp.client-ip=40.92.44.87 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=outlook.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=outlook.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=outlook.com header.i=@outlook.com header.b="q/Soi9id" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=w219stPTG33RQejIXP0GKp7ZqAZmhHQsKamqEWBU/J89kJIHOZJCc/qn/tGC122NJEua69/VH+RhiVy7na1SVrkmMdWm29gxVEHBVjzssYKR5Td9vOX2JN7/0fQfxMcu9RNjl1xuG44OrsPktjPXZXGsx8M3/+OSPzsGaF3fWwKhevWFCwc+xxEyZbuN3UK+qkkW98hrdGQbOA+0lYJepSAIzjh/IJFLAsOgrn7yg559KqIwSvJoNmRnYFtad1c/08fSrkVVonOwkEYsnN48KaELx8WPQ6Vp5Rogh4C/ygGNZ5GAsha1oNT+q0GHB12hukKN3FH/JyZpXpukOL9Cwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=8XJaWcd263ELRaDcn1rrMT/4PFcbeLkap9rRNWsULnw=; b=XeMneuLLKN20BkVlt2SYAv80S0uqp+QxIuWN3yfN6x8Ya/wPh0EIHqwTacGQF/Ko8rhDx1lUnrYYuY9fJinbqXE8bQXpo2d6s4S4Ss0Hdlf1KdolHxiFLyErrVlmHY6e1/MpkvSATTVfbxlXLL/NjHlymCTYJVdw3AwOPnvHTXll+sN+h2OmSxy1k7CMcbe4T+Kst6bGAZptp5aRk373RCaLPLx2FXH2ewSuCT2HaseR7O7crV00f54c3IKrDEZxrCj6sNBYAcpMr9czNjgtkDazKapRe4BfLKK/NI6OwqZLrqC/QEpg03ZGZ+CaJVs2mYEikxR/q/D5nRcmU3wCpA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8XJaWcd263ELRaDcn1rrMT/4PFcbeLkap9rRNWsULnw=; b=q/Soi9idIdbqET3zw0ET71BSy+GOZdVF9Oe1UO+zXFnojyNnc9ysov7u9yvUT1CrGWJfeeq4xEyOlfQIPYrkD8ABnIKVSEiEnpk4qExX7hXs1hRtl2396KgJCVkkB66bAKkYpgHhEi+Vx7mVjqfzZ3BQEGixBtiqB8sNoPqrwbP9cEUe5tGtzk7A9dDCs35U0P/4TL3xHK1VrDIJviX9mMZaExQiWK+8SRNvnvcBs+xDSLRIwz8L5a3Ak5cFGN3uiTV0EoDOFSYZ/jlqXj/z7a122dbZUJKSDtQlWkU1Sg0XQLzwY3BiLjO3lNP+G4FJd15Ug7zFZf3bdOIfXgH57g== Received: from IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) by DS7PR20MB6786.namprd20.prod.outlook.com (2603:10b6:8:e8::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7762.28; Thu, 18 Jul 2024 02:24:10 +0000 Received: from IA1PR20MB4953.namprd20.prod.outlook.com ([fe80::ab0b:c0d3:1f91:d149]) by IA1PR20MB4953.namprd20.prod.outlook.com ([fe80::ab0b:c0d3:1f91:d149%5]) with mapi id 15.20.7784.016; Thu, 18 Jul 2024 02:24:10 +0000 From: Inochi Amaoto To: Linus Walleij , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Inochi Amaoto , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] dt-bindings: pincfg-node: Add "input-schmitt-microvolt" property Date: Thu, 18 Jul 2024 10:23:53 +0800 Message-ID: X-Mailer: git-send-email 2.45.2 In-Reply-To: References: X-TMN: [ph9q2H+Wfx1IhXCCt0ceNkLqDW4uQYRWZWpKZo/bj6M=] X-ClientProxiedBy: SI2P153CA0014.APCP153.PROD.OUTLOOK.COM (2603:1096:4:140::6) To IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) X-Microsoft-Original-Message-ID: <20240718022355.743921-1-inochiama@outlook.com> Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: IA1PR20MB4953:EE_|DS7PR20MB6786:EE_ X-MS-Office365-Filtering-Correlation-Id: b357e583-8c86-4ad6-d87d-08dca6d0b4e1 X-Microsoft-Antispam: BCL:0; ARA:14566002|19110799003|8060799006|461199028|440099028|3412199025|1710799026; X-Microsoft-Antispam-Message-Info: 9DtQkUNiSM1txQWcFo4aiW31pjkxT4lFpWnIag+P5VwHO5RawHjjktaQihHvXWBJ6gH/KT1OXsnZm4Xbcx3KbDUb1GwrUj4AwLaO0xL9GmE32jgp5NeDpMTr/eQWRJ8xB1VILwJWYy1mqbjYyWl/9+bHHmPDfLZgtCpsJfxfA3cWq1f62k95j/cnpO5ubCGqOsK0EzRr7Wfk8plIidJBljVSs1nV5Hp0ZM2JYt+6uK54y9m+IthcmomgKRCHNud/sEF0Z0AgE+StdCrGHnD5lORpOdTy8HYzgiUDwvPwDSMIFQXm4N8lGSt6rtf5FZJIDofTu+Dz5pSOMTOainZTLbMKgjnA9GMCetGWYXhEoswQ00g+ATmG8go9Xu3ba1kfgXCUXvaN8X4UWjPfKqMjAjRqsQv7MYwhsJaHYqtZ3PBWmUsXYiVDdDadH0dLjggjGGA74kU6dWMiTVswbSDxi4+gr4c0AWUYeaiUN+aCz2xzKO+7HWUzexBxsFugMlSu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zJkDb8nmPUOv8CB3kyiDawP1Wh5TNZFNLMd6GlIs0Br0A9AjYapqgcGTazuSpHijC/iqlYbEa2GbesKNJdgZ8QDuDpZicfzMgKLpiAvzogD1kZfRsujWjxdJaFPwL+txkvr9UJ8zzSpunXPLfztasqxdJ4xMRel/LAI5fHJ7kJK0qmysy3oBISukOE9khwEWC4FkUoo1KwHnxV+AELb5aOKJcPM0+BJNicf7puWM3ryABpWCic0/b5aYXK2gl/Lw6ne1PGa/O1va2pRSpLuacOBvZC5Sy5LNq73xE81hgVgRglMltx5Y6X5Eo72jU70QktBmdSvIplu53A9A61dluQVAnXPOsNL4FFgeQ8tjWRz9iInL81ppHztgU8YjUgYMQMPfjjVRVuT7IC0RfZbBVV5jXaftIcyEBOXh4QvmxopIFM5UGWs2KwZLVnWBdK2 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: b357e583-8c86-4ad6-d87d-08dca6d0b4e1 X-MS-Exchange-CrossTenant-AuthSource: IA1PR20MB4953.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jul 2024 02:24:10.1632 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR20MB6786 On Sophgo CV18XX platform, threshold strength of schmitt trigger can be configured. As this standard property is already supported by the common pinconf code. Add "input-schmitt-microvolt" property in pincfg-node.yaml so that other platforms requiring such feature can make use of this property. Signed-off-by: Inochi Amaoto Reviewed-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/pinctrl/pincfg-node.yaml | 3 +++ 1 file changed, 3 insertions(+) -- 2.45.2 diff --git a/Documentation/devicetree/bindings/pinctrl/pincfg-node.yaml b/Documentation/devicetree/bindings/pinctrl/pincfg-node.yaml index d0af21a564b4..cbfcf215e571 100644 --- a/Documentation/devicetree/bindings/pinctrl/pincfg-node.yaml +++ b/Documentation/devicetree/bindings/pinctrl/pincfg-node.yaml @@ -96,6 +96,9 @@ properties: type: boolean description: disable schmitt-trigger mode + input-schmitt-microvolt: + description: threshold strength for schmitt-trigger + input-debounce: $ref: /schemas/types.yaml#/definitions/uint32-array description: Takes the debounce time in usec as argument or 0 to disable