[alsa-devel] [RFC][PATCH 2/2 v2] ASoC: simple-card: add Device Tree support
kuninori.morimoto.gx at renesas.com
Wed Jan 30 02:09:47 CET 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.
> 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.
> > 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 will remove name-base matching from simple-audio
More information about the Alsa-devel