162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci
362306a36Sopenharmony_ciif ARCH_ASPEED || COMPILE_TEST
462306a36Sopenharmony_ci
562306a36Sopenharmony_cimenu "ASPEED SoC drivers"
662306a36Sopenharmony_ci
762306a36Sopenharmony_ciconfig ASPEED_LPC_CTRL
862306a36Sopenharmony_ci	tristate "ASPEED LPC firmware cycle control"
962306a36Sopenharmony_ci	select REGMAP
1062306a36Sopenharmony_ci	select MFD_SYSCON
1162306a36Sopenharmony_ci	default ARCH_ASPEED
1262306a36Sopenharmony_ci	help
1362306a36Sopenharmony_ci	  Control LPC firmware cycle mappings through ioctl()s. The driver
1462306a36Sopenharmony_ci	  also provides a read/write interface to a BMC ram region where the
1562306a36Sopenharmony_ci	  host LPC read/write region can be buffered.
1662306a36Sopenharmony_ci
1762306a36Sopenharmony_ciconfig ASPEED_LPC_SNOOP
1862306a36Sopenharmony_ci	tristate "ASPEED LPC snoop support"
1962306a36Sopenharmony_ci	select REGMAP
2062306a36Sopenharmony_ci	select MFD_SYSCON
2162306a36Sopenharmony_ci	default ARCH_ASPEED
2262306a36Sopenharmony_ci	help
2362306a36Sopenharmony_ci	  Provides a driver to control the LPC snoop interface which
2462306a36Sopenharmony_ci	  allows the BMC to listen on and save the data written by
2562306a36Sopenharmony_ci	  the host to an arbitrary LPC I/O port.
2662306a36Sopenharmony_ci
2762306a36Sopenharmony_ciconfig ASPEED_UART_ROUTING
2862306a36Sopenharmony_ci	tristate "ASPEED uart routing control"
2962306a36Sopenharmony_ci	select REGMAP
3062306a36Sopenharmony_ci	select MFD_SYSCON
3162306a36Sopenharmony_ci	default ARCH_ASPEED
3262306a36Sopenharmony_ci	help
3362306a36Sopenharmony_ci	  Provides a driver to control the UART routing paths, allowing
3462306a36Sopenharmony_ci	  users to perform runtime configuration of the RX muxes among
3562306a36Sopenharmony_ci	  the UART controllers and I/O pins.
3662306a36Sopenharmony_ci
3762306a36Sopenharmony_ciconfig ASPEED_P2A_CTRL
3862306a36Sopenharmony_ci	tristate "ASPEED P2A (VGA MMIO to BMC) bridge control"
3962306a36Sopenharmony_ci	select REGMAP
4062306a36Sopenharmony_ci	select MFD_SYSCON
4162306a36Sopenharmony_ci	default ARCH_ASPEED
4262306a36Sopenharmony_ci	help
4362306a36Sopenharmony_ci	  Control ASPEED P2A VGA MMIO to BMC mappings through ioctl()s.  The
4462306a36Sopenharmony_ci	  driver also provides an interface for userspace mappings to a
4562306a36Sopenharmony_ci	  pre-defined region.
4662306a36Sopenharmony_ci
4762306a36Sopenharmony_ciconfig ASPEED_SOCINFO
4862306a36Sopenharmony_ci	bool "ASPEED SoC Information driver"
4962306a36Sopenharmony_ci	default ARCH_ASPEED
5062306a36Sopenharmony_ci	select SOC_BUS
5162306a36Sopenharmony_ci	default ARCH_ASPEED
5262306a36Sopenharmony_ci	help
5362306a36Sopenharmony_ci	  Say yes to support decoding of ASPEED BMC information.
5462306a36Sopenharmony_ci
5562306a36Sopenharmony_ciendmenu
5662306a36Sopenharmony_ci
5762306a36Sopenharmony_ciendif
58