主题中讨论的其他器件:BQ25890、
我正在尝试在 Armbian 上设置 BQ25890 Linux 驱动程序、我使用 Orange PI PC Plus 以及定制的扩展板、该扩展板具有 Zigbee 和使用 BQ25895芯片的备用电池
我已经重新编译了包括驱动程序在内的内核、但当我运行 dmesg | grep bq 时、我总是会得到此响应
[ 2.152205] bq25890-充电器:0-006a 探针失败,错误-22
我已按如下方式设置器件树重叠:
// Overlay for bq25890
// bq25895.overlay.dts
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun8i-h3";
fragment@0 {
target = <&i2c0>;
__overlay__ {
#address-cells = <0x01>;
#size-cells = <0x00>;
status = "okay";
ds1307: ds1307@68 {
compatible = "dallas,ds1307";
reg = <0x68>;
status = "okay";
};
bq25890 {
compatible = "ti,bq25895";
reg = <0x6a>;
//status = "okay";
interrupts = <0 20 2>;
ti,charge-current = <1024000>;
ti,battery-regulation-voltage = <4208000>;
ti,termination-current = <64000>;
ti,precharge-current = <128000>;
ti,minimum-sys-voltage = <3500000>;
ti,boost-voltage = <5126000>;
ti,boost-max-current = <10000000>;
ti,thermal-regulation-threshold = <80>;
};
};
};
};
我在这里遗漏了什么吗?