freebsd-dev/sys/arm/ti/am335x
Emmanuel Vadot d0c51fc4ac 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
2020-04-11 15:52:07 +00:00
..
am335x_dmtimer.c sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
am335x_dmtpps.c Include <lock.h>, required to use spinlocks in this code. 2019-09-14 18:20:14 +00:00
am335x_dmtreg.h
am335x_ecap.c
am335x_ehrpwm.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
am335x_gpio.c
am335x_lcd_syscons.c Kill off dummy kbd drivers 2019-12-20 16:22:14 +00:00
am335x_lcd.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
am335x_lcd.h sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
am335x_musb.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
am335x_pmic.c arm: am335x: Honor pmic option ti,pmic-shutdown-controller 2020-04-11 15:52:07 +00:00
am335x_prcm.c am335x_prcm: Delay the frequencies read check 2018-05-06 14:37:11 +00:00
am335x_pwm.h sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
am335x_pwmss.c
am335x_reg.h sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
am335x_rtc.c
am335x_rtcreg.h
am335x_rtcvar.h
am335x_scm_padconf.c sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
am335x_scm_padconf.h
am335x_scm.c
am335x_scm.h sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
am335x_usbss.c sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
files.am335x The am335x_ehrpwm driver now requires the pwmbus_if interface, add it. 2019-08-10 20:05:15 +00:00
std.am335x Make kernel option KERNVIRTADDR optional, remove it from std.<platform> 2017-12-30 00:20:49 +00:00
tda19988.c Remove use of intr_config_hook from the am335x_pmic and tda19988 drivers. 2019-08-10 20:08:37 +00:00
tps65217x.h