ACPI / APD: Add device HID for Vulcan SPI controller
Add device HID for SPI controller on Broadcom Vulcan ARM64. The default frequency for SPI on Vulcan is 133MHz. Signed-off-by: Kamlakant Patel <kamlakant.patel@broadcom.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
parent
694d0d0bb2
commit
bd2058dc1a
|
@ -87,6 +87,11 @@ static struct apd_device_desc xgene_i2c_desc = {
|
||||||
.setup = acpi_apd_setup,
|
.setup = acpi_apd_setup,
|
||||||
.fixed_clk_rate = 100000000,
|
.fixed_clk_rate = 100000000,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static struct apd_device_desc vulcan_spi_desc = {
|
||||||
|
.setup = acpi_apd_setup,
|
||||||
|
.fixed_clk_rate = 133000000,
|
||||||
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
@ -149,6 +154,7 @@ static const struct acpi_device_id acpi_apd_device_ids[] = {
|
||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_ARM64
|
#ifdef CONFIG_ARM64
|
||||||
{ "APMC0D0F", APD_ADDR(xgene_i2c_desc) },
|
{ "APMC0D0F", APD_ADDR(xgene_i2c_desc) },
|
||||||
|
{ "BRCM900D", APD_ADDR(vulcan_spi_desc) },
|
||||||
#endif
|
#endif
|
||||||
{ }
|
{ }
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue