1. 13 1月, 2011 1 次提交
  2. 16 6月, 2009 1 次提交
    • P
      powerpc/mpc83xx: Fix usb mux setup for mpc834x · b7d66c88
      Peter Korsgaard 提交于
      usb0 and usb1 mux settings in the sicrl register were swapped (twice!)
      in mpc834x_usb_cfg(), leading to various strange issues with fsl-ehci
      and full speed devices.
      
      The USB port config on mpc834x is done using 2 muxes: Port 0 is always
      used for MPH port 0, and port 1 can either be used for MPH port 1 or DR
      (unless DR uses UTMI phy or OTG, then it uses both ports) - See 8349 RM
      figure 1-4..
      
      mpc8349_usb_cfg() had this inverted for the DR, and it also had the bit
      positions of the usb0 / usb1 mux settings swapped. It would basically
      work if you specified port1 instead of port0 for the MPH controller (and
      happened to use ULPI phys), which is what all the 834x dts have done,
      even though that configuration is physically invalid.
      
      Instead fix mpc8349_usb_cfg() and adjust the dts files to match reality.
      Signed-off-by: NPeter Korsgaard <jacmet@sunsite.dk>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      b7d66c88
  3. 09 3月, 2009 1 次提交
  4. 17 7月, 2008 1 次提交
  5. 17 4月, 2008 1 次提交
    • A
      [POWERPC] 83xx: mpc8315 - fix USB UTMI Host setup · 1a9ebc0c
      Anton Vorontsov 提交于
      Currently USB Host isn't functional on the MPC8315E boards, for two
      reasons as described below.
      
      MPC8315 Reference Manual says:
      "The USB DR unit must have the same clock ratio as the encryption core
      unit, unless one of them has its clock disabled."
      
      The encryption core also drives I2C clock, so it is enabled and is equal
      to 01. That means USBDRCM should be 01 here.
      
      Plus, according to MPC8315E-RDB schematics, USB unit consumes CLK_IN
      clock from the 24.00MHz oscillator, which means we must adjust REFSEL
      bits as well.
      
      p.s.
      Idially we should rework whole 83xx/usb.c code, in two steps:
      1. Move SCCR code to the U-Boot;
      2. Implement fsl,usb-clock property in the device tree, so usb.c could
         decide what clock exactly to use on per-board basis.
      
      Though, today we're not in a hurry since there is just one 8315e board
      out there.
      Signed-off-by: NAnton Vorontsov <avorontsov@ru.mvista.com>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      1a9ebc0c
  6. 06 2月, 2008 1 次提交
  7. 29 1月, 2008 1 次提交
    • K
      [POWERPC] 83xx: rework platform Kconfig · b38308ac
      Kumar Gala 提交于
      * Allow multiple boards to be selected in a single build
      * Removed Kconfig option '83xx' which existed only for compat with arch/ppc
      * Removed Kconfig option 'PPC_MPC836x' since its not used
      * Renamed Kconfig option 'MPC834x' to 'PPC_MPC834x' to match others
      * Added a multiplatform 83xx defconfig (mpc83xx_defconfig).
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      b38308ac
  8. 24 1月, 2008 2 次提交
  9. 20 11月, 2007 1 次提交
  10. 28 9月, 2007 1 次提交
  11. 10 7月, 2007 1 次提交