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 @@ -408,36 +408,6 @@ config NRFX_PWM133
408408config NRFX_QDEC
409409 bool
410410
411- config NRFX_QDEC0
412- bool "QDEC0 driver instance"
413- depends on $(dt_nodelabel_exists,qdec0)
414- select NRFX_QDEC
415-
416- config NRFX_QDEC1
417- bool "QDEC1 driver instance"
418- depends on $(dt_nodelabel_exists,qdec1)
419- select NRFX_QDEC
420-
421- config NRFX_QDEC20
422- bool "QDEC20 driver instance"
423- depends on $(dt_nodelabel_exists,qdec20)
424- select NRFX_QDEC
425-
426- config NRFX_QDEC21
427- bool "QDEC21 driver instance"
428- depends on $(dt_nodelabel_exists,qdec21)
429- select NRFX_QDEC
430-
431- config NRFX_QDEC130
432- bool "QDEC130 driver instance"
433- depends on $(dt_nodelabel_exists,qdec130)
434- select NRFX_QDEC
435-
436- config NRFX_QDEC131
437- bool "QDEC131 driver instance"
438- depends on $(dt_nodelabel_exists,qdec131)
439- select NRFX_QDEC
440-
441411config NRFX_QSPI
442412 bool "QSPI driver"
443413 depends on $(dt_nodelabel_exists,qspi)
Original file line number Diff line number Diff line change 383383#ifdef CONFIG_NRFX_QDEC_LOG
384384#define NRFX_QDEC_CONFIG_LOG_ENABLED 1
385385#endif
386- #ifdef CONFIG_NRFX_QDEC0
387- #define NRFX_QDEC0_ENABLED 1
388- #endif
389- #ifdef CONFIG_NRFX_QDEC1
390- #define NRFX_QDEC1_ENABLED 1
391- #endif
392- #ifdef CONFIG_NRFX_QDEC20
393- #define NRFX_QDEC20_ENABLED 1
394- #endif
395- #ifdef CONFIG_NRFX_QDEC21
396- #define NRFX_QDEC21_ENABLED 1
397- #endif
398- #ifdef CONFIG_NRFX_QDEC130
399- #define NRFX_QDEC130_ENABLED 1
400- #endif
401- #ifdef CONFIG_NRFX_QDEC131
402- #define NRFX_QDEC131_ENABLED 1
403- #endif
404386
405387#ifdef CONFIG_NRFX_QSPI
406388#define NRFX_QSPI_ENABLED 1
Original file line number Diff line number Diff line change @@ -165,24 +165,6 @@ config HAS_HW_NRF_PWM132
165165config HAS_HW_NRF_PWM133
166166 def_bool $(dt_nodelabel_enabled_with_compat,pwm133,$(DT_COMPAT_NORDIC_NRF_PWM))
167167
168- config HAS_HW_NRF_QDEC0
169- def_bool $(dt_nodelabel_enabled_with_compat,qdec0,$(DT_COMPAT_NORDIC_NRF_QDEC))
170-
171- config HAS_HW_NRF_QDEC1
172- def_bool $(dt_nodelabel_enabled_with_compat,qdec1,$(DT_COMPAT_NORDIC_NRF_QDEC))
173-
174- config HAS_HW_NRF_QDEC20
175- def_bool $(dt_nodelabel_enabled_with_compat,qdec20,$(DT_COMPAT_NORDIC_NRF_QDEC))
176-
177- config HAS_HW_NRF_QDEC21
178- def_bool $(dt_nodelabel_enabled_with_compat,qdec21,$(DT_COMPAT_NORDIC_NRF_QDEC))
179-
180- config HAS_HW_NRF_QDEC130
181- def_bool $(dt_nodelabel_enabled_with_compat,qdec130,$(DT_COMPAT_NORDIC_NRF_QDEC))
182-
183- config HAS_HW_NRF_QDEC131
184- def_bool $(dt_nodelabel_enabled_with_compat,qdec131,$(DT_COMPAT_NORDIC_NRF_QDEC))
185-
186168config HAS_HW_NRF_QSPI
187169 def_bool $(dt_compat_enabled,$(DT_COMPAT_NORDIC_NRF_QSPI))
188170
You can’t perform that action at this time.
0 commit comments