drm/nouveau/i2c: bump the i2c delay for the adt7473
authorMartin Peres <martin.peres@free.fr>
Sun, 25 May 2014 22:42:13 +0000 (00:42 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 10 Jun 2014 06:05:51 +0000 (16:05 +1000)
Some adt7473 can't manage the 20µs delay we use for the bitbanging, bumping
it to 40µs seem to do the trick.

Signed-off-by: Martin Peres <martin.peres@free.fr>
Tested-by: Marcel Dopita <mdop@seznam.cz>
drivers/gpu/drm/nouveau/core/subdev/therm/ic.c

index 7610fc5..ca9ad9f 100644 (file)
@@ -60,9 +60,9 @@ static struct nouveau_i2c_board_info
 nv_board_infos[] = {
        { { I2C_BOARD_INFO("w83l785ts", 0x2d) }, 0 },
        { { I2C_BOARD_INFO("w83781d", 0x2d) }, 0  },
-       { { I2C_BOARD_INFO("adt7473", 0x2e) }, 20  },
-       { { I2C_BOARD_INFO("adt7473", 0x2d) }, 20  },
-       { { I2C_BOARD_INFO("adt7473", 0x2c) }, 20  },
+       { { I2C_BOARD_INFO("adt7473", 0x2e) }, 40  },
+       { { I2C_BOARD_INFO("adt7473", 0x2d) }, 40  },
+       { { I2C_BOARD_INFO("adt7473", 0x2c) }, 40  },
        { { I2C_BOARD_INFO("f75375", 0x2e) }, 0  },
        { { I2C_BOARD_INFO("lm99", 0x4c) }, 0  },
        { { I2C_BOARD_INFO("lm90", 0x4c) }, 0  },