mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-15 04:06:46 +07:00
ACPI / LPSS: Add ACPI IDs for Intel Braswell
Enable more identifiers for the existing devices for Intel Braswell and Cherryview. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
parent
52addcf9d6
commit
1bfbd8eb8a
@ -196,6 +196,17 @@ static struct lpss_device_desc byt_i2c_dev_desc = {
|
|||||||
.setup = lpss_i2c_setup,
|
.setup = lpss_i2c_setup,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static struct lpss_shared_clock bsw_pwm_clock = {
|
||||||
|
.name = "pwm_clk",
|
||||||
|
.rate = 19200000,
|
||||||
|
};
|
||||||
|
|
||||||
|
static struct lpss_device_desc bsw_pwm_dev_desc = {
|
||||||
|
.clk_required = true,
|
||||||
|
.save_ctx = true,
|
||||||
|
.shared_clock = &bsw_pwm_clock,
|
||||||
|
};
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
#define LPSS_ADDR(desc) (0UL)
|
#define LPSS_ADDR(desc) (0UL)
|
||||||
@ -225,6 +236,12 @@ static const struct acpi_device_id acpi_lpss_device_ids[] = {
|
|||||||
{ "INT33B2", },
|
{ "INT33B2", },
|
||||||
{ "INT33FC", },
|
{ "INT33FC", },
|
||||||
|
|
||||||
|
/* Braswell LPSS devices */
|
||||||
|
{ "80862288", LPSS_ADDR(bsw_pwm_dev_desc) },
|
||||||
|
{ "8086228A", LPSS_ADDR(byt_uart_dev_desc) },
|
||||||
|
{ "8086228E", LPSS_ADDR(byt_spi_dev_desc) },
|
||||||
|
{ "808622C1", LPSS_ADDR(byt_i2c_dev_desc) },
|
||||||
|
|
||||||
{ "INT3430", LPSS_ADDR(lpt_dev_desc) },
|
{ "INT3430", LPSS_ADDR(lpt_dev_desc) },
|
||||||
{ "INT3431", LPSS_ADDR(lpt_dev_desc) },
|
{ "INT3431", LPSS_ADDR(lpt_dev_desc) },
|
||||||
{ "INT3432", LPSS_ADDR(lpt_i2c_dev_desc) },
|
{ "INT3432", LPSS_ADDR(lpt_i2c_dev_desc) },
|
||||||
|
Loading…
Reference in New Issue
Block a user