i2c: Add detection capability to new-style drivers