i2c: i801: Use MMIO if available
authorHeiner Kallweit <hkallweit1@gmail.com>
Wed, 12 Mar 2025 19:08:18 +0000 (20:08 +0100)
committerAndi Shyti <andi.shyti@kernel.org>
Thu, 20 Mar 2025 21:31:31 +0000 (22:31 +0100)
commitd50f2f5d51ea609194439e6e3f470d1a4fad761b
tree700e10a7ecf8d9e8672089f73acd46785557bc03
parent4a3f77ea77013d8d0178503a8abff33d8c4ba5c5
i2c: i801: Use MMIO if available

Newer versions of supported chips support MMIO in addition to legacy
PMIO register access. Probe the MMIO PCI BAR and use faster MMIO
register access if available.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://lore.kernel.org/r/b4748b7a-aac5-445c-b813-20c4d2c23ec3@gmail.com
drivers/i2c/busses/i2c-i801.c