hisi_sas: add v2 hw ACPI support
authorJohn Garry <john.garry@huawei.com>
Tue, 31 May 2016 12:38:49 +0000 (20:38 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 13 Jul 2016 03:16:31 +0000 (23:16 -0400)
commit50408712b50f51b086556a59aaae2078d0fa2094
treec3a943de4f116caa321b1a09d71457772784e24a
parent84b342c0f4dc0180ad4ac701b46024761ff4af11
hisi_sas: add v2 hw ACPI support

Add support in v2 hw driver for ACPI.

A check on whether an ACPI handle is available for the device is used to
decide on whether to use ACPI reset handler or syscon for hw reset.

Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
Reviewed-by: Zhangfei Gao <zhangfei.gao@linaro.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c