On Fri, Aug 25, 2017 at 06:09:52PM +0300, Andy Shevchenko wrote:
On Fri, 2017-08-25 at 15:21 +0100, Mark Brown wrote:
I have no idea why you say the ASoC machine drivers would prevent someone adding a platform based user,
For example, looking into sound/soc/mediatek/mt8173/mt8173-rt5650-rt5676.c I see a direct use of codec driver without any platform driver involvement.
Is it exception from the rule, or a common use?
That's an entirely standard driver using normally registered devices?
obviously ASoC predates the use of both ACPI and DT quite considerably.
Yep, the current users of driver in question either DT or ACPI, would it be pure platform in the future?
It could be potentially (well, I2C but registered using a board file). Most architectures still use board files and neither ACPI nor DT has a sensible story for instantiating plugin modules yet.