1/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Copyright 2020 Google LLC
4 * Written by Simon Glass <sjg@chromium.org>
5 */
6
7#ifndef __asn_i2c_h
8#define __asn_i2c_h
9
10struct sandbox_i2c_priv {
11	bool test_mode;
12};
13
14/**
15 * struct i2c_emul_uc_plat - information about the emulator for this device
16 *
17 * This is used by devices in UCLASS_I2C_EMUL to record information about the
18 * device being emulated. It is accessible with dev_get_uclass_plat()
19 *
20 * @dev: Device being emulated
21 * @idx: of-platdata index, set up by the device's bind() method if of-platdata
22 *	is in use
23 */
24struct i2c_emul_uc_plat {
25	struct udevice *dev;
26	int idx;
27};
28
29#endif /* __asn_i2c_h */
30