K 10 svn:author V 6 andrew K 8 svn:date V 27 2016-03-05T13:17:53.912766Z K 7 svn:log V 496 Add support to enable/disable both the EHCI and OHCI Allwinner clocks. This adds a lock to ensure only a single device is accessing the hardware. A reference count is added to only enable when we start to use the clock, and to disable after we have finished needing the clock. This was extracted from a larger review to add OHCI support to the Allwinner SoCs. Submitted by: Emmanuel Vadot Reviewed by: jmcneill X-Differential Revision: https://reviews.freebsd.org/D5481 END