summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/scan.c
diff options
context:
space:
mode:
authorGraeme Gregory <graeme.gregory@linaro.org>2016-01-20 15:29:27 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-02-16 19:58:25 +0100
commit6ce2e188a6ae339340d9bbf5bb0b81db20454353 (patch)
tree52074e1abb79e6c9a5c5780404894e01bc129a33 /drivers/acpi/scan.c
parentACPI: introduce a function to find the first physical device (diff)
downloadlinux-6ce2e188a6ae339340d9bbf5bb0b81db20454353.tar.xz
linux-6ce2e188a6ae339340d9bbf5bb0b81db20454353.zip
ACPI / scan: AMBA bus probing support
On ARM64 some devices use the AMBA device and not the platform bus for probing so add support for this. Uses a dummy clock for apb_pclk as ACPI does not have a suitable clock representation and to keep the core AMBA bus code unchanged between probing methods. Acked-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Graeme Gregory <graeme.gregory@linaro.org> Signed-off-by: Aleksey Makarov <aleksey.makarov@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/scan.c')
-rw-r--r--drivers/acpi/scan.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c
index 407a3760e8de..5f28cf778349 100644
--- a/drivers/acpi/scan.c
+++ b/drivers/acpi/scan.c
@@ -1930,6 +1930,7 @@ int __init acpi_scan_init(void)
acpi_memory_hotplug_init();
acpi_pnp_init();
acpi_int340x_thermal_init();
+ acpi_amba_init();
acpi_scan_add_handler(&generic_device_handler);