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


Groups > linux.kernel > #1705944

Re: [PATCH] irqchip: uniphier-aidet: add UniPhier AIDET irqchip driver

From Masahiro Yamada <yamada.masahiro@socionext.com>
Newsgroups linux.kernel
Subject Re: [PATCH] irqchip: uniphier-aidet: add UniPhier AIDET irqchip driver
Date 2017-08-08 03:30 +0200
Message-ID <uc1vl-wk-19@gated-at.bofh.it> (permalink)
References <uamky-7Ca-3@gated-at.bofh.it> <ubNLI-74u-21@gated-at.bofh.it> <ubP17-80C-5@gated-at.bofh.it> <ubQqe-nB-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Marc,


2017-08-07 22:36 GMT+09:00 Marc Zyngier <marc.zyngier@arm.com>:
> On 07/08/17 12:59, Masahiro Yamada wrote:
>> Hi Marc,
>>
>> Thanks for your comments.
>>
>>
>> 2017-08-07 19:43 GMT+09:00 Marc Zyngier <marc.zyngier@arm.com>:
>>> On 03/08/17 12:15, Masahiro Yamada wrote:
>>>> UniPhier SoCs contain AIDET (ARM Interrupt Detector).  This is intended
>>>> to provide additional features that are not covered by GIC.  The main
>>>> purpose is to provide logic inverter to support low level and falling
>>>> edge trigger type for interrupt lines from on-board devices.
>>>>
>>>> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>


Thanks.  I will send v2 based on your comments.



If possible, could you help me with my GPIO driver?

I implemented a similar IRQ domain hierarchy handling in the driver.

This patch:
http://patchwork.ozlabs.org/patch/797145/


If I am understanding correctly, the IRQ mapping to the parent
must be somehow hard-coded in the .alloc() hook of irq_domain_ops.

I asked a question in the following.
https://lkml.org/lkml/2017/7/6/758


I do not have a solution to get the IRQ info from "interrupts" property,
so I am hard-coding it in the driver.

-- 
Best Regards
Masahiro Yamada

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


Thread

[PATCH] irqchip: uniphier-aidet: add UniPhier AIDET irqchip driver Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-08-03 13:20 +0200
  Re: [PATCH] irqchip: uniphier-aidet: add UniPhier AIDET irqchip  driver Marc Zyngier <marc.zyngier@arm.com> - 2017-08-07 12:50 +0200
    Re: [PATCH] irqchip: uniphier-aidet: add UniPhier AIDET irqchip driver Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-08-07 14:10 +0200
      Re: [PATCH] irqchip: uniphier-aidet: add UniPhier AIDET irqchip  driver Marc Zyngier <marc.zyngier@arm.com> - 2017-08-07 15:40 +0200
        Re: [PATCH] irqchip: uniphier-aidet: add UniPhier AIDET irqchip driver Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-08-08 03:30 +0200

csiph-web