diff options
author | Chanwoo Choi <cw00.choi@samsung.com> | 2012-12-06 07:27:56 -0500 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2013-01-15 01:42:16 -0500 |
commit | 2b75799f5ae9f31ea9778003591fd295d3bc3159 (patch) | |
tree | 8f1075cf7dfbd85fc5c6d9b8885fbcb8bb6cc3c7 /include | |
parent | ae3b3215f8e16ee8234024c77787bac9befb4f4c (diff) |
extcon: max77693: Set default uart/usb path by using platform data
This patch determine default uart/usb path by using platform data.
The MAX77693 MUIC device can possibliy set USB/UART/AUDIO/USB_AUX
/UART_AUX to internal h/w path of MUIC device. So, drvier should
determine default uart/usb path.
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Myungjoo Ham <myungjoo.ham@samsung.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mfd/max77693.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/mfd/max77693.h b/include/linux/mfd/max77693.h index 9aa9c203f28b..3109a6c5c948 100644 --- a/include/linux/mfd/max77693.h +++ b/include/linux/mfd/max77693.h | |||
@@ -40,6 +40,13 @@ struct max77693_muic_platform_data { | |||
40 | int num_init_data; | 40 | int num_init_data; |
41 | 41 | ||
42 | int detcable_delay_ms; | 42 | int detcable_delay_ms; |
43 | |||
44 | /* | ||
45 | * Default usb/uart path whether UART/USB or AUX_UART/AUX_USB | ||
46 | * h/w path of COMP2/COMN1 on CONTROL1 register. | ||
47 | */ | ||
48 | int path_usb; | ||
49 | int path_uart; | ||
43 | }; | 50 | }; |
44 | 51 | ||
45 | struct max77693_platform_data { | 52 | struct max77693_platform_data { |