sensor: tree-wide: Enforce dependency of int-gpios with Trigger feature
We need int-gpios defined to use trigger functionality. Enforced with the Kconfig parameter. Signed-off-by: Luis Ubieda <luisf@croxel.com>
This commit is contained in:
parent
62d7db4d4d
commit
d557ee36d5
63 changed files with 147 additions and 0 deletions
|
@ -95,11 +95,13 @@ config ADXL372_TRIGGER_NONE
|
|||
config ADXL372_TRIGGER_GLOBAL_THREAD
|
||||
bool "Use global thread"
|
||||
depends on GPIO
|
||||
depends on $(dt_compat_any_has_prop,$(DT_COMPAT_ADI_ADXL372),int1-gpios)
|
||||
select ADXL372_TRIGGER
|
||||
|
||||
config ADXL372_TRIGGER_OWN_THREAD
|
||||
bool "Use own thread"
|
||||
depends on GPIO
|
||||
depends on $(dt_compat_any_has_prop,$(DT_COMPAT_ADI_ADXL372),int1-gpios)
|
||||
select ADXL372_TRIGGER
|
||||
|
||||
endchoice
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue