Browse Source

drivers: mfd: gpio: adjust init priority

Take into account the SPI bus init priorirty
that can be used for MFD drivers.

Signed-off-by: Bartosz Bilas <bartosz.bilas@hotmail.com>
pull/64420/head
Bartosz Bilas 2 years ago committed by Carles Cufí
parent
commit
66f5fce68f
  1. 2
      drivers/gpio/Kconfig.axp192
  2. 6
      drivers/gpio/Kconfig.nct38xx
  3. 2
      drivers/gpio/Kconfig.npm1300
  4. 2
      drivers/gpio/Kconfig.npm6001
  5. 2
      drivers/mfd/Kconfig
  6. 4
      drivers/regulator/Kconfig.npm1300
  7. 2
      drivers/regulator/Kconfig.npm6001
  8. 2
      drivers/watchdog/Kconfig.npm1300
  9. 2
      drivers/watchdog/Kconfig.npm6001

2
drivers/gpio/Kconfig.axp192

@ -14,7 +14,7 @@ config GPIO_AXP192
config GPIO_AXP192_INIT_PRIORITY config GPIO_AXP192_INIT_PRIORITY
int "AXP192 GPIO driver initialization priority" int "AXP192 GPIO driver initialization priority"
depends on GPIO_AXP192 depends on GPIO_AXP192
default 80 default 81
help help
Initialization priority for the AXP192 GPIO driver. It must be Initialization priority for the AXP192 GPIO driver. It must be
greater than the I2C controller init priority and the mfd driver greater than the I2C controller init priority and the mfd driver

6
drivers/gpio/Kconfig.nct38xx

@ -16,14 +16,14 @@ if GPIO_NCT38XX
config GPIO_NCT38XX_INIT_PRIORITY config GPIO_NCT38XX_INIT_PRIORITY
int "NCT38XX GPIO init priority" int "NCT38XX GPIO init priority"
default 62 default 82
help help
NCT38xx GPIO driver initialization priority. The priority must be lower NCT38xx GPIO driver initialization priority. The priority must be lower
than MFD_INIT_PRIORITY. than MFD_INIT_PRIORITY.
config GPIO_NCT38XX_PORT_INIT_PRIORITY config GPIO_NCT38XX_PORT_INIT_PRIORITY
int "NCT38XX GPIO port init priority" int "NCT38XX GPIO port init priority"
default 64 default 84
help help
NCT38xx GPIO port device driver initialization priority. The priority NCT38xx GPIO port device driver initialization priority. The priority
must be lower than GPIO_NCT38XX_INIT_PRIORITY device. must be lower than GPIO_NCT38XX_INIT_PRIORITY device.
@ -37,7 +37,7 @@ config GPIO_NCT38XX_ALERT
config GPIO_NCT38XX_ALERT_INIT_PRIORITY config GPIO_NCT38XX_ALERT_INIT_PRIORITY
int "NCT38XX GPIO alert handler init priority" int "NCT38XX GPIO alert handler init priority"
default 64 default 84
depends on GPIO_NCT38XX_ALERT depends on GPIO_NCT38XX_ALERT
help help
NCT38XX alert handler initialization priority. This initialization NCT38XX alert handler initialization priority. This initialization

2
drivers/gpio/Kconfig.npm1300

@ -13,7 +13,7 @@ config GPIO_NPM1300
config GPIO_NPM1300_INIT_PRIORITY config GPIO_NPM1300_INIT_PRIORITY
int "nPM1300 GPIO driver initialization priority" int "nPM1300 GPIO driver initialization priority"
depends on GPIO_NPM1300 depends on GPIO_NPM1300
default 70 default 85
help help
Initialization priority for the nPM1300 GPIO driver. It must be Initialization priority for the nPM1300 GPIO driver. It must be
greater than the I2C controller init priority. greater than the I2C controller init priority.

2
drivers/gpio/Kconfig.npm6001

@ -13,6 +13,6 @@ config GPIO_NPM6001
config GPIO_NPM6001_INIT_PRIORITY config GPIO_NPM6001_INIT_PRIORITY
int "nPM6001 GPIO driver initialization priority" int "nPM6001 GPIO driver initialization priority"
depends on GPIO_NPM6001 depends on GPIO_NPM6001
default 65 default 85
help help
Initialization priority for the nPM6001 GPIO driver. Initialization priority for the nPM6001 GPIO driver.

2
drivers/mfd/Kconfig

@ -14,7 +14,7 @@ source "subsys/logging/Kconfig.template.log_config"
config MFD_INIT_PRIORITY config MFD_INIT_PRIORITY
int "Initialization priority" int "Initialization priority"
default 60 default 80
help help
Multi-function devices initialization priority. Multi-function devices initialization priority.

4
drivers/regulator/Kconfig.npm1300

@ -14,14 +14,14 @@ if REGULATOR_NPM1300
config REGULATOR_NPM1300_COMMON_INIT_PRIORITY config REGULATOR_NPM1300_COMMON_INIT_PRIORITY
int "nPM1300 regulator driver init priority (common part)" int "nPM1300 regulator driver init priority (common part)"
default 75 default 85
help help
Init priority for the Nordic nPM1300 regulator driver (common part). Init priority for the Nordic nPM1300 regulator driver (common part).
It must be greater than I2C init priority. It must be greater than I2C init priority.
config REGULATOR_NPM1300_INIT_PRIORITY config REGULATOR_NPM1300_INIT_PRIORITY
int "nPM1300 regulator driver init priority" int "nPM1300 regulator driver init priority"
default 76 default 86
help help
Init priority for the Nordic nPM1300 regulator driver. It must be Init priority for the Nordic nPM1300 regulator driver. It must be
greater than REGULATOR_NPM1300_COMMON_INIT_PRIORITY. greater than REGULATOR_NPM1300_COMMON_INIT_PRIORITY.

2
drivers/regulator/Kconfig.npm6001

@ -12,7 +12,7 @@ config REGULATOR_NPM6001
config REGULATOR_NPM6001_INIT_PRIORITY config REGULATOR_NPM6001_INIT_PRIORITY
int "nPM6001 regulator driver init priority" int "nPM6001 regulator driver init priority"
default 76 default 86
depends on REGULATOR_NPM6001 depends on REGULATOR_NPM6001
help help
Init priority for the Nordic nPM6001 regulator driver. Init priority for the Nordic nPM6001 regulator driver.

2
drivers/watchdog/Kconfig.npm1300

@ -13,7 +13,7 @@ config WDT_NPM1300
config WDT_NPM1300_INIT_PRIORITY config WDT_NPM1300_INIT_PRIORITY
int "nPM1300 Watchdog driver initialization priority" int "nPM1300 Watchdog driver initialization priority"
depends on WDT_NPM1300 depends on WDT_NPM1300
default 75 default 85
help help
Initialization priority for the nPM1300 Watchdog driver. Initialization priority for the nPM1300 Watchdog driver.
It must be greater than GPIO_NPM1300_INIT_PRIORITY. It must be greater than GPIO_NPM1300_INIT_PRIORITY.

2
drivers/watchdog/Kconfig.npm6001

@ -13,6 +13,6 @@ config WDT_NPM6001
config WDT_NPM6001_INIT_PRIORITY config WDT_NPM6001_INIT_PRIORITY
int "nPM6001 Watchdog driver initialization priority" int "nPM6001 Watchdog driver initialization priority"
depends on WDT_NPM6001 depends on WDT_NPM6001
default 65 default 85
help help
Initialization priority for the nPM6001 Watchdog driver. Initialization priority for the nPM6001 Watchdog driver.

Loading…
Cancel
Save