soc: aspeed: Remove misc control interface driver
Joel Stanley
maintainerPATCH 1/1 soc: aspeed: Remove misc control interface driver
This driver is no longer in use. There were two consumers in OpenBMC userspace:
- hb_settings
This was used to set the ASPEED LPC scratch registers.
The scratch registers are no longer used after the SuperIO controller was disabled to mitigate the pantsdown issues.
- uart-render-controller
This was used for controlling the ASPEED VGA mux, to switch between the internal graphics device and the VGA device.
The mux now has an upstream sysfs control as part of the DRM driver and userspace has been updated to use that.
--- drivers/soc/aspeed/Kconfig | 8 -- drivers/soc/aspeed/Makefile | 1 - drivers/soc/aspeed/aspeed-bmc-misc.c | 190 --------------------------- 3 files changed, 199 deletions(-) delete mode 100644 drivers/soc/aspeed/aspeed-bmc-misc.c
drivers/soc/aspeed/Kconfig +0 -8
@@ -5,14 +5,6 @@ config SOC_ASPEED def_bool y depends on ARCH_ASPEED || COMPILE_TEST -config ASPEED_BMC_MISC - bool "Miscellaneous ASPEED BMC interfaces" - depends on ARCH_ASPEED || COMPILE_TEST - default ARCH_ASPEED - help - Say yes to expose VGA and LPC scratch registers, and other - miscellaneous control interfaces specific to the ASPEED BMC SoCs - config ASPEED_LPC_CTRL depends on SOC_ASPEED && REGMAP && MFD_SYSCON tristate "Aspeed ast2400/2500 HOST LPC to BMC bridge control"
drivers/soc/aspeed/Makefile +0 -1
@@ -1,5 +1,4 @@ # SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_ASPEED_BMC_MISC) += aspeed-bmc-misc.o obj-$(CONFIG_ASPEED_LPC_CTRL) += aspeed-lpc-ctrl.o obj-$(CONFIG_ASPEED_LPC_SNOOP) += aspeed-lpc-snoop.o obj-$(CONFIG_ASPEED_P2A_CTRL) += aspeed-p2a-ctrl.o
drivers/soc/aspeed/aspeed-bmc-misc.c deleted +0 -190
190 lines not on this page · raw message
Signature · 1 line
2.29.2
Quoted 12 lines · Joel Stanley
This driver is no longer in use. There were two consumers in OpenBMC userspace:
-
hb_settingsThis was used to set the ASPEED LPC scratch registers.
The scratch registers are no longer used after the SuperIO controller was disabled to mitigate the pantsdown issues.
- uart-render-controller
Quoted 7 lines
This was used for controlling the ASPEED VGA mux, to switch between the internal graphics device and the VGA device.
The mux now has an upstream sysfs control as part of the DRM driver and userspace has been updated to use that.
Signed-off-by Joel Stanley <[email protected]>