Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp295171imw; Mon, 4 Jul 2022 09:18:35 -0700 (PDT) X-Google-Smtp-Source: AGRyM1ttm1VU5q7o4aTjwD7YKZUy/4XMMUwpca2KiZxZHMKIy1jGP2rQlwTTjViA5FLHIPEWVohc X-Received: by 2002:a17:90b:3ec6:b0:1ec:ac25:ce6f with SMTP id rm6-20020a17090b3ec600b001ecac25ce6fmr37360072pjb.203.1656951515094; Mon, 04 Jul 2022 09:18:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1656951515; cv=pass; d=google.com; s=arc-20160816; b=x+Va6XNhyI/xEF59uYbvk5oQTw4fIi1B6ImpNnaskRkplbqVci1lZTRebTenv4HygK BXpoe0LEXNNKeCXGQsh9r0/1Gs2BsTsD5QC0mjD5B1C/wb0oqWVQkqWl+pHcl9dBv2Be cx2Nhg1WPvGS2tYPGpxnbUee3cNdjRaU13HOYJFQ2qjG4FVPI1+RBm4IXqrDxxNrWKLm lPvnLniUREFo7dMNWpAnllp3EFf0IuRmPrn6endoCWfswaL7feA3TX2Usgqrbcp5hf4h bvFe+ocWk1w+H86FV8b0r1X2HkRZM01hxj473anUh+seA3bSRX5imCJnwBNbwC2LLx7U D3mQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=hmWF8TJVOGZAxIFXFRmyH17AGE4XdhFSpByppolgW1M=; b=mHrY2HrS+6KZ3/HtvssLeDHcmsylsxrzqX5tySVy6wD2AevlPOgX3l0jQRxDdQmP0a jHEbVfTp2rAHbYI5vIalF26D72QwkytjpSl+jO5CJ7G9kOuwiC2BSGfM7bco9DYd94KS Hk7z4j2z7nHmWh/aOYbPuAT5+K4m+hz+fV+14lWOoeNGSUD9gfO08cBQ/1H5s3xWxPCL DR/bOiSva/irllMFzuM2JInS9bKWko6V2OFJdsvdrg9QIE0iJ6wwdBQmlNPv3No6H0ZR KqKzy6PYVXKUBUQlvLREGKcA6hDFgTlbp0lQscdasYVAgh4EA3WTUVZssQkkzJ8T/0dh 4AxQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=AQ4v5cP6; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n7-20020a1709026a8700b0016a308ea9d6si39933349plk.427.2022.07.04.09.18.22; Mon, 04 Jul 2022 09:18:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=AQ4v5cP6; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232403AbiGDQQs (ORCPT + 99 others); Mon, 4 Jul 2022 12:16:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52928 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234234AbiGDQQp (ORCPT ); Mon, 4 Jul 2022 12:16:45 -0400 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60048.outbound.protection.outlook.com [40.107.6.48]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D28B61054A; Mon, 4 Jul 2022 09:16:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Z4t8C88d7PrnPpFEUm7jaBlsgmeVgZBHex+EWRGlHgYFI0fdFkmFD29gKj/6QYwwdx0V+o9hC84H1SAhOpcKIoU6cKuXfUdzAPVgzSdq3JQPUMtZJicL7tZ/DxgJ4Pgb1ocBe+lD3S8kr3A702ONkHrybw0z9m3eXB+e9gG/Ko9CAgQczsz7U1l5vA19Tn8JrML5w5R/LJz+BHI/BMzAhMWnhyJRRw6aE+5X+BwJGDey5TLW3yriIbixwYqaBWGVWKlG1XgyxxGX/wSre4kdGVPdgpxp0x2lMriTjpW8xsGO61OJrxYO8Sm5BMbi23WKwOkAgHOH53Yysoz5Au/ZZA== 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=hmWF8TJVOGZAxIFXFRmyH17AGE4XdhFSpByppolgW1M=; b=OtZkP6Kyhg/rcma2Nemo6BHuA4OXFCSDpK5Vn8BIbI4ZMLluirqWeUUvmPKr4HPS2o4UON+VMhQJrnD8CHbQ/Re4VcxEVun5Zgfi6uOO7qcgV1v7XXmKvPqWPJBGmQ3IFPSby61ZUkYoM8NkgrOtSlMONJ1uIzkKi+uIy9bw4x5rbYxpKDGuLEo9wxBruuq+FFGVNqc4Eqsc19Hpc/ceqNQtAl7+27rmJUOKmdCVXUkQHySn87HPt7srG0je6rllLuhihzrFiZ2yg+pz+RwFmHELK+vFZQWUxwPLAWJ062ZUm4bxWnim3OJVkwE8BN8bnfBjKiGYbrsDIloXLAJWEg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=hmWF8TJVOGZAxIFXFRmyH17AGE4XdhFSpByppolgW1M=; b=AQ4v5cP6WmSN64mgrOmXYzqV9LU2uJMw42AYdNSlWhWrFiNaDDg76Y9G/nn6g+Mtf/1kpq99mROuY8w4DLJ7IMdqvS+IuObsPycZz74jw0c1XSMzzg9/5xrP4ixxSeTAGD/or19rXu/z4KWmnq2WTSk3hjdBC/yGZVhbwloTjzM= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from VI1PR04MB5005.eurprd04.prod.outlook.com (2603:10a6:803:57::30) by AM6PR04MB6293.eurprd04.prod.outlook.com (2603:10a6:20b:71::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5395.20; Mon, 4 Jul 2022 16:16:29 +0000 Received: from VI1PR04MB5005.eurprd04.prod.outlook.com ([fe80::6546:3ee1:5e6c:278f]) by VI1PR04MB5005.eurprd04.prod.outlook.com ([fe80::6546:3ee1:5e6c:278f%5]) with mapi id 15.20.5395.020; Mon, 4 Jul 2022 16:16:29 +0000 From: "Viorel Suman (OSS)" 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 , Peng Fan , Mirela Rabulea , Liu Ying , Oliver Graute , 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: Viorel Suman , Abel Vesa Subject: [PATCH v7 03/15] dt-bindings: input: Add fsl,scu-key yaml file Date: Mon, 4 Jul 2022 19:15:29 +0300 Message-Id: <20220704161541.943696-4-viorel.suman@oss.nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220704161541.943696-1-viorel.suman@oss.nxp.com> References: <20220704161541.943696-1-viorel.suman@oss.nxp.com> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-ClientProxiedBy: AM0PR07CA0008.eurprd07.prod.outlook.com (2603:10a6:208:ac::21) To VI1PR04MB5005.eurprd04.prod.outlook.com (2603:10a6:803:57::30) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 91985ba7-4ef4-49b1-7f6b-08da5dd88d16 X-MS-TrafficTypeDiagnostic: AM6PR04MB6293:EE_ X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-LD-Processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: j5ytV20PUwllLlkVGHYE5uOt2RkPDPEk8ut9ztSaRblqkmpQp4SJW010MuS1YlbMAKcs5/CjPrDALOYoGmkhfJp9AQb6J9sGpf851S567FULIhDUkqIdTlRy3ueTwnvjkHLEb2CF2lDZMLZBJTqzAtrTti9108rZHiS9cvnB9ESjQz4EHopj2Oqn5iqeXLBC4s0+KbCN8V2yodVEhr4NMb+7kNu0wMqTWg5YmMBbmnSqOE1unHjmAxaOn29VBuC91lB18U3lsh/xEnKhiXr+K8ILXTACD+yAe2aWbztOlgPZqhKGNwWCpGWqNwu5V40DLoiJlpk8gd1PU4jN6v22nGlkxvPiFt09Imuaebc8N+JPrqmgIyDCo4sVQ3Y6CAcrlJTjuNRzXU8DAzK2H8z4Y2tWbsMmDiUqM0Lpmb3jR1p4x9erpKPfgKd8rB0VLubShN9UudDaJAdQhc80Btz1NcWGyVDoWAtLemrwR4PlAfuYpNylkQGPxSQsJAR1QhkxO25e/1QadZ0S7kLDe65hQCYr3r1D/PoftHBRzJbzyH29u3/rRO4lfw19TQrInB66uBHSmiggHu+Kywd3w2QYQ84t0S2Mxesf3I80ZSl/9ITfeZ8UnkHF8Yc2p8bTCeSkkC0PYDlGFxzFqacHAmftI93Yi4+nPwrOEUQbItkDiJQxvE3aWwmCL2MnJAiLs+73Ac2cimEdCbGEIHE8GEnHlWKoDvT9Lgi9EsMoIN+Q1kDhxRFMHXLbqjeGt8uCKmddcPVGf4JTEHreMcwRujU90sZNyyxe2Uluk8In/uziUpUq4dNFDSFETJwNBDEc4PF1Sd9QwKS1u3SYjT2pp76h/b5Ahs1YwPiZXYWdzCnUz3eOcccPvZe8mJ/lvb4q9rc+Ez7OxpH/shU9U9P61arTHw== 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)(39860400002)(376002)(346002)(136003)(396003)(2616005)(186003)(1076003)(38100700002)(38350700002)(54906003)(110136005)(66476007)(66946007)(8676002)(4326008)(83380400001)(66556008)(316002)(86362001)(5660300002)(6512007)(7416002)(7406005)(6486002)(966005)(478600001)(8936002)(26005)(6506007)(41300700001)(2906002)(921005)(52116002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?iso-8859-1?Q?6Dkg0P8dDfwcdytDPUnXA1ZvDFpgtAfDbncIIXsCkuV2KnQkVq4xhAtKD9?= =?iso-8859-1?Q?vqlI2MEh+H7JW6tsyOUKqOV8XaF+PNkJCoc7RnQyeafpoQen10REMH9Co8?= =?iso-8859-1?Q?Du4EcCEWkLTo0PDPQn6s1fDLlDH317tkqyVnKOeCJMqyFi2DonrCfE33vu?= =?iso-8859-1?Q?0mkSxD8xwu+5Nt66fMg3Ti1TiEaXoQndp9HoJ6Fjrps08xIqwgyxpaPK5F?= =?iso-8859-1?Q?SgEuOd3VcCNSM/H/1oCLLiw2JjdIuLP0xaYg/fhB0DxFWJ+jXcEoLtTtlE?= =?iso-8859-1?Q?zHKYUIhwMgGt2L14HOmdBiw9q3ngY/GsSYnGgv0iFEC6BUSElMpcZ7AkJA?= =?iso-8859-1?Q?STLX0aaac8ByP9MB23M89tA67v7s2cjOc84lMlBGyTm1naMJBw3f8+PjB7?= =?iso-8859-1?Q?fwyHRbCIgez/RCqPnlMs+1/Z8baUCK11qbBMBRD369RMc4SkoYAye36diT?= =?iso-8859-1?Q?0qYGCOOJ5duSoSnxhutbq7FxDw/PZ0ERNbFGVqzYDWodQSrxKyQbo7PcTX?= =?iso-8859-1?Q?foadBI2OMJjJeoNmXGVqSwEznZ8Uedg44srglXsGK33zWzchrOoTSMeiG1?= =?iso-8859-1?Q?elJ3BZJWts+YSHGBAD2h2Rv0R0kJBC6WnhESOMtvZOjq/nqsJyCtpqAM67?= =?iso-8859-1?Q?tvmu1wjHXwkxac/+UOuN/1BMwA2fMk9GkmVr84uDKConcHrS2wzr/1VCpv?= =?iso-8859-1?Q?aq2tv8+T2L95u7k/X/O04mMPPzwuobYbMk6utzgovUsx/SUBNcR9+QUctY?= =?iso-8859-1?Q?DMeljMkeRHRSze7vfaUYSGwiAd7SX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Tenant-Network-Message-Id: 91985ba7-4ef4-49b1-7f6b-08da5dd88d16 X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5005.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jul 2022 16:16:28.9914 (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: udrhyysjinyZZN1K4FUzruyGuLqOl9DL7nOJw348Ui1pYAxJU9u5W/araDSRqX4sUse0zf6e2z+YYKZ7OKhZNw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB6293 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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/arm/freescale/fsl,scu.txt | 14 ------- .../bindings/input/fsl,scu-key.yaml | 40 +++++++++++++++++++ 2 files changed, 40 insertions(+), 14 deletions(-) create mode 100644 Documentation/devicetree/bindings/input/fsl,scu-key.yaml diff --git a/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt b/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt index 5ec2a031194e..572cb2e628bf 100644 --- a/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt +++ b/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt @@ -111,15 +111,6 @@ Required properties: Optional properties: - timeout-sec: contains the watchdog timeout in seconds. -SCU key bindings based on SCU Message Protocol ------------------------------------------------------------- - -Required properties: -- compatible: should be: - "fsl,imx8qxp-sc-key" - followed by "fsl,imx-sc-key"; -- linux,keycodes: See Documentation/devicetree/bindings/input/input.yaml - Thermal bindings based on SCU Message Protocol ------------------------------------------------------------ @@ -177,11 +168,6 @@ firmware { compatible = "fsl,imx8qxp-sc-rtc"; }; - scu_key: scu-key { - compatible = "fsl,imx8qxp-sc-key", "fsl,imx-sc-key"; - linux,keycodes = ; - }; - watchdog { compatible = "fsl,imx8qxp-sc-wdt", "fsl,imx-sc-wdt"; timeout-sec = <60>; 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..e6266d188266 --- /dev/null +++ b/Documentation/devicetree/bindings/input/fsl,scu-key.yaml @@ -0,0 +1,40 @@ +# 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: input.yaml# + +properties: + compatible: + items: + - const: fsl,imx8qxp-sc-key + - const: fsl,imx-sc-key + + linux,keycodes: + maxItems: 1 + +required: + - compatible + - linux,keycodes + +additionalProperties: false + +examples: + - | + #include + + keys { + compatible = "fsl,imx8qxp-sc-key", "fsl,imx-sc-key"; + linux,keycodes = ; + }; -- 2.25.1