How legal is #interrupt-cells = <0>?

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

 



Dear DT and bindings maintainers!

I'm facing a dilemma trying to provide new bindings for an interrupt
controller which only has one interrupt in one configuration. It must
be modelled in the DT because its driver has to acknowledge the IRQ
request in HW, but otherwise there is no information required to
select or configure this single interrupt.

Logically thinking the above would mean #interrupt-cells = <0> in this
interrupt-controller node.

And except all the hell breaks loose in the drivers/of/irq.c I see
no other issues with this.

Do you see this as definitely illegal combination? (Aside of the
two already existing examples in both arch/.../*.dts and in bindings,
one marked as "will not be an irq parent" and another example being
an MSI controller, probably taking other code paths.

-- 
Alexander Sverdlin
Siemens AG
www.siemens.com




[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