CONFIG_PINMUX_INIT_PRIORITY

Init priority

Type: int

Help

Pinmux driver initialization priority. Pinmux driver almost certainly should be initialized before the rest of hardware devices (which may need specific pins already configured for them), and usually after generic GPIO drivers. Thus, its priority should be between KERNEL_INIT_PRIORITY_DEFAULT and KERNEL_INIT_PRIORITY_DEVICE. There are exceptions to this rule for particular boards. Don’t change this value unless you know what you are doing.

Direct dependencies

PINMUX

(Includes any dependencies from ifs and menus.)

Default

  • 45

Kconfig definition

At drivers/pinmux/Kconfig:20

Included via Kconfig:8Kconfig.zephyr:40drivers/Kconfig:42

Menu path: (Top) → Device Drivers → Enable board pinmux driver

config PINMUX_INIT_PRIORITY
    int "Init priority"
    default 45
    depends on PINMUX
    help
      Pinmux driver initialization priority.
      Pinmux driver almost certainly should be initialized before the
      rest of hardware devices (which may need specific pins already
      configured for them), and usually after generic GPIO drivers.
      Thus, its priority should be between KERNEL_INIT_PRIORITY_DEFAULT
      and KERNEL_INIT_PRIORITY_DEVICE. There are exceptions to this
      rule for particular boards. Don't change this value unless you
      know what you are doing.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)