Re: [PATCH v2] PCI: exynos: refactor exynos pcie driver
From: pankaj.dubey
Date: Thu Jan 19 2017 - 23:26:59 EST
Hello Jingoo, Bjorn,
On Thursday 05 January 2017 09:47 AM, Jaehoon Chung wrote:
> On 01/05/2017 12:53 PM, Pankaj Dubey wrote:
>> From: Niyas Ahmed S T <niyas.ahmed@xxxxxxxxxxx>
>>
>> Currently Exynos PCIe driver is only supported for Exynos5440 SoC.
>> This patch does refactoring of Exynos PCIe driver to extend support
>> for other Exynos SoC.
>>
>> Following are the main changes done via this patch:
>>
>> 1) It adds separate structs for memory, clock resources.
>>
>> Reason behind this change is, moving ahead various Exynos SoC will
>> have different hardware resources such as iomem, clocks, regmap handles
>> etc. for PCIe controller, so keeping these resources in separate struct
>> will help us in intiailizing them via per SoC ops, and will avoid too
>> many of_machine_is_compatible in code, and help us simplifying
>> exynos_pcie struct.
>>
>> 2) It add exynos_pcie_ops struct which will allow us to support the
>> differences in resources in different Exynos SoC.
>>
>> No functional change intended.
>>
>> Signed-off-by: Niyas Ahmed S T <niyas.ahmed@xxxxxxxxxxx>
>> Signed-off-by: Pankaj Dubey <pankaj.dubey@xxxxxxxxxxx>
>> Acked-by: Krzysztof Kozlowski <krzk@xxxxxxxxxx>
>> Reviewed-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@xxxxxxxxxxx>
>
> Reviewed-by: Jaehoon Chung <jh80.chung@xxxxxxxxxxx>
>
> Best Regards,
> Jaehoon Chung
>
>> ---
>> This patch set is prepared on top of Krzysztof's for-next and
>> PCIe driver cleanup patch [1] by Jaehoon Chung.
>>
>> [1]: https://lkml.org/lkml/2016/12/19/44
>>
Any update on this patch and dependent series [1] from Jaehoon Chung.
Thanks,
Pankaj Dubey