Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1698103

[PATCH v3 2/2] dt-bindings: media: Add Amlogic Meson AO-CEC bindings

From Neil Armstrong <narmstrong@baylibre.com>
Newsgroups linux.kernel
Subject [PATCH v3 2/2] dt-bindings: media: Add Amlogic Meson AO-CEC bindings
Date 2017-07-27 17:30 +0200
Message-ID <u7STF-7Md-37@gated-at.bofh.it> (permalink)
References <u7STD-7Md-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


The Amlogic SoCs embeds a standalone CEC Controller, this patch adds this
device bindings.

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
---
 .../devicetree/bindings/media/meson-ao-cec.txt     | 28 ++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/media/meson-ao-cec.txt

diff --git a/Documentation/devicetree/bindings/media/meson-ao-cec.txt b/Documentation/devicetree/bindings/media/meson-ao-cec.txt
new file mode 100644
index 0000000..8671bdb
--- /dev/null
+++ b/Documentation/devicetree/bindings/media/meson-ao-cec.txt
@@ -0,0 +1,28 @@
+* Amlogic Meson AO-CEC driver
+
+The Amlogic Meson AO-CEC module is present is Amlogic SoCs and its purpose is
+to handle communication between HDMI connected devices over the CEC bus.
+
+Required properties:
+  - compatible : value should be following
+	"amlogic,meson-gx-ao-cec"
+
+  - reg : Physical base address of the IP registers and length of memory
+	  mapped region.
+
+  - interrupts : AO-CEC interrupt number to the CPU.
+  - clocks : from common clock binding: handle to AO-CEC clock.
+  - clock-names : from common clock binding: must contain "core",
+		  corresponding to entry in the clocks property.
+  - hdmi-phandle: phandle to the HDMI controller
+
+Example:
+
+cec_AO: cec@100 {
+	compatible = "amlogic,meson-gx-ao-cec";
+	reg = <0x0 0x00100 0x0 0x14>;
+	interrupts = <GIC_SPI 199 IRQ_TYPE_EDGE_RISING>;
+	clocks = <&clkc_AO CLKID_AO_CEC_32K>;
+	clock-names = "core";
+	hdmi-phandle = <&hdmi_tx>;
+};
-- 
1.9.1

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v3 0/2] media: Add Amlogic Meson AO CEC Controller support Neil Armstrong <narmstrong@baylibre.com> - 2017-07-27 17:30 +0200
  [PATCH v3 2/2] dt-bindings: media: Add Amlogic Meson AO-CEC bindings Neil Armstrong <narmstrong@baylibre.com> - 2017-07-27 17:30 +0200
  [PATCH v3 1/2] platform: Add Amlogic Meson AO CEC Controller driver Neil Armstrong <narmstrong@baylibre.com> - 2017-07-27 17:30 +0200
    Re: [PATCH v3 1/2] platform: Add Amlogic Meson AO CEC Controller  driver Hans Verkuil <hverkuil@xs4all.nl> - 2017-07-28 15:00 +0200
  Re: [PATCH v3 0/2] media: Add Amlogic Meson AO CEC Controller support Hans Verkuil <hverkuil@xs4all.nl> - 2017-07-28 14:40 +0200
    Re: [PATCH v3 0/2] media: Add Amlogic Meson AO CEC Controller support Hans Verkuil <hverkuil@xs4all.nl> - 2017-07-28 14:40 +0200
      Re: [PATCH v3 0/2] media: Add Amlogic Meson AO CEC Controller support Neil Armstrong <narmstrong@baylibre.com> - 2017-07-28 15:00 +0200

csiph-web