summaryrefslogtreecommitdiffstats
path: root/sys/arm/mv/twsi.c
Commit message (Collapse)AuthorAgeFilesLines
* Follow r261352 by updating all drivers which are children of simplebusian2014-02-021-0/+3
| | | | | | | | | | | | | to check the status property in their probe routines. Simplebus used to only instantiate its children whose status="okay" but that was improper behavior, fixed in r261352. Now that it doesn't check anymore and probes all its children; the children all have to do the check because really only the children know how to properly interpret their status property strings. Right now all existing drivers only understand "okay" versus something- that's-not-okay, so they all use the new ofw_bus_status_okay() helper.
* - Calculate the I2C baud rate to keep them <100 kHz under different TCLKhrs2012-08-211-13/+122
| | | | | | | | frequencies. The maximum freqency is 100 kHz according to the datasheet. - Add child device probing support based on the device tree. It now tries to find i2c-address property in the tree and attach the device with given slave address to iicbus.
* Convert Marvell ARM platforms to FDT convention.raj2010-06-131-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | The following systems are involved: - DB-88F5182 - DB-88F5281 - DB-88F6281 - DB-78100 - SheevaPlug This overhaul covers the following major changes: - All integrated peripherals drivers for Marvell ARM SoC, which are currently in the FreeBSD source tree are reworked and adjusted so they derive config data out of the device tree blob (instead of hard coded / tabelarized values). - Since the common FDT infrastrucutre (fdtbus, simplebus) is used we say good by to obio / mbus drivers and numerous hard-coded config data. Note that world needs to be built WITH_FDT for the affected platforms. Reviewed by: imp Sponsored by: The FreeBSD Foundation.
* strict kobj signatures: number of fixes for arm architectureavg2009-06-111-2/+2
| | | | | | | no functional changes should result Reviewed by: imp, current@ Approved by: jhb (mentor)
* Introduce basic support for Marvell families of system-on-chip ARM devices:raj2008-10-131-0/+523
* Orion - 88F5181 - 88F5182 - 88F5281 * Kirkwood - 88F6281 * Discovery - MV78100 The above families of SOCs are built around CPU cores compliant with ARMv5TE instruction set architecture definition. They share a number of integrated peripherals. This commit brings support for the following basic elements: * GPIO * Interrupt controller * L1, L2 cache * Timers, watchdog, RTC * TWSI (I2C) * UART Other peripherals drivers will be introduced separately. Reviewed by: imp, marcel, stass (Thanks guys!) Obtained from: Marvell, Semihalf
OpenPOWER on IntegriCloud