]> Gentwo Git Trees - linux/.git/commit
mfd: intel_soc_pmic_crc: Add support for non ACPI instantiated i2c_client
authorHans de Goede <hdegoede@redhat.com>
Mon, 4 Nov 2024 15:06:55 +0000 (16:06 +0100)
committerLee Jones <lee@kernel.org>
Tue, 12 Nov 2024 12:15:42 +0000 (12:15 +0000)
commit7beb2261bcc814a4dd48b8a644d0beff1753c07a
tree458fae0fa2822a6993823436f0b593fba8287bc1
parent521aa8bc1c96ccdb957d46067a3032b56b9645fa
mfd: intel_soc_pmic_crc: Add support for non ACPI instantiated i2c_client

On some x86 Bay Trail tablets which shipped with Android as factory OS,
the DSDT is so broken that the PMIC needs to be manually instantiated by
the special x86-android-tablets.ko "fixup" driver for cases like this.

Add an i2c_device_id table so that the driver can match on manually
instantiated i2c_client-s (which lack an ACPI fwnode to match on).

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20241104150655.41402-3-hdegoede@redhat.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/intel_soc_pmic_crc.c