linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* i2c-imx: Autoprobe of eeproms
@ 2010-02-12 22:15 Mattias Walstrom
  2010-02-13  7:28 ` Wolfram Sang
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Mattias Walstrom @ 2010-02-12 22:15 UTC (permalink / raw)
  To: linux-arm-kernel

I have tried to get autoprobe of eeproms to work on a custom freescale
mx27-board, and i found out that the i2c-imx driver was missing the
following, is there a reason for this, most other i2c-bus drivers seems
to have it?

--- linux-2.6.32.8.orig/drivers/i2c/busses/i2c-imx.c    2010-02-09
13:57:19.000000000 +0100
+++ linux-2.6.32.8/drivers/i2c/busses/i2c-imx.c 2010-02-12
11:30:12.000000000 +0100
@@ -521,6 +521,7 @@
        i2c_imx->adapter.algo           = &i2c_imx_algo;
        i2c_imx->adapter.dev.parent     = &pdev->dev;
        i2c_imx->adapter.nr             = pdev->id;
+        i2c_imx->adapter.class          = I2C_CLASS_HWMON | I2C_CLASS_SPD;
        i2c_imx->irq                    = irq;
        i2c_imx->base                   = base;
        i2c_imx->res                    = res;


Best regards
Mattias Walstr?m

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-02-14 21:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-12 22:15 i2c-imx: Autoprobe of eeproms Mattias Walstrom
2010-02-13  7:28 ` Wolfram Sang
2010-02-13 10:50 ` Uwe Kleine-König
2010-02-14 21:18 ` Ben Dooks

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).