aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/media
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2017-07-30 09:23:12 -0400
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-08-20 09:49:41 -0400
commit30dcb4eaea1e372e406d284b7aae69f2001b9e24 (patch)
tree31501040189e61476a0cb4223c4a2d14ee1b8963 /Documentation/devicetree/bindings/media
parentmedia: rc: ir-nec-decoder: move scancode composing code into a shared function (diff)
downloadlinux-dev-30dcb4eaea1e372e406d284b7aae69f2001b9e24.tar.xz
linux-dev-30dcb4eaea1e372e406d284b7aae69f2001b9e24.zip
media: dt-bindings: add bindings document for zx-irdec
It adds the dt-bindings document for ZTE ZX IRDEC remote control block. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Documentation/devicetree/bindings/media')
-rw-r--r--Documentation/devicetree/bindings/media/zx-irdec.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/media/zx-irdec.txt b/Documentation/devicetree/bindings/media/zx-irdec.txt
new file mode 100644
index 000000000000..295b9fab593e
--- /dev/null
+++ b/Documentation/devicetree/bindings/media/zx-irdec.txt
@@ -0,0 +1,14 @@
+IR Decoder (IRDEC) on ZTE ZX family SoCs
+
+Required properties:
+ - compatible: Should be "zte,zx296718-irdec".
+ - reg: Physical base address and length of IRDEC registers.
+ - interrupts: Interrupt number of IRDEC.
+
+Exmaples:
+
+ irdec: ir-decoder@111000 {
+ compatible = "zte,zx296718-irdec";
+ reg = <0x111000 0x1000>;
+ interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
+ };