On Friday 12 December 2014 09:08:48 Ray Jui wrote:I agree with you that we should have a common PCIe host driver which supports all iProc SoCs, BCM4708, BCM5301X, and some other similar SoCs.
On 12/12/2014 4:29 AM, Arnd Bergmann wrote:
Doesn't Hauke's driver depends on BCMA? In that case, how does it work
on the SoCs that do not have the IP block to support BCMA?
I hadn't realized that there are some SoCs that are not BCMA based.
As the host controller implementation is closely related, we will
have to come up with some solution.
One way to solve this would be by turning the driver into a libraryI'm fine with this solution, i.e., to introduce a common pcie-iproc core driver (just like pcie-designware) and have different front-ends depending on the device/bus type. If we end up deciding to go with this solution, I need to discuss with Hauke to come up with a plan to collaborate.
the same way as the pcie-dw driver, and have separate front-ends
for it for platform_device and bcma_device.