drm/nouveau/i2c: use a custom bitbanging delay for the adt7473
authorMartin Peres <martin.peres@labri.fr>
Sun, 20 Oct 2013 23:48:55 +0000 (01:48 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 8 Nov 2013 05:39:54 +0000 (15:39 +1000)
commit9e2b734f1cc43e94558bfd2b779d8e493abea0f4
tree7506e6f685b099eff0667484112834f5cae83e45
parentfd34381b0e2827228cbda45aa2cca4127ff073b2
drm/nouveau/i2c: use a custom bitbanging delay for the adt7473

This patch adds a way to define a custom delay when scanning for i2c devices
because the adt7473 sometimes doesn't like the default bitbanging udelay.

Signed-off-by: Martin Peres <martin.peres@labri.fr>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/include/subdev/i2c.h
drivers/gpu/drm/nouveau/core/subdev/i2c/base.c
drivers/gpu/drm/nouveau/core/subdev/therm/ic.c
drivers/gpu/drm/nouveau/dispnv04/dfp.c
drivers/gpu/drm/nouveau/dispnv04/tvnv04.c