]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
media: dt-bindings: document the tegra CEC bindings
authorHans Verkuil <hans.verkuil@cisco.com>
Sat, 15 Jul 2017 08:51:24 +0000 (10:51 +0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 27 Oct 2017 13:41:52 +0000 (15:41 +0200)
This documents the binding for the Tegra CEC module.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Documentation/devicetree/bindings/media/tegra-cec.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/media/tegra-cec.txt b/Documentation/devicetree/bindings/media/tegra-cec.txt
new file mode 100644 (file)
index 0000000..c503f06
--- /dev/null
@@ -0,0 +1,27 @@
+* 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";
+};