Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ACPI / PMIC: Add i2c address for thermal control

On Asus T101HA, we keep receiving those error messages:

i915 0000:00:02.0: [drm] *ERROR* mipi_exec_pmic failed, error: -95
intel_soc_pmic_exec_mipi_pmic_seq_element: Not implemented
intel_soc_pmic_exec_mipi_pmic_seq_element: i2c-addr: 0x5e reg-addr 0x4b value 0x59 mask 0xff

Because the opregion is missing the I2C address.

Suggested-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

authored by

Mauro Carvalho Chehab and committed by
Rafael J. Wysocki
cc0594c4 b9bbe6ed

+1
+1
drivers/acpi/pmic/intel_pmic_chtdc_ti.c
··· 102 102 .power_table_count = ARRAY_SIZE(chtdc_ti_power_table), 103 103 .thermal_table = chtdc_ti_thermal_table, 104 104 .thermal_table_count = ARRAY_SIZE(chtdc_ti_thermal_table), 105 + .pmic_i2c_address = 0x5e, 105 106 }; 106 107 107 108 static int chtdc_ti_pmic_opregion_probe(struct platform_device *pdev)