drivers: sensor: ti: ina230: Fix dts warning if INA230_TRIGGER enabled
Updates the Kconfig condition to support trigger functionality for INA236. This will get rid of `warning: INA230_TRIGGER (defined at drivers/sensor/ti/ina23x/Kconfig:43) was assigned the value 'y' but got the value 'n'.` if INA230_TRIGGER is enabled. Signed-off-by: Tomáš Juřena <jurenatomas@gmail.com>
This commit is contained in:
parent
ef8f037e78
commit
b4dcdaaeab
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ config INA230_TRIGGER
|
||||||
bool "INA230 trigger mode"
|
bool "INA230 trigger mode"
|
||||||
depends on INA230
|
depends on INA230
|
||||||
depends on GPIO
|
depends on GPIO
|
||||||
depends on $(dt_compat_any_has_prop,$(DT_COMPAT_TI_INA230),alert-gpios)
|
depends on $(dt_compat_any_has_prop,$(DT_COMPAT_TI_INA230),alert-gpios) || $(dt_compat_any_has_prop,$(DT_COMPAT_TI_INA236),alert-gpios)
|
||||||
help
|
help
|
||||||
Set to enable trigger mode using gpio interrupt, where
|
Set to enable trigger mode using gpio interrupt, where
|
||||||
interrupts are configured to line ALERT PIN.
|
interrupts are configured to line ALERT PIN.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue