]> git.karo-electronics.de Git - karo-tx-linux.git/commit
i2c: pnx: add device tree support
authorRoland Stigge <stigge@antcom.de>
Fri, 20 Apr 2012 13:34:09 +0000 (15:34 +0200)
committerWolfram Sang <w.sang@pengutronix.de>
Fri, 27 Apr 2012 18:43:29 +0000 (20:43 +0200)
commiteb2273387001f867c211daa8b8c1ed3349d63efc
tree9be3bcb1ec139d893979b48b6f4b7570ea718e0f
parent741049e797280f293da87af430516ee9266f2d70
i2c: pnx: add device tree support

This patch adds device tree support to the pnx-i2c driver by using platform
resources for memory region and irq and removing dependency on mach includes.

The following platforms are affected:

* PNX
* LPC31xx (WIP)
* LPC32xx

The patch is based on a patch by Jon Smirl, working on lpc31xx integration

Signed-off-by: Roland Stigge <stigge@antcom.de>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Documentation/devicetree/bindings/i2c/pnx.txt [new file with mode: 0644]
drivers/i2c/busses/i2c-pnx.c
include/linux/i2c-pnx.h