在 soc 节点内,我有一个带有 simple-mdf 设备的看门狗节点。
soc {
#address-cells = <2>;
#size-cells = <2>;
compatible = "simple-bus";
ranges;
toprgu: watchdog@10007000 {
compatible = "mediatek,mt6589-wdt", "syscon", "simple-mfd";
reg = <0 0x10017000 0 0x1000>;
...
reboot-mode {
compatible = "syscon-reboot-mode";
};
};
};
我的问题是,当探测时我得到以下结果
[ 0.105509] bus: 'platform': add driver simple-pm-bus
[ 0.105555] bus: 'platform': __driver_probe_device: matched device soc with driver simple-pm-bus
[ 0.105574] bus: 'platform': really_probe: probing driver simple-pm-bus with device soc
[ 0.105630] driver: 'simple-pm-bus': driver_bound: bound to device 'soc'
[ 0.105811] bus: 'platform': really_probe: bound device soc to driver simple-pm-bus
[ 0.105832] bus: 'platform': __driver_probe_device: matched device 10007000.watchdog with driver simple-pm-bus
[ 0.105846] bus: 'platform': really_probe: probing driver simple-pm-bus with device 10007000.watchdog
[ 0.105891] simple-pm-bus: probe of 10007000.watchdog rejects match -19
simple-pm-bus 驱动程序似乎拒绝compatible = "foo", "syscon", "simple-mfd"
我的树中的设备。这mt6589-wdt(foo) 探测正常,甚至报告
mtk-wdt 10007000.watchdog: Watchdog enabled (timeout=10 sec, nowayout=0)
让我困惑的是为什么 simple-pm-bus 拒绝该设备?我缺少什么特殊属性吗?