2019-05-19 12:07:45 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2019-04-22 17:54:19 +00:00
|
|
|
|
2020-09-16 12:57:31 +00:00
|
|
|
if ARCH_ASPEED || COMPILE_TEST
|
|
|
|
|
|
|
|
menu "ASPEED SoC drivers"
|
2019-05-16 16:19:14 +00:00
|
|
|
|
2019-04-22 17:54:19 +00:00
|
|
|
config ASPEED_LPC_CTRL
|
2020-09-16 12:57:31 +00:00
|
|
|
tristate "ASPEED LPC firmware cycle control"
|
|
|
|
select REGMAP
|
|
|
|
select MFD_SYSCON
|
2020-11-19 12:17:04 +00:00
|
|
|
default ARCH_ASPEED
|
2020-06-13 16:50:22 +00:00
|
|
|
help
|
2020-09-16 12:57:31 +00:00
|
|
|
Control LPC firmware cycle mappings through ioctl()s. The driver
|
|
|
|
also provides a read/write interface to a BMC ram region where the
|
|
|
|
host LPC read/write region can be buffered.
|
2019-04-22 17:54:19 +00:00
|
|
|
|
|
|
|
config ASPEED_LPC_SNOOP
|
2020-09-16 12:57:31 +00:00
|
|
|
tristate "ASPEED LPC snoop support"
|
|
|
|
select REGMAP
|
|
|
|
select MFD_SYSCON
|
2020-11-19 12:17:04 +00:00
|
|
|
default ARCH_ASPEED
|
2019-04-22 17:54:19 +00:00
|
|
|
help
|
|
|
|
Provides a driver to control the LPC snoop interface which
|
|
|
|
allows the BMC to listen on and save the data written by
|
|
|
|
the host to an arbitrary LPC I/O port.
|
|
|
|
|
2019-05-16 16:19:14 +00:00
|
|
|
config ASPEED_P2A_CTRL
|
2020-09-16 12:57:31 +00:00
|
|
|
tristate "ASPEED P2A (VGA MMIO to BMC) bridge control"
|
|
|
|
select REGMAP
|
|
|
|
select MFD_SYSCON
|
2020-11-19 12:17:04 +00:00
|
|
|
default ARCH_ASPEED
|
2019-05-16 16:19:14 +00:00
|
|
|
help
|
2020-09-16 12:57:31 +00:00
|
|
|
Control ASPEED P2A VGA MMIO to BMC mappings through ioctl()s. The
|
|
|
|
driver also provides an interface for userspace mappings to a
|
|
|
|
pre-defined region.
|
2019-04-22 17:54:19 +00:00
|
|
|
|
soc: aspeed: Add soc info driver
This adds a SOC_BUS info driver for the ASPEED platform.
The full ID table is preserved in this commit message in case someone
finds a need to change the implemntation in the future.
{ "AST1100-A0", 0x00000200 },
{ "AST1100-A1", 0x00000201 },
{ "AST1100-A2", 0x00000202 },
{ "AST1100-A3", 0x00000202 },
{ "AST2050-A0", 0x00000200 },
{ "AST2050-A1", 0x00000201 },
{ "AST2050-A2", 0x00000202 },
{ "AST2050-A3", 0x00000202 },
{ "AST2100-A0", 0x00000300 },
{ "AST2100-A1", 0x00000301 },
{ "AST2100-A2", 0x00000302 },
{ "AST2100-A3", 0x00000302 },
{ "AST2150-A0", 0x00000202 },
{ "AST2150-A1", 0x00000202 },
{ "AST2200-A0", 0x00000102 },
{ "AST2200-A1", 0x00000102 },
{ "AST2300-A0", 0x01000003 },
{ "AST2300-A1", 0x01010303 },
{ "AST1300-A1", 0x01010003 },
{ "AST1050-A1", 0x01010203 },
{ "AST2400-A0", 0x02000303 },
{ "AST2400-A1", 0x02010303 },
{ "AST1400-A1", 0x02010103 },
{ "AST1250-A1", 0x02010303 },
{ "AST2500-A0", 0x04000303 },
{ "AST2510-A0", 0x04000103 },
{ "AST2520-A0", 0x04000203 },
{ "AST2530-A0", 0x04000403 },
{ "AST2500-A1", 0x04010303 },
{ "AST2510-A1", 0x04010103 },
{ "AST2520-A1", 0x04010203 },
{ "AST2530-A1", 0x04010403 },
{ "AST2500-A2", 0x04030303 },
{ "AST2510-A2", 0x04030103 },
{ "AST2520-A2", 0x04030203 },
{ "AST2530-A2", 0x04030403 },
{ "AST2600-A0", 0x05000303 },
{ "AST2600-A1", 0x05010303 },
{ "AST2600-A2", 0x05020303 },
{ "AST2620-A1", 0x05010203 },
{ "AST2620-A2", 0x05020203 },
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Link: https://lore.kernel.org/r/20200921091644.133107-3-joel@jms.id.au
Signed-off-by: Joel Stanley <joel@jms.id.au>
2020-09-21 09:16:43 +00:00
|
|
|
config ASPEED_SOCINFO
|
|
|
|
bool "ASPEED SoC Information driver"
|
|
|
|
default ARCH_ASPEED
|
|
|
|
select SOC_BUS
|
2020-11-19 12:17:04 +00:00
|
|
|
default ARCH_ASPEED
|
soc: aspeed: Add soc info driver
This adds a SOC_BUS info driver for the ASPEED platform.
The full ID table is preserved in this commit message in case someone
finds a need to change the implemntation in the future.
{ "AST1100-A0", 0x00000200 },
{ "AST1100-A1", 0x00000201 },
{ "AST1100-A2", 0x00000202 },
{ "AST1100-A3", 0x00000202 },
{ "AST2050-A0", 0x00000200 },
{ "AST2050-A1", 0x00000201 },
{ "AST2050-A2", 0x00000202 },
{ "AST2050-A3", 0x00000202 },
{ "AST2100-A0", 0x00000300 },
{ "AST2100-A1", 0x00000301 },
{ "AST2100-A2", 0x00000302 },
{ "AST2100-A3", 0x00000302 },
{ "AST2150-A0", 0x00000202 },
{ "AST2150-A1", 0x00000202 },
{ "AST2200-A0", 0x00000102 },
{ "AST2200-A1", 0x00000102 },
{ "AST2300-A0", 0x01000003 },
{ "AST2300-A1", 0x01010303 },
{ "AST1300-A1", 0x01010003 },
{ "AST1050-A1", 0x01010203 },
{ "AST2400-A0", 0x02000303 },
{ "AST2400-A1", 0x02010303 },
{ "AST1400-A1", 0x02010103 },
{ "AST1250-A1", 0x02010303 },
{ "AST2500-A0", 0x04000303 },
{ "AST2510-A0", 0x04000103 },
{ "AST2520-A0", 0x04000203 },
{ "AST2530-A0", 0x04000403 },
{ "AST2500-A1", 0x04010303 },
{ "AST2510-A1", 0x04010103 },
{ "AST2520-A1", 0x04010203 },
{ "AST2530-A1", 0x04010403 },
{ "AST2500-A2", 0x04030303 },
{ "AST2510-A2", 0x04030103 },
{ "AST2520-A2", 0x04030203 },
{ "AST2530-A2", 0x04030403 },
{ "AST2600-A0", 0x05000303 },
{ "AST2600-A1", 0x05010303 },
{ "AST2600-A2", 0x05020303 },
{ "AST2620-A1", 0x05010203 },
{ "AST2620-A2", 0x05020203 },
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Link: https://lore.kernel.org/r/20200921091644.133107-3-joel@jms.id.au
Signed-off-by: Joel Stanley <joel@jms.id.au>
2020-09-21 09:16:43 +00:00
|
|
|
help
|
|
|
|
Say yes to support decoding of ASPEED BMC information.
|
|
|
|
|
2019-04-29 19:25:41 +00:00
|
|
|
endmenu
|
2020-09-16 12:57:31 +00:00
|
|
|
|
|
|
|
endif
|