freebsd-dev/sys/arm/ti
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 arm: am335x: Honor pmic option ti,pmic-shutdown-controller 2020-04-11 15:52:07 +00:00
cpsw Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
omap4
twl Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
usb
aintc.c
files.ti arm: ti: Add a driver for ti,sysc bus 2019-07-22 21:55:33 +00:00
std.ti
ti_adc.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
ti_adcreg.h
ti_adcvar.h
ti_cpuid.c
ti_cpuid.h
ti_edma3.c
ti_edma3.h
ti_gpio_if.m
ti_gpio.c
ti_gpio.h
ti_hwmods.c arm: ti: Get the hwmods property either from the node or the parent 2019-07-29 10:40:51 +00:00
ti_hwmods.h
ti_i2c.c Create new wrapper function: bus_delayed_attach_children() 2019-12-13 19:39:33 +00:00
ti_i2c.h
ti_machdep.c
ti_mbox.c
ti_mbox.h
ti_pinmux.c
ti_pinmux.h
ti_prcm.c
ti_prcm.h
ti_pruss.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
ti_pruss.h
ti_scm.c
ti_scm.h
ti_sdhci.c Update some comments; no functional changes. Some historical old comments 2019-10-16 16:26:35 +00:00
ti_sdma.c
ti_sdma.h
ti_sdmareg.h
ti_smc.h
ti_smc.S
ti_spi.c
ti_spireg.h
ti_spivar.h
ti_sysc.c Make the ti_sysc device quiet. It's an internal utility pseudo-device 2019-09-15 01:02:01 +00:00
ti_wdt.c Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
ti_wdt.h
tivar.h