On 11/6/2012 16:48, Mark Brown wrote:
On Tue, Nov 06, 2012 at 01:57:53PM +0800, Bo Shen wrote:
static struct platform_device at91sam9260_ssc_device = {
- .name = "at91rm9200_ssc",
- .name = "at91rm9200_ssc_dai", .id = 0, .dev = {
No, this isn't converting things to device tree which presumably is the goal here and obviously just doing the rename doesn't accomplish an enormous amount. What I said was that you should instantiate the ASoC adaption when the machine driver needs to use them. You shouldn't even need a separate device for this.
Maybe this is not the best solution, but just abstract audio as a separate device. The other's still keep as a ssc library.
Please do look at other platforms with similar hardware and do something similar to them.
I take some reference (e.g: freescale, marvell, invidia soc, this RFC implement is similar with them), but don't find the similar hardware with us. Please help provide the information who's HW is similar with us. Thanks.
BRs, Bo Shen