i2c: lpc2k: add driver
Add support for the I2C controller found on several NXP devices including LPC2xxx, LPC178x/7x and LPC18xx/43xx. The controller is implemented as a state machine and the driver act upon the state changes when the bus is accessed. The I2C controller supports master/slave operation, bus arbitration, programmable clock rate, and speeds up to 1 Mbit/s. Signed-off-by:Joachim Eastwood <manabian@gmail.com> Signed-off-by:
Wolfram Sang <wsa@the-dreams.de>
Showing
- Documentation/devicetree/bindings/i2c/i2c-lpc2k.txt 33 additions, 0 deletionsDocumentation/devicetree/bindings/i2c/i2c-lpc2k.txt
- drivers/i2c/busses/Kconfig 10 additions, 0 deletionsdrivers/i2c/busses/Kconfig
- drivers/i2c/busses/Makefile 1 addition, 0 deletionsdrivers/i2c/busses/Makefile
- drivers/i2c/busses/i2c-lpc2k.c 513 additions, 0 deletionsdrivers/i2c/busses/i2c-lpc2k.c
Loading
Please register or sign in to comment