[PATCH v1 00/10] mfd, x86: remove msic driver and leftovers

Andy Shevchenko
2021-01-26T01:27:44Z

This is a second part of the Intel MID outdated platforms removal.
First part is available as immutable branch [1]. The series has functional
and build dependencies, so the mentioned branch should be used as a base
for these changes.

Note, that some of the drivers, that arch/x86 covers, seems never appeared
in the upstream (like msic_ocd).

There few ways are possible to proceed with this:
- extend existing immutable branch
- create another one based on MFD
- merge everything thru tip tree

I'm also all ears for alternatives.

The entire branch with all patches is available here [2].

Rafael, can you please help reviewing arch/x86 related code?

[1]: https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=intel-mid-removal
[2]: https://gitlab.com/andy-shev/next/-/tree/topic/mid-removal-next

Andy Shevchenko (10):
x86/platform/intel-mid: Remove unused leftovers (msic_audio)
x86/platform/intel-mid: Remove unused leftovers (msic_ocd)
x86/platform/intel-mid: Remove unused leftovers (msic_battery)
x86/platform/intel-mid: Remove unused leftovers (msic_gpio)
x86/platform/intel-mid: Remove unused leftovers (msic_power_btn)
x86/platform/intel-mid: Remove unused leftovers (msic_thermal)
x86/platform/intel-mid: Remove unused leftovers (msic)
x86/platform/intel-mid: Remove unused leftovers (vRTC)
x86/apb_timer: Remove driver for deprecated platform
mfd: intel_msic: Remove driver for deprecated platform

.../admin-guide/kernel-parameters.txt | 6 -
MAINTAINERS | 2 -
arch/x86/Kconfig | 12 -
arch/x86/include/asm/apb_timer.h | 40 --
arch/x86/include/asm/fixmap.h | 3 -
arch/x86/include/asm/intel-mid.h | 28 --
arch/x86/include/asm/intel_mid_vrtc.h | 10 -
arch/x86/include/asm/intel_scu_ipc_legacy.h | 17 -
arch/x86/kernel/Makefile | 1 -
arch/x86/kernel/apb_timer.c | 347 --------------
arch/x86/platform/intel-mid/Makefile | 2 +-
.../platform/intel-mid/device_libs/Makefile | 9 -
.../device_libs/platform_mrfld_power_btn.c | 78 ---
.../intel-mid/device_libs/platform_msic.c | 83 ----
.../intel-mid/device_libs/platform_msic.h | 15 -
.../device_libs/platform_msic_audio.c | 42 --
.../device_libs/platform_msic_battery.c | 32 --
.../device_libs/platform_msic_gpio.c | 43 --
.../intel-mid/device_libs/platform_msic_ocd.c | 44 --
.../device_libs/platform_msic_power_btn.c | 31 --
.../device_libs/platform_msic_thermal.c | 32 --
arch/x86/platform/intel-mid/intel-mid.c | 79 +--
arch/x86/platform/intel-mid/intel_mid_vrtc.c | 173 -------
arch/x86/platform/intel-mid/sfi.c | 124 -----
drivers/mfd/Kconfig | 9 -
drivers/mfd/Makefile | 1 -
drivers/mfd/intel_msic.c | 425 ----------------
include/linux/mfd/intel_msic.h | 453 ------------------
28 files changed, 4 insertions(+), 2137 deletions(-)
delete mode 100644 arch/x86/include/asm/apb_timer.h
delete mode 100644 arch/x86/include/asm/intel_mid_vrtc.h
delete mode 100644 arch/x86/kernel/apb_timer.c
delete mode 100644 arch/x86/platform/intel-mid/device_libs/platform_mrfld_power_btn.c
delete mode 100644 arch/x86/platform/intel-mid/device_libs/platform_msic.c
delete mode 100644 arch/x86/platform/intel-mid/device_libs/platform_msic.h
delete mode 100644 arch/x86/platform/intel-mid/device_libs/platform_msic_audio.c
delete mode 100644 arch/x86/platform/intel-mid/device_libs/platform_msic_battery.c
delete mode 100644 arch/x86/platform/intel-mid/device_libs/platform_msic_gpio.c
delete mode 100644 arch/x86/platform/intel-mid/device_libs/platform_msic_ocd.c
delete mode 100644 arch/x86/platform/intel-mid/device_libs/platform_msic_power_btn.c
delete mode 100644 arch/x86/platform/intel-mid/device_libs/platform_msic_thermal.c
delete mode 100644 arch/x86/platform/intel-mid/intel_mid_vrtc.c
delete mode 100644 drivers/mfd/intel_msic.c
delete mode 100644 include/linux/mfd/intel_msic.h

--
2.29.2