From patchwork Tue Nov 5 13:03:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Burri X-Patchwork-Id: 841211 Received: from EUR03-VI1-obe.outbound.protection.outlook.com (mail-vi1eur03on2065.outbound.protection.outlook.com [40.107.103.65]) (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 5523E1D6DBB; Tue, 5 Nov 2024 13:09:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.103.65 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730812200; cv=fail; b=j7je/Zoe8Y8THOJuUctJEAqYNvXvNiC1cUlzHKtaIa+U5Ai14/pRyK+4U/yOUkA1w1nsW1z78r/xQskwg/xlpL6je04syPJJQwjEZXHwakF52qj02iiKgiQihr1HswUYSIb6jDuXjR5ADdbAtaHXSTlmIAKAxoWNFglKCg0DPwk= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730812200; c=relaxed/simple; bh=hsFSlzAzK+Y37KCdiE2V4fS/I8LptbZxhm8jRpUkzwc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=hrME/Y0iV/hR4QH+QQjYsyjHbsofSTUw6skjxpaEJm95tWprAIlYVeC56Uu+D/qNnKGChzn1vaDSVly22sssI2nM/3KUccoKMk8E5hsMlyGX3i/lNHAO8Erm8YxCD6WwWwfpuAtGCzE9ruakZuiQcrHeiWxsn2kMuoXFM+B69vc= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=mt.com; spf=pass smtp.mailfrom=mt.com; dkim=pass (2048-bit key) header.d=mt.com header.i=@mt.com header.b=naHcsTpe; arc=fail smtp.client-ip=40.107.103.65 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=mt.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mt.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=mt.com header.i=@mt.com header.b="naHcsTpe" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=JE7MGMI2qGz4OzZkwU8RQqmetnBz2HMBaumudkwMsJJQm9557zfAPppYcz+J9VLjGIbmMjhWssYhVTJfezpnTDUw6hujhm5HSHc85AXrho90zdzb069TOLlKtFwhbwG7NKmHqFKEnrgODoAtjaR3cA7FXVnh74J5yDK3wYr7kB+4nEI1EJPuCaTVCfw8nA8m92cggvnOpZFvQICh1DvJLaaaUQGe3vt2/vv5671yDyFHoey2nkSdUe4FgFkf847o1nZTXg5pCSj2KVCzvX0H3OO2wGcqS41+/4FwUn/0TNRaAXr4uqQdAifVhfbOBVzkS4nFrOJoet2s37BmkRULXQ== 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=Dm8kwbF8ujtQJ3hks0GazQ+RZH0hifiVhqY1o/rXA5A=; b=QNUsLf/WQwrrR8OQA9M14ZW1WGSdPoGOopQ6tQCv6h6zx7KW+7E23747DSIwtODE1zFfs9LnfT0J9PI5O5/nCE5g6CuM9uVNkXeSlmipXKyN47AOeiU1Qgj64cnAyg0UQ7V/tJKlXuetZ93w4vTl9L0tcDDit4Bu+1SFrWowbGio9+iR9Av/Gnqb0Nrw26X/qpLkPbR7xGIGCwTBx+dJMlMSaezUF7hPq9Md2mSh49RnoQ4+gde9SLc+cyWR5xcGTeK+QoyOvbYCVvgmraUYDNW8ohF9ZaXLgTWIrgsBb5jfHLC2Fnixz2oXtIqBm7VZwW78qdANPeyFX1V2K2/T2Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mt.com; dmarc=pass action=none header.from=mt.com; dkim=pass header.d=mt.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mt.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Dm8kwbF8ujtQJ3hks0GazQ+RZH0hifiVhqY1o/rXA5A=; b=naHcsTpesVl9udWq9u4nmGIk3d4vYyke4u7zEiVx/qmsy7AqGwXqvvfWuWiMVWbLrlf0wEafe6fCtX6J0F9k/xUUZDd6Gx/W+O4vOxaYsYBPTHpeBABuL8Ykxkv3sthdXV35ahoJSLHhsweVKCYD1/IUA2GUcpkM6slk3y+jxkTRFv0vV9C+/UnoxR+ITNUbEUbZQ5UgFDnDwzyxq2CNmkEBRErQQKQNHWVhexEKGzJfXh5zx71bGtL+f0wlv2Vu5LzD3coGv0XeU2umep4/HDtQztK2uCQ9d2Mm37+FkOuFxoZDBKfvH7Ud/MiIh7LYNHvBJDkI3ep9F1TRQ3h8+A== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=mt.com; Received: from DBBPR03MB5399.eurprd03.prod.outlook.com (2603:10a6:10:f5::22) by AS8PR03MB8468.eurprd03.prod.outlook.com (2603:10a6:20b:52e::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8114.30; Tue, 5 Nov 2024 13:09:55 +0000 Received: from DBBPR03MB5399.eurprd03.prod.outlook.com ([fe80::2fec:64f5:1893:f53a]) by DBBPR03MB5399.eurprd03.prod.outlook.com ([fe80::2fec:64f5:1893:f53a%4]) with mapi id 15.20.8114.028; Tue, 5 Nov 2024 13:09:55 +0000 From: Markus Burri To: linux-kernel@vger.kernel.org Cc: Markus Burri , Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Marek Vasut , linux-input@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v2 5/7] dt-bindings: input: matrix_keypad - add settle time after enable all columns Date: Tue, 5 Nov 2024 14:03:20 +0100 Message-Id: <20241105130322.213623-6-markus.burri@mt.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241105130322.213623-1-markus.burri@mt.com> References: <20241031063004.69956-1-markus.burri@mt.com> <20241105130322.213623-1-markus.burri@mt.com> X-ClientProxiedBy: ZR2P278CA0026.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:46::9) To DBBPR03MB5399.eurprd03.prod.outlook.com (2603:10a6:10:f5::22) Precedence: bulk X-Mailing-List: linux-input@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DBBPR03MB5399:EE_|AS8PR03MB8468:EE_ X-MS-Office365-Filtering-Correlation-Id: 9e3436e5-e6b6-4a87-d3fc-08dcfd9b243a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|52116014|376014|366016|1800799024|38350700014; X-Microsoft-Antispam-Message-Info: O7/9GSXv7S8EgawARv5K/31nigflX/j+ni7QIP8jNUMbltu2/Wkxra0A5FqwYNYeVGPlFD9MmBAIRDVmhkhI2oSUeGLOevvpMPzwT7tlP1viO/Hf4dhPsNOdetJ6+XTuHsGEIzQ5DBWVMYzyIQp2f5ESgXSWLKAc001VV3iFcDnUQHqdf+qiDUt/m7v7DUTVaCGfjQWBEgTXllhtJu6Xlk9hk17CEpccTkihaoOC/d12BBYHVygILKo30ep5kRiOrfKYnbqIMdo2p5Fpd9apEJICG20RBz+9NRVVcrvU3HvgyJ/LtxXaQEApeeFYGUAhkjICaabJEPLs2AQhzUVR+GRu31wvc85OZ0Eb+5exyMixE3UxUhQKxkNdEqoWK2ebSPNXOraThU1Ge3TsxlG0+z7N1caSbH5tatSrCN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:; CAT:NONE; SFS:(13230040)(52116014)(376014)(366016)(1800799024)(38350700014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 9XUeBsYL+3d/NNs/TcP75HYTVbfKQD/Cb7Ef0d5zNWlP9q2by7owQXpni+e5ryeA5FDmpkgsc6Eh5JNPiW5UN3DK+BKcKxwjbEuZKiZy2PoKMyklf19ZzPhDtryQJQxK0a0edFDbJQze5IffjOz8YxpPly5OGR5Q0Fa+JKAyJzWH5T56ne/1UXlAFz6IW1ljeugKDUROKYFYrcIdX4iwihPLnDrYUYEL0ci+ywbF6JgauywiKD8oX9ll4SSFnO0ygVQelZtI/4lZHGJiXNoTNuiaZAOEYsdwDNTiH4R/JmZLaGEmMQJHma4dGZwXJIzDNo+0VNFteR708sGvnyyZoL/Awgp6yogIjxmNLOG1VmTTx5P4bSE9C9tPGaH/a4B6je4RdvNQjNH6eT1o3h8O3b1wsI2GjD8H9Yu86oeTPYNjRGQjD/by/5Iljonge4v+VZjy7d04NCZs1AMuhHSp75KHwJ7RV1Sv5esJ+XkLk21MZEKPZZTrViZOg9nhLS0GEgRS8085F3hezyrJASVgsxWLICSUfYKct/e9nLSNFHJnZQa/a6dGVOF7ZnBOv1QCxHyEnF4E3Yl6IzKGlzQT/AdM9mWBUVh1wM6PPgnaEzgGcMwMtio3xn8KSyuhf9jvZQoTX+X0wwjI/MyAKenp8wKnAf9/K5U/eSt+r+SH/0dHaW8f95JO9hR5RqJZQaTTeXCc/a3DL7IFgK/q3hz4MQwcpC74urnaW/GL7tqxDIiXOswfVbW8M2LNUFZ2uf9BydvQHwep6NiwWK0SFOteuF0mF4ieW8V0Fggdc0o9o2DIDy/YKftb0iKdEnqhBsGgGZP7FC7XV5SvLYIQV2KMpZKXo2ldk62BhhRhIvZeUMSbawr6A0h3sENDB9p2R3uJWQNOJgGAaQOkuVIDVeEPmR5BmFict+C8UqA5viuLGAG54HC+LTSGm2o0xSnuGljP8aMpUharOF0VUfkN195YPqdHwA894RZXiotl1FJN/0eEYC1rIZJByYeG0oeB40sEUIMasUxWAaeUoi0/2CwMKa1+L9eWMzOR4zU2PjnntYnEaf0u1t+IKA92o8cne8GiP7suupyU54ymzObQkmaL/afczWit20j5OuLDMgPxUtE3iEcIu2oBvUaeBtAOy4x/KaL3ZLfF4bAmY/qYCi5HbpcswXPAgjL5sUzLmZsCIrOJJ1BYxby4G1HO4zX4WAptuzdCDPqQ2Q2KW4Wexc9YxP67/2/5N9/XbnBZM1ZkvcDM3X/AH0L9al+W/EcQ1cdbmhxLig9E2kfOC7w80P+PFaPjEJ2jpK7KLV6shO0RXFM/3xxOj+L72QZDuUVd2BZClXvq6cpO7T3mh4PgyAAvCaFM6kh+/Gyv/LDRuH/AcXM28cl9AX9ivKPc6IfkTs+OGPsBdBS9i0opGz6fXlJC/GEPTfnjyGzbZFI4P9gflDRIs5TeQ/UVprX6ilTmGZ3zQ4w5ddNKUwYy5l5TbNAyUlrfsksHp653MdE/S7oVP/viqrp0qUzr4QFCYrb+WFOmqQ3Aqy2Te3kM07yI1SWMOMBg6JgNxtdo8rEJs/CR9GeVf6U7ZbHxUx6IJ6WKbc5s X-OriginatorOrg: mt.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9e3436e5-e6b6-4a87-d3fc-08dcfd9b243a X-MS-Exchange-CrossTenant-AuthSource: DBBPR03MB5399.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Nov 2024 13:09:55.0102 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: fb4c0aee-6cd2-482f-a1a5-717e7c02496b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 8jb3KIH/IxdRUIq/TNWiBdONbdWXMhKqgMHbkJoqY+jgJpVDtuCW+UOE5X3Jl0FHp4olIrT84rH17I2UuZUT/g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR03MB8468 matrix_keypad with high capacity need a longer settle time after enable all columns. Add optional property to specify the settle time Signed-off-by: Markus Burri --- .../devicetree/bindings/input/gpio-matrix-keypad.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/input/gpio-matrix-keypad.yaml b/Documentation/devicetree/bindings/input/gpio-matrix-keypad.yaml index 9ea66b3..0ce89a6 100644 --- a/Documentation/devicetree/bindings/input/gpio-matrix-keypad.yaml +++ b/Documentation/devicetree/bindings/input/gpio-matrix-keypad.yaml @@ -66,6 +66,12 @@ properties: before we can scan keypad after activating column gpio. default: 0 + all-cols-on-delay-us: + description: | + Delay, measured in microseconds, that is needed + after activating all column gpios. + default: 0 + drive-inactive-cols: type: boolean description: |