/* Set up a new pi3usb9201 emulator. 
This should be called for each pi3usb9201 device that needs to be emulated. It registers it with the I2C emulation controller. */
static int pi3usb9201_emul_init(const struct emul *target, const struct device *parent)
/* Set up a new pi3usb9201 emulator. 
This should be called for each pi3usb9201 device that needs to be emulated. It registers it with the I2C emulation controller. */
static int pi3usb9201_emul_init(const struct emul *target, const struct device *parent)
{
	const struct pi3usb9201_emul_cfg *cfg = target->cfg;
	struct pi3usb9201_emul_data *data = cfg->data;
	data->i2c = parent;
	data->cfg = cfg;
	LOG_INF("init");
	pi3usb9201_emul_reset(target);
	return 0;
}