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>
Sat, 12 May 2012 12:28:14 +0000 (14:28 +0200)
commita092de11bb4a96ac43ede0352e09bdf7e06280e8
treed00b69bb5214e6287005c28c5f9f7df51e8a0d3b
parent973c5ed45dbdf8fd90e300826507b5e6814916af
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