29d0cef49f
The rv32m1 pinctrl driver depends on clock controller, add a new symbol and set it so it gets initialized after that, and before other devices. Fixes: $ west build -p -b rv32m1_vega_ri5cy tests/kernel/common \ -DCONFIG_CHECK_INIT_PRIORITIES=y ... ERROR: /soc/pinmux@41037000 PRE_KERNEL_1 1 < \ /soc/clock-controller@41027000 PRE_KERNEL_1 30 Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
17 lines
445 B
Plaintext
17 lines
445 B
Plaintext
# Copyright (c) 2022 Henrik Brix Andersen <henrik@brixandersen.dk>
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config PINCTRL_RV32M1
|
|
bool "RV32M1 pin controller driver"
|
|
default y
|
|
depends on DT_HAS_OPENISA_RV32M1_PINMUX_ENABLED
|
|
help
|
|
Enable the RV32M1 pin controller driver.
|
|
|
|
config PINCTRL_RV32M1_INIT_PRIORITY
|
|
int "RV32M1 initialization priority"
|
|
default 35
|
|
depends on PINCTRL_RV32M1
|
|
help
|
|
RV32M1 pin controller initialization priority.
|