2016-03-18 01:52:14 +08:00
|
|
|
# Kconfig.qmsi - QMSI GPIO configuration options
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Copyright (c) 2016 Intel Corporation
|
|
|
|
#
|
2017-01-19 09:01:01 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2016-03-18 01:52:14 +08:00
|
|
|
#
|
|
|
|
|
|
|
|
menuconfig GPIO_QMSI
|
|
|
|
bool "QMSI GPIO driver"
|
2016-04-17 07:50:03 +08:00
|
|
|
depends on GPIO && QMSI
|
2016-03-18 01:52:14 +08:00
|
|
|
default n
|
|
|
|
help
|
|
|
|
Enable the GPIO driver found on Intel Microcontroller
|
2016-08-18 07:33:08 +08:00
|
|
|
boards, using the QMSI library.
|
2016-03-18 01:52:14 +08:00
|
|
|
|
2016-09-18 13:27:59 +08:00
|
|
|
menuconfig GPIO_QMSI_SS
|
|
|
|
bool "QMSI GPIO SS driver"
|
2016-10-19 00:37:47 +08:00
|
|
|
depends on GPIO && QMSI && ARC
|
2016-09-18 13:27:59 +08:00
|
|
|
default n
|
|
|
|
help
|
|
|
|
Enable the GPIO driver found on Intel Microcontroller
|
2016-10-19 00:37:47 +08:00
|
|
|
boards, on the sensor subsystem, using the QMSI library.
|
2016-09-18 13:27:59 +08:00
|
|
|
|
|
|
|
if GPIO_QMSI || GPIO_QMSI_SS
|
2016-03-18 01:52:14 +08:00
|
|
|
|
2016-04-25 20:29:57 +08:00
|
|
|
config GPIO_QMSI_INIT_PRIORITY
|
2016-05-25 07:17:13 +08:00
|
|
|
int
|
|
|
|
default 60
|
|
|
|
depends on GPIO_QMSI
|
|
|
|
prompt "Init priority"
|
|
|
|
help
|
|
|
|
Device driver initialization priority.
|
2016-04-25 20:29:57 +08:00
|
|
|
|
2016-10-19 00:37:47 +08:00
|
|
|
config GPIO_QMSI_API_REENTRANCY
|
|
|
|
bool
|
|
|
|
prompt "GPIO driver API reentrancy"
|
|
|
|
depends on GPIO_QMSI
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Enable support for QMSI GPIO driver API reentrancy.
|
|
|
|
|
|
|
|
if GPIO_QMSI
|
|
|
|
|
2016-03-18 01:52:14 +08:00
|
|
|
config GPIO_QMSI_0
|
|
|
|
bool "QMSI GPIO block 0"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Include support for the GPIO port 0 using QMSI.
|
|
|
|
|
|
|
|
config GPIO_QMSI_0_NAME
|
|
|
|
string "Driver name"
|
|
|
|
depends on GPIO_QMSI_0
|
|
|
|
default "GPIO_0"
|
|
|
|
|
2016-05-07 20:10:52 +08:00
|
|
|
config GPIO_QMSI_0_IRQ_PRI
|
2016-03-18 01:52:14 +08:00
|
|
|
int "Controller interrupt priority"
|
|
|
|
depends on GPIO_QMSI_0
|
|
|
|
help
|
|
|
|
IRQ priority
|
|
|
|
|
2016-09-18 13:27:59 +08:00
|
|
|
config GPIO_QMSI_1
|
|
|
|
bool "QMSI GPIO block 1"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Include support for the GPIO port 1 using QMSI.
|
|
|
|
|
|
|
|
config GPIO_QMSI_1_NAME
|
|
|
|
string "Driver name"
|
|
|
|
depends on GPIO_QMSI_1
|
|
|
|
default "GPIO_1"
|
|
|
|
|
|
|
|
config GPIO_QMSI_1_IRQ_PRI
|
|
|
|
int "Controller interrupt priority"
|
|
|
|
depends on GPIO_QMSI_1
|
|
|
|
help
|
|
|
|
IRQ priority
|
|
|
|
|
2016-10-19 00:37:47 +08:00
|
|
|
endif # GPIO_QMSI
|
|
|
|
|
|
|
|
if GPIO_QMSI_SS
|
|
|
|
|
|
|
|
config GPIO_QMSI_SS_0
|
|
|
|
bool "QMSI GPIO SS block 0"
|
2016-06-02 11:57:59 +08:00
|
|
|
default n
|
|
|
|
help
|
2016-10-19 00:37:47 +08:00
|
|
|
Include support for the GPIO SS port 0 using QMSI.
|
2016-06-02 11:57:59 +08:00
|
|
|
|
2016-10-19 00:37:47 +08:00
|
|
|
config GPIO_QMSI_SS_0_NAME
|
|
|
|
string "Driver name"
|
|
|
|
depends on GPIO_QMSI_SS_0
|
|
|
|
default "GPIO_SS_0"
|
|
|
|
|
|
|
|
config GPIO_QMSI_SS_0_IRQ_PRI
|
|
|
|
int "Controller interrupt priority"
|
|
|
|
depends on GPIO_QMSI_SS_0
|
|
|
|
help
|
|
|
|
IRQ priority
|
|
|
|
|
|
|
|
config GPIO_QMSI_SS_1
|
|
|
|
bool "QMSI GPIO SS block 1"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Include support for the GPIO SS port 1 using QMSI.
|
|
|
|
|
|
|
|
config GPIO_QMSI_SS_1_NAME
|
|
|
|
string "Driver name"
|
|
|
|
depends on GPIO_QMSI_SS_1
|
|
|
|
default "GPIO_SS_1"
|
|
|
|
|
|
|
|
config GPIO_QMSI_SS_1_IRQ_PRI
|
|
|
|
int "Controller interrupt priority"
|
|
|
|
depends on GPIO_QMSI_SS_1
|
|
|
|
help
|
|
|
|
IRQ priority
|
|
|
|
|
|
|
|
endif # GPIO_QMSI_SS
|
|
|
|
|
|
|
|
endif # GPIO_QMSI || GPIO_QMSI_SS
|