Skip to content

Commit 06e025a

Browse files
teburdjhedberg
authored andcommitted
i2c: Add Kconfig HAS_I2C_RTIO
This config should be selected by any driver that supports the RTIO interface and can then be checked on by things like tests or drivers that subsequently require the feature exist. Signed-off-by: Tom Burdick <[email protected]>
1 parent 3068179 commit 06e025a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

drivers/i2c/Kconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,15 @@ config I2C_CALLBACK
5454
help
5555
API and implementations of i2c_transfer_cb.
5656

57+
config HAS_I2C_RTIO
58+
bool
59+
help
60+
This option must be selected by I2C controller drivers that optionally implement the RTIO
61+
interface.
62+
5763
config I2C_RTIO
5864
bool "I2C RTIO API"
65+
depends on HAS_I2C_RTIO
5966
select RTIO
6067
help
6168
API and implementations of I2C for RTIO

0 commit comments

Comments
 (0)