Re: I2C query regarding baud rate

From: Jean Delvare
Date: Fri Feb 20 2009 - 03:36:29 EST


Please direct I2C-related questions to the i2c-linux mailing list (now
Cc'd.)

On Fri, 20 Feb 2009 11:39:57 +0530, Sasa Sasa wrote:
> I have a query regarding the baud rate of I2C controller. Our I2C
> controller supports 3 different baud rates. So is there any possible
> or standard way for I2C clients to set this baud rate on I2C adaptor
> dynamically?

No, we do not have any way to do this at the moment. But I2C bus speed
is a tricky affair to start with. Not taking HS-I2C into account for a
moment, the I2C bus speed is a bus-wide setting, not a per-chip
setting, so letting each I2C chip driver change the bus speed doesn't
make sense. The I2C bus speed must be set once and for all according to
which devices are present on the bus (which is something only the
system designer knows.)

--
Jean Delvare
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/