主题中讨论的其他器件:TPS65217
工具/软件:Linux
你(们)好
我正在基于 Beagle Bone Black 的定制板上运行。
我已升级到最新的 SDK (4.1.0.6) 、并正在尝试使用 tps65217电源按钮
我根据文档输入了一个器件节点:
&TPS{ tps65217-pwrbutton{ compatible ="ti、tps65217-pwrbutton"; interrupts =<2>; }; };
似乎创建了几个节点:
/sys/devices/platform/ocp/44e0b000.i2c/i2c-0/0-0024/tps65217-pwrbutton /sys/firmware/devicetree/base/ocp/i2c@44e0b000/TPS@24/tps65217-pwrbutton /sys/bus/platform/devices/tps65217-pwrbutton
但/proc/interrupts 中没有提到任何内容
root@elle-board:~# cat /proc/interrupts CPU0 16:115418 INTC 68 Level gp_timer 20:563 INTC 12 Level 49000000.EDMA_ccint 22:0 INTC 14 Level 49000000.EDMA_cerrint 26:0 INTC 96 Level 44e07000。GPIO 59:44 INTC 98 Level 4804c000.76.7617 旋转边缘 编码器:4480 c76.768-14:GPIO 16旋转边缘编码器480-7618:480-7680 16 4804c000.GPIO 18 Edge button0 92:0 intc 32 level 481ac000.gpio 125:0 intc 62 level 481ae000.gpio 140:0 481ae000.gpio 14 Edge 48060000.mmc cd 158:2969 intc 72 level 44e09000.serial 162:206 intc 70 level 44e0b000.i163 :0 inc 64 level 165: 0 inc 64 level 480c 71 11 INTC 28 Level mmc1 176:207506 INTC 36 Level tilcdc 182:1974 INTC 18 Level musb-hdrc.0 183:1779 INTC 17 level 47400000。dma-controller Err:0
/dev/input 中也没有创建事件节点
我还尝试将 i2c 定义中的节点定义为:
&i2c0{ status ="确定"; 时钟频率=<400000>; TPS:TPS@24{ reg =<0x24>; status="确定"; 背光{ status="确定"; isEL =<2>;// 1 - isET1、2 isET2 */ fdim =<100>;// twr65217_BL = 默认 值;按钮= 100pwrmT;/pwrmT = 50 pwrbt;/pwrmT = 50 pwrbt;/b<b<brightsb</b</b</b> 中断=<2>; }; }; };
这没什么区别
我认为我遗漏了一些明显的东西;任何线索都将被感激地接受。
感谢你的帮助。
此致、
Richard