config MTK_DEVAPC
	tristate "Mediatek Device APC Support"
	help
	  Device APC is a kernel driver controlling internal device security.
	  If someone tries to access a device, which is not allowed by the
	  device, it cannot access the device and will get a violation
	  interrupt. Device APC prevents malicious access to internal devices.

config DEVAPC_LEGACY
	tristate "Mediatek Device APC driver for legacy platform"
	help
	  Say yes here to enable support Mediatek legacy
	  Device APC driver.
	  This driver do not split common handle flow
	  into different files.

config DEVAPC_ARCH_COMMON
	tristate "Mediatek Device APC driver architecture common"
	help
	  Say yes here to enable support Mediatek
	  Device APC driver which is based on HW
	  architecture version 1.
	  This architecture supports common Infra-peri.

config DEVAPC_ARCH_MULTI
	tristate "Mediatek Device APC driver architecture multi"
	help
	  Say yes here to enable support Mediatek
	  Device APC driver which is based on HW
	  architecture version 2.
	  This architecture supports multiple Infra AO.

config MTK_SERROR_HOOK
	bool "Mediatek Slave Error Dump Hook Support"
	help
	  Say yes here to enable support Mediatek
	  slave error dump which can see Device APC driver
	  violation log in case of slave error happened.
	  This is for debug purpose.

config MTK_SABORT_HOOK
	bool "Mediatek Synchronous Abort Dump Hook Support"
	help
	  Say yes here to enable support Mediatek
	  synchronous abort dump which can see Device APC driver
	  violation log in case of synchronous abort happened.
	  This is for debug purpose.

config DEVAPC_MT6739
	tristate "Mediatek MT6739 Device APC driver"
	select MTK_DEVAPC
	select DEVAPC_LEGACY
	help
	 say yes here to enable support Mediatek MT6765
	 Device APC driver.

config DEVAPC_MT6761
        tristate "Mediatek MT6761 Device APC driver"
        select MTK_DEVAPC
        select DEVAPC_LEGACY
        help
         say yes here to enable support Mediatek MT6765
         Device APC driver.

config DEVAPC_MT6765
	tristate "Mediatek MT6765 Device APC driver"
	select MTK_DEVAPC
	help
	  Say yes here to enable support Mediatek MT6765
	  Device APC driver.

config DEVAPC_MT6768
	tristate "Mediatek MT6768 Device APC driver"
	select MTK_DEVAPC
	select DEVAPC_ARCH_COMMON
	help
	  Say yes here to enable support Mediatek MT6768
	  Device APC driver.
	  This driver is combined with DEVAPC_ARCH_COMMON for
	  common handle flow.

config DEVAPC_MT6789
	tristate "Mediatek MT6789 Device APC driver"
	select MTK_DEVAPC
	select DEVAPC_ARCH_MULTI
	help
	  Say yes here to enable support Mediatek MT6789
	  Device APC driver.
	  This driver is combined with DEVAPC_ARCH_MULTI for
	  common handle flow.

config DEVAPC_MT6833
	tristate "Mediatek MT6833 Device APC driver"
	select MTK_DEVAPC
	select DEVAPC_ARCH_MULTI
	help
	  Say yes here to enable support Mediatek MT6833
	  Device APC driver.
	  This driver is combined with DEVAPC_ARCH_MULTI for
	  common handle flow.

config DEVAPC_MT6853
	tristate "Mediatek MT6853 Device APC driver"
	select MTK_DEVAPC
	select DEVAPC_ARCH_MULTI
	help
	  Say yes here to enable support Mediatek MT6853
	  Device APC driver.
	  This driver is combined with DEVAPC_ARCH_MULTI for
	  common handle flow.

config DEVAPC_MT6855
	tristate "Mediatek MT6855 Device APC driver"
	select MTK_DEVAPC
	select DEVAPC_ARCH_MULTI
	help
	  Say yes here to enable support Mediatek MT6855
	  Device APC driver.
	  This driver is combined with DEVAPC_ARCH_MULTI for
	  common handle flow.

config DEVAPC_MT6873
	tristate "Mediatek MT6873 Device APC driver"
	select MTK_DEVAPC
	select DEVAPC_ARCH_MULTI
	help
	  Say yes here to enable support Mediatek MT6873
	  Device APC driver.
	  This driver is combined with DEVAPC_ARCH_MULTI for
	  common handle flow.

config DEVAPC_MT6879
	tristate "Mediatek MT6879 Device APC driver"
	select MTK_DEVAPC
	select DEVAPC_ARCH_MULTI
	help
	  Say yes here to enable support Mediatek MT6879
	  Device APC driver.
	  This driver is combined with DEVAPC_ARCH_MULTI for
	  common handle flow.

config DEVAPC_MT6893
	tristate "Mediatek MT6893 Device APC driver"
	select MTK_DEVAPC
	select DEVAPC_ARCH_MULTI
	help
	  Say yes here to enable support Mediatek MT6893
	  Device APC driver.
	  This driver is combined with DEVAPC_ARCH_MULTI for
	  common handle flow.

config DEVAPC_MT6895
	tristate "Mediatek MT6895 Device APC driver"
	select MTK_DEVAPC
	select DEVAPC_ARCH_MULTI
	help
	  Say yes here to enable support Mediatek MT6895
	  Device APC driver.
	  This driver is combined with DEVAPC_ARCH_MULTI for
	  common handle flow.

config DEVAPC_MT6983
	tristate "Mediatek MT6983 Device APC driver"
	select MTK_DEVAPC
	select DEVAPC_ARCH_MULTI
	help
	  Say yes here to enable support Mediatek MT6983
	  Device APC driver.
	  This driver is combined with DEVAPC_ARCH_MULTI for
	  common handle flow.
