Re: [PATCH v2 2/3] irqchip: mtk-cirq: Add mediatek mtk-cirq implement

2016-11-07 Thread Youlin Pei
On Fri, 2016-11-04 at 22:21 +, Marc Zyngier wrote: > On Fri, Nov 04 2016 at 04:42:57 AM, Youlin Pei > wrote: > > On Tue, 2016-11-01 at 20:49 +, Marc Zyngier wrote: > >> On Tue, Nov 01 2016 at 11:52:01 AM, Youlin Pei > >> wrote: > >> > In Mediat

[PATCH 2/3] irqchip: mtk-cirq: Add mediatek mtk-cirq implement

2016-10-12 Thread Youlin Pei
This commit add the mtk-cirq implement for mt2701. Signed-off-by: Youlin Pei --- drivers/irqchip/Makefile |2 +- drivers/irqchip/irq-mtk-cirq.c | 257 2 files changed, 258 insertions(+), 1 deletion(-) create mode 100644 drivers/irqchip/irq

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

2016-10-12 Thread Youlin Pei
This commit adds the device tree binding document for the mediatek cirq. Signed-off-by: Youlin Pei --- base on v4.8-rc1 --- .../interrupt-controller/mediatek,cirq.txt | 30 1 file changed, 30 insertions(+) create mode 100644 Documentation/devicetree/bindings

[PATCH 0/3] Add Mediatek CIRQ interrupt controller

2016-10-12 Thread Youlin Pei
interrupts will be lost in this scenario). When an edge interrupt is triggered, CIRQ will record the status and generated a pulse signal to GIC when flush command is executed. With CIRQ, MCUSYS can be completely turned off to improve the system power consumption without losing interrupts. Youlin Pei

[PATCH 3/3] ARM: dts: mt2701: Add mtk-cirq node for mt2701

2016-10-12 Thread Youlin Pei
This commit add mtk-cirq node to mt2701 dtsi. Signed-off-by: Youlin Pei --- arch/arm/boot/dts/mt2701.dtsi | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/mt2701.dtsi b/arch/arm/boot/dts/mt2701.dtsi index 7eab6f4..a314df9 100644 --- a/arch/arm

Re: [PATCH v2 2/3] irqchip: mtk-cirq: Add mediatek mtk-cirq implement

2016-11-14 Thread Youlin Pei
On Thu, 2016-11-10 at 18:24 +, Marc Zyngier wrote: > On 08/11/16 02:57, Youlin Pei wrote: > > On Fri, 2016-11-04 at 22:21 +, Marc Zyngier wrote: > >> On Fri, Nov 04 2016 at 04:42:57 AM, Youlin Pei > >> wrote: > >>> On Tue, 2016-11-01 at 20:49 +,

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

2016-11-14 Thread Youlin Pei
On Wed, 2016-11-09 at 12:26 -0600, Rob Herring wrote: > On Tue, Nov 01, 2016 at 07:52:00PM +0800, Youlin Pei wrote: > > This commit adds the device tree binding document for > > the mediatek cirq. > > > > Signed-off-by: Youlin Pei > > --- > > ...

[PATCH v2 0/3] Add Mediatek CIRQ interrupt controller

2016-11-01 Thread Youlin Pei
v2: 1. fix coding style issue. 2. change the compatible string. 3. resolve IRQ offset at alloc time. 4. clear irq status in irq_eoi function. 5. rebase on 4.9-rc1. v1: http://lists.infradead.org/pipermail/linux-mediatek/2016-October/007213.html Youlin Pei (3): binding: irqchip: mtk-cirq: Add

[PATCH v2 3/3] ARM: dts: mt2701: Add mtk-cirq node for mt2701

2016-11-01 Thread Youlin Pei
This commit add mtk-cirq node to mt2701 dtsi. Signed-off-by: Youlin Pei --- arch/arm/boot/dts/mt2701.dtsi | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/mt2701.dtsi b/arch/arm/boot/dts/mt2701.dtsi index 2800231..cd00bc4 100644 --- a/arch/arm

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

2016-11-01 Thread Youlin Pei
This commit adds the device tree binding document for the mediatek cirq. Signed-off-by: Youlin Pei --- .../interrupt-controller/mediatek,cirq.txt | 30 1 file changed, 30 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller

[PATCH v2 2/3] irqchip: mtk-cirq: Add mediatek mtk-cirq implement

2016-11-01 Thread Youlin Pei
will be turned off to improve power consumption, also GIC is power down. The edge trigger interrupts will be lost in this scenario without CIRQ. This commit provides the CIRQ irqchip implement. Signed-off-by: Youlin Pei --- drivers/irqchip/Makefile |2 +- drivers/irqchip/irq-mtk-cirq.c

Re: [PATCH v2 2/3] irqchip: mtk-cirq: Add mediatek mtk-cirq implement

2016-11-03 Thread Youlin Pei
On Tue, 2016-11-01 at 20:49 +, Marc Zyngier wrote: > On Tue, Nov 01 2016 at 11:52:01 AM, Youlin Pei > wrote: > > In Mediatek SOCs, the CIRQ is a low power interrupt controller > > designed to works outside MCUSYS which comprises with Cortex-Ax > > cores,CCI a

[PATCH v3 0/3] Add Mediatek CIRQ interrupt controller

2017-02-13 Thread Youlin Pei
diatek/2016-November/007350.html Youlin Pei (3): binding: irqchip: mtk-cirq: Add binding document irqchip: mtk-cirq: Add mediatek mtk-cirq implement ARM: dts: mt2701: Add mtk-cirq node for mt2701 .../interrupt-controller/mediatek,cirq.txt | 35 +++ arch/arm/

[PATCH v3 3/3] ARM: dts: mt2701: Add mtk-cirq node for mt2701

2017-02-13 Thread Youlin Pei
This commit add mtk-cirq node to mt2701 dtsi. Signed-off-by: Youlin Pei --- arch/arm/boot/dts/mt2701.dtsi | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/mt2701.dtsi b/arch/arm/boot/dts/mt2701.dtsi index 7eab6f4..6ac9108 100644 --- a/arch/arm

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

2017-02-13 Thread Youlin Pei
This commit adds the device tree binding document for the mediatek cirq. Signed-off-by: Youlin Pei --- .../interrupt-controller/mediatek,cirq.txt | 35 1 file changed, 35 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller

[PATCH v3 2/3] irqchip: mtk-cirq: Add mediatek mtk-cirq implement

2017-02-13 Thread Youlin Pei
will be turned off to improve power consumption, also GIC is power down. The edge trigger interrupts will be lost in this scenario without CIRQ. This commit provides the CIRQ irqchip implement. Signed-off-by: Youlin Pei --- drivers/irqchip/Makefile |2 +- drivers/irqchip/irq-mtk-cirq.c

Re: [PATCH v3 2/3] irqchip: mtk-cirq: Add mediatek mtk-cirq implement

2017-03-28 Thread Youlin Pei
On Fri, 2017-03-24 at 16:22 +, Marc Zyngier wrote: > On 14/02/17 02:56, Youlin Pei wrote: > > 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

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

2017-04-07 Thread Youlin Pei
This commit adds the device tree binding document for the mediatek cirq. Signed-off-by: Youlin Pei Acked-by: Rob Herring --- .../interrupt-controller/mediatek,cirq.txt | 35 1 file changed, 35 insertions(+) create mode 100644 Documentation/devicetree/bindings

[PATCH v4 0/3] Add Mediatek CIRQ interrupt controller

2017-04-07 Thread Youlin Pei
/linux-mediatek/2016-October/007213.html v2: http://lists.infradead.org/pipermail/linux-mediatek/2016-November/007350.html v3: http://lists.infradead.org/pipermail/linux-mediatek/2017-February/008134.html Youlin Pei (3): binding: irqchip: mtk-cirq: Add binding document irqchip: mtk-cirq: Add mediate

[PATCH v4 3/3] ARM: dts: mt2701: Add mtk-cirq node for mt2701

2017-04-07 Thread Youlin Pei
This commit add mtk-cirq node to mt2701 dtsi. Signed-off-by: Youlin Pei --- arch/arm/boot/dts/mt2701.dtsi | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/mt2701.dtsi b/arch/arm/boot/dts/mt2701.dtsi index 8037210..5daacfe 100644 --- a/arch/arm

[PATCH v4 2/3] irqchip: mtk-cirq: Add mediatek mtk-cirq implement

2017-04-07 Thread Youlin Pei
will be turned off to improve power consumption, also GIC is power down. The edge trigger interrupts will be lost in this scenario without CIRQ. This commit provides the CIRQ irqchip implement. Signed-off-by: Youlin Pei --- drivers/irqchip/Makefile |2 +- drivers/irqchip/irq-mtk-cirq.c

Re: [PATCH v4 0/3] Add Mediatek CIRQ interrupt controller

2017-04-07 Thread Youlin Pei
On Fri, 2017-04-07 at 09:52 +0100, Marc Zyngier wrote: > On 07/04/17 09:06, Youlin Pei wrote: > > 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 CIRQ

Re: [PATCH 2/3] irqchip: mtk-cirq: Add mediatek mtk-cirq implement

2016-10-14 Thread Youlin Pei
Hi Marc, Thanks for your review. On Thu, 2016-10-13 at 09:28 +0100, Marc Zyngier wrote: > On Thu, 13 Oct 2016 13:06:33 +0800 > Youlin Pei wrote: > > > This commit add the mtk-cirq implement for mt2701. > Can you please expand this a bit? Okay, I will improve it as following:

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

2016-10-14 Thread Youlin Pei
Hi Matthias, Thanks for your review. On Thu, 2016-10-13 at 15:00 +0200, Matthias Brugger wrote: > > On 10/13/2016 07:06 AM, Youlin Pei wrote: > > This commit adds the device tree binding document for > > the mediatek cirq. > > > > Signed-off-by: Youlin Pei &g