RE: [PATCH v2] serial: 8250: Add cpufreq support

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

 



Hi Alan,

On Wed, Apr 25, 2012 at 16:56:33, Shankarmurthy, Akshay wrote:
> This patch adds cpufreq support for 8250 serial driver. A clk structure member has been added to the platform and port data structures. This member is used by the cpufreq notifier callback to get the updated clock rate. Also adds a member 'cpufreq_flag' to the plat_serial8250_port and uart_port structures which decides the requirement of cpufreq registration for each individual ports. If the port requires registration then 'cpufreq_flag'
> should be passed as TRUE from the board file.
> 
> Tested on TI DA850/OMAP-L138 EVM.
> 
> Signed-off-by: Chaithrika U S <chaithrika@xxxxxx>
> Signed-off-by: Shankarmurthy, Akshay <akshay.s@xxxxxx>
> ---
> v2 includes following changes :
> 
> 1. Used "tty_port_tty_get" API to get the tty struct instead of accesing it directly from the uart_port structure.
> 2. Added a boolean member "enable_cpufreq" to the uart_port and serial8250_port structures. This indicates the requirement of cpu freq registration for each individual ports.
> 3. Renamed the function from "serial8250_cpufreq_deregister" to "serial8250_cpufreq_unregister".
> 
> Changes are as per these discussions
> http://www.mail-archive.com/davinci-linux-open-source@xxxxxxxxxxxxxxxxxxxx/msg22841.html
> 

Please let me know if there are any comments on this patch?

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


[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux