msm: Add device tree support for HSUSB

Add device tree support for MSM HSUSB.  The OTG driver registers
gadget and host platform devices based on the operational mode.
This patch also updates the copper device tree source file with
HSUSB device specifics.

Change-Id: I0a50b0500d15f32ff65468cdb411398a80a20329
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
This commit is contained in:
Pavankumar Kondeti
2011-10-27 14:46:45 +05:30
parent aa449e1efb
commit eaea7fe54a
4 changed files with 205 additions and 3 deletions

View File

@@ -155,7 +155,7 @@ struct msm_otg_platform_data {
enum usb_mode_type default_mode;
enum msm_usb_phy_type phy_type;
void (*setup_gpio)(enum usb_otg_state state);
char *pclk_src_name;
const char *pclk_src_name;
int pmic_id_irq;
bool mhl_enable;
};