linux/Documentation/devicetree/bindings/i2c
Shawn Guo 5bdfba29f1 i2c: imx: remove cpu_is_xxx by using platform_device_id
This is some amount of work left/forgot from device tree conversion.
Instead of checking cpu_is_xxx to determine the controller type, the
driver should use platform_device_id, which should match the device
tree compatible string.

The patch changes the driver to use platform_device_id rather than
cpu_is_xxx to determine the controller type/version.  It also updates
the platform code and device tree source accordingly.

As the result, mach/hardware.h inclusion gets removed from the driver.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Cc: Wolfram Sang <w.sang@pengutronix.de>
Cc: linux-i2c@vger.kernel.org
2012-10-15 10:03:15 +08:00
..
arm-versatile.txt arm/versatile: Add device tree support 2011-07-28 01:32:04 -06:00
atmel-i2c.txt i2c: at91: add dt support to i2c-at91 2012-09-12 14:49:15 +02:00
cavium-i2c.txt MIPS: Octeon: Add device tree source files. 2012-07-23 13:54:52 +01:00
ce4100-i2c.txt x86: dtb: Add a device tree for CE4100 2011-02-23 22:27:52 +01:00
davinci.txt i2c: davinci: add OF support 2012-09-12 11:37:24 +02:00
fsl-i2c.txt
fsl-imx-i2c.txt i2c: imx: remove cpu_is_xxx by using platform_device_id 2012-10-15 10:03:15 +08:00
gpio-i2c.txt devicetree: bindings: gpio-i2c belongs to i2c not gpio 2012-07-08 12:49:12 +02:00
i2c-designware.txt i2c-designware: add OF binding support 2011-12-27 15:52:44 -06:00
i2c-mux-pinctrl.txt i2c: Add generic I2C multiplexer using pinctrl API 2012-06-04 16:49:43 +02:00
i2c-mxs.txt MXS: Implement DMA support into mxs-i2c 2012-10-08 12:47:33 +02:00
i2c-ocores.txt i2c: i2c-ocores: support for 16bit and 32bit IO 2012-07-14 13:30:25 +02:00
mrvl-i2c.txt I2C: MV64XYZ: Add Device Tree support 2012-07-23 22:04:11 +02:00
mux.txt i2c/of: Automatically populate i2c mux busses from device tree data. 2012-05-12 14:28:16 +02:00
nomadik.txt i2c: nomadik: Add Device Tree support to the Nomadik I2C driver 2012-10-06 13:20:33 +02:00
omap-i2c.txt i2c: OMAP: Add DT support for i2c controller 2012-01-17 22:44:57 +00:00
pnx.txt i2c: pnx: add device tree support 2012-05-12 14:28:14 +02:00
samsung-i2c.txt i2c-s3c2410: Add HDMIPHY quirk for S3C2440 2012-05-12 14:28:16 +02:00
sirf-i2c.txt i2c: add CSR SiRFprimaII on-chip I2C controllers driver 2012-03-07 19:05:04 +01:00
trivial-devices.txt Documentation: dt: i2c: trivial-devices: Update for tmp102 2012-09-07 19:18:35 +02:00
xiic.txt I2C: xiic: Add OF binding support 2012-05-12 14:28:18 +02:00