Skip to content

Commit 0206dc2

Browse files
soburikartben
authored andcommitted
drivers: i2c: dw: Enable PINCTRL conjuction with dt prop 'pinctrl-0'
If there is a pinctrl-0 property, PINCTRL will be enabled in conjunction with it. Signed-off-by: TOKITA Hiroshi <[email protected]>
1 parent 61a1cdf commit 0206dc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/i2c/Kconfig.dw

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ menuconfig I2C_DW
55
bool "Design Ware I2C support"
66
default y
77
depends on DT_HAS_SNPS_DESIGNWARE_I2C_ENABLED
8-
select PINCTRL if DT_HAS_RASPBERRYPI_PICO_I2C_ENABLED
8+
select PINCTRL if $(dt_compat_any_has_prop,$(DT_COMPAT_SNPS_DESIGNWARE_I2C),pinctrl-0)
99
help
1010
Enable the Design Ware I2C driver
1111

0 commit comments

Comments
 (0)