Re: PCIe device tree support

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

On Fri, 24 Feb 2012 22:46:06 +0530
Pratyush Anand <pratyush.anand@xxxxxxxxx> wrote:

> I too had similar query.
> I have written a PCIe host driver for SPEAr platform (ARM Arch).
> This driver is registered on paltform bus.
> It is for Designware IP, so I believe that most of its part
> can be re-usaable for other person.
>  have kept common and SPEAr specific part separately.
> But,  I am not sure about its best location.
> I believe best would have been to keep in driver/pci/pcie/hosts/.
> But it uses pci_common_init function which is specific to ARM platform.
> So it limits option to arch/arm.
> But, if I keep it in arch/arm/mach-spear13xx/ , then it will limit others
> from using synopsys specific code.
> What do you suggest?

Maybe arch/arm/pci until there are non-ARM users of the IP?  In fact,
you may want to put off moving it to arch/arm/pci until you have
someone to share it with.  Premature sharing is like premature
optimization after all...

Jesse Barnes, Intel Open Source Technology Center

Attachment: signature.asc
Description: PGP signature

[ARM Kernel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]     [Free Online Dating]     [Linux Kernel]     [Linux SCSI]     [XFree86]

Add to Google Powered by Linux