Hi,
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.
jbo
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html