linux_dsm_epyc7002/drivers/scsi/hisi_sas
John Garry 3bc45af81d scsi: hisi_sas: Add v2 hw support for different refclk
The hip06 D03 and hip07 D05 boards have different reference clock
frequencies for the SAS controller.

Register PHY_CTRL needs to be programmed differently according to this
frequency, so add support for this.

The default register setting in PHY_CTRL is for 50MHz, so only update
this register when the refclk frequency is 66MHz.

For ACPI we expect the _RST handler to set the correct value for
PHY_CTRL (we're forced to take different approach for DT and ACPI as
ACPI does not support fixed-clock device).

Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2016-11-08 17:29:46 -05:00
..
hisi_sas_main.c scsi: hisi_sas: Add v2 hw support for different refclk 2016-11-08 17:29:46 -05:00
hisi_sas_v1_hw.c scsi: hisi_sas: remove init_id_frame_v1_hw() 2016-09-14 12:54:18 -04:00
hisi_sas_v2_hw.c scsi: hisi_sas: Add v2 hw support for different refclk 2016-11-08 17:29:46 -05:00
hisi_sas.h scsi: hisi_sas: Add v2 hw support for different refclk 2016-11-08 17:29:46 -05:00
Kconfig hisi_sas: add dependency for HAS_IOMEM 2016-01-26 21:17:59 -05:00
Makefile hisi_sas: add bare v2 hw driver 2016-02-23 21:27:02 -05:00