[alsa-devel] [PATCH 1/3] ASoC: bt-sco: enable OF support

Barry Song 21cnbao at gmail.com
Wed Aug 7 03:59:46 EDT 2013


2013/8/7 Mark Brown <broonie at kernel.org>:
> On Tue, Aug 06, 2013 at 08:09:18AM +0800, Barry Song wrote:
>> 2013/7/17 Mark Brown <broonie at kernel.org>:
>
>> > There is likely to be a control interface for the BT device hanging off
>> > a UART but it's not clear there's much more meaningful data for those
>> > than there is here.
>
>> so the idea is that we don't add codec platform device in uart, and we
>> add a dt node for it as we are doing here?
>
> Well, I think it's more OK to add a node like this one (possibly with a
> link to the UART) but if you can add it based on it hanging off the UART
> that's even better.

For 1, what kind of codes will have in the codec driver if adding a
link to UART in codec dts node? UART is very generic to transfer path.
it even doesn't know bluetooth is running on top of it.

For 2, if the case is that we add codec subnode in UART node,  the
UART driver will need to walk child nodes and extend platform device
for them, it seems it is not uart driver likes.

-barry



More information about the linux-arm-kernel mailing list