This patch series adds MMIO support for newer Macs in the AppleSMC driver and enables fan control for these models. Patch 1 introduces MMIO-based access for AppleSMC on modern Macs, replacing the older I/O port-based access where applicable. Patch 2 builds on this by implementing fan control using the new MMIO method. Subu Dwevedi (2): hwmon/applesmc: add MMIO for newer macs hwmon/applesmc: add fan support for newer macs drivers/hwmon/applesmc.c | 347 +++++++++++++++++++++++++++++++++++---- 1 file changed, 314 insertions(+), 33 deletions(-) -- 2.43.0