]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: fsl-asoc-card: Add optional dt property for setting mclk-id
authorAriel D'Alessandro <ariel.dalessandro@collabora.com>
Mon, 17 Jan 2022 13:21:08 +0000 (10:21 -0300)
committerMark Brown <broonie@kernel.org>
Mon, 24 Jan 2022 13:31:50 +0000 (13:31 +0000)
commitca1c415e29a1650453925e0ff32e702a35002079
tree5c9c93f6e85649c8fc671af90d7e349428a1e200
parent150c2b096aa3ff392aa236ccc9195d85c4571b75
ASoC: fsl-asoc-card: Add optional dt property for setting mclk-id

Sound cards may allow using different main clock inputs. In the generic
fsl-asoc-card driver, these values are hardcoded for each specific card
configuration.

Let's make it more flexible, allowing setting mclk-id from the
device-tree node. Otherwise, the default value for each card
configuration is used.

Signed-off-by: Ariel D'Alessandro <ariel.dalessandro@collabora.com>
Link: https://lore.kernel.org/r/20220117132109.283365-5-ariel.dalessandro@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl-asoc-card.c