Re: [PATCH v2] ARC: Add PCIe support for ARC HSDK platform

From: Gustavo Pimentel
Date: Thu Jun 21 2018 - 12:28:16 EST


On 21/06/2018 17:07, Vineet Gupta wrote:
> On 06/21/2018 07:06 AM, Gustavo Pimentel wrote:
>> Add PCI support to the ARC HSDK platform allowing to use the generic PCI
>> setup functions.
>>
>> Signed-off-by: Gustavo Pimentel <gustavo.pimentel@xxxxxxxxxxxx>
>> Acked-by: Alexey Brodkin <abrodkin@xxxxxxxxxxxx>
>
> Queued to #for-curr after minor fixed up to commit msg subject "ARC: [plat-hsdk]"
>
> Curious, how exactly are you going to use PCI on hsdk ? What is the use case.

The ARC HSDK board is mounted on top of a HAPS DX7 or HAPS-80 using the HT3
connectors. The HAPS DX7 or HAPS-80 provides the PCIe Root Complex using the
Synopsys DesignWare PCIe IP.

Basically I'm migrating the existing use case from ARC AXS101 to ARC HSDK.

>
>> ---
>> arch/arc/plat-hsdk/Kconfig | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> diff --git a/arch/arc/plat-hsdk/Kconfig b/arch/arc/plat-hsdk/Kconfig
>> index 19ab3cf..556bc5e 100644
>> --- a/arch/arc/plat-hsdk/Kconfig
>> +++ b/arch/arc/plat-hsdk/Kconfig
>> @@ -9,3 +9,4 @@ menuconfig ARC_SOC_HSDK
>> bool "ARC HS Development Kit SOC"
>> select CLK_HSDK
>> select RESET_HSDK
>> + select MIGHT_HAVE_PCI
>