drivers: set default priority for drivers
Use a default priority to avoid Kconfig blocking when priority is not set in SoC or Board. Change-Id: I4edda47b955a7ee834f04dc40d0decbd8dee6305 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
3eecc42bd4
commit
6bca3724c1
7 changed files with 10 additions and 0 deletions
|
@ -45,6 +45,7 @@ config ADC_TI_ADC108S102
|
|||
config ADC_TI_ADC108S102_INIT_PRIORITY
|
||||
int
|
||||
depends on ADC_TI_ADC108S102
|
||||
default 80
|
||||
prompt "Init priority"
|
||||
help
|
||||
Device driver initialization priority.
|
||||
|
|
|
@ -90,6 +90,7 @@ config UART_CONSOLE_IRQ_PRI
|
|||
config UART_CONSOLE_PRIORITY
|
||||
int
|
||||
prompt "Init priority"
|
||||
default 60
|
||||
depends on UART_CONSOLE
|
||||
help
|
||||
Device driver initialization priority.
|
||||
|
|
|
@ -84,6 +84,7 @@ config GPIO_DW_CLASS
|
|||
|
||||
config GPIO_DW_INIT_PRIORITY
|
||||
int
|
||||
default 60
|
||||
prompt "Init priority"
|
||||
help
|
||||
Device driver initialization priority.
|
||||
|
@ -333,6 +334,7 @@ config GPIO_PCAL9535A_DEBUG
|
|||
|
||||
config GPIO_PCAL9535A_INIT_PRIORITY
|
||||
int
|
||||
default 70
|
||||
prompt "Init priority"
|
||||
help
|
||||
Device driver initialization priority.
|
||||
|
@ -464,6 +466,7 @@ config GPIO_MMIO
|
|||
config GPIO_MMIO_INIT_PRIORITY
|
||||
int
|
||||
depends on GPIO_MMIO
|
||||
default 60
|
||||
prompt "Init priority"
|
||||
help
|
||||
Device driver initialization priority.
|
||||
|
@ -606,6 +609,7 @@ config GPIO_SCH
|
|||
config GPIO_SCH_INIT_PRIORITY
|
||||
int
|
||||
depends on GPIO_SCH
|
||||
default 60
|
||||
prompt "Init priority"
|
||||
help
|
||||
Device driver initialization priority.
|
||||
|
|
|
@ -29,6 +29,7 @@ menuconfig I2C
|
|||
config I2C_INIT_PRIORITY
|
||||
int
|
||||
depends on I2C
|
||||
default 60
|
||||
prompt "Init priority"
|
||||
help
|
||||
I2C device driver initialization priority.
|
||||
|
|
|
@ -32,6 +32,7 @@ config PWM_PCA9685
|
|||
config PWM_PCA9685_INIT_PRIORITY
|
||||
int
|
||||
depends on PWM_PCA9685
|
||||
default 70
|
||||
prompt "Init priority"
|
||||
help
|
||||
Device driver initialization priority.
|
||||
|
|
|
@ -37,6 +37,7 @@ config SHARED_IRQ_NUM_CLIENTS
|
|||
config SHARED_IRQ_INIT_PRIORITY
|
||||
int
|
||||
depends on SHARED_IRQ
|
||||
default 50
|
||||
prompt "Shared IRQ init priority"
|
||||
help
|
||||
Shared IRQ are initialized on SECONDARY init level. They
|
||||
|
|
|
@ -94,6 +94,7 @@ config SPI_INTEL_CS_GPIO
|
|||
config SPI_INTEL_INIT_PRIORITY
|
||||
int
|
||||
prompt "Init priority"
|
||||
default 60
|
||||
help
|
||||
Device driver initialization priority.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue