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 EBD60CCA486 for ; Fri, 24 Jun 2022 10:14:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231259AbiFXKOK (ORCPT ); Fri, 24 Jun 2022 06:14:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230104AbiFXKOI (ORCPT ); Fri, 24 Jun 2022 06:14:08 -0400 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E9DF77FDD for ; Fri, 24 Jun 2022 03:14:06 -0700 (PDT) Received: by mail-ed1-x532.google.com with SMTP id eo8so2839795edb.0 for ; Fri, 24 Jun 2022 03:14:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=AcY+HP4cwp4akXGFwkLr6M8Z1HqAMnPM3PSHpw8twr8=; b=Cbo/Btoy1nUj2APYAmNR1tjl4VadDRYvTl6d5eSXkjY97RqyFvAeS/n+/rjJfRqV44 my+kHT5GieN2nuIdqANvs9Rk0+F5bMSByB59RCNq9lzkgPbaHLl5c+gnz3aaHdwW9GBn dnFHCt0Qpa1lJa7o42zUAcgXFSzurVtPCjjmYCcap3Vag3qAMiHRqoYGOsFcN4bAihii ydqnFULFZcFxhFJ3igfYfhFQTpNubnRFzxC9yvwhdjjlEnQxlM+A9d7QF+BUkVzOwOLx EoIUJdrHuPRaiWdsQh/fKtp7kGvXsUGJhpjo0Gy15S1cOi7Qz4ZhpwXhwDriuT6hfD0l PG5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=AcY+HP4cwp4akXGFwkLr6M8Z1HqAMnPM3PSHpw8twr8=; b=PIfbIdlC0DViOejwiggMZOmdctlqwcFPpxj+3evZe+Q/MG8A6ZJ7IBEFmHq3PefwMU x7LBukbdXf5oEirCxtslHk6Yhfh6f+qh5gSTKIkS7o3oGK7q1YkYCw10fniRwGtTwJHb /GMXxZ4RPhLAuMwobqoNbzLX3J08OZjgt4cIg9BEYPoyFK4XMv/FFgFoDOxASPqGkVP8 DBJxLeTu+bncHj9/1soIm2KzYMJebhOYs+B+dJVibyMNqgHmHRRi0pAjQZhyTTXYll/g EpqzWeq61gwfzK84hyoNXSk7dpQeM3Vg54jgVgWib/K4XquH0WaB+E6Y2pWTkhpkcGPA 6MHg== X-Gm-Message-State: AJIora+IcalMNYcaIIpFyn69IZOZBLJ4ci+FT7aHcBi7Q613PNXhyN+k emgeb1Pna9pJ9NOcYHy+gcUe+w== X-Google-Smtp-Source: AGRyM1trgaQXVxx26CYWrQyfWcG0a6ixDYGE2bgWurlUNVetfe28U9HzJOz6s2Q5led/4U9xLht63Q== X-Received: by 2002:a05:6402:3594:b0:431:4cb8:c7b6 with SMTP id y20-20020a056402359400b004314cb8c7b6mr16603969edc.334.1656065644733; Fri, 24 Jun 2022 03:14:04 -0700 (PDT) Received: from [192.168.0.234] (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id y1-20020aa7c241000000b004355dc75066sm1602589edo.86.2022.06.24.03.14.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 24 Jun 2022 03:14:04 -0700 (PDT) Message-ID: Date: Fri, 24 Jun 2022 12:14:02 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH v5 04/14] dt-bindings: input: Add fsl,scu-key yaml file Content-Language: en-US To: Viorel Suman , 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 , 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 References: <20220616164303.790379-1-viorel.suman@nxp.com> <20220616164303.790379-5-viorel.suman@nxp.com> From: Krzysztof Kozlowski In-Reply-To: <20220616164303.790379-5-viorel.suman@nxp.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-rtc@vger.kernel.org On 16/06/2022 18:42, Viorel Suman wrote: > 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 need maxItems > + > +required: > + - compatible > + - linux,keycodes > + > +additionalProperties: false > + > +examples: > + - | > + #include > + > + keys { > + compatible = "fsl,imx8qxp-sc-key", "fsl,imx-sc-key"; Wrong indentation. > + linux,keycodes = ; > + }; Best regards, Krzysztof