[RFC][PATCH 2/2 v2] ASoC: simple-card: add Device Tree support
Kuninori Morimoto
kuninori.morimoto.gx at renesas.com
Wed Jan 30 12:09:47 EST 2013
Hi Stephen, Mark
Thank you for your checking
> >> Rename that simple-audio,dma-controller perhaps? "platform" is a word
> >> specific to ASoC, and the bindings really should be generic across OSs.
(snip)
> I still don't understand why the ASoC platform has to be exposed in
> device tree; it seems like something completely internal to the ASoC
> driver. Take a look at the Tegra ASoC DT bindings; the platform isn't in
> DT at all there.
OK, I checked Tegra sounds, and it is using same device pointer for platform and cpu.
My FSI is same style.
But I wonder is this normal style ? >> Mark
If it is very normal style, I can remove "platform" from simple-audio.
Thank you
> > Ahh yes, this simple-audio supports both phandle and name matching for compatibility.
> > example showed phandle matching only.
>
> I think the DT binding should only support phandle-based resolution.
> Name-based resolution would be quite odd for a device tree binding.
I see.
I will remove name-base matching from simple-audio
Best regards
---
Kuninori Morimoto
More information about the devicetree-discuss
mailing list