summaryrefslogtreecommitdiffstats
path: root/sys/arch/armv7/imx/imxahci.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* remove uneeded includes in md armv7 filesjsg2021-03-251-5/+1
| | | | based on include-what-you-use suggestions
* Move the code that sets the correct SATA phy settings into imxahc(4)patrick2018-04-021-4/+34
| | | | | | | | | 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@
* Have imxahci(4) make use of the clock framework by implementing the satapatrick2018-04-021-3/+3
| | | | and sata ref clock in imxccm(4).
* Retrieve AHB clock from clock framework.patrick2018-04-011-2/+4
|
* No need to include armv7var.h.patrick2018-03-301-2/+1
|
* Dynamically attach ampintc(4) and make it register itself as an interruptkettenis2016-08-041-3/+3
| | | | | | | | | | | | | | | controller. Switch all i.MX6 devices over to the new FDT-aware interrupt establish API and enable imxgpc(4). This may break other platforms that use ampintc(4) as their interrupt controller. We will fix this as soon as possible by switching them over to the new interrupt establish API as well. This also removes the hack in fec(4) to avoid the gpio-based interrupt workaround. This commit is an essential step on the road to fix that issue properly. ok patrick@, jsg@
* Instead of passing the raw reg property to simplebus nodes,patrick2016-07-271-5/+6
| | | | | | | | pass a pre-processed array of fdt_reg structs. This means that the drivers don't have to understand the cell properties themselves but can rely on the 64-bit addr/size pairs. ok kettenis@
* Turn ahci(4) glue code for the i.MX6 platform into its own imxahci(4) driverkettenis2016-07-121-2/+2
| | | | | such that we can don't end up with conflicting attachments of other SoC-specific glue code.
* Dynamically attach i.MX6 ahci(4) using the FDT.kettenis2016-06-091-10/+27
| | | | ok jsg@
* move the hardware structures into ahcireg.h.dlg2014-04-141-1/+2
|
* After factorizing armv7_machdep code here is an effort to factorize allsyl2013-11-061-9/+9
| | | | | | | | | | the code present in omap/omap.c imx/imx.c and sunxi/sunxi.c All this code looks quite the same, so we move it in a generic armv7/armv7.c This is a step closer to only one kernel for all armv7 boards. ok patrick@, rapha@
* Support for FreeScale's i.MX6 SoC.patrick2013-09-061-0/+173