From: Peter Ujfalusi <peter.ujfalusi@ti.com>
To: Tony Lindgren <tony@atomide.com>
Cc: alsa-devel@alsa-project.org, aaro.koskinen@iki.fi,
Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>,
linux-omap@vger.kernel.org,
Jarkko Nikula <jarkko.nikula@bitmer.com>
Subject: Re: [PATCH 0/7] ASoC: omap: Deprecate omap-pcm for sdma-pcm
Date: Thu, 26 Apr 2018 12:46:31 +0300 [thread overview]
Message-ID: <584e42b9-cb88-e83c-df16-703e4b421e81@ti.com> (raw)
In-Reply-To: <3590e559-f782-2359-5495-db3c26a651f3@ti.com>
On 2018-04-25 21:18, Peter Ujfalusi wrote:
> On 04/25/2018 07:56 PM, Tony Lindgren wrote:
>> * Peter Ujfalusi <peter.ujfalusi@ti.com> [180425 16:06]:
>>> On 04/25/2018 04:50 PM, Tony Lindgren wrote:
>>>> * Jarkko Nikula <jarkko.nikula@bitmer.com> [180425 03:56]:
>>>>> What I noticed some time ago on N810 but not time to fix it that OMAP mux
>>>>> change dropped muxing audio McBSP pins. Those pins are muxed by reset or
>>>>> bootloader to another function.
>>>>>
>>>>> Probably a few lines to arch/arm/boot/dts/omap2420-n810.dts etc.
>>>>
>>>> Hmm do you have a link or commit id to a patch that does the muxing
>>>> to see which pins need to be muxed?
>>>
>>> FWIW I have this at the moment:
>>> https://pastebin.com/WNT9wnD5
>>>
>>> I see that the card is there, but I'm fighting buildroot to have nfs
>>> filesystem with aplay :o
>>>
>>> There are few things going to be needed to get things in a shape, like
>>> converting the sound/soc/omap/n810.c to platform driver to be probed via DT.
>>> Proper bindings for the card,
>>> support for mclk handling in aic3x codec driver (n810 is hackinig that in the
>>> machine driver)
>>>
>>> In theory audio _should_ work with the DT changes and the fixup in the n810.c...
>>>
>>> Should...
>>
>> Cool. The pinctrl fixes at least make sense to me, that could be
>> a separate patch maybe with Fixes: 5a87cde490e1 ("ARM: OMAP2+: Remove
>> legacy booting support for n8x0") as pointed out by Jarkko.
>
> The two GPIO for the headphone and speaker amp might also need pinctrl entry.
>
> The clock sys_clkout2 reparenting and rate setting is done with the
> assigned-clock stuff.
>
> As I mentioned the only thing that we will need is the mclk handling in the
> codec driver.
>
> Most likely we could have a series dealing with DT only, then rewrite the n810.c.
>
> The only thing might cause issue is that if the aic3x driver starts to handle
> the sys_clkout2 (mclk) and the n810.c also wants to grab it and control it...
> That might break along the way.
The sdma-pcm is working fine on omap2 as well, audio playback and
recording is working on n810 here.
>
>>
>> Regards,
>>
>> Tony
>>
>
>
- Péter
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
next prev parent reply other threads:[~2018-04-26 9:46 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-25 6:18 [PATCH 0/7] ASoC: omap: Deprecate omap-pcm for sdma-pcm Peter Ujfalusi
2018-04-25 6:18 ` [PATCH 1/7] ASoC: omap: Introduce the generic_dmaengine_pcm based sdma-pcm Peter Ujfalusi
2018-04-25 6:18 ` [PATCH 2/7] ASoC: davinci-mcasp: Convert to use the sdma-pcm instead of omap-pcm Peter Ujfalusi
2018-04-25 6:18 ` [PATCH 3/7] ASoC: omap-hdmi-audio: " Peter Ujfalusi
2018-05-09 9:31 ` Applied "ASoC: omap-hdmi-audio: Convert to use the sdma-pcm instead of omap-pcm" to the asoc tree Mark Brown
2018-05-09 9:47 ` Mark Brown
2018-04-25 6:18 ` [PATCH 4/7] ASoC: omap-dmic: Convert to use the sdma-pcm instead of omap-pcm Peter Ujfalusi
2018-04-25 6:18 ` [PATCH 5/7] ASoC: omap-mcpdm: " Peter Ujfalusi
2018-04-25 6:18 ` [PATCH 6/7] ASoC: omap-mcbsp: " Peter Ujfalusi
2018-04-25 6:18 ` [PATCH 7/7] ASoC: omap: Mark the omap-pcm as deprecated, but keep it in the tree Peter Ujfalusi
2018-04-25 10:10 ` [PATCH 0/7] ASoC: omap: Deprecate omap-pcm for sdma-pcm Jarkko Nikula
2018-04-25 13:50 ` Tony Lindgren
2018-04-25 16:03 ` Peter Ujfalusi
2018-04-25 16:56 ` Tony Lindgren
2018-04-25 18:18 ` Peter Ujfalusi
2018-04-26 9:46 ` Peter Ujfalusi [this message]
2018-04-25 16:31 ` Jarkko Nikula
2018-04-25 16:52 ` Tony Lindgren
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=584e42b9-cb88-e83c-df16-703e4b421e81@ti.com \
--to=peter.ujfalusi@ti.com \
--cc=aaro.koskinen@iki.fi \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=jarkko.nikula@bitmer.com \
--cc=lgirdwood@gmail.com \
--cc=linux-omap@vger.kernel.org \
--cc=tony@atomide.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