linux/sound/soc/meson
Valerio Setti 4c4ed5e073
ASoC: meson: aiu-encoder-i2s: fix bit clock polarity
According to I2S specs audio data is sampled on the rising edge of the
clock and it can change on the falling one. When operating in normal mode
this SoC behaves the opposite so a clock polarity inversion is required
in this case.

This was tested on an OdroidC2 (Amlogic S905 SoC) board.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
Reviewed-by: Jerome Brunet <jbrunet@baylibre.com>
Tested-by: Jerome Brunet <jbrunet@baylibre.com>
Link: https://patch.msgid.link/20251007-fix-i2s-polarity-v1-1-86704d9cda10@baylibre.com
Signed-off-by: Mark Brown <broonie@kernel.org>
History 2025-10-07 13:19:43 +01:00
..
aiu-acodec-ctrl.c ASoC: meson: merge DAI call back functions into ops 2023-08-14 13:10:20 +01:00
aiu-codec-ctrl.c ASoC: meson: merge DAI call back functions into ops 2023-08-14 13:10:20 +01:00
aiu-encoder-i2s.c ASoC: meson: aiu-encoder-i2s: fix bit clock polarity 2025-10-07 13:19:43 +01:00
aiu-encoder-spdif.c ASoC: meson: aiu: Fix spelling mistake "Unsupport" -> "Unsupported" 2021-09-27 13:01:07 +01:00
aiu-fifo-i2s.c ASoC: meson: Constify static snd_pcm_hardware 2024-05-07 00:00:22 +09:00
aiu-fifo-spdif.c ASoC: meson: Constify static snd_pcm_hardware 2024-05-07 00:00:22 +09:00
aiu-fifo.c ASoC: meson: Use snd_soc_substream_to_rtd() for accessing private_data 2024-05-06 23:59:55 +09:00
aiu-fifo.h ASoC: meson: Remove unused declartion in header file 2024-09-10 18:02:37 +01:00
aiu.c ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
aiu.h ASoC: meson: aiu: fix function pointer type mismatch 2024-02-14 00:43:30 +00:00
axg-card.c ASoC: meson: Use helper function for_each_child_of_node_scoped() 2025-06-08 23:30:49 +01:00
axg-fifo.c ASoC: meson: axg-fifo: fix irq scheduling issue with PREEMPT_RT 2024-08-08 20:34:55 +01:00
axg-fifo.h ASoC: meson: axg-fifo: use FIELD helpers 2024-02-27 18:43:22 +00:00
axg-frddr.c ASoC: meson: tdm: add sample rate support up to 768kHz 2024-06-28 13:39:33 +01:00
axg-pdm.c ASoC: meson: merge DAI call back functions into ops 2023-08-14 13:10:20 +01:00
axg-spdifin.c ASoC: meson: axg-spdifin: use max width for rate detection 2024-02-26 14:03:16 +00:00
axg-spdifout.c ASoC: meson: Migrate to new style legacy DAI naming flag 2022-06-27 13:16:28 +01:00
axg-tdm-formatter.c ASoC: meson: axg-tdm: add continuous clock support 2024-04-29 23:48:50 +09:00
axg-tdm-formatter.h ASoC: meson: axg-tdm-formatters: fix sclk inversion 2020-07-30 19:45:01 +01:00
axg-tdm-interface.c ASoC: meson: axg-tdm-interface: use devm_kmemdup_array() 2025-02-28 14:01:01 +00:00
axg-tdm.h ASoC: meson: axg-iface: set continuous rates 2024-09-30 01:10:55 +02:00
axg-tdmin.c ASoC: meson: use helper function 2023-01-31 11:05:03 +00:00
axg-tdmout.c ASoC: meson: use helper function 2023-01-31 11:05:03 +00:00
axg-toddr.c ASoC: meson: tdm: add sample rate support up to 768kHz 2024-06-28 13:39:33 +01:00
g12a-toacodec.c ASoC: meson: g12a-toacodec: Fix event generation 2024-01-03 18:37:01 +00:00
g12a-tohdmitx.c ASoC: meson: g12a-tohdmitx: Fix event generation for S/PDIF mux 2024-01-03 18:37:02 +00:00
gx-card.c ASoC: meson: switch to use rtd->id from rtd->num 2024-11-01 14:48:11 +00:00
Kconfig ASoC: meson: Standardize ASoC menu 2025-06-24 01:01:23 +01:00
Makefile ASoC: meson: Use *-y instead of *-objs in Makefile 2024-05-08 11:39:24 +09:00
meson-card-utils.c ASoC: meson: Use helper function for_each_child_of_node_scoped() 2025-06-08 23:30:49 +01:00
meson-card.h ASoC: meson: Make meson_card_remove() return void 2023-10-23 13:29:46 +01:00
meson-codec-glue.c ASoC: meson: convert not to use asoc_xxx() 2023-09-25 14:16:28 +02:00
meson-codec-glue.h ASoC: meson: g12a: extract codec-to-codec utils 2020-02-13 20:57:20 +00:00
t9015.c ASoC: meson: t9015: use inclusive language for SND_SOC_DAIFMT_CBx_CFx 2025-03-03 12:58:53 +00:00