* the supplier is not enumerated until after the consumer is probed.
*/
static const struct lpss_device_links lpss_device_links[] = {
++++ /* CHT External sdcard slot controller depends on PMIC I2C ctrl */
{"808622C1", "7", "80860F14", "3", DL_FLAG_PM_RUNTIME},
++++ /* CHT iGPU depends on PMIC I2C controller */
{"808622C1", "7", "LNXVIDEO", NULL, DL_FLAG_PM_RUNTIME},
++++ /* BYT iGPU depends on the Embedded Controller I2C controller (UID 1) */
++++ {"80860F41", "1", "LNXVIDEO", NULL, DL_FLAG_PM_RUNTIME,
++++ i2c1_dep_missing_dmi_ids},
++++ /* BYT CR iGPU depends on PMIC I2C controller (UID 5 on CR) */
{"80860F41", "5", "LNXVIDEO", NULL, DL_FLAG_PM_RUNTIME},
++++ /* BYT iGPU depends on PMIC I2C controller (UID 7 on non CR) */
++++ {"80860F41", "7", "LNXVIDEO", NULL, DL_FLAG_PM_RUNTIME},
};
- ---static bool hid_uid_match(struct acpi_device *adev,
- --- const char *hid2, const char *uid2)
- ---{
- --- const char *hid1 = acpi_device_hid(adev);
- --- const char *uid1 = acpi_device_uid(adev);
- ---
- --- if (strcmp(hid1, hid2))
- --- return false;
- ---
- --- if (!uid2)
- --- return true;
- ---
- --- return uid1 && !strcmp(uid1, uid2);
- ---}
- ---
static bool acpi_lpss_is_supplier(struct acpi_device *adev,
const struct lpss_device_links *link)
{