Samsung S3C6410 SoC/devicetree: how to describe RTC interrupts connected to two different interrupt parents?
Juergen Borleis
juergen127 at kreuzholzen.de
Wed Nov 5 09:17:47 PST 2014
Myself wrote:
> the Samsung S3C6410 SoC comes with an RTC with two interrupts connected to
> two different interrupt controllers.
>
> The old platform code uses this resource to describe it:
>
> static struct resource s3c_rtc_resource[] = {
> [0] = DEFINE_RES_MEM(S3C24XX_PA_RTC, SZ_256),
> [1] = DEFINE_RES_IRQ(IRQ_RTC), <-- channel 2 at VIC0
> [2] = DEFINE_RES_IRQ(IRQ_TICK), <-- channel 28 at VIC1
> };
>
> In the devicetree I can define multiple interrupt channels with the
> keyword 'interrupts' but it seems all of them must share the same interrupt
> parent defined via 'interrupt-parent'. How to handle the special S3C6410
> case?
> The file "Documentation/devicetree/bindings/rtc/s3c-rtc.txt" isn't really
> helpful.
Ahh, "interrupts-extended" is the keyword... solved.
jbo
More information about the linux-arm-kernel
mailing list