On Monday, June 23, 2014 at 11:24:30 PM UTC+2, Colin Bester wrote:
>
> I am looking to fully power down a battery backed beaglebone black running 
> debian distro.
>
> Looking through the TRM and TPS65217 document it appears that I can power 
> device OFF (as opposed to SLEEP) by setting bit 7 in TPS65217 Status 
> register and then causing PWE_EN pin to go low.
>
> Only way (under software control) that I can see to do this is via setting 
> ALARM2 in RTC registers and setting POWER_ENABLE_EN bit (also referred to 
> in thread 
> https://groups.google.com/forum/#!searchin/beagleboard/PMIC_POWER_EN/beagleboard/K7DuusrJ6G4/ln4so6f0Vj4J
> )
>
> Makes sense, i2c control of TPS65217 is easy but I don't see how to write 
> to RTC registers from user space.
>
> I'd appreciate any pointers - is it possible using device tree overlay, as 
> I see promising looking end points in 
> /sys/devices/ocp.3/44e3e000.rtc/power
>
> Thanks
> Colin
>

Hi, I want to read TPS65217 Status register after an interrupt is issued on 
PMIC_INT pin in beaglebone black in order to find when BBB has lost dc 
power and powers from battery. How can I read registers via i2c?! Which 
file should I modify in debian files!?! 

-- 
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/63adcde4-da22-445b-9b7f-23800cfc2ccb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to