xref: /openbmc/linux/drivers/soc/aspeed/Kconfig (revision 0297e91bee7edaedec63f71dde4a4f2e2d003a63)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2524feb79SPatrick Venture
3592693a1SJoel Stanleyif ARCH_ASPEED || COMPILE_TEST
4592693a1SJoel Stanley
5592693a1SJoel Stanleymenu "ASPEED SoC drivers"
6dc413a90SLinus Torvalds
7524feb79SPatrick Ventureconfig ASPEED_LPC_CTRL
8592693a1SJoel Stanley	tristate "ASPEED LPC firmware cycle control"
9592693a1SJoel Stanley	select REGMAP
10592693a1SJoel Stanley	select MFD_SYSCON
114da595ddSJoel Stanley	default ARCH_ASPEED
12a7f7f624SMasahiro Yamada	help
13592693a1SJoel Stanley	  Control LPC firmware cycle mappings through ioctl()s. The driver
14592693a1SJoel Stanley	  also provides a read/write interface to a BMC ram region where the
15592693a1SJoel Stanley	  host LPC read/write region can be buffered.
16524feb79SPatrick Venture
17524feb79SPatrick Ventureconfig ASPEED_LPC_SNOOP
18592693a1SJoel Stanley	tristate "ASPEED LPC snoop support"
19592693a1SJoel Stanley	select REGMAP
20592693a1SJoel Stanley	select MFD_SYSCON
214da595ddSJoel Stanley	default ARCH_ASPEED
22524feb79SPatrick Venture	help
23524feb79SPatrick Venture	  Provides a driver to control the LPC snoop interface which
24524feb79SPatrick Venture	  allows the BMC to listen on and save the data written by
25524feb79SPatrick Venture	  the host to an arbitrary LPC I/O port.
26524feb79SPatrick Venture
27c6807970SChia-Wei Wangconfig ASPEED_UART_ROUTING
28c6807970SChia-Wei Wang	tristate "ASPEED uart routing control"
29c6807970SChia-Wei Wang	select REGMAP
30c6807970SChia-Wei Wang	select MFD_SYSCON
31c6807970SChia-Wei Wang	default ARCH_ASPEED
32c6807970SChia-Wei Wang	help
33c6807970SChia-Wei Wang	  Provides a driver to control the UART routing paths, allowing
34c6807970SChia-Wei Wang	  users to perform runtime configuration of the RX muxes among
35c6807970SChia-Wei Wang	  the UART controllers and I/O pins.
36c6807970SChia-Wei Wang
37dc413a90SLinus Torvaldsconfig ASPEED_P2A_CTRL
38592693a1SJoel Stanley	tristate "ASPEED P2A (VGA MMIO to BMC) bridge control"
39592693a1SJoel Stanley	select REGMAP
40592693a1SJoel Stanley	select MFD_SYSCON
414da595ddSJoel Stanley	default ARCH_ASPEED
42dc413a90SLinus Torvalds	help
43592693a1SJoel Stanley	  Control ASPEED P2A VGA MMIO to BMC mappings through ioctl()s.  The
44592693a1SJoel Stanley	  driver also provides an interface for userspace mappings to a
45592693a1SJoel Stanley	  pre-defined region.
46524feb79SPatrick Venture
47e0218dcaSJoel Stanleyconfig ASPEED_SOCINFO
48e0218dcaSJoel Stanley	bool "ASPEED SoC Information driver"
49e0218dcaSJoel Stanley	default ARCH_ASPEED
50e0218dcaSJoel Stanley	select SOC_BUS
514da595ddSJoel Stanley	default ARCH_ASPEED
52e0218dcaSJoel Stanley	help
53e0218dcaSJoel Stanley	  Say yes to support decoding of ASPEED BMC information.
54e0218dcaSJoel Stanley
55c3bc0dc7SEddie Jamesconfig ASPEED_XDMA
56c3bc0dc7SEddie James	tristate "ASPEED XDMA Engine Driver"
57c3bc0dc7SEddie James	select REGMAP
58c3bc0dc7SEddie James	select MFD_SYSCON
59c3bc0dc7SEddie James	depends on HAS_DMA
60c3bc0dc7SEddie James	help
61c3bc0dc7SEddie James	  Enable support for the XDMA Engine found on the ASPEED BMC
62c3bc0dc7SEddie James	  SoCs. The XDMA engine can perform PCIe DMA operations between the BMC
63c3bc0dc7SEddie James	  and a host processor.
64c3bc0dc7SEddie James
65*0297e91bSJoel Stanleyconfig ASPEED_SBC
66*0297e91bSJoel Stanley	bool "ASPEED Secure Boot Controller driver"
67*0297e91bSJoel Stanley	default MACH_ASPEED_G6
68*0297e91bSJoel Stanley	help
69*0297e91bSJoel Stanley	  Say yes to provide information about the secure boot controller in
70*0297e91bSJoel Stanley	  debugfs.
71*0297e91bSJoel Stanley
7280d0c649SOlof Johanssonendmenu
73592693a1SJoel Stanley
74592693a1SJoel Stanleyendif
75