diff options
author | br <br@FreeBSD.org> | 2014-08-01 06:20:25 +0000 |
---|---|---|
committer | br <br@FreeBSD.org> | 2014-08-01 06:20:25 +0000 |
commit | f484e00cba11cc9a0349663251cca555828fdfe7 (patch) | |
tree | 2690befd8438972b435cc7a807b51e807001efe9 /sys/arm/samsung/exynos/exynos5_pmu.h | |
parent | 0fddfcfca33730558212923fe091b556985ac271 (diff) | |
download | FreeBSD-src-f484e00cba11cc9a0349663251cca555828fdfe7.zip FreeBSD-src-f484e00cba11cc9a0349663251cca555828fdfe7.tar.gz |
Add support for Chromebook2 -- next-generation 8-core
(4 in operation), 4GB ram (3.5 usable) ARM machine.
Support covers device drivers for:
- Serial Peripheral Interface (SPI)
- Chrome Embedded Controller (EC) - SPI-based version
- XHCI and USB 3.0 dual-role device PHY
Also:
- Add support for Exynos5420 in Pad module
- Move power-related functions to separate driver --
Power Management Unit (PMU)
- Enable XHCI for Chromebook1
Special thanks to grehan@ for hardware, and to
hselasky@ for r269139.
Diffstat (limited to 'sys/arm/samsung/exynos/exynos5_pmu.h')
-rw-r--r-- | sys/arm/samsung/exynos/exynos5_pmu.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/sys/arm/samsung/exynos/exynos5_pmu.h b/sys/arm/samsung/exynos/exynos5_pmu.h new file mode 100644 index 0000000..73c6b85 --- /dev/null +++ b/sys/arm/samsung/exynos/exynos5_pmu.h @@ -0,0 +1,30 @@ +/*- + * Copyright (c) 2014 Ruslan Bukin <br@bsdpad.com> + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * $FreeBSD$ + */ + +int usb2_phy_power_on(void); +int usbdrd_phy_power_on(void); |