Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758463AbaLKBhJ (ORCPT ); Wed, 10 Dec 2014 20:37:09 -0500 Received: from mail-gw3-out.broadcom.com ([216.31.210.64]:15197 "EHLO mail-gw3-out.broadcom.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758097AbaLKBhG (ORCPT ); Wed, 10 Dec 2014 20:37:06 -0500 X-IronPort-AV: E=Sophos;i="5.07,554,1413270000"; d="scan'208";a="52626137" Message-ID: <5488F53F.5060805@broadcom.com> Date: Wed, 10 Dec 2014 17:37:03 -0800 From: Ray Jui User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: Lucas Stach CC: Bjorn Helgaas , Rob Herring , Pawel Moll , Mark Rutland , "Ian Campbell" , Kumar Gala , Grant Likely , Christian Daudt , Matt Porter , Florian Fainelli , Russell King , Scott Branden , , , , , Subject: Re: [PATCH 1/4] pci: iProc: define Broadcom iProc PCIe binding References: <1418169871-19232-1-git-send-email-rjui@broadcom.com> <1418169871-19232-2-git-send-email-rjui@broadcom.com> <1418207427.7616.5.camel@pengutronix.de> In-Reply-To: <1418207427.7616.5.camel@pengutronix.de> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/10/2014 2:30 AM, Lucas Stach wrote: >> +Example: >> + >> +SoC specific DT Entry: >> + >> + pcie0: pcie@18012000 { >> + compatible = "brcm,iproc-pcie"; >> + reg = <0x18012000 0x1000>, >> + <0x18002000 0x1000>; >> + interrupts = , >> + , >> + , >> + , >> + , >> + ; > > 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/