From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
To: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Cc: Linux-SH <linux-sh@vger.kernel.org>,
Linux-ALSA <alsa-devel@alsa-project.org>,
Paul Mundt <lethal@linux-sh.org>,
Liam Girdwood <lrg@slimlogic.co.uk>,
Mark Brown <broonie@opensource.wolfsonmicro.com>
Subject: Re: [PATCH 2/4 v2] ASoC: Add sh_mobile_hdmi sound support
Date: Tue, 07 Sep 2010 03:56:32 +0000 [thread overview]
Message-ID: <w3p1v968avi.wl%kuninori.morimoto.gx@renesas.com> (raw)
In-Reply-To: <Pine.LNX.4.64.1009060932430.20387@axis700.grange>
Dear Guennadi
> > + .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE,
>
> Again, this I am not sure about. The datasheet says 16 to 32 bit are
> possible, but then I only see configuration for 16 to 24 bits, but in any
> case, I think, you'd want to implement .hw_params to support non-default
> formats.
Yes. .hw_params implementation is needed for advanced support.
I will send its patch in future.
>> +config SND_FSI_HDMI
>> + bool "FSI-HDMI sound support"
>> + depends on SND_SOC_SH4_FSI && FB_SH_MOBILE_HDMI
>> + help
>> + This option enables generic sound support for the
>> + FSI - HDMI unit
(snip)
> With this config option you will have 3 SND_SOC_SH4_FSI implementations in
>the Kconfig, all selectable independently. Do you really think it makes
> sense and would work, if someone were to select more than one of those
> options at the same time?
Yes. I created it for independently.
for example, you can select FSI-AK4642 and FSI-HDMI in same time.
If you select FSI-DA7210 and FSI-AK4642, small patch which change
FSIA <-> FSIB is needed for now.
>> + switch (rate) {
>> + case 48000:
>> + clk_set_rate(clk, clk_round_rate(clk, 85428000));
>> + __raw_writel(0x00070003, base + 0x8);
>
>Hm, these two registers seem to be a perfect candidate for the clock API?
? I think so. why ?
Best regards
--
Kuninori Morimoto
next prev parent reply other threads:[~2010-09-07 3:56 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-31 5:45 [PATCH 0/4 v2] Add FSI - HDMI support V2 Kuninori Morimoto
2010-08-31 5:46 ` [PATCH 1/4 v2] fbdev: sh-mobile: Add HDMI sound type selection Kuninori Morimoto
2010-09-01 10:19 ` Mark Brown
2010-09-06 7:32 ` Guennadi Liakhovetski
2010-09-06 9:49 ` Kuninori Morimoto
2010-08-31 5:46 ` [PATCH 2/4 v2] ASoC: fsi-codec: Add FSI - HDMI support Kuninori Morimoto
2010-09-01 10:20 ` Mark Brown
2010-09-06 9:17 ` Guennadi Liakhovetski
2010-08-31 5:46 ` [PATCH 4/4 v2] ARM: mach-shmobile: ap4evb: Add HDMI sound support Kuninori Morimoto
2010-09-01 10:23 ` [PATCH 4/4 v2] ARM: mach-shmobile: ap4evb: Add HDMI sound Mark Brown
2010-09-06 10:07 ` [PATCH 4/4 v2] ARM: mach-shmobile: ap4evb: Add HDMI sound support Guennadi Liakhovetski
2010-09-09 3:56 ` Kuninori Morimoto
2010-09-09 21:04 ` Guennadi Liakhovetski
2010-08-31 5:47 ` [PATCH 2/4 v2] ASoC: Add sh_mobile_hdmi " Kuninori Morimoto
2010-09-01 10:20 ` Mark Brown
2010-09-06 8:27 ` Guennadi Liakhovetski
2010-09-06 10:25 ` Mark Brown
2010-09-07 7:11 ` Guennadi Liakhovetski
2010-09-07 9:40 ` Mark Brown
2010-09-07 9:56 ` Guennadi Liakhovetski
2010-09-07 10:02 ` Mark Brown
2010-09-07 3:56 ` Kuninori Morimoto [this message]
2010-08-31 9:57 ` [alsa-devel] [PATCH 0/4 v2] Add FSI - HDMI support V2 Liam Girdwood
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=w3p1v968avi.wl%kuninori.morimoto.gx@renesas.com \
--to=kuninori.morimoto.gx@renesas.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=g.liakhovetski@gmx.de \
--cc=lethal@linux-sh.org \
--cc=linux-sh@vger.kernel.org \
--cc=lrg@slimlogic.co.uk \
/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;
as well as URLs for NNTP newsgroup(s).