public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
* Info on LDM, domain system and SOCs
@ 2007-09-05 13:54 Francesco VIRLINZI
  2007-09-10 13:17 ` Igor Stoppa
  0 siblings, 1 reply; 7+ messages in thread
From: Francesco VIRLINZI @ 2007-09-05 13:54 UTC (permalink / raw)
  To: linux-pm

Hi all
I'm looking the Linux Driver Model (LDM) and the PM issues.

I see the LDM is only "bus-oriented".
Is there an "official" reason why it doesn't track clock and voltage?

In a SOCs usually there is more than one clock therefore it could be 
useful track not only the clock (as already done by the linux/clock.h) 
but also the relationship between clock-and-device.

For this reason I'm working on a generic framework domain (to track 
clocks and voltage with the same API) and the relationship between 
domains and devices.

The basic idea is something like:

struct device_driver {
    ...
    domain_ret_t (*domain_notifier)(struct domain_event * event, struct 
device* dev);
};

struct device {
    ...
    struct dev_dmn_info     clk;
    struct dev_dmn_info     vltg;
};

And in the future it tries to have a dynamic power management with all 
the info the system has on each device (bus_type, parent_device, 
clock_parent, voltage_parent).

Do you think is it a good idea? (if no why?)
Did somebody do something like that? (if no why?)

Ciao
 Francesco

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-09-24 11:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-05 13:54 Info on LDM, domain system and SOCs Francesco VIRLINZI
2007-09-10 13:17 ` Igor Stoppa
2007-09-10 16:19   ` Francesco VIRLINZI
2007-09-17 21:17     ` Amit Kucheria
2007-09-24 11:14       ` Francesco VIRLINZI
2007-09-24  9:29         ` Igor Stoppa
2007-09-24 10:05         ` Amit Kucheria

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox