[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <201205312046.14823.arnd@arndb.de>
Date: Thu, 31 May 2012 20:46:14 +0000
From: Arnd Bergmann <arnd@...db.de>
To: "ABRAHAM, KISHON VIJAY" <kishon@...com>
Cc: paul@...an.com, tony@...mide.com, linux@....linux.org.uk,
b-cousson@...com, gregkh@...uxfoundation.org,
linux-omap@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, balbi@...com
Subject: Re: [RFC PATCH 0/5] omap: add ocp2scp as a misc driver
On Thursday 31 May 2012, ABRAHAM, KISHON VIJAY wrote:
> > I would mark the multiplexed device compatible with "simple-bus", which
> > results in the child devices automatically getting added.
>
> hmm.. ocp2scp has a sysconfig register and it also has a module mode
> by which it can be enabled/disabled. I was making use of pm_runtime
> API's to control these registers (Apart from creating child devices,
> the driver also has a call to pm_runtime_enable).
I see.
> I'm not sure if with
> "simple-bus" we'll be able to do those. I have to check on that.
How about making it compatible with both "simple-bus" and something
that handles the pm_runtime requirements?
I don't understand enough of what needs to be done for pm_runtime
across a lot of devices, but I'd hope that it should be possible
to do that in a generic way based on the device definition.
Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists