# SPDX-License-Identifier: GPL-2.0-only
menuconfig SUNWAY_PLATFORM_DEVICES
	bool "SunWay Platform Specific Device Drivers"
	default y
	depends on SW64
	help
	Say Y here to get to see options for device drivers for various
	sunway platforms, including vendor-specific laptop extension drivers.
	This option alone does not add any kernel code.

	If you say N, all options in this submenu will be skipped and disable

if SUNWAY_PLATFORM_DEVICES

config SW_SCI_EVT
	bool "SCI event driver defined by sunway"
	depends on SW64
	default y
	help
	The SCI event driver for sw831. While the GPIO triggering a irq the EC
	put the event then the driver input it to the system.

config SW_LAPTOP_EC_BAT
	bool "EC laptop bat driver for sunway platform support"
	depends on SW_SCI_EVT
	default y
	help
 	The sunway use embedded controller for it's laptop, this
	support for EC bat with sunway platform.

endif
