summaryrefslogtreecommitdiffstats
path: root/sys/dev/fdt/imxiicvar.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Split imxiic(4) into the FDT-attachment code and the i.MX I2C codepatrick2020-11-171-67/+0
| | | | | | in preparation for upcoming ACPI-attachment. ok kettenis@
* Add support for the VF610 I2C controller to imxiic(4). It uses itspatrick2020-11-141-1/+19
| | | | | | | | own clock divisor table and its registers are each a byte apart. The status register is write 1 to clear instead of write 0 to clear, and the enable bit is also inverted. ok kettenis@
* To prepare for upcoming VF610 support, access the clk div table usingpatrick2020-11-131-2/+2
| | | | | | | | | a pointer in the softc instead of using a hardcoded table. While there move the call to retrieve the clock frequency into the attach code, and store the value in the softc as well. This will allow a future ACPI attachment driver to supply its value in different fashion. ok kettenis@
* Convert array of two-element arrays into a much more readable array ofpatrick2020-11-131-2/+7
| | | | | | structs. ok kettenis@
* Move imxiic(4) to sys/dev/fdt.patrick2018-03-301-0/+44