[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5488F53F.5060805@broadcom.com>
Date: Wed, 10 Dec 2014 17:37:03 -0800
From: Ray Jui <rjui@...adcom.com>
To: Lucas Stach <l.stach@...gutronix.de>
CC: Bjorn Helgaas <bhelgaas@...gle.com>,
Rob Herring <robh+dt@...nel.org>,
Pawel Moll <pawel.moll@....com>,
Mark Rutland <mark.rutland@....com>,
"Ian Campbell" <ijc+devicetree@...lion.org.uk>,
Kumar Gala <galak@...eaurora.org>,
Grant Likely <grant.likely@...aro.org>,
Christian Daudt <bcm@...thebug.org>,
Matt Porter <mporter@...aro.org>,
Florian Fainelli <f.fainelli@...il.com>,
Russell King <linux@....linux.org.uk>,
Scott Branden <sbranden@...adcom.com>,
<linux-pci@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<bcm-kernel-feedback-list@...adcom.com>,
<devicetree@...r.kernel.org>
Subject: Re: [PATCH 1/4] pci: iProc: define Broadcom iProc PCIe binding
On 12/10/2014 2:30 AM, Lucas Stach wrote:
>> +Example:
>> +
>> +SoC specific DT Entry:
>> +
>> + pcie0: pcie@...12000 {
>> + compatible = "brcm,iproc-pcie";
>> + reg = <0x18012000 0x1000>,
>> + <0x18002000 0x1000>;
>> + interrupts = <GIC_SPI 96 IRQ_TYPE_NONE>,
>> + <GIC_SPI 97 IRQ_TYPE_NONE>,
>> + <GIC_SPI 98 IRQ_TYPE_NONE>,
>> + <GIC_SPI 99 IRQ_TYPE_NONE>,
>> + <GIC_SPI 100 IRQ_TYPE_NONE>,
>> + <GIC_SPI 101 IRQ_TYPE_NONE>;
>
> This is missing the interrupt-map and interrupt-map-mask for the legacy
> INTx interrupts. If you add this you don't need to have a special map
> function in your driver, but can just use the standard
> of_irq_parse_and_map_pci() function.
>
> Regards,
> Lucas
>
Thanks for pointing this out. I will look into this and try it out.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists