Skip to content

Commit c193a8d

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. Also tiny whitespace fixes Signed-off-by: Dimitris Karnikis <dika@bang-olufsen.dk>
1 parent cbfa554 commit c193a8d

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

drivers/i2c/Kconfig.mspm0g3xxx

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,16 @@ config I2C_MSPM0G3XXX_WATCHDOG_PANIC_CODE
3535
int "I2C watchdog reset panic code"
3636
default 17
3737
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
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
4040
or logging the failure reason.
4141

42+
43+
config I2C_MSPM0G3XXX_INIT_PRIORITY
44+
int "TI I2C MSPM0G3XXX init priority"
45+
default COUNTER_INIT_PRIORITY
46+
help
47+
Define the driver init priority. The driver has a dependency on the counter
48+
component.
49+
4250
endif # I2C_MSPM0G3XXX

0 commit comments

Comments
 (0)