freebsd-dev/sys/arm/ti
Ian Lepore d436d6e96f Revert r351218 (by manu). While the changes in r351218 appear to be (and
should be) correct, they lead to the eMMC on a Beaglebone failing to work
in some situations.

The TI sdhci hardware is kind of strange.  The first device inherently
supports 1.8v and 3.3v and the abililty to switch between them, and the
other two devices must be set to 1.8v in the sdhci power control register to
operate correctly, but doing so actually makes them run at 3.3v (unless an
external level-shifter is present in the signal path).  Even the 1.8v on the
first device may actually be 3.3v (or any other value), depending on what
voltage is fed to the VDDS1-VDDS7 power supply pins on the am335x chip.

Another strange quirk is that the convention for am335x sdhci drivers in
linux and uboot and the am335x boot ROM seems to be to set the voltage in
the sdhci capabilities register to 3.0v even though the actual voltage is
3.3v.  Why this is done is a complete mystery to me, but it seems to be
required for correct operation.

If we had complete modern support for the am335x chip we could get the
actual voltages from the FDT data and the regulator framework.  But our
am335x code currently doesn't have any regulator framework support.
Reverting to the prior code will get the popular Beaglebone boards working
again.

This is part of the fix for PR 241301, but also requires r353651 for a
complete fix.

PR:		241301
Discussed with: manu
2019-10-16 16:19:21 +00:00
..
am335x Include <lock.h>, required to use spinlocks in this code. 2019-09-14 18:20:14 +00:00
cpsw arm: ti: cpsw: Check the new slave node address 2019-07-29 10:42:15 +00:00
omap4 omap4_prcm: Delay the frequencies read check 2018-08-30 14:32:47 +00:00
twl sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +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 Align OF_getencprop_alloc API with OF_getencprop and OF_getprop_alloc 2018-04-09 22:06:16 +00:00
ti_adcreg.h Add evdev support to TI ADC/touchscreen driver 2016-09-11 19:08:21 +00:00
ti_adcvar.h Modularize evdev 2016-10-02 03:20:31 +00:00
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 In detach(), call bus_generic_detach() before deleting the iicbus child. 2019-06-16 16:02:50 +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 Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +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 Revert r351218 (by manu). While the changes in r351218 appear to be (and 2019-10-16 16:19:21 +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 Fix the order of includes so machine/asm.h is first. 2016-11-07 11:56:18 +00:00
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