On Mon, Jun 23, 2014 at 4:24 PM, Colin Bester <[email protected]> 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

Any reason you just can't call "sudo halt"?  As that will shutdown the
board completely including having the pmic shut things down.

Regards,

-- 
Robert Nelson
http://www.rcn-ee.com/

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to