1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright (C) 2024, KEBA Industrial Automation Gmbh */
3 
4 #ifndef _LINUX_MISC_KEBA_H
5 #define _LINUX_MISC_KEBA_H
6 
7 #include <linux/auxiliary_bus.h>
8 
9 struct i2c_board_info;
10 
11 /**
12  * struct keba_i2c_auxdev - KEBA I2C auxiliary device
13  * @auxdev: auxiliary device object
14  * @io: address range of I2C controller IO memory
15  * @info_size: number of I2C devices to be probed
16  * @info: I2C devices to be probed
17  */
18 struct keba_i2c_auxdev {
19 	struct auxiliary_device auxdev;
20 	struct resource io;
21 	int info_size;
22 	struct i2c_board_info *info;
23 };
24 
25 #endif /* _LINUX_MISC_KEBA_H */
26