diff options
author | Emmanuel Vadot <manu@FreeBSD.org> | 2020-04-11 15:52:07 +0000 |
---|---|---|
committer | Emmanuel Vadot <manu@FreeBSD.org> | 2020-04-11 15:52:07 +0000 |
commit | d0c51fc4ac5e4f22a36f8c8e9e69c48400466100 (patch) | |
tree | fbe98e73af07813369a0953d83f265ee1cd58557 /cddl/contrib/opensolaris/cmd | |
parent | 19602a38693a95ebf8995520b6b6f9c9131bfd83 (diff) | |
download | src-d0c51fc4ac5e4f22a36f8c8e9e69c48400466100.tar.gz src-d0c51fc4ac5e4f22a36f8c8e9e69c48400466100.zip |
arm: am335x: Honor pmic option ti,pmic-shutdown-controller
Honor ti,pmic-shutdown-controller option in DTS
Tested on stable r359316 @ Sleep mode on custom hw, Power off on BBB and PB
OFF bit [1] in status register control the pmic behaviour when PWR_EN pin
is pulled low.
On most AM335x hardware [beaglebone *] the desired behaviour are in fact
power off due to some hardware designs - read more in the comments around
pmic in sys/gnu/dts/arm/am335x-bone-common.dtsi
This patch let the device-tree decide with ti,pmic-shutdown-controller[2]
the state of off bit in status register.
[1] 8.6.12 table 12 http://www.ti.com/lit/ds/symlink/tps65217.pdf
[2] Documentation/devicetree/bindings/regulator/tps65217.txt
PR: 245159
Submitted by: Oskar Holmlund <oskar.holmlund@ohdata.se>
MFC after: 2 weeks
Notes
Notes:
svn path=/head/; revision=359806
Diffstat (limited to 'cddl/contrib/opensolaris/cmd')
0 files changed, 0 insertions, 0 deletions