[alsa-devel] [PATCH] Add SoundCard driver for OKI SEMICONDUCTOR ML7213 IOH

Mark Brown broonie at opensource.wolfsonmicro.com
Mon Oct 24 14:20:15 CEST 2011


On Mon, Oct 24, 2011 at 09:12:42PM +0900, Tomoya MORINAGA wrote:

> 1. PCI interface function.
> Any current ASoC drivers don't have PCI interface function.
> So I don't know where the function should be in machine driver or
> platform driver.

It depends on what the driver is for.  Probably you want a driver which
is some combination of machine driver and the various drivers that are
normally part of the SoC - whatever roles in the system are filled by
this hardware the driver ought to register subsystem drivers for those
roles.

> 2. Register Access
> Can platform driver access register ?
> According to the soc document, platform driver must not access hardware,
> however, some drivers looks accessing their hardware.

What makes you say this?  A driver that can't access hardware would be
rather useless...


More information about the Alsa-devel mailing list