This second version gets rid of the frequency table and introduces a min and max range. It also changes the ABI to allow the driver to round the given frequency to one that is supported, since many drivers seems to work this way (i2c-stu300, i2c-s3c2410, i2c-kempld). Octavian Purdila (3): i2c: document the existing i2c sysfs ABI i2c: document struct i2c_adapter i2c: show and change bus frequency via sysfs Documentation/ABI/testing/sysfs-bus-i2c | 75 ++++++++++++++++++++++++++ drivers/i2c/i2c-core.c | 94 +++++++++++++++++++++++++++++++++ include/linux/i2c.h | 32 +++++++++-- 3 files changed, 198 insertions(+), 3 deletions(-) create mode 100644 Documentation/ABI/testing/sysfs-bus-i2c -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-api" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html