freebsd-dev/sys/arm/allwinner
Kyle Evans 9f3b313382 aw_usbphy: Move later to SUPPORTDEV pass
vbus-supply properties may be specified for each PHY. These properties
reference a regulator that we must turn on/off as we turn the PHY on/off.
However, if the usbphy comes up before the regulator in question (as is the
case with GPIO-controlled regulators), then we will fail to grab a handle to
the regulator and control it as the PHY power state changes.

Fix it by just attaching the usbphy driver later. We don't really need it at
RESOURCE, we just need it to be before DEFAULT when ehci/ohci attach. In
particular, this fixes the USB NIC on a board that we don't yet supported-
without this, it will not power on and if_ure cannot attach.

Tested on:	various boards [manu]
Tested on:	OrangePi R1 [Rap2 (irc)]
Reported by:	Rap2 (irc, "Cannot find USB NIC")
2018-03-06 22:45:45 +00:00
..
a10 Change the remaining files using my personnal email address to my freebsd one 2017-12-25 22:09:25 +00:00
a13 Allwinner A13: Add clkng support 2017-11-08 21:24:06 +00:00
a20 sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
a31 allwinner: A31: Add ccung driver 2017-02-28 15:44:21 +00:00
a33 Allwinner: Add A33 support 2017-01-04 03:35:39 +00:00
a64 Fix building arm64 kernel after r310117 2016-12-15 17:26:16 +00:00
a83t allwinner/a83t_padconf: Rename "emac" function to "gmac" as per upstream DTS 2018-01-12 20:35:27 +00:00
clk Do pass removing some write-only variables from the kernel. 2017-12-25 04:48:39 +00:00
clkng Allwinner H5: Enhance support 2017-12-05 21:21:23 +00:00
h3 Allwinner H5: Enhance support 2017-12-05 21:21:23 +00:00
a10_ahci.c Define a single instance of ahci_devclass and reference it from all the 2017-10-02 02:58:28 +00:00
a10_codec.c Add support for Allwinner H3 audio codec. 2016-11-03 23:22:04 +00:00
a10_dmac.c Register the device's xref handle at attach time. 2016-11-02 23:53:47 +00:00
a10_dmac.h Add support for the Allwinner DMA controller. This will be used by the at 2016-02-15 19:56:35 +00:00
a10_ehci.c Convert extres/phy to kobj model. 2018-01-20 17:02:17 +00:00
a10_fb.c EXTRES: Add OF node as argument to all <foo>_get_by_ofw_<bar>() functions. 2016-07-10 18:28:15 +00:00
a10_hdmi.c Enable the SCL and SDA i2c line for DDC. 2016-11-24 01:24:26 +00:00
a10_hdmiaudio.c Add Allwinner A20 HDMI support. 2016-02-25 20:17:18 +00:00
a10_sramc.c sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
a10_sramc.h sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
a10_timer.c Rename timer.c to a10_timer.c 2017-02-07 19:28:32 +00:00
a31_dmac.c Add support for the integrated DMA controller found in the Allwinner A31, 2016-11-02 23:58:10 +00:00
allwinner_pinctrl.h Change the remaining files using my personnal email address to my freebsd one 2017-12-25 22:09:25 +00:00
aw_ccu.c arm64: Add Allwinner H5 SoC 2017-08-02 20:19:19 +00:00
aw_cir.c Use hwreset_get_by_ofw_idx() function instead, since there is 2017-04-19 05:59:00 +00:00
aw_gpio.c Allwinner: gpio: Rename driver to aw_gpio and add man page for it 2017-12-26 12:11:04 +00:00
aw_if_dwc.c Rename allwinner_machdep.{c.h} to aw_machdep.{c.h} as all allwinner source 2016-08-17 21:44:02 +00:00
aw_machdep.c Allwinner: Fix compilation 2017-10-19 21:34:53 +00:00
aw_machdep.h Allwinner: Add A33 support 2017-01-04 03:35:39 +00:00
aw_mmc.c aw_mmc: Regulator improvement 2018-03-03 18:30:31 +00:00
aw_mmc.h allwinner: mmc: Multiple improvement 2018-01-14 22:05:29 +00:00
aw_mp.c Change the remaining files using my personnal email address to my freebsd one 2017-12-25 22:09:25 +00:00
aw_mp.h Change the remaining files using my personnal email address to my freebsd one 2017-12-25 22:09:25 +00:00
aw_nmi.c aw_nmi: add support for a31/a83t's r_intc 2017-11-19 03:14:10 +00:00
aw_reset.c Attach hwreset resources at the same time as clock resources. 2016-04-08 23:07:16 +00:00
aw_rsb.c allwinner: Add support for P2WI in RSB driver 2016-10-24 20:33:42 +00:00
aw_rtc.c Remove dependency on allwinner_soc_family() as it is not available on arm64. 2016-08-25 10:14:56 +00:00
aw_sid.c aw_sid(4): Add support for Allwinner H3 2018-01-07 04:59:28 +00:00
aw_sid.h Add support for the SID (Security ID Module) on Allwinner A10 and A20. 2016-07-20 11:23:06 +00:00
aw_syscon.c aw_syscon(4): Move to BUS_PASS_SUPPORTDEV 2018-03-03 18:40:46 +00:00
aw_thermal.c On H3, initialize alarm and shutdown trip points and do temperature 2016-11-19 14:56:22 +00:00
aw_ts.c Stop including fdt_common.h from the arm code when it's unneeded. 2016-11-14 11:41:22 +00:00
aw_usbphy.c aw_usbphy: Move later to SUPPORTDEV pass 2018-03-06 22:45:45 +00:00
aw_wdog.c Change the remaining files using my personnal email address to my freebsd one 2017-12-25 22:09:25 +00:00
aw_wdog.h Add support for the Allwinner A31 watchdog to the existing A10 watchdog 2016-02-25 16:50:36 +00:00
axp81x.c axp81x: Add support for AXP803 2018-03-03 18:28:19 +00:00
axp209.c Switch to iicdev_readfrom/writeto() to do xfers with proper bus ownership. 2017-08-03 18:43:54 +00:00
axp209reg.h Add support for AXP221 Power Management Unit. 2016-11-04 20:02:52 +00:00
files.allwinner Introduce aw_syscon(4) for earlier attachment 2018-01-13 18:46:31 +00:00
files.allwinner_up Rename timer.c to a10_timer.c 2017-02-07 19:28:32 +00:00
if_awg.c Revert r328964: if_awg: Skip emac reset if configured for internal PHY 2018-02-28 20:51:21 +00:00
if_awgreg.h Fix if_awg tx dma status reg offsets. 2017-09-30 10:34:07 +00:00
if_emac.c sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
if_emacreg.h sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
std.allwinner Make kernel option KERNVIRTADDR optional, remove it from std.<platform> 2017-12-30 00:20:49 +00:00
std.allwinner_up Make kernel option KERNVIRTADDR optional, remove it from std.<platform> 2017-12-30 00:20:49 +00:00
sunxi_dma_if.m Add support for the Allwinner DMA controller. This will be used by the at 2016-02-15 19:56:35 +00:00