am335x system upgrade set/get current cpufreq(二十一)
1 Scope of Document
This document describes am335x cpufreq technology insider.
2 Requiremen
2.1 Function Requirement
How to get current cpufreq, and to change cpufreq. Learning Processor Clocking Control(PPC) Interface Specification, learning APCI Specification.
2.2 Performance Requirement
NA
3 Functional Description
3.1 Functional Block Diagram
Am335x cpufreq be set by inner contex-M3,The inner contex-M3 running platform firmware. The platform firmware can be load , when booting kernel.
[ 2.118896] Power Management for AM33XX family
[ 2.127075] Trying to load am335x-pm-firmware.bin (60 secs timeout)
[ 2.137084] Copied the M3 firmware to UMEM
3.2 PCC interface specification
3.2.1 Overview
The Processor Clocking Control (PCC) interface is implemented by platform firmware in
order to provide a channel for the Operating System to direct and
obtain performance
information on a per-processor basis in cases where the platform
firmware would
normally be directing the control of the processor performance. In
this model the
platform firmware remains in direct control of the processor
clocking control registers.
The Operating System computes the required performance for each
processor and
communicates this to the platform firmware via the PCC shared
memory interface. The
platform firmware is responsible for managing the hardware
clocking controls in order to
deliver the requested performance. The interface also provides the
capability for the
Operating System to obtain the actual performance level delivered.
In cases where the
platform is unable to meet the Operating System request, such as a
thermal or power
budget conditions, flags are set to indicate this to the Operating
System
The Processor Clocking Control
interface relies on a reserved area in the system memory
map for communications between the platform firmware and the
Operating System.
The shared memory region is a single header structure in memory.
The region of
Memory is specified in she SharedMemoryRegion field obtained ty
evaluating the PCCH() method. The region contains a haeder followed by one
input and ome output buffer for each logical processor.
3.2.2 PCC interface header info
3.2.3 PCC interface commad and alert mechanism.
Support command :
- Get Average Frequency
- Set Desired Frequency
Alert Mechanism:
- Operationg System to Platform Doorbell.
- Platform to Operating System Doorbell.
4 Porting
4.1
Kernel porting
NA
4.2
Application Interface
Set cpufreq mode:
am335x system upgrade set/get current cpufreq(二十一)的更多相关文章
- am335x system upgrade rootfs using yocto make rootfs(十二)
1 Scope of Document This document describes how to make am335x arago rootfs using ycoto project ...
- am335x system upgrade uboot ethernet(二)
系统可以通过SD卡引道之后,为了之后了调试方便 通过查看网卡的硬件设计 正常来说需要注意的有如下几点: 1) 网口 的接线方式: RMII 2) 网口的PHY地址两张网口,这里我们只需先初始化一张网卡 ...
- am335x system upgrade kernel ethernet(四)
1 Scope of Document This document describes ethernet hardware design and porting KZS8081 to ubo ...
- am335x system upgrade kernel gpio(九)
1 Hardware Overview gpio interface,pin map: AM335X_I2C0_W_C----------------------MCASP0_AXR1 /* ...
- am335x system upgrade uboot nand boot(三)
在uboot 下初始化nand,一般需要做如下工作: 第一: 配置默认从NAND boot Index: include/configs/am335x_evm.h=================== ...
- am335x system upgrade kernel tf(五)
1 Scope of Document This document describes TF hardware design 2 Requiremen 2.1 Functi ...
- am335x system upgrade kernel can(八)
1 Scope of Document This document describes can bus hardware design and can bus driver developm ...
- am335x system upgrade kernel uart(七)
1 Scope of Document This document describes UART hardware design, uart driver porting 2 Re ...
- am335x system upgrade kernel i2c rtc eeprom(六)
1 Scope of Document This document describes i2c bus hardware design and support i2c-devices: ee ...
随机推荐
- golang --Converting and Checking Types
package main import ( "fmt" "strconv" ) func main() { strVar := "100" ...
- C# vb .net实现玻璃桌子效果滤镜
在.net中,如何简单快捷地实现Photoshop滤镜组中的玻璃桌子效果呢?答案是调用SharpImage!专业图像特效滤镜和合成类库.下面开始演示关键代码,您也可以在文末下载全部源码: 设置授权 第 ...
- 相似文档查找算法之 simHash及其 java 实现
传统的 hash 算法只负责将原始内容尽量均匀随机地映射为一个签名值,原理上相当于伪随机数产生算法.产生的两个签名,如果相等,说明原始内容在一定概 率 下是相等的:如果不相等,除了说明原始内容不相等外 ...
- ElementUI table中el-table-column怎么设置百分比显示。
看文档找到一种方法,是把 width 换成 min-width ,就支持百分比显示啦 !
- Python的bytes和str
Python和C的字符串 在Python 3 中,bytes单独作为一个类型,不再和str类型混在一起.关于字符串和字节,我想先回顾下C/C++ 在C/C++中,字符串是由char数组构成,每个元素是 ...
- 【转载】C#中double.TryParse方法和double.Parse方法的异同之处
在C#编程过程中,double.TryParse方法和double.Parse方法都可以将字符串string转换为double类型,但两者还是有区别,最重要的区别在于double.TryParse方法 ...
- C++ Primer Plus(第6版)习题(第二章)
1..编写一个C++程序,它显示您的姓名和地址. #include<iostream> using namespace std; int main() { string name,addr ...
- Requirements management in confluence
https://ja.confluence.atlassian.com/doc/blog/2015/08/how-to-document-product-requirements-in-conflue ...
- 移动端H5长按事件 vue自定义指令
import Vue from 'vue' Vue.directive('longpress', function (el, binding){ var timer = null; var start ...
- Linux--基本目录
特点 系统版本:CentOS 6.5 Linux目录:一切从根开始 Linux下面的设备(磁盘)不挂载的话没有办法使用,使用设备必须有一个入口,挂载点实质就是一个目录. 目录结构及含义 目录 说明 b ...