The schematics of bitclock-master and frame-master DT parameters should depend on whether they are found from a cpu-dai or codec sub-node.
- bitclock-master in cpu-dai node means Codec-Bitclock-Slave - frame-master in cpu-dai node means Codec-Frame-Slave - bitclock-master in codec node means Codec-Bitclock-Master - frame-master in codec node means Codec-Frame-Master
For example in a cpu-dai mode bitclock-master parameter should produce SND_SOC_DAIFMT_CBS_* daifmt flags and a codec node SND_SOC_DAIFMT_CBM_* flags.
Best regards, Jyri
Jyri Sarha (2): ASoC: core: Add is_cpu_dai_node-parameter to snd_soc_of_parse_daifmt() ASoC: simple-card: Take snd_soc_of_parse_daifmt() change in to account
sound/soc/generic/simple-card.c | 13 ++++++++----- sound/soc/soc-core.c | 8 +++++++- 2 files changed, 15 insertions(+), 6 deletions(-)