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