summaryrefslogtreecommitdiff
path: root/src/soc/amd/common/block/gpio/Kconfig
blob: 707c6d077503f8118bb027988658bb9bd70c9b4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
config SOC_AMD_COMMON_BLOCK_BANKED_GPIOS
	bool
	depends on SOC_AMD_COMMON_BLOCK_ACPIMMIO
	help
	  Select this option to use the newer style banks of GPIO signals.
	  These are at offsets +0x1500, +0x1600, and +0x1700 from the AcpiMmio
	  base.

if SOC_AMD_COMMON_BLOCK_BANKED_GPIOS

config SOC_AMD_COMMON_BLOCK_BANKED_GPIOS_NON_SOC_CODEBASE
	bool
	help
	  Select this option when selecting the GPIO bank support from AMD
	  chipsets outside the soc/ subtree that only support a subset of the
	  features available on the chipsets inside the soc/ subtree. When this
	  option is selected, no SMI or SCI event can be configured by the GPIO
	  code.

endif # SOC_AMD_COMMON_BLOCK_BANKED_GPIOS

config GSC_IRQ_GPIO
	int
	help
	  gpio_interrupt_status() is used to provide interrupt status to TPM layer.
	  This option specifies the GPIO number.