On Tuesday 09 February 2016 09:47:55 Brijesh Singh wrote: > > > > I see we don't have a binding file for this, can you add one please? > > > There is binding file ipmi.txt [1]. Am I missing something ? > > [1] http://lxr.free-electrons.com/source/Documentation/devicetree/bindings/ipmi.txt Sorry, my mistake: I was looking for "ipmi_kcs", which is not in there. > > > > Why the strange name for the interrupt? > > > > Now I don't remember the doc but sometime back while implementing BMC on Seattle I saw that interrupt was labeled as "ipmi_kcs" > hence used the same name in DT. But if you want to use different name then let me know the string and will update it. > > Theoretically IPMI system interface supports the following interface and any of these interfaces can be used by > A57 to communicate with BMC: > > * Keyboard controller style (KCS) > * System Management Interface (SMIC) > * Block transfer (BT) > * SMBus system interface (SSIF) > > AMD Seattle platform supports "KCS". > The important part for interrupt/reg/... names is that you must use exactly the names that are listed in the binding. If there is no name in there, it's better not to add the name property. The other point is that "ipmi_kcs" is a name that is picked really badly, as it uses a '_' character while DT properties by convention use '-' between names, and the name of the IRQ is the same as the device itself, which is really not a useful way to disambiguate multiple interrupts in the same device, if someone ever adds another irq line. Arnd -- 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