2015-10-06 06:26:49 +08:00
|
|
|
# Kconfig - shared_irq configuration options
|
|
|
|
|
|
|
|
#
|
|
|
|
# Copyright (c) 2015 Intel Corporation
|
|
|
|
#
|
2017-01-19 09:01:01 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2015-10-06 06:26:49 +08:00
|
|
|
#
|
|
|
|
|
2016-03-16 06:25:57 +08:00
|
|
|
menuconfig SHARED_IRQ
|
2018-08-14 22:19:20 +08:00
|
|
|
bool "Shared interrupt driver"
|
2015-09-29 23:42:22 +08:00
|
|
|
help
|
|
|
|
Include shared interrupt support in system. Shared interrupt
|
|
|
|
support is NOT required in most systems. If in doubt answer no.
|
|
|
|
|
|
|
|
config SHARED_IRQ_NUM_CLIENTS
|
2018-08-14 22:19:20 +08:00
|
|
|
int "The number of clients per instance"
|
2015-09-29 23:42:22 +08:00
|
|
|
depends on SHARED_IRQ
|
|
|
|
default 5
|
|
|
|
help
|
2017-04-22 01:29:51 +08:00
|
|
|
Configures the maximum number of clients allowed per shared
|
2015-09-29 23:42:22 +08:00
|
|
|
instance of the shared interrupt driver. To conserve RAM set
|
|
|
|
this value to the lowest practical value.
|
|
|
|
|
2015-10-27 03:56:02 +08:00
|
|
|
config SHARED_IRQ_INIT_PRIORITY
|
2018-08-14 22:19:20 +08:00
|
|
|
int "Shared IRQ init priority"
|
2015-10-27 03:56:02 +08:00
|
|
|
depends on SHARED_IRQ
|
2016-03-29 05:05:33 +08:00
|
|
|
default 45
|
2015-10-27 03:56:02 +08:00
|
|
|
help
|
2016-11-09 03:06:55 +08:00
|
|
|
Shared IRQ are initialized on POST_KERNEL init level. They
|
2015-10-27 03:56:02 +08:00
|
|
|
have to be initialized before any device that uses them.
|
|
|
|
|
2015-09-29 23:42:22 +08:00
|
|
|
config SHARED_IRQ_0
|
|
|
|
bool "Shared interrupt instance 0"
|
|
|
|
depends on SHARED_IRQ
|
|
|
|
help
|
|
|
|
Provide an instance of the shared interrupt driver when system
|
|
|
|
configuration requires that multiple devices share an interrupt.
|
|
|
|
|
|
|
|
config SHARED_IRQ_1
|
|
|
|
bool "Shared interrupt instance 1"
|
2016-03-16 06:25:57 +08:00
|
|
|
depends on SHARED_IRQ
|
2015-09-29 23:42:22 +08:00
|
|
|
help
|
|
|
|
Provide an instance of the shared interrupt driver when system
|
|
|
|
configuration requires that multiple devices share an interrupt.
|