Skip to contentSkip to conversation

soc: aspeed: Remove misc control interface driver

PATCH In review Joel Stanley 2 participants 2 messages Nov 17, 2020 Arm/Aspeed machine support

lore
Share & tools
lore

Joel Stanley

author maintainer
#0 lore raw

PATCH 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
index 2665ca89bdf8..9bdd4cebc65d 100644
@@ -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
index 217d876fec25..977b046dfb73 100644
@@ -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
#1 lore raw
Quoted 12 lines · Joel Stanley

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

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.