1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Common code for Intel Cherry Trail ACPI INT33FE pseudo device drivers
4 * (USB Micro-B and Type-C connector variants), header file
9 #ifndef _INTEL_CHT_INT33FE_COMMON_H
10 #define _INTEL_CHT_INT33FE_COMMON_H
12 #include <linux/device.h>
13 #include <linux/fwnode.h>
14 #include <linux/i2c.h>
16 enum int33fe_hw_type {
21 struct cht_int33fe_data {
24 int (*probe)(struct cht_int33fe_data *data);
25 int (*remove)(struct cht_int33fe_data *data);
27 struct i2c_client *battery_fg;
30 struct i2c_client *fusb302;
31 struct i2c_client *pi3usb30532;
33 struct fwnode_handle *dp;
36 int cht_int33fe_microb_probe(struct cht_int33fe_data *data);
37 int cht_int33fe_microb_remove(struct cht_int33fe_data *data);
38 int cht_int33fe_typec_probe(struct cht_int33fe_data *data);
39 int cht_int33fe_typec_remove(struct cht_int33fe_data *data);
41 #endif /* _INTEL_CHT_INT33FE_COMMON_H */