This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] BQ25895:驱动器可以#39;t 探测设备、返回-22

Guru**** 1555210 points
Other Parts Discussed in Thread: BQ25890, BQ25895
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/power-management-group/power-management/f/power-management-forum/1227304/bq25895-driver-can-t-probe-the-device-returns--22

器件型号:BQ25895
主题中讨论的其他器件: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>;
                        };
                };
        };
};

我在这里遗漏了什么吗?