Home
last modified time | relevance | path

Searched full:i2s (Results 1 – 25 of 259) sorted by relevance

1234567891011

/Zephyr-Core-3.5.0/drivers/i2s/
DKconfig1 # I2S (Inter-IC Sound) driver configuration options
7 # I2S Drivers
9 menuconfig I2S config
10 bool "Inter-IC Sound (I2S) bus drivers"
12 Enable support for the I2S (Inter-IC Sound) hardware bus.
14 if I2S
22 module = I2S
23 module-str = i2s
28 source "drivers/i2s/Kconfig.*"
30 endif # I2S
DKconfig.mcux1 # MCUX I2S driver configuration options
7 bool "NXP MCUX I2S controller driver"
13 Enable I2S support on the I.MX family of processors.
26 int "I2S EDMA BURST SIZE"
29 I2S EDMA burst size in bytes.
Di2s_litex.h11 #include <zephyr/drivers/i2s.h>
15 /* i2s configuration mask*/
23 /* i2s control register options*/
26 /* i2s event*/
28 /* i2s event types*/
31 /* i2s rx*/
39 /* i2s tx*/
47 /* i2s register offsets (they are the same for all i2s nodes, both rx and tx) */
Di2s_ll_stm32.c11 #include <zephyr/drivers/i2s.h>
113 LOG_ERR("Could not enable I2S clock"); in i2s_stm32_enable_clock()
118 /* Enable I2S clock source */ in i2s_stm32_enable_clock()
123 LOG_ERR("Could not configure I2S domain clock"); in i2s_stm32_enable_clock()
164 LL_I2S_SetPrescalerLinear(cfg->i2s, i2s_div); in i2s_stm32_set_clock()
165 LL_I2S_SetPrescalerParity(cfg->i2s, i2s_odd); in i2s_stm32_set_clock()
179 * When I2S data format is selected parameter channels is ignored, in i2s_stm32_configure()
224 /* set I2S bitclock */ in i2s_stm32_configure()
243 /* set I2S Master Clock output in the MCK pin, enabled in the DT */ in i2s_stm32_configure()
245 LL_I2S_EnableMasterClock(cfg->i2s); in i2s_stm32_configure()
[all …]
/Zephyr-Core-3.5.0/tests/drivers/i2s/i2s_speed/
Dtestcase.yaml2 drivers.i2s.speed:
3 depends_on: i2s
6 - i2s
8 drivers.i2s.speed.gpio_loopback:
10 - i2s
14 - i2s
/Zephyr-Core-3.5.0/tests/drivers/i2s/i2s_api/boards/
Dlpcxpresso55s69_cpu0.overlay1 /* i2s_speed with CONFIG_I2S_TEST_SEPARATE_DEVICES=y uses two I2S peripherals:
2 * i2s-node0 is the receiver
3 * i2s-node1 is the transmitter
8 i2s-node0 = &i2s0;
9 i2s-node1 = &i2s1;
Dmimxrt685_evk_cm33.overlay1 /* i2s_speed with CONFIG_I2S_TEST_SEPARATE_DEVICES=y uses two I2S peripherals:
2 * i2s-node0 is the receiver
3 * i2s-node1 is the transmitter
8 i2s-node0 = &i2s0;
9 i2s-node1 = &i2s1;
Dlitex_vexriscv.overlay1 /* i2s-node0 is the receiver
2 * i2s-node1 is the transmitter
7 i2s-node0 = &i2s_rx;
8 i2s-node1 = &i2s_tx;
Dmimxrt1170_evk_cm7.overlay1 /* i2s_speed with CONFIG_I2S_TEST_SEPARATE_DEVICES=y uses two I2S peripherals:
2 * i2s-node0 is the receiver - uses SAI1 peripheral on RT1170
3 * i2s-node1 is the transmitter - uses SAI4 peripheral
8 i2s-node0 = &sai1;
9 i2s-node1 = &sai4;
/Zephyr-Core-3.5.0/tests/drivers/i2s/i2s_speed/boards/
Dlpcxpresso55s69_cpu0.overlay1 /* i2s_speed with CONFIG_I2S_TEST_SEPARATE_DEVICES=y uses two I2S peripherals:
2 * i2s-node0 is the receiver
3 * i2s-node1 is the transmitter
8 i2s-node0 = &i2s0;
9 i2s-node1 = &i2s1;
Dmimxrt685_evk_cm33.overlay1 /* i2s_speed with CONFIG_I2S_TEST_SEPARATE_DEVICES=y uses two I2S peripherals:
2 * i2s-node0 is the receiver
3 * i2s-node1 is the transmitter
8 i2s-node0 = &i2s0;
9 i2s-node1 = &i2s1;
Dmimxrt595_evk_cm33.overlay1 /* i2s_speed with CONFIG_I2S_TEST_SEPARATE_DEVICES=y uses two I2S peripherals:
2 * i2s-node0 is the receiver
3 * i2s-node1 is the transmitter
8 i2s-node0 = &i2s0;
9 i2s-node1 = &i2s1;
Dlitex_vexriscv.overlay1 /* i2s-node0 is the receiver
2 * i2s-node1 is the transmitter
7 i2s-node0 = &i2s_rx;
8 i2s-node1 = &i2s_tx;
Dmimxrt1170_evk_cm7.overlay1 /* i2s_speed with CONFIG_I2S_TEST_SEPARATE_DEVICES=y uses two I2S peripherals:
2 * i2s-node0 is the receiver - uses SAI1 peripheral on RT1170
3 * i2s-node1 is the transmitter - uses SAI4 peripheral
8 i2s-node0 = &sai1;
9 i2s-node1 = &sai4;
/Zephyr-Core-3.5.0/dts/bindings/led_strip/
Dworldsemi,ws2812-i2s.yaml5 Worldsemi WS2812 LED strip, I2S binding
8 strip with an I2S master.
10 compatible: "worldsemi,ws2812-i2s"
16 i2s-dev:
19 description: Pointer to the I2S instance.
43 description: Extra microseconds to wait for the driver to flush its I2S queue.
/Zephyr-Core-3.5.0/boards/arm/lpcxpresso55s69/
Dpinmux.c20 * sets are used to enable one I2S device to handle RX and one to handle in lpcxpresso_55s69_pinmux_init()
24 /* Set shared signal set 0 SCK, WS from Transmit I2S - Flexcomm 7 */ in lpcxpresso_55s69_pinmux_init()
29 /* Select Data in from Transmit I2S - Flexcomm 7 */ in lpcxpresso_55s69_pinmux_init()
31 /* Enable Transmit I2S - Flexcomm 7 for Shared Data Out */ in lpcxpresso_55s69_pinmux_init()
35 /* Set Receive I2S - Flexcomm 6 SCK, WS from shared signal set 0 */ in lpcxpresso_55s69_pinmux_init()
39 /* Set Transmit I2S - Flexcomm 7 SCK, WS from shared signal set 0 */ in lpcxpresso_55s69_pinmux_init()
44 /* Select Receive I2S - Flexcomm 6 Data in from shared signal set 0 */ in lpcxpresso_55s69_pinmux_init()
46 /* Select Transmit I2S - Flexcomm 7 Data out to shared signal set 0 */ in lpcxpresso_55s69_pinmux_init()
/Zephyr-Core-3.5.0/samples/boards/litex/i2s/
Dsample.yaml2 description: I2S sample
4 name: i2s example
6 sample.drivers.i2s.litex:
13 - "i2s example (.*)"
/Zephyr-Core-3.5.0/tests/drivers/i2s/i2s_api/
Dtestcase.yaml2 drivers.i2s:
3 depends_on: i2s
11 drivers.i2s.gpio_loopback:
13 - i2s
/Zephyr-Core-3.5.0/samples/drivers/i2s/echo/
Dsample.yaml2 name: I2S echo sample
4 sample.drivers.i2s.echo:
5 tags: i2s
16 - "I2S echo sample"
DREADME.rst1 .. zephyr:code-sample:: i2s-echo
2 :name: I2S echo
10 This sample demonstrates how to use an I2S driver in a simple processing of
20 CODECs. The I2S device to be used by the sample is specified by defining
22 and ``i2s_tx`` if separate I2S devices are to be used for the RX and TX
37 The code can be found in :zephyr_file:`samples/drivers/i2s/echo`.
42 :zephyr-app: samples/drivers/i2s/echo
/Zephyr-Core-3.5.0/dts/bindings/i2s/
Dnordic,nrf-i2s.yaml4 description: Nordic I2S (Inter-IC sound interface)
6 compatible: "nordic,nrf-i2s"
8 include: [i2s-controller.yaml, pinctrl-device.yaml]
24 Clock source to be used by the I2S peripheral for the master clock
25 (MCK) generator. The generator is only needed when the I2S peripheral
Dnxp,lpc-i2s.yaml4 description: LPC I2S node
6 compatible: "nxp,lpc-i2s"
8 include: [i2s-controller.yaml, "nxp,lpc-flexcomm.yaml"]
/Zephyr-Core-3.5.0/boards/arm/mimxrt685_evk/
Dinit.c18 /* Set shared signal set 0 SCK, WS from Transmit I2S - Flexcomm3 */ in mimxrt685_evk_init()
23 /* Select Data in from Transmit I2S - Flexcomm 3 */ in mimxrt685_evk_init()
25 /* Enable Transmit I2S - Flexcomm 3 for Shared Data Out */ in mimxrt685_evk_init()
29 /* Set Receive I2S - Flexcomm 1 SCK, WS from shared signal set 0 */ in mimxrt685_evk_init()
33 /* Set Transmit I2S - Flexcomm 3 SCK, WS from shared signal set 0 */ in mimxrt685_evk_init()
38 /* Select Receive I2S - Flexcomm 1 Data in from shared signal set 0 */ in mimxrt685_evk_init()
40 /* Select Transmit I2S - Flexcomm 3 Data out to shared signal set 0 */ in mimxrt685_evk_init()
/Zephyr-Core-3.5.0/drivers/audio/
Dtlv320dac310x.c224 /* configure I2S interface */ in codec_configure_dai()
226 if (cfg->i2s.options & I2S_OPT_BIT_CLK_MASTER) { in codec_configure_dai()
230 if (cfg->i2s.options & I2S_OPT_FRAME_CLK_MASTER) { in codec_configure_dai()
234 switch (cfg->i2s.word_size) { in codec_configure_dai()
249 cfg->i2s.word_size); in codec_configure_dai()
261 struct i2s_config *i2s; in codec_configure_clocks() local
266 i2s = &cfg->dai_cfg.i2s; in codec_configure_clocks()
268 i2s->frame_clk_freq); in codec_configure_clocks()
284 * cfg->i2s.frame_clk_freq and in codec_configure_clocks()
287 osr_min = (DAC_MOD_CLK_FREQ_MIN + i2s->frame_clk_freq - 1) / in codec_configure_clocks()
[all …]
/Zephyr-Core-3.5.0/dts/arm/st/f4/
Dstm32f411.dtsi23 i2s1: i2s@40013000 {
24 compatible = "st,stm32-i2s";
36 i2s4: i2s@40013400 {
37 compatible = "st,stm32-i2s";
49 i2s5: i2s@40015000 {
50 compatible = "st,stm32-i2s";

1234567891011