From: Hans Verkuil <hverkuil-cisco@xs4all.nl>
To: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Neil Armstrong <neil.armstrong@linaro.org>,
Kevin Hilman <khilman@baylibre.com>,
Jerome Brunet <jbrunet@baylibre.com>,
Martin Blumenstingl <martin.blumenstingl@googlemail.com>,
Thierry Reding <thierry.reding@gmail.com>,
Jonathan Hunter <jonathanh@nvidia.com>,
Marek Szyprowski <m.szyprowski@samsung.com>,
Alain Volmat <alain.volmat@foss.st.com>,
Maxime Coquelin <mcoquelin.stm32@gmail.com>,
Alexandre Torgue <alexandre.torgue@foss.st.com>,
Joe Tessler <jrt@google.com>,
Yannick Fertre <yannick.fertre@foss.st.com>,
Jeff Chase <jnchase@google.com>,
linux-media@vger.kernel.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org,
linux-tegra@vger.kernel.org, linux-samsung-soc@vger.kernel.org,
linux-stm32@st-md-mailman.stormreply.com
Subject: Re: [PATCH 8/9] media: dt-bindings: nvidia,tegra-cec: convert to DT schema
Date: Mon, 5 Dec 2022 09:10:11 +0100 [thread overview]
Message-ID: <a5155443-8ec7-c2ad-2f07-716db6787aef@xs4all.nl> (raw)
In-Reply-To: <20221204182908.138910-8-krzysztof.kozlowski@linaro.org>
On 04/12/2022 19:29, Krzysztof Kozlowski wrote:
> Convert Nvidia Tegra HDMI CEC bindings to DT schema.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Thanks!
Hans
> ---
> .../bindings/media/cec/nvidia,tegra-cec.yaml | 58 +++++++++++++++++++
> .../devicetree/bindings/media/tegra-cec.txt | 27 ---------
> MAINTAINERS | 2 +-
> 3 files changed, 59 insertions(+), 28 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/media/cec/nvidia,tegra-cec.yaml
> delete mode 100644 Documentation/devicetree/bindings/media/tegra-cec.txt
>
> diff --git a/Documentation/devicetree/bindings/media/cec/nvidia,tegra-cec.yaml b/Documentation/devicetree/bindings/media/cec/nvidia,tegra-cec.yaml
> new file mode 100644
> index 000000000000..9a4025ff7fad
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/media/cec/nvidia,tegra-cec.yaml
> @@ -0,0 +1,58 @@
> +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/media/cec/nvidia,tegra-cec.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Nvidia Tegra HDMI CEC
> +
> +maintainers:
> + - Hans Verkuil <hverkuil-cisco@xs4all.nl>
> +
> +allOf:
> + - $ref: cec-common.yaml#
> +
> +properties:
> + compatible:
> + enum:
> + - nvidia,tegra114-cec
> + - nvidia,tegra124-cec
> + - nvidia,tegra210-cec
> +
> + clocks:
> + maxItems: 1
> +
> + clock-names:
> + items:
> + - const: cec
> +
> + interrupts:
> + maxItems: 1
> +
> + reg:
> + maxItems: 1
> +
> +required:
> + - compatible
> + - clocks
> + - clock-names
> + - hdmi-phandle
> + - interrupts
> + - reg
> +
> +unevaluatedProperties: false
> +
> +examples:
> + - |
> + #include <dt-bindings/clock/tegra124-car.h>
> + #include <dt-bindings/interrupt-controller/arm-gic.h>
> +
> + cec@70015000 {
> + compatible = "nvidia,tegra124-cec";
> + reg = <0x70015000 0x00001000>;
> + interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
> + clocks = <&tegra_car TEGRA124_CLK_CEC>;
> + clock-names = "cec";
> + status = "disabled";
> + hdmi-phandle = <&hdmi>;
> + };
> diff --git a/Documentation/devicetree/bindings/media/tegra-cec.txt b/Documentation/devicetree/bindings/media/tegra-cec.txt
> deleted file mode 100644
> index c503f06f3b84..000000000000
> --- a/Documentation/devicetree/bindings/media/tegra-cec.txt
> +++ /dev/null
> @@ -1,27 +0,0 @@
> -* Tegra HDMI CEC hardware
> -
> -The HDMI CEC module is present in Tegra SoCs and its purpose is to
> -handle communication between HDMI connected devices over the CEC bus.
> -
> -Required properties:
> - - compatible : value should be one of the following:
> - "nvidia,tegra114-cec"
> - "nvidia,tegra124-cec"
> - "nvidia,tegra210-cec"
> - - reg : Physical base address of the IP registers and length of memory
> - mapped region.
> - - interrupts : HDMI CEC interrupt number to the CPU.
> - - clocks : from common clock binding: handle to HDMI CEC clock.
> - - clock-names : from common clock binding: must contain "cec",
> - corresponding to the entry in the clocks property.
> - - hdmi-phandle : phandle to the HDMI controller, see also cec.txt.
> -
> -Example:
> -
> -cec@70015000 {
> - compatible = "nvidia,tegra124-cec";
> - reg = <0x0 0x70015000 0x0 0x00001000>;
> - interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
> - clocks = <&tegra_car TEGRA124_CLK_CEC>;
> - clock-names = "cec";
> -};
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 197351d3bb57..dee3f776be32 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -2999,7 +2999,7 @@ M: Hans Verkuil <hverkuil-cisco@xs4all.nl>
> L: linux-tegra@vger.kernel.org
> L: linux-media@vger.kernel.org
> S: Maintained
> -F: Documentation/devicetree/bindings/media/tegra-cec.txt
> +F: Documentation/devicetree/bindings/media/cec/nvidia,tegra-cec.yaml
> F: drivers/media/cec/platform/tegra/
>
> ARM/TESLA FSD SoC SUPPORT
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
next prev parent reply other threads:[~2022-12-05 8:10 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-04 18:29 [PATCH 1/9] media: dt-bindings: amlogic,meson-gx-ao-cec: move to cec subfolder Krzysztof Kozlowski
2022-12-04 18:29 ` [PATCH 2/9] media: dt-bindings: st,stm32-cec: " Krzysztof Kozlowski
2022-12-04 18:29 ` [PATCH 3/9] media: dt-bindings: cec: convert common CEC properties to DT schema Krzysztof Kozlowski
2022-12-05 8:07 ` Hans Verkuil
2022-12-04 18:29 ` [PATCH 4/9] media: dt-bindings: amlogic,meson-gx-ao-cec: reference common CEC properties Krzysztof Kozlowski
2022-12-05 8:14 ` Neil Armstrong
2022-12-04 18:29 ` [PATCH 5/9] media: dt-bindings: chrontel,ch7322: " Krzysztof Kozlowski
2022-12-05 15:07 ` Rob Herring
2022-12-05 15:17 ` Krzysztof Kozlowski
2022-12-04 18:29 ` [PATCH 6/9] media: dt-bindings: samsung,s5p-cec: convert to DT schema Krzysztof Kozlowski
2022-12-04 18:29 ` [PATCH 7/9] media: dt-bindings: cec-gpio: " Krzysztof Kozlowski
2022-12-05 8:09 ` Hans Verkuil
2022-12-04 18:29 ` [PATCH 8/9] media: dt-bindings: nvidia,tegra-cec: " Krzysztof Kozlowski
2022-12-05 8:10 ` Hans Verkuil [this message]
2022-12-04 18:29 ` [PATCH 9/9] media: dt-bindings: st,stih-cec: " Krzysztof Kozlowski
2022-12-05 8:13 ` [PATCH 1/9] media: dt-bindings: amlogic,meson-gx-ao-cec: move to cec subfolder Neil Armstrong
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=a5155443-8ec7-c2ad-2f07-716db6787aef@xs4all.nl \
--to=hverkuil-cisco@xs4all.nl \
--cc=alain.volmat@foss.st.com \
--cc=alexandre.torgue@foss.st.com \
--cc=devicetree@vger.kernel.org \
--cc=jbrunet@baylibre.com \
--cc=jnchase@google.com \
--cc=jonathanh@nvidia.com \
--cc=jrt@google.com \
--cc=khilman@baylibre.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=krzysztof.kozlowski@linaro.org \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=linux-tegra@vger.kernel.org \
--cc=m.szyprowski@samsung.com \
--cc=martin.blumenstingl@googlemail.com \
--cc=mchehab@kernel.org \
--cc=mcoquelin.stm32@gmail.com \
--cc=neil.armstrong@linaro.org \
--cc=robh+dt@kernel.org \
--cc=thierry.reding@gmail.com \
--cc=yannick.fertre@foss.st.com \
/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®