This is where you need to learn some GIT skills. Clone the kernel source and 
then in the kernel directory, issue this command:

git grep tps65217

This will tell you all the files that contain references to TPS65217. 

Regards,
John




> On Sep 23, 2017, at 1:28 AM, Ahmad Fatehi <[email protected]> wrote:
> 
> 
> Hi, I want to use 5V adaptor and battery for powering my beaglebone black, I 
> want to detect when 5V adaptor is missed and the board is supplying from 
> battery, for this I should read the INT and STATUS register of TPS65217 
> <http://www.ti.com/product/TPS65217> if an interrupt is issued on PMIC_INT 
> pin. So probably I must access the linux kernel for TPS65217 driver and 
> modify it?! From where I can access to this kernel? or how can I detect 
> interrupt and read STATUS register?
> 
> -- 
> For more options, visit http://beagleboard.org/discuss 
> <http://beagleboard.org/discuss>
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/beagleboard/059aebf0-c643-4f37-9ffe-9c6c13927881%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/beagleboard/059aebf0-c643-4f37-9ffe-9c6c13927881%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/95598A85-00BC-4893-8840-1FCEF6477AE1%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to