arch/sim: Add i2s setup and shutdown interface

This interface is required if you want to open an i2c node directly on the sim
12b4340b00

Signed-off-by: zhangshoukui <zhangshoukui@xiaomi.com>
This commit is contained in:
zhangshoukui 2025-04-09 16:59:04 +08:00 committed by Xiang Xiao
parent 59da455fea
commit 69597ec486

View file

@ -73,6 +73,8 @@ struct i2c_ops_s
#ifdef CONFIG_I2C_RESET
int (*reset)(struct i2c_master_s *dev);
#endif
int (*setup)(struct i2c_master_s *dev);
int (*shutdown)(struct i2c_master_s *dev);
};
/****************************************************************************