summaryrefslogtreecommitdiffstats
path: root/drivers/i2c
Commit message (Collapse)AuthorAgeFilesLines
* arm omap: Add I2C driverSascha Hauer2010-08-063-0/+808
| | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
* Merge branch 'next'Sascha Hauer2010-07-033-0/+144
|\
| * i2c: add driver for the MC34704 PMICBaruch Siach2010-06-103-0/+144
| | | | | | | | | | Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | i2c: fix adapter_list manipulationBaruch Siach2010-06-171-1/+1
|/ | | | | Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i2c: implement i2c_get_adapter()Sascha Hauer2010-05-261-1/+23
| | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i2c-imx: change log level for No ACKEric Bénard2010-05-261-1/+1
| | | | | Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-sha-mx35-3-stack-updates' of ↵Sascha Hauer2010-01-192-39/+136
|\ | | | | | | ssh://git.pengutronix.de/git/mkl/barebox into next
| * mc13892: clean up driver interfaceMarc Kleine-Budde2010-01-181-19/+72
| | | | | | | | | | | | | | Export mc13892_reg_read, mc13892_reg_write and mc13892_set_bits function instead of exposing the i2c interface. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
| * mc9sdz60: clean up driver interfaceMarc Kleine-Budde2010-01-181-20/+64
| | | | | | | | | | | | | | Export mc9sdz60_reg_read, mc9sdz60_reg_write and mc9sdz60_set_bits function instead of exposing the i2c interface. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* | I2C : add NS LP3972 PMIC supportEric Benard2010-01-163-0/+114
|/ | | | | Signed-off-by: Eric Benard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Cleanup colleteral damage from renamingSascha Hauer2009-12-151-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* rename U-Boot-v2 project to bareboxSascha Hauer2009-12-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | This has been done with the following script: find -path ./.git -prune -o -type f -print0 | xargs -0 -r sed -i \ -e 's/u2boot/barebox/g' \ -e 's/U2Boot/barebox/g' \ -e 's/U-boot V2/barebox/g' \ -e 's/u-boot v2/barebox/g' \ -e 's/U-Boot V2/barebox/g' \ -e 's/U-Boot-v2/barebox/g' \ -e 's/U_BOOT/BAREBOX/g' \ -e 's/UBOOT/BAREBOX/g' \ -e 's/uboot/barebox/g' \ -e 's/u-boot/barebox/g' \ -e 's/u_boot/barebox/g' \ -e 's/U-Boot/barebox/g' \ -e 's/U-boot/barebox/g' \ -e 's/U-BOOT/barebox/g' find -path ./.git -prune -o \( -name "*u-boot*" -o -name "*uboot*" -o -name "*u_boot*" \) -print0 | \ xargs -0 -r rename 's/u[-_]?boot/barebox/' It needs some manual fixup following in the next patch Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i2c-imx: i2c_imx_xfer return with err if sub-transfer isn't successfullMarc Kleine-Budde2009-12-091-0/+2
| | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* i2c-imx: fix low bitrate problemMarc Kleine-Budde2009-12-091-3/+17
| | | | | | | | | loop in i2c_imx_acked() in low bit rates it takes some time until the ACK comes in. Also add a delay before polling for bus not busy in i2c_imx_read. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* i2c-imx: fix clear IFF race conditionMarc Kleine-Budde2009-12-091-2/+3
| | | | | | | | | | | | | | | | | | | | | | During i2c read the original pattern was: 1. write i2c slave address 2. wait for transmit complete + clear IIF 3. wait for receive acknowledge 4. wait for IIF interrupt Due to the clear of the I2SR register, the IIF flag was cleared, too. So in step 4 the Interrupt wasn't detected. To fix this problem, we move the clean of IIF before the writing of the slave address. So that it looks this way: 0. clear IIF 1. write i2c slave address 2. wait for transmit complete 3. wait for receive acknowledge 4. wait for IIF interrupt Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* i2c-imx: print errors with dev_errMarc Kleine-Budde2009-12-091-3/+5
| | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* mc9sdz60: driver addedMarc Kleine-Budde2009-12-033-0/+113
| | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* mc13892: driver addedMarc Kleine-Budde2009-12-033-0/+116
| | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* i2c-imx: ported to u-boot-v2Marc Kleine-Budde2009-12-033-0/+511
| | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* i2c: new frameworkMarc Kleine-Budde2009-12-033-0/+356
| | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
* remove unused driversSascha Hauer2007-09-212-408/+0
|
* svn_rev_591Sascha Hauer2007-07-051-0/+398
| | | | moved
* svn_rev_563Sascha Hauer2007-07-051-1/+1
| | | | unify menu style
* svn_rev_102Sascha Hauer2007-07-051-0/+10