Skip to content
  • Kishon Vijay Abraham I's avatar
    ti: dwc3: Enable clocks in enable_basic_clocks() in hw_data.c · 4564faea
    Kishon Vijay Abraham I authored
    Commit d3cfcb3e
    
     (ARM: DRA7: Enable clocks for USB OTGSS and USB PHY)
    changed the member names of prcm_regs from cm_l3init_usb_otg_ss_clkctrl
    to cm_l3init_usb_otg_ss1_clkctrl and from cm_coreaon_usb_phy_core_clkctrl
    to cm_coreaon_usb_phy1_core_clkctrl in order to differentiate between
    the two dwc3 controllers present in dra7xx/am43xx and enabled these
    clocks in enable_basic_clocks() in hw_data.c. However these clocks
    continued to be enabled in board files/driver files for dwc3 host
    mode functionality causing compilation break with few configs.
    
    Fixed it here by making all the clocks enabled in enable_basic_clocks()
    and removing it from board files/driver files here.
    
    Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
    4564faea