Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-06-11 | Split out the PHY initialization code and add a "no-op" implementation for | Mark Kettenis | |
i.MX7. ok patrick@ | |||
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 | 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 | 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-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-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@ | |||
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-10-27 | Remove duplicated function prototypes. | Kevin Lo | |
ok patrick@ | |||
2017-10-23 | Replace imxocotp(4) with a regmap-based approach. | Mark Kettenis | |
ok patrick@ | |||
2017-09-22 | Remove unused code. | Mark Kettenis | |
2017-09-20 | Raise match priority such that imxocotp(4) wins over syscon(4). | Mark Kettenis | |
ok patrick@ | |||
2017-08-29 | remove uneeded includes after recent fdt header changes | Jonathan Gray | |
2017-07-18 | Add sdmmc support for the i.MX6UL variant of the i.MX6 series. This | Patrick Wildt | |
variant is essentially the same in regards to sdmmc as the i.MX6SX variant, which is why the device tree specifies that version. The i.MX6SX has a few quirks. One of these is related to tuning, which we don't do, the other one to the CAP1 register, which we don't use, and the third is for high speed support, where the "support bit" is missing for HS200. Of all these, only the one where the CAP1 register spills into the CAP register seems relevant to us. With this I can mount and newfs on the SD card. ok kettenis@ | |||
2017-07-18 | Add clock support for the i.MX6UL variant of the i.MX6 series. The | Patrick Wildt | |
device tree uses completely differently numbered indices compared to the i.MX6QDL variant. This means we have to add another clock list and use the right one depending on the compatible. Also, on the UL variant there is another mux in front of the perclk divider, so we have to cope with that as well. With feedback from and "looks reasonable" kettenis@ | |||
2017-06-22 | Fix the remaining ';;'s in sys/ | Tom Cosgrove | |
2017-04-30 | Unifdef KGDB. | Martin Pieuchot | |
It doesn't compile und hasn't been working during the last decade. ok kettenis@, deraadt@ | |||
2017-03-06 | Remove unused unit number from softc. | Mark Kettenis | |
2017-01-22 | move counting if_opackets next to counting if_obytes in if_enqueue. | David Gwynne | |
this means packets are consistently counted in one place, unlike the many and various ways that drivers thought they should do it. ok mpi@ deraadt@ | |||
2017-01-21 | p_comm is the process's command and isn't per thread, so move it from | Philip Guenther | |
struct proc to struct process. ok deraadt@ kettenis@ | |||
2016-12-31 | Add missing $OpenBSD$ marker. | Mark Kettenis | |
2016-12-28 | Use the generic clock framework. | Mark Kettenis | |
ok jsg@, patrick@ | |||
2016-12-26 | Fix typo. | Mark Kettenis | |
2016-10-21 | Stop setting MIIF_AUTOTSLEEP in fec(4) | Jonathan Gray | |
This can lead to tsleep in an interrupt context, which resulted in the following panic: kernel diagnostic assertion "p->p_wchan == NULL" failed: file "/usr/src/sys/kern/kern_sched.c", line 333 TID PPID PGRP UID S FLAGS WAIT COMMAND 86009 0 0 0 2 0x40014200 miiaut idle0 Reported by matthieu@ with sabre lite, analysis by guenther@ ok kettenis@ | |||
2016-10-05 | Make imxdog(4) set cpuresetfn, and remove all the imx platform that is no | Mark Kettenis | |
longer needed, including the imx board IDs. ok patrick@, jsg@ |