mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-05-24 10:39:52 +00:00
ASoC: meson: axg-tdmout: add g12a support
The axg tdmout driver just need a different skew offset to operate correctly on the g12a SoC family. Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
f01bc67f58
commit
aa191a37b8
1 changed files with 13 additions and 0 deletions
|
@ -243,10 +243,23 @@ static const struct axg_tdm_formatter_driver axg_tdmout_drv = {
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static const struct axg_tdm_formatter_driver g12a_tdmout_drv = {
|
||||||
|
.component_drv = &axg_tdmout_component_drv,
|
||||||
|
.regmap_cfg = &axg_tdmout_regmap_cfg,
|
||||||
|
.ops = &axg_tdmout_ops,
|
||||||
|
.quirks = &(const struct axg_tdm_formatter_hw) {
|
||||||
|
.invert_sclk = true,
|
||||||
|
.skew_offset = 2,
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
static const struct of_device_id axg_tdmout_of_match[] = {
|
static const struct of_device_id axg_tdmout_of_match[] = {
|
||||||
{
|
{
|
||||||
.compatible = "amlogic,axg-tdmout",
|
.compatible = "amlogic,axg-tdmout",
|
||||||
.data = &axg_tdmout_drv,
|
.data = &axg_tdmout_drv,
|
||||||
|
}, {
|
||||||
|
.compatible = "amlogic,g12a-tdmout",
|
||||||
|
.data = &g12a_tdmout_drv,
|
||||||
}, {}
|
}, {}
|
||||||
};
|
};
|
||||||
MODULE_DEVICE_TABLE(of, axg_tdmout_of_match);
|
MODULE_DEVICE_TABLE(of, axg_tdmout_of_match);
|
||||||
|
|
Loading…
Add table
Reference in a new issue