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.

Linux/BQ25898: BQ25988 driver issue

Part Number: BQ25898
Other Parts Discussed in Thread: BQ25890,

Tool/software: Linux

Hi ,

i am trying to port the bq25890 driver for bq25898 battery.

i created the device tree entry as mentioned in readme file

                        battery: bq25890@6b {
                                compatible = "ti,bq25890";
                                reg = <0x6b>;

                                ti,battery-regulation-voltage = <4200000>;
                                ti,charge-current = <1000000>;
                                ti,termination-current = <50000>;
                                ti,precharge-current = <128000>;
                                ti,minimum-sys-voltage = <3600000>;
                                ti,boost-voltage = <5000000>;
                                ti,boost-max-current = <1000000>;

                                ti,use-ilim-pin;
                                ti,thermal-regulation-threshold = <120>;
                        };

the probe is trigger but its failing while acquiring the irq line for interrupt pin by throwing this error:

[ 2703.965000] bq25890-charger 0-006b: Could not probe irq pin : error : -2
[ 2703.980000] bq25890-charger 0-006b: No irq resource found.

could you please help me to find the issue?

for More information: i2detact is working fine for this device.

if possible please share the latest source code for the bq25898 battery driver.

Thanks & Best Regards,

Dharmender Sharma