acpi/arm64: Add GTDT table parse driver
authorFu Wei <fu.wei@linaro.org>
Fri, 31 Mar 2017 17:51:01 +0000 (01:51 +0800)
committerMark Rutland <mark.rutland@arm.com>
Wed, 19 Apr 2017 15:11:49 +0000 (16:11 +0100)
commit5f1ae4ebe578319a0cd5dae9591dd426070be106
treeff4bde8ba98614bb0001500482d5db3242de7770
parentc389d701dfb70154edf896f0f9c40d2857ca2d90
acpi/arm64: Add GTDT table parse driver

This patch adds support for parsing arch timer info in GTDT,
provides some kernel APIs to parse all the PPIs and
always-on info in GTDT and export them.

By this driver, we can simplify arm_arch_timer drivers, and
separate the ACPI GTDT knowledge from it.

Signed-off-by: Fu Wei <fu.wei@linaro.org>
Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Tested-by: Xiongfeng Wang <wangxiongfeng2@huawei.com>
Reviewed-by: Hanjun Guo <hanjun.guo@linaro.org>
Tested-by: Hanjun Guo <hanjun.guo@linaro.org>
Acked-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
arch/arm64/Kconfig
drivers/acpi/arm64/Kconfig
drivers/acpi/arm64/Makefile
drivers/acpi/arm64/gtdt.c [new file with mode: 0644]
include/linux/acpi.h