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


Groups > linux.kernel > #1513243

[PATCH v2 1/3] binding: irqchip: mtk-cirq: Add binding document

From Youlin Pei <youlin.pei@mediatek.com>
Newsgroups linux.kernel
Subject [PATCH v2 1/3] binding: irqchip: mtk-cirq: Add binding document
Date 2016-11-01 13:00 +0100
Message-ID <syFTs-8aZ-19@gated-at.bofh.it> (permalink)
References <syFTs-8aZ-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


This commit adds the device tree binding document for
the mediatek cirq.

Signed-off-by: Youlin Pei <youlin.pei@mediatek.com>
---
 .../interrupt-controller/mediatek,cirq.txt         |   30 ++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/interrupt-controller/mediatek,cirq.txt

diff --git a/Documentation/devicetree/bindings/interrupt-controller/mediatek,cirq.txt b/Documentation/devicetree/bindings/interrupt-controller/mediatek,cirq.txt
new file mode 100644
index 0000000..84e8123
--- /dev/null
+++ b/Documentation/devicetree/bindings/interrupt-controller/mediatek,cirq.txt
@@ -0,0 +1,30 @@
+* Mediatek 27xx cirq
+
+In Mediatek SOCs, the CIRQ is a low power interrupt controller designed to
+works outside MCUSYS which comprises with Cortex-Ax cores,CCI and GIC.
+The external interrupts (outside MCUSYS) will feed through CIRQ and connect
+to GIC in MCUSYS. When CIRQ is enabled, it will record the edge-sensitive
+interrupts and generated a pulse signal to parent interrupt controller when
+flush command is executed. With CIRQ, MCUSYS can be completely turned off
+to improve the system power consumption without losing interrupts.
+
+Required properties:
+- compatible: should be: "mediatek,mtk-cirq".
+- interrupt-controller : Identifies the node as an interrupt controller.
+- #interrupt-cells : Use the same format as specified by GIC in arm,gic.txt.
+- interrupt-parent: phandle of irq parent for cirq. The parent must
+  use the same interrupt-cells format as GIC.
+- reg: Physical base address of the cirq registers and length of memory
+  mapped region.
+- mediatek,ext-irq-start: Identifies external irq start number in different
+  SOCs.
+
+Example:
+	cirq: interrupt-controller@10204000 {
+		compatible = "mediatek,mtk-cirq";
+		interrupt-controller;
+		#interrupt-cells = <3>;
+		interrupt-parent = <&sysirq>;
+		reg = <0 0x10204000 0 0x4000>;
+		mediatek,ext-irq-start = <32>;
+	};
-- 
1.7.9.5

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


Thread

[PATCH v2 0/3] Add Mediatek CIRQ interrupt controller Youlin Pei <youlin.pei@mediatek.com> - 2016-11-01 13:00 +0100
  [PATCH v2 2/3] irqchip: mtk-cirq: Add mediatek mtk-cirq implement Youlin Pei <youlin.pei@mediatek.com> - 2016-11-01 13:00 +0100
    Re: [PATCH v2 2/3] irqchip: mtk-cirq: Add mediatek mtk-cirq implement Marc Zyngier <marc.zyngier@arm.com> - 2016-11-01 22:00 +0100
      Re: [PATCH v2 2/3] irqchip: mtk-cirq: Add mediatek mtk-cirq  implement Youlin Pei <youlin.pei@mediatek.com> - 2016-11-04 05:50 +0100
        Re: [PATCH v2 2/3] irqchip: mtk-cirq: Add mediatek mtk-cirq implement Marc Zyngier <marc.zyngier@arm.com> - 2016-11-04 23:30 +0100
          Re: [PATCH v2 2/3] irqchip: mtk-cirq: Add mediatek mtk-cirq  implement Youlin Pei <youlin.pei@mediatek.com> - 2016-11-08 04:00 +0100
            Re: [PATCH v2 2/3] irqchip: mtk-cirq: Add mediatek mtk-cirq implement Marc Zyngier <marc.zyngier@arm.com> - 2016-11-10 19:30 +0100
  [PATCH v2 3/3] ARM: dts: mt2701: Add mtk-cirq node for mt2701 Youlin Pei <youlin.pei@mediatek.com> - 2016-11-01 13:00 +0100
  [PATCH v2 1/3] binding: irqchip: mtk-cirq: Add binding document Youlin Pei <youlin.pei@mediatek.com> - 2016-11-01 13:00 +0100
    Re: [PATCH v2 1/3] binding: irqchip: mtk-cirq: Add binding document Rob Herring <robh@kernel.org> - 2016-11-09 19:30 +0100

csiph-web