i2c: Add device tree support to i2c-pnx.c
authorRoland Stigge <stigge@antcom.de>
Sun, 22 Apr 2012 09:59:47 +0000 (11:59 +0200)
committerRoland Stigge <stigge@antcom.de>
Sun, 22 Apr 2012 09:59:47 +0000 (11:59 +0200)
commitb41a216dafe4dd23c95cb4203de288f773a097a6
tree81d0b1db3fc99c5142fd4b64ca57f7b682b8824c
parentbe460385af1c40905dd6858a475bc949a3072b08
i2c: Add device tree support to i2c-pnx.c

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