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 omap4_prcm: Delay the frequencies read check 2018-08-30 14:32:47 +00:00
twl Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
usb arm: Fix duplicate ehci DRIVER_MODULE 2018-04-27 21:05:58 +00:00
aintc.c sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
files.ti arm: ti: Add a driver for ti,sysc bus 2019-07-22 21:55:33 +00:00
std.ti Tag all armv7 kernels as such in their machine config line. 2017-10-05 23:01:50 +00:00
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 Use the cp15 functions to read cp15 registers rather than using assembly 2018-07-28 17:21:34 +00:00
ti_cpuid.h sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
ti_edma3.c sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
ti_edma3.h sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
ti_gpio_if.m
ti_gpio.c sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
ti_gpio.h Start to remove the old pre-INTRNG code from the arm platforms. These have 2016-11-08 12:15:57 +00:00
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 sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
ti_machdep.c sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
ti_mbox.c sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
ti_mbox.h sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
ti_pinmux.c Align OF_getencprop_alloc API with OF_getencprop and OF_getprop_alloc 2018-04-09 22:06:16 +00:00
ti_pinmux.h
ti_prcm.c sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
ti_prcm.h sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
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 sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
ti_scm.c sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
ti_scm.h sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
ti_sdhci.c Update some comments; no functional changes. Some historical old comments 2019-10-16 16:26:35 +00:00
ti_sdma.c sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
ti_sdma.h sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
ti_sdmareg.h sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
ti_smc.h sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
ti_smc.S
ti_spi.c Support the SPI mode and bus clock frequency parameters set by the devices 2018-12-31 16:01:22 +00:00
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 sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00