Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-04-02 | Move imxiomuxc(4) to sys/dev/fdt. | Patrick Wildt | |
2018-04-02 | Move the code that sets the correct SATA phy settings into imxahc(4) | Patrick Wildt | |
by making use of the iomuxc regmap. While there I realized that the naming definitions for the first two bits of the register are wrong. Thus, update the mask to include all lower bits and rename bit 1 to denote "MPLL enable". This should be flipped last to turn it on. ok kettenis@ | |||
2018-04-02 | Move fec(4) to sys/dev/fdt. | Patrick Wildt | |
2018-04-02 | Move imxccm(4) to sys/dev/fdt. | Patrick Wildt | |
2018-04-02 | Have fec(4) make use of the clock framework by implementing the enet | Patrick Wildt | |
ref clock in imxccm(4). We can now also remove the global variable that stored the pointer to the imxccm(4) softc. | |||
2018-04-02 | No need to include imxccmvar.h anymore. | Patrick Wildt | |
2018-04-02 | Have imxahci(4) make use of the clock framework by implementing the sata | Patrick Wildt | |
and sata ref clock in imxccm(4). | |||
2018-04-02 | Have imxehci(4) make use of the clock framework by implementing the phy | Patrick Wildt | |
clock in imxccm(4). ok kettenis@ | |||
2018-04-02 | Pay attention to the "reg-io-width" and "reg-shift" properties and avoid | Mark Kettenis | |
using the "a4x" bus tag for the non-console code in the fdt glue. ok patrick@ | |||
2018-04-02 | Remove I2C iomux descriptions from the time before we set those up | Patrick Wildt | |
using the device tree. | |||
2018-04-01 | Pull out the regmap lookup from the switch. This way we can still | Patrick Wildt | |
enable the PLL even if the (optional) "fsl,anatop" property is not available or if the regmap cannot be found. Suggested by kettenis@ | |||
2018-04-01 | Disable the USB charging detection using a regmap instead of cross- | Patrick Wildt | |
calling imxccm using a special function. ok kettenis@ | |||
2018-04-01 | Enable imxanatop(4) on RAMDISK as well so we can use it to disable | Patrick Wildt | |
the USB charging detect so that we can replace the current code in imxccm(4). | |||
2018-04-01 | Stop using a global softc variable in most functions that are called | Patrick Wildt | |
from the clock framework, and instead always pass the driver's softc as function parameter. | |||
2018-04-01 | Retrieve AHB clock from clock framework. | Patrick Wildt | |
2018-04-01 | Remove unfinished PCIe support from imxccm(4). We can do better than | Patrick Wildt | |
that when we tackle it again. | |||
2018-04-01 | In an attempt to OFW-ify fec(4) it turns out that the MII speed | Patrick Wildt | |
has currently not been set correctly. The phy speed is based on IPG clock, not the Ethernet PLL divisor. Also when we bumped the frequency base from kHz to Hz, we missed to update the divisor as well. Clarify the formula being used to calculate the phy speed and make use of the clock framework. ok kettenis@ | |||
2018-03-31 | Port arm64's network boot efforts to armv7 as well now that there is | Patrick Wildt | |
support for using U-Boot's network layer. Since arm64 and armv7's efiboot(8) have the same heritance the diffs from arm64 simply applied to armv7. | |||
2018-03-31 | Add CVS Ids. | Patrick Wildt | |
2018-03-30 | Move imxanatop(4) to sys/dev/fdt. | Patrick Wildt | |
2018-03-30 | No need to include armv7var.h. | Patrick Wildt | |
2018-03-30 | No need to include armv7var.h and imxccmvar.h. | Patrick Wildt | |
2018-03-30 | Remove unused PCIe code from imxiomuxc(4). I'm sure we can do this | Patrick Wildt | |
better now with the FDT framework when we actually tackle PCIe. | |||
2018-03-30 | Move imxiic(4) to sys/dev/fdt. | Patrick Wildt | |
2018-03-30 | Move imxesdhc(4) to sys/dev/fdt. | Patrick Wildt | |
2018-03-30 | Move imxgpio(4) to sys/dev/fdt so it can be shared between arm64 and armv7. | Patrick Wildt | |
2018-03-30 | Replace MD disable/restore interrupt in the establish and disestablish | Patrick Wildt | |
code in imxgpio(4) with splhigh() and splx() which is MI and should be good enough for the job. Discussed with kettenis@ | |||
2018-03-30 | Cut down imxgpio(4) with a big axe. There were plenty of pieces that | Patrick Wildt | |
were not needed anymore since we switched to the FDT-based GPIO code. | |||
2018-03-30 | Move imxgpc(4) to sys/dev/fdt so it can be shared between arm64 and armv7. | Patrick Wildt | |
ok kettenis@ | |||
2018-03-29 | Move imxuart(4) to sys/dev/fdt so it can be shared between arm64 and armv7. | Patrick Wildt | |
Discussed with kettenis@ | |||
2018-03-20 | Make use of the new common bus space tag in imxuart(4) so it does not | Patrick Wildt | |
need to source armv7 headers and can be used on arm64 as well. Also don't hardcode com(4)'s major number. ok kettenis@ | |||
2018-03-12 | Add voltage regulator support. | Mark Kettenis | |
ok jsg@ | |||
2018-03-11 | Wait for ETHEREN bit to clear instead of the RESET bit to prevent an | Mark Kettenis | |
infinite loop on some i.MX6 boards. From Artturi Alm. | |||
2018-03-08 | Rework and cleanup the linker script for armv7. The main feature is | Patrick Wildt | |
that it gives us a read-only data section. In addition the linker script is now easily diffable to arm64 and we also stop mapping some unnecessary space before the kernel. Prompted by deraadt@ ok kettenis@ | |||
2018-03-02 | The UEFI specification states that a watchdog timer should be armed for | Jonathan Gray | |
five minutes. Disable the timer to make it possible to use efiboot for more than five minutes. ok patrick@ kettenis@ | |||
2018-02-19 | Remove almost unused `flags' argument of suser(). | Martin Pieuchot | |
The account flag `ASU' will no longer be set but that makes suser() mpsafe since it no longer mess with a per-process field. No objection from millert@, ok tedu@, bluhm@ | |||
2018-02-16 | Support card interrupts in imxesdhc(4). The code that was written | Patrick Wildt | |
initially was never tested with SDIO, as there had been no user. With bwfm(4) we now have the first SDIO card on that controller. Align the code with the standard sdhc(4), so that it doesn't hang after the first interrupt fires. ok kettenis@ | |||
2018-02-14 | prune files.* entries that refer to files not in tree | Jonathan Gray | |
ok krw@ mpi@ | |||
2018-02-10 | Put the ldscript parts into a single file instead of storing it as head | Patrick Wildt | |
and tail and cat(1) it together. It was maybe needed when ports needed different contents, but now it's just a headache. ok deraadt@ | |||
2018-02-09 | Check for the existence of /bsd before trying to back it up to /obsd. | Theo Buehler | |
Fixes 'make install' when /bsd is not present for some reason. ok rob florian, "fine with me" deraadt | |||
2018-01-28 | typo | Otto Moerbeek | |
2018-01-27 | Sync the nam2blk entries with the bdevsw table, which is the | Christian Weisgerber | |
definitive list of block devices supported on an architecture. ok kettenis@ deraadt@ | |||
2018-01-26 | Add kernel support for the VFP FPU/SIMD unit. Based on a diff by drahn@. | Mark Kettenis | |
This allows us to use floating-pointer and vector instructions in userland code. The current implementation assumes all 32 VFP registers are present. This should be the case on all armv7 hardware currently supported by OpenBSD. ok patrick@ | |||
2018-01-20 | use virt instructions with clang instead of equivalent raw bytes | Jonathan Gray | |
2018-01-06 | Enable sxits(4). | Mark Kettenis | |
2018-01-06 | Enable sxitemp(4). | Mark Kettenis | |
2018-01-05 | Handle resets; needed on Allwinner R40/V40. | Mark Kettenis | |
2017-12-30 | The generic clock framework expects frequencies in Hz whereas the imx clock | Mark Kettenis | |
code was providing them in kHz. Get rid of this discrepancy. Hook up the CPU clock to the generic clock framework and remove the cpuspeed function as it is no longer needed. ok patrick@ | |||
2017-12-29 | Add rktemp(4). | Mark Kettenis | |
2017-12-23 | Use regmap interface to tweak "SYSREG" PHY configuration registers and | Mark Kettenis | |
remove exsysreg(4). The exsysreg(4) driver would no longer attach as syscon(4) would match its node in the device tree. As a result the driver corss-call would panic. Makes te Odroid-XU4 work again. |