All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 1/2] media: dt: bindings: Add binding for tango HW IR decoder
@ 2017-09-21 14:47 Marc Gonzalez
  2017-09-21 14:49 ` [PATCH v3 2/2] media: rc: Add driver " Marc Gonzalez
  0 siblings, 1 reply; 9+ messages in thread
From: Marc Gonzalez @ 2017-09-21 14:47 UTC (permalink / raw)
  To: Sean Young, Mans Rullgard, Rob Herring; +Cc: linux-media, Mason

Add DT binding for the HW IR decoder embedded in SMP86xx/SMP87xx.

Signed-off-by: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>
---
 .../devicetree/bindings/media/tango-ir.txt          | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/media/tango-ir.txt

diff --git a/Documentation/devicetree/bindings/media/tango-ir.txt b/Documentation/devicetree/bindings/media/tango-ir.txt
new file mode 100644
index 000000000000..a9f00c2bf897
--- /dev/null
+++ b/Documentation/devicetree/bindings/media/tango-ir.txt
@@ -0,0 +1,21 @@
+Sigma Designs Tango IR NEC/RC-5/RC-6 decoder (SMP86xx and SMP87xx)
+
+Required properties:
+
+- compatible: "sigma,smp8642-ir"
+- reg: address/size of NEC+RC5 area, address/size of RC6 area
+- interrupts: spec for IR IRQ
+- clocks: spec for IR clock (typically the crystal oscillator)
+
+Optional properties:
+
+- linux,rc-map-name: see Documentation/devicetree/bindings/media/rc.txt
+
+Example:
+
+	ir@10518 {
+		compatible = "sigma,smp8642-ir";
+		reg = <0x10518 0x18>, <0x105e0 0x1c>;
+		interrupts = <21 IRQ_TYPE_EDGE_RISING>;
+		clocks = <&xtal>;
+	};
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-09-21 17:11 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-21 14:47 [PATCH v3 1/2] media: dt: bindings: Add binding for tango HW IR decoder Marc Gonzalez
2017-09-21 14:49 ` [PATCH v3 2/2] media: rc: Add driver " Marc Gonzalez
2017-09-21 15:46   ` Måns Rullgård
2017-09-21 16:09     ` Marc Gonzalez
2017-09-21 17:11       ` Måns Rullgård
2017-09-21 15:57   ` Sean Young
2017-09-21 16:20     ` Marc Gonzalez
2017-09-21 16:59       ` Sean Young
2017-09-21 16:59       ` Måns Rullgård

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.