From: Zidan Wang <zidan.wang@freescale.com>
To: Nicolin Chen <nicoleotsuka@gmail.com>
Cc: alsa-devel@alsa-project.org, timur@tabi.org, Xiubo.Lee@gmail.com,
tiwai@suse.com, lgirdwood@gmail.com, broonie@kernel.org
Subject: Re: [PATCH 2/3] ASoC: fsl_sai: Add imx7d platform support
Date: Mon, 10 Aug 2015 09:14:38 +0800 [thread overview]
Message-ID: <20150810011436.GA15493@shlinux2> (raw)
In-Reply-To: <20150807193436.GA6840@Asurada>
On Fri, Aug 07, 2015 at 12:34:37PM -0700, Nicolin Chen wrote:
> On Fri, Aug 07, 2015 at 02:23:52PM +0800, Zidan Wang wrote:
> > i.MX7d SoC contains SAI module, so add imx7d platform support.
> >
> > Signed-off-by: Zidan Wang <zidan.wang@freescale.com>
> > ---
> > sound/soc/fsl/fsl_sai.c | 4 ++++
> > 1 file changed, 4 insertions(+)
> >
> > diff --git a/sound/soc/fsl/fsl_sai.c b/sound/soc/fsl/fsl_sai.c
> > index 5c737f1..390197e 100644
> > --- a/sound/soc/fsl/fsl_sai.c
> > +++ b/sound/soc/fsl/fsl_sai.c
> > @@ -704,6 +704,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;
>
> What's the difference between imx6sx-sai and imx7d-sai?
>
> I think you may put its compatible model in the DT instead of adding
> a copy in the driver unless the SAI on the imx7d really has something
> different.
>
> For example:
> compatible = "fsl,imx6q-ssi", "fsl,imx51-ssi";
> /* The driver only has imx51-ssi */
The imx7d-sai is the same as imx6sx-sai, so i should use compatible model "fsl,imx6sx-sai" for imx7d-sai.
Best Regards,
Zidan Wang
next prev parent reply other threads:[~2015-08-10 2:25 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-07 6:23 [PATCH 1/3] ASoC: fsl-sai: add 32 bit word length support Zidan Wang
2015-08-07 6:23 ` [PATCH 2/3] ASoC: fsl_sai: Add imx7d platform support Zidan Wang
2015-08-07 13:18 ` Mark Brown
2015-08-07 19:34 ` Nicolin Chen
2015-08-10 1:14 ` Zidan Wang [this message]
2015-08-11 9:38 ` Mark Brown
2015-08-07 6:23 ` [PATCH 3/3] ASoC: fsl_sai: Add imx6ul " Zidan Wang
2015-08-07 13:18 ` Mark Brown
2015-08-07 13:19 ` [PATCH 1/3] ASoC: fsl-sai: add 32 bit word length support Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150810011436.GA15493@shlinux2 \
--to=zidan.wang@freescale.com \
--cc=Xiubo.Lee@gmail.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=nicoleotsuka@gmail.com \
--cc=timur@tabi.org \
--cc=tiwai@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox