From patchwork Thu Jun 16 16:42:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viorel Suman X-Patchwork-Id: 12884576 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 A7D26CCA486 for ; Thu, 16 Jun 2022 16:44:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377563AbiFPQoP (ORCPT ); Thu, 16 Jun 2022 12:44:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45412 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238314AbiFPQoB (ORCPT ); Thu, 16 Jun 2022 12:44:01 -0400 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2082.outbound.protection.outlook.com [40.107.22.82]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B6FF28708; Thu, 16 Jun 2022 09:44:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Pch6Exv2xBRhkWJYGkePTFcWJDWq/QpD0MxB3ISAgjdE3dJQyIFjWLlNjH6VdSCmAOo+0cMwpYU7/K9cOb/m/adW86XCccHabnJyey+y00rQJnt7cMWlBtStyXNnkCFw/sMfkxBuO7ea3ry6WCIiLxcI26pboOKZ//LKLOUdFqxVCL7bdqIUdH0Zi3KFkdkzXQTDYpkj7vb6qDMjqMwsnrwS8voxs1uaMZq0wlpLtv3+Kce39v/SaTdp3d3LH2QL21mB/M8N3yJzonWRGHhARlQM6p1SQrX10R0ZhwWgJapfMLxP2i5OTPWYvxHRE4NSKBQpbOKM/Lux9effMUOMWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=yciRjK5VMs5kFQp/Ck94eaQI0MASYSaCfcj294nfsBE=; b=CrQJO90KLCOcXJzjGfXbN16Ulnn9PtBSZb36/nw2ogGqtg97K8V/yhl/NhHYyj9/ONvI+Lmkuf5koAUF2JcODlUtyu0jHFlpLlXb/iVTPNtn1Az8lCQRJ378OK1BYfg+g4AoAVmeZOS63Ae7XIORqiSYP+AVpn2RJ0nFCtEK5HDfVbkcGgCw5jetJmoxtmuPfRG3lX0Lm/mYYcousXAQS/u4h/WTWCt0Ho7GKvuBnPwQzItvnUoo1zFQmBmdp08njiaAy4fcw4zrkUq+m7hbru7NBjKSWRNJnmbU1s67CyMEQwcGKrkrKSjiOc7Yr8NRzSTE7akrHiDtR76409qFog== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=yciRjK5VMs5kFQp/Ck94eaQI0MASYSaCfcj294nfsBE=; b=NQYqKCdH1YNdj2PWYdZr9Ryaamhc+fbQ0WNB0a11jZWUAtQM9bGdQUFlZ4mDc98LO8E8IpQxfm9ARQdXX2EviLUXE2wkmYNK+Zf1osYPuTBt4y9Y+vFI9clkxdCrANyq4MVCpEZjgjXI+WqlCyNYhDaEkgxDlor9wCM7/IwFWb4= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from VI1PR04MB5005.eurprd04.prod.outlook.com (2603:10a6:803:57::30) by HE1PR0401MB2649.eurprd04.prod.outlook.com (2603:10a6:3:85::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5332.20; Thu, 16 Jun 2022 16:43:57 +0000 Received: from VI1PR04MB5005.eurprd04.prod.outlook.com ([fe80::7505:2581:368f:5619]) by VI1PR04MB5005.eurprd04.prod.outlook.com ([fe80::7505:2581:368f:5619%5]) with mapi id 15.20.5353.015; Thu, 16 Jun 2022 16:43:57 +0000 From: Viorel Suman To: Rob Herring , Krzysztof Kozlowski , Michael Turquette , Stephen Boyd , Dmitry Torokhov , Srinivas Kandagatla , Dong Aisheng , Fabio Estevam , Shawn Guo , Stefan Agner , Pengutronix Kernel Team , Linus Walleij , Alessandro Zummo , Alexandre Belloni , "Rafael J. Wysocki" , Daniel Lezcano , Amit Kucheria , Zhang Rui , Wim Van Sebroeck , Guenter Roeck , Sascha Hauer , NXP Linux Team , Abel Vesa , Viorel Suman , Oliver Graute , Mirela Rabulea , Peng Fan , Liu Ying , Ming Qian , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-input@vger.kernel.org, linux-gpio@vger.kernel.org, linux-rtc@vger.kernel.org, linux-pm@vger.kernel.org, linux-watchdog@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Abel Vesa Subject: [PATCH v5 04/14] dt-bindings: input: Add fsl,scu-key yaml file Date: Thu, 16 Jun 2022 19:42:53 +0300 Message-Id: <20220616164303.790379-5-viorel.suman@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220616164303.790379-1-viorel.suman@nxp.com> References: <20220616164303.790379-1-viorel.suman@nxp.com> X-ClientProxiedBy: AM0PR04CA0029.eurprd04.prod.outlook.com (2603:10a6:208:122::42) To VI1PR04MB5005.eurprd04.prod.outlook.com (2603:10a6:803:57::30) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 32dd8a60-cc7e-48df-5a33-08da4fb76810 X-MS-TrafficTypeDiagnostic: HE1PR0401MB2649:EE_ X-LD-Processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: z4oOT/c85dePBCEF/T9a/w+bm5/jwLdIf0Vj6aAcXwC1QyR71Z4Bqt0C6OYsC58F64W6uEw2xFGkyRa1bef0oJSVo9ejt9O05nqX4lbNu0PmjXU3SZgLlac0zrXRdFutJVubTwbN7gnf4ZgPjFpgRhoW0vLhXX1RNOR56/rbK2FtMTE6hEMSztiOFP8/bfYVy9z9ULLu+1qoZam3QQV6YaA1bVWynQ1p4qXlQwLJpCtDDAewjNPzg+kH2/Gn+i1zn+UTjtmPO1pMSRigBTjY1NEmTaEp9vm1Ex6Rqd1Y7BtTbcKLSUj/Oee69U1/ELKNqlMksVRDNOeNB01i2fUgmvY+XptVtTtH2EFbQ9bvtroN1tcQb9HlT314/iSsgNeWsfWpnv1RjwbZQcZMuf5l49tXTrmj/0RsooslunUTW/Y1RKN/u03QPnF6fq1ZB/E8sE9hvwDJ/KL48wwP9HDdtHHhfv+xooTEOJ9cCk4cmlgUasrozKbuwR37AinclnH9x+08H4UO0o85BMBjVF4qAUJKvXM7n1TQnwnlRZWA7tK1djpQR0j0h5GwIrts6t1rbt2wYnaY/L1K4goSkBYheThO89lwMX6Fv/ziv/frO62NN8f667BcRNMnZv45xrf/tloqYI6JiZbfKFfdLD8/HgAPYEuLlM1R3M94Y1RBeAyW7BYis/5C7zto3VVfklL7G3xpvycdUr0bQUSIl57toUYs7szQ3rPmUy3PPaT2nlFoRotVeS2YxdfU0sbsotaVlmrdXrYyxZNbTAonORFLLYGpW6xjGkk1d66PlSb0pY44V7Umdiz3EBFN8VjchrCge9gDVbFnTW02E2lPBoir/poSM10dFN5LROWa+2ap3Fw= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR04MB5005.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(366004)(1076003)(86362001)(186003)(38100700002)(6666004)(5660300002)(2616005)(26005)(7416002)(6512007)(66556008)(7406005)(2906002)(83380400001)(66946007)(38350700002)(316002)(110136005)(52116002)(6506007)(8676002)(508600001)(44832011)(4326008)(966005)(36756003)(6486002)(66476007)(8936002)(921005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?iso-8859-1?q?Ksfjps2gmTo4FT/6drpM8sE?= =?iso-8859-1?q?qyZTtqrWKILUBNgsKVhk9QRCb0jRjGPHGvSx0mXIpeXY8AtGIIzGfGHP0LfG?= =?iso-8859-1?q?QobsM0zIDSbT9cbm5dIn31gBzzq1xmYhQbUNeSMn9U9DyBozd9G3RS1qcD10?= =?iso-8859-1?q?Zg3FWGjBBR6xegqG1zAuXfLxe2XLR94HgTRTfthRQIYXER+qBJWJnaBWoYAJ?= =?iso-8859-1?q?NCOr5OzaPqGdcey7F3/GvpuJumiSVnJBN+7Tkwn84Bdl2bZIn7O2rXvhQ54q?= =?iso-8859-1?q?L5uUXtEWKRLjLa73gn2F8SmjSgpNFHHwB0jG/3d82BZtv3cWZL4H6LIJHYom?= =?iso-8859-1?q?3AQfTs/JMcCequTPJij6mbHZsLBtKFsLDrt5HxZQMeEzXETCQ8vTedp4wYKa?= =?iso-8859-1?q?1MaqGm5rd7eDwK5Xr/2hzPNDbwIgjfcKjw4OQfolEV8PI70sk1Gcbne3wHnE?= =?iso-8859-1?q?l2qVDxArHrADAWyFOowwZCOyUiu3813u9yySqQ9ncByxynkbyZOH5V4+bU4C?= =?iso-8859-1?q?Pjk0uI+SCj7t5L+lgL1f0BxmFuajlAb+JdhhBrItrqboO3MPyT2h5cKhSHX2?= =?iso-8859-1?q?tUyXWUMuyyBEamgvHtX9+huCC2za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eP5Xn8po?= =?iso-8859-1?q?Sxk8DoqBbY530IgLtvEmU6zVUmKl/UiHAM7qAOH8/qJknh9otaNWle191LWJ?= =?iso-8859-1?q?H2gh5/MhN00xAiMG37mEDcKJQqzWIc3AA9aIy/cxfxrge2hirGthwvxo2Nmi?= =?iso-8859-1?q?xxPbyvYnbmcEnQvpUIzz8htxyo6mj8qhIfJM5uHhiF4fdwVgHCaY2C+bu5rU?= =?iso-8859-1?q?yBZi8BTkBduDpZVsM9pxOKywterdJ/tyaRARIqp3gm28w8RiGTPnLP4ecvdh?= =?iso-8859-1?q?csE+7Ed2RS6PAaLbu8Vw0WjbZBYW412O9X40VGG0Dr5IBAw=3D=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 32dd8a60-cc7e-48df-5a33-08da4fb76810 X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5005.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Jun 2022 16:43:57.1732 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: XXn82ckoaqGtFMZpQVDUSGGtmRL31mlxKvmAvGhx6+Z+6Pzx6zxKVy3h9q3C62CvpLyaa25MSLsEAMMQ8GiF0A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0401MB2649 Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org From: Abel Vesa In order to replace the fsl,scu txt file from bindings/arm/freescale, we need to split it between the right subsystems. This patch documents separately the 'keys' child node of the SCU main node. Signed-off-by: Abel Vesa Signed-off-by: Viorel Suman --- .../bindings/input/fsl,scu-key.yaml | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/fsl,scu-key.yaml diff --git a/Documentation/devicetree/bindings/input/fsl,scu-key.yaml b/Documentation/devicetree/bindings/input/fsl,scu-key.yaml new file mode 100644 index 000000000000..b0f4c5b553ce --- /dev/null +++ b/Documentation/devicetree/bindings/input/fsl,scu-key.yaml @@ -0,0 +1,39 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/fsl,scu-key.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: i.MX SCU Client Device Node - SCU key bindings based on SCU Message Protocol + +maintainers: + - Dong Aisheng + +description: i.MX SCU Client Device Node + Client nodes are maintained as children of the relevant IMX-SCU device node. + +allOf: + - $ref: /schemas/input/input.yaml# + +properties: + compatible: + items: + - const: fsl,imx8qxp-sc-key + - const: fsl,imx-sc-key + + linux,keycodes: true + +required: + - compatible + - linux,keycodes + +additionalProperties: false + +examples: + - | + #include + + keys { + compatible = "fsl,imx8qxp-sc-key", "fsl,imx-sc-key"; + linux,keycodes = ; + };