On 09/27/2014 12:37 PM, Rafał Miłecki wrote: > On 27 September 2014 10:33, Hauke Mehrtens <hauke@xxxxxxxxxx> wrote: >> I would make GPIO a subdevive of chipcommon. The chipcommon core has an >> own IRQ which is also used for GPIO. > > Which ChipCommon do yo mean? > 1) chipcommonA (compatible = "simple-bus") > 2) chipcommon@0 (child of axi@18000000 AKA brcm,bus-axi) We should combine this (both are describing the same core) I added chipcommonA to get some serial without adding bcma support first. When we have dts support added to bcma, I would like to remove chipcommonA from dtsi and add a chipcommon as a child of axi. > > It seems that for some reason both of them use IRQ 85, while the IRQ > for ChipCommon is 117 I believe. That's the same. In the dtsi file it says: interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>; this will result in the IRQ number 117, when it is GIC_SPI you have to add 32 to the irq number to get the actual number which will be given to request_irq(). Hauke -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html