* Added raw init function (maa_i2c_init_raw) for not using pinmap
Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
/*@}*/
} maa_i2c_context;
+/** Initialise i2c context, using board defintions
+ *
+ * @return maa_i2c_context i2c context ready for other calls.
+ */
maa_i2c_context* maa_i2c_init();
+/** Initialise i2c context, passing in spi bus to use.
+ *
+ * @param bus The i2c bus to use i.e. /dev/i2c-2 would be "2"
+ * @return maa_i2c_context i2c context ready for other calls.
+ */
+maa_i2c_context* maa_i2c_init_raw(unsigned int bus);
+
/** Sets the frequency of the i2c context
*
* @param dev the i2c context