Other Parts Discussed in Thread: BQ25890,
I am trying to set up the BQ25890 linux driver on Armbian, I am using an Orange PI PC Plus with a custom built expansion board that has Zigbee and battery backup using the BQ25895 chip
I have re-compiled the kernel including the driver but i always get this response when i run dmesg | grep bq
[ 2.152205] bq25890-charger: probe of 0-006a failed with error -22
I have set up the device tree overlay like so:
// 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>; }; }; }; };
Am i missing anything here?