diff options
author | Niyas Ahmed S T <[email protected]> | 2017-02-01 10:13:06 +0530 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2017-02-10 17:08:34 -0600 |
commit | 3278478084747c02725ba804d672235f2ba56bbc (patch) | |
tree | 091249d6a568018eed79c31ef97079c88bdaebb8 /tools/perf/util/trace-event-scripting.c | |
parent | 92004a064875e45f0ceec72f6962e258e59f0682 (diff) |
PCI: exynos: Refactor to make it easier to support other SoCs
Currently the Exynos PCIe driver only supports the Exynos5440 SoC.
Refactor the driver to allow support for other Exynos SoC.
Following are the main changes in this patch:
1) Add separate structs for memory, clock resources
Future Exynos SoC will have different hardware resources such as iomem,
clocks, regmap handles, etc., so keeping these resources in separate
structs will let us initialize them via per-SoC ops and avoid littering
the code with of_machine_is_compatible().
2) 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 <[email protected]>
Signed-off-by: Pankaj Dubey <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Bartlomiej Zolnierkiewicz <[email protected]>
Reviewed-by: Alim Akhtar <[email protected]>
Reviewed-by: Jaehoon Chung <[email protected]>
Acked-by: Krzysztof Kozlowski <[email protected]>
Acked-by: Jingoo Han <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions