acpi/arm64: Add SBSA Generic Watchdog support in GTDT driver
authorFu Wei <fu.wei@linaro.org>
Fri, 31 Mar 2017 17:51:05 +0000 (01:51 +0800)
committerMark Rutland <mark.rutland@arm.com>
Wed, 19 Apr 2017 16:00:15 +0000 (17:00 +0100)
commitca9ae5ec4ef0ed13833b03297ab319676965492c
treef9d8462ea175af85dcb0ed33081bfabaab13934d
parentc2743a36765d337fad589b5c30b47c297a207194
acpi/arm64: Add SBSA Generic Watchdog support in GTDT driver

This driver adds support for parsing SBSA Generic Watchdog timer
in GTDT, parse all info in SBSA Generic Watchdog Structure in GTDT,
and creating a platform device with that information.

This allows the operating system to obtain device data from the
resource of platform device. The platform device named "sbsa-gwdt"
can be used by the ARM SBSA Generic Watchdog driver.

Signed-off-by: Fu Wei <fu.wei@linaro.org>
Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org>
Tested-by: Xiongfeng Wang <wangxiongfeng2@huawei.com>
Reviewed-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
drivers/acpi/arm64/gtdt.c