Commit b512681f authored by Anas Nashif's avatar Anas Nashif
Browse files

qmsi: aio: use built-in qmsi driver



Change-Id: I24b227d9367a4f0144cb9fa968a51827f8c2dfc5
Signed-off-by: default avatarAnas Nashif <anas.nashif@intel.com>
parent 940d5398
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -191,6 +191,12 @@ config I2C_QMSI_0_DEFAULT_CFG
endif # I2C_QMSI
endif # I2C


if AIO_COMPARATOR
config AIO_QMSI_COMPARATOR
	def_bool y
endif

if GPIO_QMSI
config GPIO_QMSI_0
	def_bool y
+0 −3
Original line number Diff line number Diff line
@@ -148,9 +148,6 @@ struct scss_interrupt {
#define GPIO_DW_0_IRQ_FLAGS		(IOAPIC_EDGE | IOAPIC_HIGH)
#endif

/* Comparator */
#define INT_AIO_CMP_IRQ			(0x0E)

/*
 * PINMUX configuration settings
 */
+7 −0
Original line number Diff line number Diff line
@@ -277,6 +277,13 @@ endif # SPI_QMSI

endif # SPI


if AIO_COMPARATOR
config AIO_QMSI_COMPARATOR
        def_bool y
endif


if WATCHDOG
config WDT_QMSI
	def_bool y
+0 −8
Original line number Diff line number Diff line
@@ -174,9 +174,6 @@ struct scss_interrupt {
#define GPIO_DW_1_IRQ_FLAGS		(IOAPIC_EDGE | IOAPIC_HIGH)
#endif

/* Comparator */
#define INT_AIO_CMP_IRQ			(0x16)

/*ARC INIT*/
#define RESET_VECTOR                   	0x40000000
#define SCSS_SS_CFG                    	0x0600
@@ -212,11 +209,6 @@ struct scss_interrupt {
#define UART_IRQ_FLAGS			(IOAPIC_EDGE | IOAPIC_HIGH)
#endif /* CONFIG_IOAPIC */

/*
 * AIO/Comparator
 */
#define AIO_DW_COMPARATOR_BASE_ADDR	0xb0800300

/*
 * I2C
 */
+1 −23
Original line number Diff line number Diff line
@@ -25,32 +25,10 @@ menuconfig AIO_COMPARATOR
	default n

if AIO_COMPARATOR

menuconfig AIO_DW_COMPARATOR
	bool "DesignWare AIO/comparator driver"
	default n
	depends on AIO_COMPARATOR
	help
	DesignWare AIO/Comparator driver.

config AIO_DW_COMPARATOR_DEV_NAME
	string "Device name for DesignWare AIO/comparator"
	default "AIO_CMP"
	depends on AIO_DW_COMPARATOR
	help
	Device name for the DesignWare AIO/comparator.

config AIO_DW_COMPARATOR_IRQ_PRI
	int "IRQ Priority for DesignWare AIO/comparator"
	default 3
	depends on AIO_DW_COMPARATOR
	help
	IRQ Priority for the DesignWare AIO/comparator.

menuconfig AIO_QMSI_COMPARATOR
	bool "Enable QMSI AIO/comparator driver"
	default n
	depends on AIO_COMPARATOR && QMSI_DRIVERS
	depends on AIO_COMPARATOR && QMSI
	help
	QMSI AIO/Comparator driver.

Loading