summaryrefslogtreecommitdiffstats
path: root/sys/arm/allwinner/aw_usbphy.c
Commit message (Collapse)AuthorAgeFilesLines
* MFC r302585 (jmcneill):manu2016-12-091-3/+4
| | | | | Build fix for arm64. The phy interface uses intptr_t for the "phy" parameter, not int.
* MFC r302523,r302528:mmel2016-11-051-3/+3
| | | | | | | | | | | r302523: Add clk_get_by_ofw_node_index, which is like clk_get_by_ofw_index but operates on a specific OF node instead of the pass in device's OF node. r302528: EXTRES: Add OF node as argument to all <foo>_get_by_ofw_<bar>() functions. In some cases, the driver must handle given properties located in specific OF subnode. Instead of creating duplicate set of function, add 'node' as argument to existing functions, defaulting it to device OF node.
* Enable USB PHY regulators when requested by the host controller driver.jmcneill2016-05-261-13/+101
| | | | | | Previously the USB PHY driver would enable all regulators at attach time. This prevented boards from booting when powered by the USB OTG port, as it didn't take VBUS presence into consideration.
* Add support for Allwinner H3 SoC.manu2016-05-131-0/+1
| | | | | | | | | For now clocks, GPIO, Pinmux, UART, MMC, EHCI is supported. Tested on OrangePi-One Reviewed by: jmcneill Approved by: cognet (mentor) Differential Revision: https://reviews.freebsd.org/D6311
* Add support for the Allwinner A83T (sun8iw6p1) SoC.jmcneill2016-05-051-0/+1
| | | | | | | | Clocks, GPIO, UART, SD card / eMMC, USB, watchdog, and ethernet are supported. Note that the A83T contains two clusters of four Cortex-A7 CPUs, and only CPUs in first cluster are started for now. Tested on a Sinovoip Banana Pi BPI-M3.
* Convert Allwinner port to extres clk/hwreset/regulator APIs.jmcneill2016-04-061-75/+32
| | | | | | Reviewed by: andrew, gonzo, Emmanuel Vadot <manu@bidouilliste.com> Approved by: gonzo (mentor) Differential Revision: https://reviews.freebsd.org/D5752
* Add support for Allwinner A31/A31s EHCI controller and USB PHY.jmcneill2016-03-011-0/+192
Reviewed by: andrew, Emmanuel Vadot <manu@bidouilliste.com> Approved by: gonzo (mentor) Differential Revision: https://reviews.freebsd.org/D5467
OpenPOWER on IntegriCloud