Samsung S3C6410 SoC/devicetree: how to describe RTC interrupts connected to two different interrupt parents?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux