Skip to content

Commit 785502f

Browse files
adamkondraciukrlubos
authored andcommitted
Revert "[nrf fromlist] tests: drivers: i2s: Align tests to TDM peripheral"
This reverts commit 3c0b184. Signed-off-by: Adam Kondraciuk <[email protected]>
1 parent 0afd70b commit 785502f

File tree

8 files changed

+6
-130
lines changed

8 files changed

+6
-130
lines changed

boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpuapp_0_9_0.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ supported:
1818
- counter
1919
- gpio
2020
- i2c
21-
- i2s
2221
- pwm
2322
- retained_mem
2423
- spi

boards/nordic/nrf54l20pdk/nrf54l20pdk_nrf54l20_cpuapp.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ supported:
1818
- dmic
1919
- gpio
2020
- i2c
21-
- i2s
2221
- pwm
2322
- spi
2423
- watchdog

tests/drivers/i2s/i2s_api/Kconfig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ config I2S_TEST_SEPARATE_DEVICES
1515

1616
config I2S_TEST_USE_I2S_DIR_BOTH
1717
bool "Use I2S_DIR_BOTH value to perform RX/TX transfers"
18-
default y if DT_HAS_NORDIC_NRF_I2S_ENABLED || DT_HAS_NORDIC_NRF_TDM_ENABLED
18+
default y if DT_HAS_NORDIC_NRF_I2S_ENABLED
1919
help
2020
Use the I2S_DIR_BOTH enumeration value to trigger commands in test
2121
cases involving both reception and transmission. Use of this option
@@ -24,15 +24,15 @@ config I2S_TEST_USE_I2S_DIR_BOTH
2424

2525
config I2S_TEST_USE_GPIO_LOOPBACK
2626
bool "Use GPIO loopback"
27-
default y if DT_HAS_NORDIC_NRF_I2S_ENABLED || DT_HAS_NORDIC_NRF_TDM_ENABLED
27+
default y if DT_HAS_NORDIC_NRF_I2S_ENABLED
2828
help
2929
Use wiring between the data-out and data-in pins for looping back
3030
data. This option is intended to be used for devices that do not
3131
provide the internal loopback functionality.
3232

3333
config I2S_TEST_ALLOWED_DATA_OFFSET
3434
int "Allowed offset in received data"
35-
default 10 if DT_HAS_NORDIC_NRF_I2S_ENABLED || DT_HAS_NORDIC_NRF_TDM_ENABLED
35+
default 2 if DT_HAS_NORDIC_NRF_I2S_ENABLED
3636
default 0
3737
help
3838
Maximum allowed offset between sent and received samples. Non-zero

tests/drivers/i2s/i2s_api/boards/nrf54h20dk_nrf54h20_cpuapp.overlay

Lines changed: 0 additions & 31 deletions
This file was deleted.

tests/drivers/i2s/i2s_api/boards/nrf54l20pdk_nrf54l20_cpuapp.overlay

Lines changed: 0 additions & 30 deletions
This file was deleted.

tests/drivers/i2s/i2s_speed/Kconfig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ config I2S_TEST_SEPARATE_DEVICES
1515

1616
config I2S_TEST_USE_I2S_DIR_BOTH
1717
bool "Use I2S_DIR_BOTH value to perform RX/TX transfers"
18-
default y if DT_HAS_NORDIC_NRF_I2S_ENABLED || DT_HAS_NORDIC_NRF_TDM_ENABLED
18+
default y if DT_HAS_NORDIC_NRF_I2S_ENABLED
1919
help
2020
Use the I2S_DIR_BOTH enumeration value to trigger commands in test
2121
cases involving both reception and transmission. Use of this option
@@ -24,15 +24,15 @@ config I2S_TEST_USE_I2S_DIR_BOTH
2424

2525
config I2S_TEST_USE_GPIO_LOOPBACK
2626
bool "Use GPIO loopback"
27-
default y if DT_HAS_NORDIC_NRF_I2S_ENABLED || DT_HAS_NORDIC_NRF_TDM_ENABLED
27+
default y if DT_HAS_NORDIC_NRF_I2S_ENABLED
2828
help
2929
Use wiring between the data-out and data-in pins for looping back
3030
data. This option is intended to be used for devices that do not
3131
provide the internal loopback functionality.
3232

3333
config I2S_TEST_ALLOWED_DATA_OFFSET
3434
int "Allowed offset in received data"
35-
default 2 if DT_HAS_NORDIC_NRF_I2S_ENABLED || DT_HAS_NORDIC_NRF_TDM_ENABLED
35+
default 2 if DT_HAS_NORDIC_NRF_I2S_ENABLED
3636
default 0
3737
help
3838
Maximum allowed offset between sent and received samples. Non-zero

tests/drivers/i2s/i2s_speed/boards/nrf54h20dk_nrf54h20_cpuapp.overlay

Lines changed: 0 additions & 31 deletions
This file was deleted.

tests/drivers/i2s/i2s_speed/boards/nrf54l20pdk_nrf54l20_cpuapp.overlay

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)