freebsd-skq/sys/arm/ti
Luiz Otavio O Souza 2566c5264a Add support to turn off Beaglebone with poweroff(8) or shutdown(8) -p.
To cut off the power we need to start the shutdown sequence by writing
the OFF bit on PMIC.

Once the PMIC is programmed the SoC needs to toggle the PMIC_PWR_ENABLE
pin when it is ready for the PMIC to cut off the power.  This is done by
triggering the ALARM2 interrupt on SoC RTC.

The RTC driver only works in power management mode which means it won't
provide any kind of time keeping functionality.  It only implements a way
to trigger the ALARM2 interrupt when requested.

Differential Revision:	https://reviews.freebsd.org/D1489
Reviewed by:	rpaulo
MFC after:	2 weeks
2015-01-12 03:23:16 +00:00
..
am335x Add support to turn off Beaglebone with poweroff(8) or shutdown(8) -p. 2015-01-12 03:23:16 +00:00
cpsw Fix cpsw_detach() to not panic when called from cpsw_attach(). 2014-10-24 21:08:02 +00:00
omap4 Rename gic_init_secondary to arm_init_secondary_ic to help with the merge 2015-01-11 16:46:43 +00:00
twl Eliminate an unused-var warning by wrapping #if 0 around some tables of 2014-02-23 22:29:59 +00:00
usb Add 64-bit DMA support in the XHCI controller driver. 2015-01-05 20:22:18 +00:00
aintc.c Reduce the diff in the Ti aintc between head and arm_intrng 2014-12-21 16:48:57 +00:00
files.ti Rework the Ti GPIO code to allow for both the OMAP4 and AM335X attachments 2014-10-18 17:51:34 +00:00
std.ti Remove -Wa,-march=armv7a from arm kernel configs, it makes clang 3.5 sad 2015-01-01 23:21:46 +00:00
ti_adc.c Configure the analog input 7 which, on BBB, is connected to the 3V3B rail 2014-06-02 02:00:17 +00:00
ti_adcreg.h Configure the analog input 7 which, on BBB, is connected to the 3V3B rail 2014-06-02 02:00:17 +00:00
ti_adcvar.h Configure the analog input 7 which, on BBB, is connected to the 3V3B rail 2014-06-02 02:00:17 +00:00
ti_common.c opt_global.h is included automatically in the build. No need to 2014-11-18 17:06:56 +00:00
ti_cpuid.c Start removing the omap3 support. In base it was only ever a header and a 2014-10-13 15:35:08 +00:00
ti_cpuid.h Start removing the omap3 support. In base it was only ever a header and a 2014-10-13 15:35:08 +00:00
ti_edma3.c Follow r261352 by updating all drivers which are children of simplebus 2014-02-02 19:17:28 +00:00
ti_edma3.h
ti_gpio_if.m Rework the Ti GPIO code to allow for both the OMAP4 and AM335X attachments 2014-10-18 17:51:34 +00:00
ti_gpio.c Fix a off-by-one bug. 2014-12-27 19:56:04 +00:00
ti_gpio.h Add interrupt support for GPIO pins on OMAP4 and AM335x. 2014-12-25 17:28:26 +00:00
ti_i2c.c Remove unnecessary code and, instead, use the provided iicbus_null_callback 2014-12-27 20:06:16 +00:00
ti_i2c.h Rewrite of ti_i2c based on gonzo's patch, fix the following bugs/problems: 2014-08-20 17:02:37 +00:00
ti_machdep.c Move the Ti SoCs to use the ARM platform. This should help allowing a 2014-05-17 18:35:22 +00:00
ti_mbox.c Follow r261352 by updating all drivers which are children of simplebus 2014-02-02 19:17:28 +00:00
ti_mbox.h
ti_prcm.c Allow the OMAP4 and AM335x prcm drivers to be compiled in the same kernel 2014-05-25 10:49:07 +00:00
ti_prcm.h Add support to turn off Beaglebone with poweroff(8) or shutdown(8) -p. 2015-01-12 03:23:16 +00:00
ti_pruss.c Allow multiple devices to mmap. It's impossible to prevent this with 2014-12-01 19:48:23 +00:00
ti_pruss.h
ti_scm.c Follow r261352 by updating all drivers which are children of simplebus 2014-02-02 19:17:28 +00:00
ti_scm.h Rework the Ti GPIO code to allow for both the OMAP4 and AM335X attachments 2014-10-18 17:51:34 +00:00
ti_sdhci.c Add a new sdhci quirk, SDHCI_QUIRK_WAITFOR_RESET_ASSERTED, to work around 2014-12-20 01:13:13 +00:00
ti_sdma.c Follow r261352 by updating all drivers which are children of simplebus 2014-02-02 19:17:28 +00:00
ti_sdma.h
ti_sdmareg.h
ti_smc.h
ti_smc.S Switch to a .cpu directive. These will work when clang 3.5 is imported 2014-12-05 19:23:51 +00:00
ti_wdt.c Remove a volatile qualifier on return type that is ignored and results in 2014-12-21 21:11:54 +00:00
ti_wdt.h Add a driver for the TI watchdog. 2014-10-18 16:59:21 +00:00
tivar.h