Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp666826rwb; Fri, 18 Nov 2022 06:48:22 -0800 (PST) X-Google-Smtp-Source: AA0mqf5g+1D9gliKuImt+sY6qkTWmiFP7p+hb5PrJbeqgwppeX4s1A/5HBO2RmpJrKCltU+BpyRw X-Received: by 2002:aa7:c042:0:b0:462:2f5a:8618 with SMTP id k2-20020aa7c042000000b004622f5a8618mr6495410edo.42.1668782901778; Fri, 18 Nov 2022 06:48:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668782901; cv=none; d=google.com; s=arc-20160816; b=qTr7RmwISMq8m0Ak3GBTiBkC/jXdOyIjWD69Oosy0VqWFVOnjgpQwThIVAzg55oHT3 6ow6aCUQQ8MP/rdf5fl8hChW9U1IKob+9IjyV4/1v82OlbVm8unBBdPUI+Qamb1DwpwM zD5m+sCEBEJ4cAjOJViXmMExAjwrBvFiSsN+xI+NaOZ3e5RWitPDmRf2rEbpt9MePAp8 qBsp9x7N/AY1BsCMYSI2ETjRBDWcsqq3V2xmMiik3bLWiyzufBOtOfdWUdcd2SqaJl2k jms+A8hdqkOsy7YfUwMSo5rkm2IK/PDMcjNGygRLECpVjdjGquCe5oqYibhgM7Lxy98N JkZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=7Qzjak48onvnCHIqi2kskjNQJa4cnhoeUBqFHQSfxrw=; b=0yNX3opd9THBlzBIMIznK3EqtDIf+cu8cSgYB38e1Cy7bx++rjog+liv7YWX1t/3TY sgyBlt/pwXNF0apOUxRXxV13ZSGVWzE6HhfmFVx7TBJ6aizEcgooJmb8aPFXWAgvg/VP IRlGdGxcwHK5ewMsXmSn4Y/8qYbPVQMYVcoifnsM5+BGo8oXQyMhfFREcxHP3YinDwVH pVG8neP+fUauXefx6sfjNM9JM5mFuRJNjAXuHtYh0GLjRKnQAR+ji20K7XDAO1ai09C/ Ooi5rRsIX7q2Mwh+LbJji18AW94TiMMVR0Imu4vyhl0YgHOrRIO4LUPQP6ILlmPr+4Il G9tQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WoIxPZXa; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k9-20020a17090646c900b0077bf109acb5si2673705ejs.116.2022.11.18.06.47.47; Fri, 18 Nov 2022 06:48:21 -0800 (PST) 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=@linaro.org header.s=google header.b=WoIxPZXa; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241707AbiKROem (ORCPT + 91 others); Fri, 18 Nov 2022 09:34:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242437AbiKROeC (ORCPT ); Fri, 18 Nov 2022 09:34:02 -0500 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E1DF2716E4 for ; Fri, 18 Nov 2022 06:33:39 -0800 (PST) Received: by mail-wm1-x32d.google.com with SMTP id o30so3755024wms.2 for ; Fri, 18 Nov 2022 06:33:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=7Qzjak48onvnCHIqi2kskjNQJa4cnhoeUBqFHQSfxrw=; b=WoIxPZXaV2xmPmlsdcYMuy75e8wj7YxygEJDeyFJuRYvaSZuCo+BM+ZgIS6lptguED 6Q4DI+vXicHVpSH0ys0k0C+8ywXptFOovUmUq/F9p+OBHPJfLPJEpKCDtaz8TXQpANyn Jh/6vwM+KlLzoOcyXuEzeCK4kOskJdb6cbXgmMhGA118MXTFvffnn9J1BLQwJWPESm8z Oe/tZAVxiqB0gjMnr9DtoO4qxeMg1onsVy2xIqY7+hqxnrjoCr5DOJvn/8gd33vL+J0O szb/LpAQHIKrF8BUAvLpJyd/DufPcGycjXI4MO4LvzlY41RAOXUCYU8E4vUYC8Q4VppJ WKHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7Qzjak48onvnCHIqi2kskjNQJa4cnhoeUBqFHQSfxrw=; b=yK3zVMTfmYm6byJgCBhBt61FrEvu3/JWtjZhww/DIZANxpVMDIeJnNX7lfHGmvcjLG 6Q/uXURDNee568Zc7Pev6gzWYyv0Snk4gLQNh5NgMvvz3aYgOFpbscY5kzEKV492r2AL /IH7wKoK2nJR+CfpY0lgMpqwhVqwM1qWBOEty9KNRelwsFue6WKsj9/WygvLNQrdG6rx JGtrQkae8aAeqSYotQpc4DSyb293zmbsDVqNovkblPYW/uyzE7ggjDWQwTAZNMR5RZcC Me6f1OHFSoV6bWjDXFnxK6DAfH5085KoFBTcAR8251BctN0wxCPhvPVl3q3B80dCFn7Z sxzg== X-Gm-Message-State: ANoB5pnbAKm883Ukj1mDAAvCeHpGFCY2orr1uRs3NsvbCT5NbUESQZCQ w/Gs2nO9xSLnvBFjn/Uck1zIsg== X-Received: by 2002:a1c:7208:0:b0:3cf:6198:dd2f with SMTP id n8-20020a1c7208000000b003cf6198dd2fmr5142239wmc.119.1668782018095; Fri, 18 Nov 2022 06:33:38 -0800 (PST) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:52eb:f6ff:feb3:451a]) by smtp.gmail.com with ESMTPSA id j21-20020a05600c1c1500b003cfb7c02542sm5436726wms.11.2022.11.18.06.33.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Nov 2022 06:33:37 -0800 (PST) From: Neil Armstrong Date: Fri, 18 Nov 2022 15:33:31 +0100 Subject: [PATCH 05/12] dt-bindings: media: convert meson-ir.txt to dt-schema MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20221117-b4-amlogic-bindings-convert-v1-5-3f025599b968@linaro.org> References: <20221117-b4-amlogic-bindings-convert-v1-0-3f025599b968@linaro.org> In-Reply-To: <20221117-b4-amlogic-bindings-convert-v1-0-3f025599b968@linaro.org> To: Jakub Kicinski , Wim Van Sebroeck , Srinivas Kandagatla , Rob Herring , Andrew Lunn , Alessandro Zummo , Eric Dumazet , Bjorn Helgaas , Kevin Hilman , Ulf Hansson , Heiner Kallweit , Vinod Koul , Russell King , Thomas Gleixner , Kishon Vijay Abraham I , Guenter Roeck , Krzysztof Kozlowski , Martin Blumenstingl , Alexandre Belloni , Daniel Lezcano , Jerome Brunet , Paolo Abeni , Mauro Carvalho Chehab , "David S. Miller" Cc: linux-media@vger.kernel.org, netdev@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-mmc@vger.kernel.org, linux-rtc@vger.kernel.org, linux-phy@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-watchdog@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, Neil Armstrong , devicetree@vger.kernel.org X-Mailer: b4 0.10.1 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 Convert the Amlogic Meson IR remote control receiver bindings to dt-schema. Signed-off-by: Neil Armstrong --- .../bindings/media/amlogic,meson6-ir.yaml | 43 ++++++++++++++++++++++ .../devicetree/bindings/media/meson-ir.txt | 20 ---------- 2 files changed, 43 insertions(+), 20 deletions(-) diff --git a/Documentation/devicetree/bindings/media/amlogic,meson6-ir.yaml b/Documentation/devicetree/bindings/media/amlogic,meson6-ir.yaml new file mode 100644 index 000000000000..f8bc445b1f25 --- /dev/null +++ b/Documentation/devicetree/bindings/media/amlogic,meson6-ir.yaml @@ -0,0 +1,43 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/amlogic,meson6-ir.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Amlogic Meson IR remote control receiver + +maintainers: + - Neil Armstrong + +allOf: + - $ref: rc.yaml# + +properties: + compatible: + enum: + - amlogic,meson6-ir + - amlogic,meson8b-ir + - amlogic,meson-gxbb-ir + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + +unevaluatedProperties: false + +examples: + - | + #include + #include + ir-receiver@c8100480 { + compatible = "amlogic,meson6-ir"; + reg = <0xc8100480 0x20>; + interrupts = ; + }; diff --git a/Documentation/devicetree/bindings/media/meson-ir.txt b/Documentation/devicetree/bindings/media/meson-ir.txt deleted file mode 100644 index efd9d29a8f10..000000000000 --- a/Documentation/devicetree/bindings/media/meson-ir.txt +++ /dev/null @@ -1,20 +0,0 @@ -* Amlogic Meson IR remote control receiver - -Required properties: - - compatible : depending on the platform this should be one of: - - "amlogic,meson6-ir" - - "amlogic,meson8b-ir" - - "amlogic,meson-gxbb-ir" - - reg : physical base address and length of the device registers - - interrupts : a single specifier for the interrupt from the device - -Optional properties: - - linux,rc-map-name: see rc.txt file in the same directory. - -Example: - - ir-receiver@c8100480 { - compatible= "amlogic,meson6-ir"; - reg = <0xc8100480 0x20>; - interrupts = <0 15 1>; - }; -- b4 0.10.1