From: Neil Armstrong <neil.armstrong@linaro.org>
To: Heiner Kallweit <hkallweit1@gmail.com>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Kevin Hilman <khilman@baylibre.com>,
Jerome Brunet <jbrunet@baylibre.com>,
Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Cc: linux-media@vger.kernel.org,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"open list:ARM/Amlogic Meson..."
<linux-amlogic@lists.infradead.org>
Subject: Re: [PATCH] dt-bindings: media: meson-ir: Convert Amlogic Meson IR controller binding
Date: Mon, 13 Feb 2023 10:02:31 +0100 [thread overview]
Message-ID: <a0e11df2-576c-da61-a583-81528cb77d20@linaro.org> (raw)
In-Reply-To: <a91e3a8e-7ef1-70bb-f6be-01a9a90c0e05@gmail.com>
Hi Heiner,
On 12/02/2023 17:51, Heiner Kallweit wrote:
> Convert Amlogic Meson IR controller binding to yaml.
>
> Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
> ---
> .../devicetree/bindings/media/meson-ir.txt | 20 ---------
> .../devicetree/bindings/media/meson-ir.yaml | 45 +++++++++++++++++++
> 2 files changed, 45 insertions(+), 20 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/media/meson-ir.txt
> create mode 100644 Documentation/devicetree/bindings/media/meson-ir.yaml
I've already posted a patch for ir which is reviewed and ready to be merged :
https://lore.kernel.org/all/20221117-b4-amlogic-bindings-convert-v3-4-e28dd31e3bed@linaro.org/
The only remaining bindings that remains to convert/document are:
['amlogic,axg-audio-clkc']
['amlogic,g12a-audio-clkc']
['amlogic,sm1-audio-clkc']
['amlogic,g12a-tohdmitx']
['amlogic,sm1-tohdmitx', 'amlogic,g12a-tohdmitx']
['everest,es7154']
['everest,es7241']
['ti,tas5707']
['linux,spdif-dir']
['gpio-fan']
['pwm-fan']
Neil
>
> diff --git a/Documentation/devicetree/bindings/media/meson-ir.txt b/Documentation/devicetree/bindings/media/meson-ir.txt
> deleted file mode 100644
> index efd9d29a8..000000000
> --- 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>;
> - };
> diff --git a/Documentation/devicetree/bindings/media/meson-ir.yaml b/Documentation/devicetree/bindings/media/meson-ir.yaml
> new file mode 100644
> index 000000000..8d3c7acfa
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/media/meson-ir.yaml
> @@ -0,0 +1,45 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/media/meson-ir.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Amlogic Meson IR remote control receiver
> +
> +maintainers:
> + - Heiner Kallweit <hkallweit1@gmail.com>
> +
> +allOf:
> + - $ref: rc.yaml#
> +
> +properties:
> + compatible:
> + oneOf:
> + - enum:
> + - amlogic,meson6-ir
> + - amlogic,meson8b-ir
> + - amlogic,meson-gxbb-ir
> + - items:
> + - const: amlogic,meson-gx-ir
> + - const: amlogic,meson-gxbb-ir
> +
> + reg:
> + maxItems: 1
> +
> + interrupts:
> + maxItems: 1
> +
> +required:
> + - compatible
> + - reg
> + - interrupts
> +
> +unevaluatedProperties: false
> +
> +examples:
> + - |
> + ir-receiver@c8100480 {
> + compatible= "amlogic,meson6-ir";
> + reg = <0xc8100480 0x20>;
> + interrupts = <0 15 1>;
> + };
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
next prev parent reply other threads:[~2023-02-13 9:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-12 16:51 Heiner Kallweit
2023-02-13 9:02 ` Neil Armstrong [this message]
2023-02-16 10:12 ` Krzysztof Kozlowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a0e11df2-576c-da61-a583-81528cb77d20@linaro.org \
--to=neil.armstrong@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=hkallweit1@gmail.com \
--cc=jbrunet@baylibre.com \
--cc=khilman@baylibre.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-media@vger.kernel.org \
--cc=martin.blumenstingl@googlemail.com \
--cc=mchehab@kernel.org \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®