Re: [PM] Patrick: which part of "maintainer" and "peer review" needs explaining to you?

Russell King
2003-08-25T17:14:24Z

On Mon, Aug 25, 2003 at 09:57:20AM -0700, Matt Porter wrote:
> Alternatively, you could leave the platform model as is (it's only
> for really dumb devices).

Thing is that we use the platform model for off chip devices as well.
On ARM, its gets used for any device which the platform code knows
where it is located. ie, a platform device.

> On PPC, we have an OCP (on chip peripheral)
> model that is mostly integrated into the device model now. OCP is
> just another bus/driver type and so PM works in the normal fashion.

Ah, but OCP can't be used to describe a platform dependent SMC91x
network interface that some random designer decided to drop into
their design - it isn't part of the SoC.

> There's a driver API around it as well so we can cleanly share drivers
> across various SoC implementations with different base address,
> IRQ mappings, etc. It might be more useful to extende this across
> the architectures that need it.

Note that we've already done some public work on providing flexible
platform device support to satisfy the needs of platform people -
by adding the variable number of resources to the platform device.

Also note that most of the x86 ISA PCMCIA devices _are_ platform
devices today. As of this new power management model, they're
broken due to the fact that they no longer receive power management
events.

--
Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux