[samsung-soc] CPUfreq Linux clock API question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello all,

I'm working on providing cpufreq functionality for S5PC110 Samsung SoC.
For this purpose I'm using clock API's clk_set_rate function. All the code
is very similar to the one from S3C64xx.
Using standard clock API I've managed to control only the ARM core clock
frequency (and reduce chip power consumption in this way).

After some studies I've concluded that it would be welcome to change rate
(to be precise clock dividers values) for two clock simultaneously. It could
provide opportunities for further power savings. 

The clock API used at S3C64xx seems not to allow for setting rate of two
clocks simultaneously (or am I wrong? :-) ). 

If this change would not be possible, then have anyone thought about the way
to provide such functionality? 

It is always possible to "hack" the kernel clock API and provide new
pointers to new methods in the struck clk (and implement those new methods).
However I'm concerned if this "new" code would be accepted by the open
source community. 

As a good programming practice, I'd like to use already implemented and
tested API.

Sharing any experience in designing/programming kernel clock API will be
appreciated :-)

Best regards,
Lukasz Majewski

Samsung R&D Center, Poland



--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux SoC Development]     [Linux Rockchip Development]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Linux SCSI]     [Yosemite News]

  Powered by Linux