xref: /linux/include/linux/device-id/i3c.h (revision d2c9a99135da931377240942d44f3dea104cedb8)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef LINUX_DEVICE_ID_I3C_H
3 #define LINUX_DEVICE_ID_I3C_H
4 
5 #ifdef __KERNEL__
6 #include <linux/types.h>
7 #endif
8 
9 /* i3c */
10 
11 #define I3C_MATCH_DCR			0x1
12 #define I3C_MATCH_MANUF			0x2
13 #define I3C_MATCH_PART			0x4
14 #define I3C_MATCH_EXTRA_INFO		0x8
15 
16 struct i3c_device_id {
17 	__u8 match_flags;
18 	__u8 dcr;
19 	__u16 manuf_id;
20 	__u16 part_id;
21 	__u16 extra_info;
22 
23 	const void *data;
24 };
25 
26 #endif /* ifndef LINUX_DEVICE_ID_I3C_H */
27