summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* MFC 271140:ian2014-10-2675-10796/+0
| | | | | | | Delete old arm dts tree. This was created by cherry picking from a full vendor tree. This worked great until it was time to update, but now it is time to update. Hit the rest button by removing this branch and re-adding it by a full copy of whatever is in the vendor tree.
* MFC r262606, r262607, r262608, r262609, r262610, r269528, r269609, r271133:ian2014-10-26173-2/+10727
| | | | | | | | - Move imported dts source from sys/contrib/dts/ to sys/gnu/dts. - Fix some missing properties. - Import dts-related header files. - Update everything to latest vendor branch representing 3.17-rc2 level of Linux DTS API.
* MFC r272528: Make kevent(2) periodic timer events more reliably periodic.ian2014-10-262-5/+9
|
* MFC r273653:gjb2014-10-261-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix a few issues with creating VOLUME_LABEL for the installation ISOs: - TYPE, BRANCH, and REVISION are only defined if OSRELEASE is not defined, so in situations where one might set OSRELEASE for an in-house ISO build, VOLUME_LABEL would be empty. - makefs(8) limits the volume label to 32 characters, which for the powerpc64 case, OSRELEASE expands to FreeBSD-11.0-CURRENT-powerpc-powerpc64. Even with removing the prefixing 'FreeBSD-', the string is 30 characters long, leaving zero room for suffixing the type of ISO media (BO for bootonly, CD for cdrom, and DVD for dvdrom). Resolve these by defining VOLUME_LABEL when defining OSRELEASE if unset. If OSRELEASE is defined by the builder, use the OSRELEASE from that definition as the VOLUME_LABEL. In addition, for cases where both TARGET and TARGET_ARCH are used for the VOLUME_LABEL, use TARGET_ARCH if it differs from TARGET. There are probably a few sharp edges here yet, but these problems are going to affect the powerpc/powerpc64 builds for 10.1-RELEASE, so the immediate concern is fixing the underlying problem at hand quickly, and less so about the elegance of the fix. Insta-MFC ok: re (kib) Sponsored by: The FreeBSD Foundation
* MFC r273590: Accept documented compatible string for PL310 cache controller/ian2014-10-261-2/+7
|
* MFC r273561:ian2014-10-261-1/+35
| | | | | Install a temporary workaround to avoid problems in fdt data with linux's workaround for an imx6 chip erratum by using gpio1_6 as an interrupt.
* MFC r273281:rpaulo2014-10-261-1/+5
| | | | Style changes as pointed out by stas@.
* MFC r273353, r273514:ian2014-10-261-1/+26
| | | | | | | Attach the imx6 CCM driver during BUS_PASS_CPU. Unconditionally enable the clocks for all imx6 devices that we have drivers for, or that are required to run the chip (such as busses).
* MFC r273352: Ask for the fastest available clock for the GTP timecounter.ian2014-10-261-1/+1
|
* MFC r273298:ian2014-10-261-3/+6
| | | | | | The U-Boot README says fdt_addr_r is the right env var for fdt data loaded into ram, but vendors also use fdtaddr and fdt_addr. Check the recommended variable first and fall back to the others.
* MFC r273283:ian2014-10-261-7/+38
| | | | | | | Attach this driver during BUS_PASS_BUS and move the cpu init code to a bus_new_pass() handler so it doesn't happen until BUS_PASS_CPU. This allows the anatop driver to outbid the generic simplebus driver (which the FDT data describes as compatible).
* MFC r273282: Fail to probe on simplebus nodes that lack a "ranges" property.ian2014-10-261-1/+7
|
* MFC r272334, r273004:ian2014-10-261-33/+115
| | | | | | | | Return the actual baud rate programmed in the hardware rather than 115200. This allows the "3wire" entry in /etc/ttys (with no speed specified) to work. Use the FIFOs in the imx5/imx6 uart hardware instead of interrupting on each byte sent or received.
* MFC r272333: Honor exclusion flags when building the memory lists.ian2014-10-261-0/+6
|
* MFC r272109, r272181:ian2014-10-269-149/+74
| | | | | | | | | Replace multiple nearly-identical copies of code to walk through an FDT node's interrupts=<...> property creating resource list entries with a single common implementation. This change makes ofw_bus_intr_to_rl() the one true copy of that code and removes the copies of it from other places. This also adds handling of the interrupts-extended property.
* MFC r271907: Add a man page for the cgem(4) driver.ian2014-10-262-2/+301
|
* MFC r271906:ian2014-10-261-106/+183
| | | | Make the ARM MPCore Timer driver work with published standard FDT bindings.
* MFC r271595, r271601, r271607, r271630:ian2014-10-264-3/+79
| | | | | | | | | | | | | | | Add compat strings for all the flavors of GIC this driver should support. Also allow the driver to attach to ofwbus as well as simplebus, some FDT data puts the root interrupt controller on the root bus. Add a common routine for parsing FDT data describing an ARM GIC interrupt. Use gic_decode_fdt() rather than a local routine to parse fdt interrupt properties. Move fdt_pic_table and fdt_fixup_table into imx6_machdep.c, which means imx6 doesn't need imx_common.c anymore. The private peripheral interrupts start at offset 16, not 0. Also, use names rather than inline mystery constants for these offsets.
* MFC r271594:ian2014-10-261-3/+3
| | | | Fix an undefined variable that was accidentally not causing an error.
* MFC r271550, r271591:ian2014-10-2611-2036/+291
| | | | | Replace the imx5 and imx6 iomux drivers with a single common driver that uses the new fdt_pinctrl interface.
* MFC 271546:ian2014-10-264-2/+260
| | | | | Create an interface and support routines for drivers that handle IO pin multiplexing and configuration based on FDT data.
* MFC r271535:ian2014-10-261-2/+2
| | | | Make inclusion of fdt clock support conditional on fdt_clock, not just fdt.
* MFC r271310:ian2014-10-261-5/+5
| | | | Rename new to newval in inline asm code, to avoid clashes with C++ new.
* MFC r271285:ian2014-10-262-0/+95
| | | | | | Add a 'ubenv import' command to import environment variables from the u-boot env into the loader(8) env (which also gets them into the kernel env).
* MFC r266878, r266879: Add support for snprintf() to libstand.ian2014-10-262-5/+55
|
* MFC r271097, r271100, r271101, r271102, r271124:ian2014-10-2616-95/+1045
| | | | | | | | - Add a basic iomux driver for imx6. - Implement the same public interface in imx51 and imx6 iomux - The iomux driver is no longer optional, remove it from kernel configs. - Implement the imx_iomux_get/set_gpr() interface for imx6. - Stop setting the iomux device status to disabled, now that we have a driver.
* MFC r268973, r268977: Rename i.MX I2C driver file, enable it on imx6.ian2014-10-267-9/+36
|
* MFC r268834, r268835:ian2014-10-269-57/+157
| | | | | | | | o Enable GPIO device driver for i.MX6. It was originally written for i.MX5 and compatible with newer chip. o Extend device tree information o style(9) fixes o Rename gpio driver file.
* MFC r271057: Create a /boot/dtb directory to house DTB blobs.ian2014-10-262-1/+15
|
* MFC r271055, r271084, r271094:ian2014-10-265-0/+92
| | | | | | | | | | | | | Add a function to get the frequency of the AHB bus. Another stopgap function until we have full clock support for imx6. The imx5x and imx6 chips have an onboard IOMUX device which also contains a few "general purpose registers" whose values control chip behavior in ways that have nothing to do with IO pin mux control. Define a simple API that other soc-specific code can use to read and write the registers, and provide the imx51 implementation of them. Fix a typo.
* MFC r271054:ian2014-10-261-0/+5
| | | | When built with FDT support, add /boot/dtb to the list of search directories.
* MFC r270957, r270959:ian2014-10-264-0/+299
| | | | | Create an interface for drivers to enable or disable their clocks as listed in the clocks=<...> properties of their FDT data.
* MFC r270955,r270956: make the imx6 octop and anatop drivers early attachers.ian2014-10-262-6/+21
|
* MFC r270953, r270958, r270960, r271190, r271199, r271202:ian2014-10-262-4/+176
| | | | | | | | | | | | Create a mechanism for looking up a device_t associated with an ofw/fdt xref handle, and for registering that association. Also use the same data for faster translations between node and xref handles. Add OF_xref_from_device() so that there's no need to have an intermediate call to ofw_bus_get_node() to lookup info that's already in the xreflist. When registering an association between a device and an xref phandle, create an entry in the xref list if one doesn't already exist for the given handle.
* MFC r270945:ian2014-10-2617-21/+36
| | | | | Rename OF_xref_phandle() to OF_node_from_xref() and add a new function that provides the inverse translation, OF_xref_from_node().
* MFC r270025:ian2014-10-263-7/+547
| | | | Implement the FDT static pinctl/pinmux spec for Atmel.
* MFC r257200, r259121, r261410, r265853:ian2014-10-261-0/+146
| | | | | | | | | | | | - Remove #include <machine/frame.h>. - Add gpio parse routines according to sys/boot/fdt/dts/bindings-gpio.txt. - Follow r261352 by updating all drivers which are children of simplebus to check the status property in their probe routines. - Rename platform_gpio_init to be SoC specific, and make it static as it's only called from this file. This is mostly catching up on some old MFCs that were done before this file existed in the 10 branch.
* MFC r268633, r271046:ian2014-10-257-110/+683
| | | | | | | | | | | | | | | | | | | | | Fixes and enhancements for the if_cgem driver... - miibus fixes as suggested by Yonghyeon Pyun. - enable VLAN MTU support. - fix a few WITNESS complaints in cgem_attach(). - have cgem_attach() properly init the ifnet struct before calling mii_attach() to fix panic when using e1000phy. - fix ethernet address changing. - fix transmit queue overflow handling. - tweak receive queue handling to reduce receive overflows. - bring out MAC statistic counters to sysctls. - add e1000phy to config file. - implement receive hang work-around described in reference guide. - change device name from if_cgem to cgem to be consistent with other interfaces. Fix the Zedboard/Zynq ethernet driver to handle media speed changes so that it can connect to switches at speeds other than 1gb.
* MFC r273448:kevlo2014-10-251-0/+6
| | | | | | | | Fix the kernel panic in hostap mode. rvp->beacon_mbuf was NULL in run_update_beacon(). PR: 189405 Submitted by: Gabor Simon <gabor.simon75 at gmail.com>
* MFC r273261:rpaulo2014-10-251-2/+0
| | | | Remove an unused mutex.
* MFC r273258:rpaulo2014-10-252-5/+9
| | | | Make the ti_mbox and ti_pruss drivers optional.
* MFC r273257:rpaulo2014-10-254-0/+357
| | | | | | | | | | | | | | Add a driver for the TI watchdog. The TI watchdog timer is present on BeagleBone's. Since 2014, U-Boot has been booting the BeagleBone with the watchdog enabled. We need to disable it on boot to avoid a spurious reset. The timer isn't exactly precise, but it will do as a watchdog. This is also a reflection of the watchdog(9) API. In the future, we could handle interrupts, but the watchdog(9) API needs to be a bit smarter before that can happen.
* MFC r273256:rpaulo2014-10-251-1/+1
| | | | AM335X FDT: use the omap3-wdt string for compatibility with Linux.
* MFC r273248:rpaulo2014-10-251-0/+7
| | | | AM335x FDT: add an entry for the watchdog.
* MFC r273247:rpaulo2014-10-252-4/+4
| | | | | | Fix the watchdog/watchdog man pages. The default timeout is 128 seconds.
* MFC r258902:markj2014-10-241-8/+0
| | | | | The uaddr, ufunc, umod and usym functions all seem to work as expected on FreeBSD, so stop hiding them behind a "#if defined(sun)".
* MFC r273577:delphij2014-10-244-5/+5
| | | | | | | Return BUS_PROBE_DEFAULT instead of BUS_PROBE_VENDOR or 0 for in-tree driver. This change was verified by Microsoft. Instant MFC approved by: re (kib)
* MFC r273356:neel2014-10-241-2/+12
| | | | | Fix a race in pmap_emulate_accessed_dirty() that could trigger a EPT misconfiguration VM-exit.
* MFC r272763:markj2014-10-231-2/+2
| | | | | | | If we fail to send a signal after rotation, print the pidfile from which the corresponding PID was obtained. PR: 194143
* vt(4): Refuse to load a font if hw.vga.textmode is selecteddumbbell2014-10-231-0/+3
| | | | | | | | Before, the font was loaded and the window size recalculated, giving an unusable terminal, even if the actual font didn't change. Reported by: beeessdee@ruggedinbox.com MFC of: r273330
OpenPOWER on IntegriCloud