Skip to content

Commit cc18735

Browse files
jwrdegoederafaeljw
authored andcommitted
ACPI: LPSS: Add LNXVIDEO -> BYT I2C7 to lpss_device_links
So far on Bay Trail (BYT) we only have been adding a device_link adding the iGPU (LNXVIDEO) device as consumer for the I2C controller for the PMIC for I2C5, but the PMIC only uses I2C5 on BYT CR (cost reduced) on regular BYT platforms I2C7 is used and we were not adding the device_link sometimes causing resume ordering issues. This commit adds LNXVIDEO -> BYT I2C7 to the lpss_device_links table, fixing this. Fixes: 2d71ee0 ("ACPI / LPSS: Add a device link from the GPU to the BYT I2C5 controller") Tested-by: Pierre-Louis Bossart <[email protected]> Signed-off-by: Hans de Goede <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Cc: 4.20+ <[email protected]> # 4.20+ Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 7d194c2 commit cc18735

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

drivers/acpi/acpi_lpss.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -473,9 +473,14 @@ struct lpss_device_links {
473473
* the supplier is not enumerated until after the consumer is probed.
474474
*/
475475
static const struct lpss_device_links lpss_device_links[] = {
476+
/* CHT External sdcard slot controller depends on PMIC I2C ctrl */
476477
{"808622C1", "7", "80860F14", "3", DL_FLAG_PM_RUNTIME},
478+
/* CHT iGPU depends on PMIC I2C controller */
477479
{"808622C1", "7", "LNXVIDEO", NULL, DL_FLAG_PM_RUNTIME},
480+
/* BYT CR iGPU depends on PMIC I2C controller (UID 5 on CR) */
478481
{"80860F41", "5", "LNXVIDEO", NULL, DL_FLAG_PM_RUNTIME},
482+
/* BYT iGPU depends on PMIC I2C controller (UID 7 on non CR) */
483+
{"80860F41", "7", "LNXVIDEO", NULL, DL_FLAG_PM_RUNTIME},
479484
};
480485

481486
static bool hid_uid_match(struct acpi_device *adev,

0 commit comments

Comments
 (0)