i2c: Re-enable piix4 driver on non-x86
authorMario Limonciello <mario.limonciello@amd.com>
Tue, 10 Jun 2025 20:58:17 +0000 (15:58 -0500)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Mon, 30 Jun 2025 10:42:14 +0000 (13:42 +0300)
loongarch and mips both support hardware that uses the i2c-piix4 driver.
It should not be restricted to x86, so drop the x86 dependency.

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Closes: https://lore.kernel.org/all/CAMuHMdVPQLjOox5sMp34Z5MTwKv2WOpHa=MpZr8hWG22fQKcjw@mail.gmail.com/
Fixes: 7e173eb82ae97175 ("i2c: piix4: Make CONFIG_I2C_PIIX4 dependent on CONFIG_X86").
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Hans de Goede <hansg@kernel.org>
Acked-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://lore.kernel.org/r/20250610205817.3912944-2-superm1@kernel.org
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/i2c/busses/Kconfig

index 48c5ab8320090cc383cea32337fb391c2b01a904..3be623735ca8af2d9356008c00931bc69f92ec7c 100644 (file)
@@ -200,7 +200,7 @@ config I2C_ISMT
 
 config I2C_PIIX4
        tristate "Intel PIIX4 and compatible (ATI/AMD/Serverworks/Broadcom/SMSC)"
-       depends on PCI && HAS_IOPORT && X86
+       depends on PCI && HAS_IOPORT
        select I2C_SMBUS
        help
          If you say yes to this option, support will be included for the Intel