diff options
Diffstat (limited to 'include/linux/mfd/max8997.h')
-rw-r--r-- | include/linux/mfd/max8997.h | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/include/linux/mfd/max8997.h b/include/linux/mfd/max8997.h index 1d4a4fe6ac33..cf815577bd68 100644 --- a/include/linux/mfd/max8997.h +++ b/include/linux/mfd/max8997.h | |||
@@ -78,21 +78,6 @@ struct max8997_regulator_data { | |||
78 | struct device_node *reg_node; | 78 | struct device_node *reg_node; |
79 | }; | 79 | }; |
80 | 80 | ||
81 | enum max8997_muic_usb_type { | ||
82 | MAX8997_USB_HOST, | ||
83 | MAX8997_USB_DEVICE, | ||
84 | }; | ||
85 | |||
86 | enum max8997_muic_charger_type { | ||
87 | MAX8997_CHARGER_TYPE_NONE = 0, | ||
88 | MAX8997_CHARGER_TYPE_USB, | ||
89 | MAX8997_CHARGER_TYPE_DOWNSTREAM_PORT, | ||
90 | MAX8997_CHARGER_TYPE_DEDICATED_CHG, | ||
91 | MAX8997_CHARGER_TYPE_500MA, | ||
92 | MAX8997_CHARGER_TYPE_1A, | ||
93 | MAX8997_CHARGER_TYPE_DEAD_BATTERY = 7, | ||
94 | }; | ||
95 | |||
96 | struct max8997_muic_reg_data { | 81 | struct max8997_muic_reg_data { |
97 | u8 addr; | 82 | u8 addr; |
98 | u8 data; | 83 | u8 data; |
@@ -107,6 +92,16 @@ struct max8997_muic_reg_data { | |||
107 | struct max8997_muic_platform_data { | 92 | struct max8997_muic_platform_data { |
108 | struct max8997_muic_reg_data *init_data; | 93 | struct max8997_muic_reg_data *init_data; |
109 | int num_init_data; | 94 | int num_init_data; |
95 | |||
96 | /* Check cable state after certain delay */ | ||
97 | int detcable_delay_ms; | ||
98 | |||
99 | /* | ||
100 | * Default usb/uart path whether UART/USB or AUX_UART/AUX_USB | ||
101 | * h/w path of COMP2/COMN1 on CONTROL1 register. | ||
102 | */ | ||
103 | int path_usb; | ||
104 | int path_uart; | ||
110 | }; | 105 | }; |
111 | 106 | ||
112 | enum max8997_haptic_motor_type { | 107 | enum max8997_haptic_motor_type { |