Adding bus frequency setting to TWI device driver interface.