diff options
author | Zidan Wang <zidan.wang@freescale.com> | 2015-02-09 17:49:12 +0800 |
---|---|---|
committer | Zidan Wang <zidan.wang@freescale.com> | 2015-02-12 10:39:24 +0800 |
commit | 88a4560a8a2ffdd6c8663e3c44cd0c233dbede6d (patch) | |
tree | 4d62bd1e19fdbc361e3fbca32c5a21fb60ede9fa /sound | |
parent | b95957f4bc258c86683501d60f70371366ce3bd3 (diff) |
MLK-10224-1 ASoC: fsl-sai: add sai support for i.MX7d-12x12-arm2 board
Add sai support for i.MX7d-12x12-arm2 board.
Signed-off-by: Zidan Wang <zidan.wang@freescale.com>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/fsl/fsl_sai.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/fsl/fsl_sai.c b/sound/soc/fsl/fsl_sai.c index 880a4a5eaaee..b735ac641c23 100644 --- a/sound/soc/fsl/fsl_sai.c +++ b/sound/soc/fsl/fsl_sai.c @@ -701,6 +701,9 @@ static int fsl_sai_probe(struct platform_device *pdev) if (of_device_is_compatible(pdev->dev.of_node, "fsl,imx6sx-sai")) sai->sai_on_imx = true; + if (of_device_is_compatible(pdev->dev.of_node, "fsl,imx7d-sai")) + sai->sai_on_imx = true; + sai->is_lsb_first = of_property_read_bool(np, "lsb-first"); res = platform_get_resource(pdev, IORESOURCE_MEM, 0); @@ -802,6 +805,7 @@ static int fsl_sai_probe(struct platform_device *pdev) static const struct of_device_id fsl_sai_ids[] = { { .compatible = "fsl,vf610-sai", }, { .compatible = "fsl,imx6sx-sai", }, + { .compatible = "fsl,imx7d-sai", }, { /* sentinel */ } }; |