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.

TPS65217: Reading PMIC status register in Linux

Part Number: TPS65217

Hi, I want to use BBB with AC power and backup battery, I also want to know when AC power is removed and BBB is supplying from battery. In this case an interrupt is issued on pin PMIC_INT and then BBB reads status register. I need to detect when interrupt is issued on this pin and then read the status register. Where can I find source code for this part in linux kernel!?