linux
piaomiaoju
android linux 计算机视觉
展开
-
linux driver probe 调用时机
1、platform 设备创建时候,device_register->bus_probe_devce->device_attt原创 2014-07-02 15:43:10 · 1418 阅读 · 0 评论 -
Linux内核日志开关
Linux内核日志开关1、让pr_debug能输出--- a/kernel/printk/printk.c +++ b/kernel/printk/printk.c @@ -59,7 +59,7 @@ /* We show everything that is MOREimportant than this.. */#define MINIM原创 2014-06-28 14:32:45 · 4437 阅读 · 0 评论 -
dts of-platform几个函数分析
DTS 驱动分析1、clk框架时钟父子节点关系clk_prepare_enable如何使能父节点enable函数在DTS中时钟配置功能注册时钟:clk_provider寻找时钟:从DTS树中分析节点,of_parse_phandle_with_args函数,再到clkprovider中找到匹配的时钟,也可以通过时钟名字匹配。2、watch-do原创 2014-06-27 18:13:50 · 8743 阅读 · 0 评论 -
dts 内核展开平台设备
The trick is that the kernel starts at the root of the tree and looks332 for nodes that have a 'compatible' property. First, it is generally333 assumed that any node with a 'compatible' property原创 2014-06-28 10:26:57 · 1234 阅读 · 0 评论 -
linux ir驱动框架分析
IR driver分析1、相关代码(1)相关代码位置/drivers/media/rc(2)kconfig文件分析根据kconfig文件语法说迷,可以分析得到目录代码里config RC_CORE 是被核心依赖的IfRC_DECODERS对应框架驱动config LIRC 是lirc驱动config IR_LIRC_CODEC是LIRC解原创 2014-06-27 17:51:21 · 7181 阅读 · 1 评论 -
linux watchdog 分析
WatchDog接口适配1、sp805相关驱动接口(1)sp805 支持的接口===具体芯片支持的接口static const structwatchdog_ops wdt_ops = {.owner =THIS_MODULE, .start =wdt_enable, .stop =wdt_disable, .ping = wdt_ping, .se原创 2014-06-27 16:30:23 · 4070 阅读 · 0 评论