File tree Expand file tree Collapse file tree 4 files changed +1
-72
lines changed
drivers/sensor/nordic/qdec_nrfx Expand file tree Collapse file tree 4 files changed +1
-72
lines changed Original file line number Diff line number Diff line change @@ -5,12 +5,7 @@ config QDEC_NRFX
55 bool "Nordic QDEC nrfx driver"
66 default y
77 depends on DT_HAS_NORDIC_NRF_QDEC_ENABLED
8- select NRFX_QDEC0 if HAS_HW_NRF_QDEC0
9- select NRFX_QDEC1 if HAS_HW_NRF_QDEC1
10- select NRFX_QDEC20 if HAS_HW_NRF_QDEC20
11- select NRFX_QDEC21 if HAS_HW_NRF_QDEC21
12- select NRFX_QDEC130 if HAS_HW_NRF_QDEC130
13- select NRFX_QDEC131 if HAS_HW_NRF_QDEC131
8+ select NRFX_QDEC
149 select PINCTRL
1510 help
1611 Enable support for nrfx QDEC driver for nRF MCU series.
Original file line number Diff line number Diff line change @@ -433,36 +433,6 @@ config NRFX_PWM133
433433config NRFX_QDEC
434434 bool
435435
436- config NRFX_QDEC0
437- bool "QDEC0 driver instance"
438- depends on $(dt_nodelabel_exists,qdec0)
439- select NRFX_QDEC
440-
441- config NRFX_QDEC1
442- bool "QDEC1 driver instance"
443- depends on $(dt_nodelabel_exists,qdec1)
444- select NRFX_QDEC
445-
446- config NRFX_QDEC20
447- bool "QDEC20 driver instance"
448- depends on $(dt_nodelabel_exists,qdec20)
449- select NRFX_QDEC
450-
451- config NRFX_QDEC21
452- bool "QDEC21 driver instance"
453- depends on $(dt_nodelabel_exists,qdec21)
454- select NRFX_QDEC
455-
456- config NRFX_QDEC130
457- bool "QDEC130 driver instance"
458- depends on $(dt_nodelabel_exists,qdec130)
459- select NRFX_QDEC
460-
461- config NRFX_QDEC131
462- bool "QDEC131 driver instance"
463- depends on $(dt_nodelabel_exists,qdec131)
464- select NRFX_QDEC
465-
466436config NRFX_QSPI
467437 bool "QSPI driver"
468438 depends on $(dt_nodelabel_exists,qspi)
Original file line number Diff line number Diff line change 398398#ifdef CONFIG_NRFX_QDEC_LOG
399399#define NRFX_QDEC_CONFIG_LOG_ENABLED 1
400400#endif
401- #ifdef CONFIG_NRFX_QDEC0
402- #define NRFX_QDEC0_ENABLED 1
403- #endif
404- #ifdef CONFIG_NRFX_QDEC1
405- #define NRFX_QDEC1_ENABLED 1
406- #endif
407- #ifdef CONFIG_NRFX_QDEC20
408- #define NRFX_QDEC20_ENABLED 1
409- #endif
410- #ifdef CONFIG_NRFX_QDEC21
411- #define NRFX_QDEC21_ENABLED 1
412- #endif
413- #ifdef CONFIG_NRFX_QDEC130
414- #define NRFX_QDEC130_ENABLED 1
415- #endif
416- #ifdef CONFIG_NRFX_QDEC131
417- #define NRFX_QDEC131_ENABLED 1
418- #endif
419401
420402#ifdef CONFIG_NRFX_QSPI
421403#define NRFX_QSPI_ENABLED 1
Original file line number Diff line number Diff line change @@ -180,24 +180,6 @@ config HAS_HW_NRF_PWM132
180180config HAS_HW_NRF_PWM133
181181 def_bool $(dt_nodelabel_enabled_with_compat,pwm133,$(DT_COMPAT_NORDIC_NRF_PWM))
182182
183- config HAS_HW_NRF_QDEC0
184- def_bool $(dt_nodelabel_enabled_with_compat,qdec0,$(DT_COMPAT_NORDIC_NRF_QDEC))
185-
186- config HAS_HW_NRF_QDEC1
187- def_bool $(dt_nodelabel_enabled_with_compat,qdec1,$(DT_COMPAT_NORDIC_NRF_QDEC))
188-
189- config HAS_HW_NRF_QDEC20
190- def_bool $(dt_nodelabel_enabled_with_compat,qdec20,$(DT_COMPAT_NORDIC_NRF_QDEC))
191-
192- config HAS_HW_NRF_QDEC21
193- def_bool $(dt_nodelabel_enabled_with_compat,qdec21,$(DT_COMPAT_NORDIC_NRF_QDEC))
194-
195- config HAS_HW_NRF_QDEC130
196- def_bool $(dt_nodelabel_enabled_with_compat,qdec130,$(DT_COMPAT_NORDIC_NRF_QDEC))
197-
198- config HAS_HW_NRF_QDEC131
199- def_bool $(dt_nodelabel_enabled_with_compat,qdec131,$(DT_COMPAT_NORDIC_NRF_QDEC))
200-
201183config HAS_HW_NRF_QSPI
202184 def_bool $(dt_compat_enabled,$(DT_COMPAT_NORDIC_NRF_QSPI))
203185
You can’t perform that action at this time.
0 commit comments