Re: [PATCH] Add SoundCard driver for OKI SEMICONDUCTOR ML7213 IOH

From: Mark Brown
Date: Mon Oct 24 2011 - 08:20:19 EST


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...
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/