Skip to content

Commit fea5d5b

Browse files
committed
drivers: i2c: Kconfig.mspm0g3xxx: init priority
Add a new kconfig property to define the driver init priority. Since the i2c driver has a dependency to the counter driver, we need to adjust for that. Signed-off-by: Dimitris Karnikis <[email protected]>
1 parent cbfa554 commit fea5d5b

File tree

1 file changed

+5
-13
lines changed

1 file changed

+5
-13
lines changed

drivers/i2c/Kconfig.mspm0g3xxx

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,11 @@ config I2C_MSPM0G3XXX_TRANSFER_TIMEOUT
2424
0 means that the driver should use the K_FOREVER value,
2525
i.e. it should wait as long as necessary.
2626

27-
config I2C_MSPM0G3XXX_WATCHDOG_TIMEOUT
28-
int "I2C watchdog reset timeout (us)"
29-
default 300
27+
config I2C_MSPM0G3XXX_INIT_PRIORITY
28+
int "TI I2C MSPM0G3XXX init priority"
29+
default COUNTER_INIT_PRIORITY
3030
help
31-
Defines the timeout in microseconds after which the watchdog will
32-
reset the I2C lines and trigger a system panic.
33-
34-
config I2C_MSPM0G3XXX_WATCHDOG_PANIC_CODE
35-
int "I2C watchdog reset panic code"
36-
default 17
37-
help
38-
Defines the panic code that will be triggered when the I2C watchdog
39-
times out and resets the I2C lines. This code can be used for debugging
40-
or logging the failure reason.
31+
Define the driver init priority. The driver has a dependency on the counter
32+
component.
4133

4234
endif # I2C_MSPM0G3XXX

0 commit comments

Comments
 (0)