1. 13 1月, 2011 1 次提交
  2. 20 8月, 2009 1 次提交
  3. 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
  4. 31 12月, 2008 1 次提交
    • A
      powerpc/83xx: Fix sparse warnings in board files · 81b36a0b
      Anton Vorontsov 提交于
      This patch fixes following sparse warnings:
      
        CHECK   83xx/usb.c
      83xx/usb.c:205:5: warning: symbol 'mpc837x_usb_cfg' was not declared. Should it be static?
        CHECK   83xx/mpc831x_rdb.c
      83xx/mpc831x_rdb.c:45:13: warning: symbol 'mpc831x_rdb_init_IRQ' was not declared. Should it be static?
        CHECK   83xx/mpc832x_rdb.c
      83xx/mpc832x_rdb.c:133:13: warning: symbol 'mpc832x_rdb_init_IRQ' was not declared. Should it be static?
        CHECK   83xx/mpc832x_mds.c
      83xx/mpc832x_mds.c:68:12: warning: Using plain integer as NULL pointer
      83xx/mpc832x_mds.c:72:13: warning: incorrect type in assignment (different address spaces)
      83xx/mpc832x_mds.c:72:13:    expected unsigned char [usertype] *static [toplevel] bcsr_regs
      83xx/mpc832x_mds.c:72:13:    got void [noderef] <asn:2>*
      83xx/mpc832x_mds.c:99:11: warning: incorrect type in argument 1 (different address spaces)
      83xx/mpc832x_mds.c:99:11:    expected void volatile [noderef] <asn:2>*addr
      83xx/mpc832x_mds.c:99:11:    got unsigned char [usertype] *static [toplevel] bcsr_regs
      Signed-off-by: NAnton Vorontsov <avorontsov@ru.mvista.com>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      81b36a0b
  5. 17 7月, 2008 2 次提交
  6. 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
  7. 06 2月, 2008 1 次提交
  8. 24 1月, 2008 1 次提交
  9. 14 9月, 2007 1 次提交
  10. 10 7月, 2007 1 次提交
  11. 29 6月, 2007 2 次提交
  12. 08 2月, 2007 1 次提交
  13. 04 12月, 2006 1 次提交
    • B
      [POWERPC] Make pci_read_irq_line the default · f90bb153
      Benjamin Herrenschmidt 提交于
      This patch reworks the way IRQs are fixed up on PCI for arch powerpc.
      
      It makes pci_read_irq_line() called by default in the PCI code for
      devices that are probed, and add an optional per-device fixup in
      ppc_md for platforms that really need to correct what they obtain
      from pci_read_irq_line().
      
      It also removes ppc_md.irq_bus_setup which was only used by pSeries
      and should not be needed anymore.
      
      I've also removed the pSeries s7a workaround as it can't work with
      the current interrupt code anyway. I'm trying to get one of these
      machines working so I can test a proper fix for that problem.
      
      I also haven't updated the old-style fixup code from 85xx_cds.c
      because it's actually buggy :) It assigns pci_dev->irq hard coded
      numbers which is no good with the new IRQ mapping code. It should
      at least use irq_create_mapping(NULL, hard_coded_number); and possibly
      also set_irq_type() to set them as level low.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      f90bb153
  14. 30 8月, 2006 1 次提交
  15. 07 2月, 2006 2 次提交
  16. 14 1月, 2006 1 次提交