2013/8/7 Mark Brown broonie@kernel.org:
On Tue, Aug 06, 2013 at 08:09:18AM +0800, Barry Song wrote:
2013/7/17 Mark Brown broonie@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