menu "GPIO"
	config GPIO_WAKEUP_SUPPORT
		bool "Enable GPIO WAKEUP system if at low voltage status"
		default n

	config GPIO_DYNAMIC_WAKEUP_SUPPORT
		bool "Enable GPIO dynamic config to wake system if at low volatage status"
		depends on GPIO_WAKEUP_SUPPORT
		default n

	config GPIO_WAKEUP_DEBUG
		bool "Enable GPIO wakeup module debug code"
		depends on GPIO_WAKEUP_SUPPORT
		default n

	config GPIO_DYNAMIC_WAKEUP_SOURCE_MAX_CNT
		int "how many gpio can dynamic set to wakeup system at low power status"
		range 0 48
		default 4
		help
		The value should be changed if need more then 4 gpio

	config CONFIG_GPIO_WAKEUP_ID
		int "specific port for GPIO wakeup"
		range 0 48
		default 22
		help
		Only one port is supported for now

	config CONFIG_GPIO_WAKEUP_INT_TYPE
		int "which intterupt type for GPIO wakeup"
		range 0 3
		default 0
		help
		0: set gpio as low level intterrupt type
		1: set gpio as high level intterrupt type
		2: set gpio as rising edge intterrupt type
		3: set gpio as falling edge intterrupt type

	config GPIO_SIMULATE_UART_WRITE
		bool "Enable GPIO simulate uart write data"
		default n

	config GPIO_DEFAULT_SET_SUPPORT
		bool "Enable GPIO default set devs"
		default n

	config GPIO_ANA_WAKEUP_SUPPORT
		bool "Enable GPIO wakeup system from analog channel"
		default n
		help
			This is for super deep sleep

	config GPIO_RETENTION_SUPPORT
		bool "Enable GPIO retention for (super) deep sleep and soft reset"
		default n
		help
			If not open, gpio could not keep state when the always on power domain is off

	config GPIO_RETENTION_DISPOSABLE
		bool "Decide GPIO retention is disposable or permanent"
		default y

	config USR_GPIO_CFG_EN
		bool "Enable user-defined GPIO config for each project"
		depends on GPIO_DEFAULT_SET_SUPPORT
		default n

	config GPIO_DUMP_MAP_DEV_DEBUG
		bool "Enable GPIO MAP DEV DEBUG CODE"
		default n

	config LDO3V3_CTRL_GPIO
		int "GPIO pin for LDO 3.3V control"
		default 255
		help
			Specify the GPIO pin number for LDO 3.3V control.
			Customers should configure the GPIO according to their circuit's LDO pin,
			otherwise some peripherals may not work properly.
			Set to 255 to disable this feature.

	config GPIO_API_TEST
		bool "Enable gpio api test"
		default n
		help
			Enable gpio api test.

	config SIM_I2C0_SDA_GPIO
		int "Simulated I2C0 SDA GPIO pin"
		default 1
		range 0 55
		help
		GPIO pin number for simulated I2C0 SDA signal
		Default: GPIO_1

	config SIM_I2C0_SCL_GPIO
		int "Simulated I2C0 SCL GPIO pin"
		default 0
		range 0 55
		help
		GPIO pin number for simulated I2C0 SCL signal
		Default: GPIO_0

	config SIM_I2C1_SDA_GPIO
		int "Simulated I2C1 SDA GPIO pin"
		default 5
		range 0 55
		help
		GPIO pin number for simulated I2C1 SDA signal
		Default: GPIO_5

	config SIM_I2C1_SCL_GPIO
		int "Simulated I2C1 SCL GPIO pin"
		default 8
		range 0 55
		help
		GPIO pin number for simulated I2C1 SCL signal
		Default: GPIO_8

endmenu

