Summary: | [PATCH] am335x pmic option ti,pmic-shutdown-controller | ||||||
---|---|---|---|---|---|---|---|
Product: | Base System | Reporter: | Oskar Holmlund <oskar.holmlund> | ||||
Component: | arm | Assignee: | Emmanuel Vadot <manu> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | manu, oskar.holmlund | ||||
Priority: | --- | ||||||
Version: | 12.1-STABLE | ||||||
Hardware: | arm | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Oskar Holmlund
2020-03-29 10:19:23 UTC
A commit references this bug: Author: manu Date: Sat Apr 11 15:52:08 UTC 2020 New revision: 359806 URL: https://svnweb.freebsd.org/changeset/base/359806 Log: 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 Changes: head/sys/arm/ti/am335x/am335x_pmic.c A commit references this bug: Author: manu Date: Fri Jun 19 18:02:30 UTC 2020 New revision: 362398 URL: https://svnweb.freebsd.org/changeset/base/362398 Log: MFC r359806: 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> Changes: _U stable/12/ stable/12/sys/arm/ti/am335x/am335x_pmic.c Committed Apr 11 15:52:08 UTC 2020 as r359806. ^Triage: assign to committer that resolved. |