1. 05 10月, 2011 5 次提交
  2. 04 10月, 2011 2 次提交
  3. 01 10月, 2011 3 次提交
    • A
      ARM: OMAP: musb: Remove a redundant omap4430_phy_init call in usb_musb_init · b8e111a7
      Axel Lin 提交于
      Current code calls omap4430_phy_init() twice in usb_musb_init().
      Calling omap4430_phy_init() once is enough.
      This patch removes the first omap4430_phy_init() call, which using an
      uninitialized pointer as parameter.
      
      This patch elimates below build warning:
      arch/arm/mach-omap2/usb-musb.c: In function 'usb_musb_init':
      arch/arm/mach-omap2/usb-musb.c:141: warning: 'dev' may be used uninitialized in this function
      Signed-off-by: NAxel Lin <axel.lin@gmail.com>
      Bjarne Steinsbo <bsteinsbo@gmail.com>
      Acked-by: NFelipe Balbi <balbi@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      b8e111a7
    • T
      ARM: OMAP: Fix i2c init for twl4030 · bfd46a54
      Tony Lindgren 提交于
      Looks like 2600 kHz rate does not work reliably on 2430,
      so just use the 100 kHz rate.
      
      Otherwise the system often fails to boot properly with:
      
      omap_i2c omap_i2c.2: timeout waiting for bus ready
      omap_i2c omap_i2c.2: timeout waiting for bus ready
      twl: i2c_write failed to transfer all messages
      omap_i2c omap_i2c.2: timeout waiting for bus ready
      twl: i2c_write failed to transfer all messages
      omap_i2c omap_i2c.2: timeout waiting for bus ready
      twl: i2c_write failed to transfer all messages
      twl: clock init err [-110]
      omap_i2c omap_i2c.2: timeout waiting for bus ready
      twl: i2c_write failed to transfer all messages
      TWL4030 Unable to unlock IDCODE registers --110
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      bfd46a54
    • B
      ARM: OMAP4: MMC: fix power and audio issue, decouple USBC1 from MMC1 · 3696d303
      Bryan Buckley 提交于
      Remove OMAP4_USBC1_ICUSB_PWRDNZ_MASK during enable/disable PWRDNZ mode for
      MMC1_PBIAS and associated extended-drain MMC1 I/O cell. This is in accordance
      with the control module programming guide. This fixes a bug where if trying to
      use gpio_98 or gpio_99 and MMC1 at the same time the GPIO signal will be
      affected by a changing SDMMC1_VDDS.
      
      Software must keep MMC1_PBIAS cell and MMC1_IO cell PWRDNZ signals low whenever
      SDMMC1_VDDS ramps up/down or changes for cell protection purposes.
      
      MMC1 is based on SDMMC1_VDDS whereas USBC1 is based on SIM_VDDS therefore
      they can operate independently.
      Signed-off-by: NBryan Buckley <bryan.buckley@ti.com>
      Acked-by: NKishore Kadiyala <kishore.kadiyala@ti.com>
      Tested-by: NBalaji T K <balajitk@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      3696d303
  4. 27 9月, 2011 18 次提交
  5. 26 9月, 2011 6 次提交
  6. 24 9月, 2011 6 次提交
    • S
      OMAP4: Fix the emif and dmm virtual mapping · cefcadea
      Santosh Shilimkar 提交于
      Fix the address overlap with Emulation domain (EMU).
      
      The previous mapping was entering into EMU mapping
      and was not as per comments. Fix the mapping accordingly.
      Signed-off-by: NGirish S G <girishsg@ti.com>
      Signed-off-by: NSantosh Shilimkar <santosh.shilimkar@ti.com>
      cefcadea
    • S
      OMAP: Print Initiator name for l3 custom error. · 551a9fa9
      sricharan 提交于
      The initiator id gets logged in the l3 target registers for custom error.
      So print it to aid debugging.
      
      Based on a internal patch by Devaraj Rangasamy <dev@ti.com>
      Signed-off-by: Nsricharan <r.sricharan@ti.com>
      Signed-off-by: NSantosh Shilimkar <santosh.shilimkar@ti.com>
      551a9fa9
    • S
      OMAP: Fix sparse warnings in l3 error handler. · 6616aac6
      sricharan 提交于
      Fix below sparse warnings from the l3-noc and l3-smx error handlers
      files.
      
      arch/arm/mach-omap2/omap_l3_smx.h:209:22: warning: symbol 'omap3_l3_app_bases' was not declared. Should it be static?
      arch/arm/mach-omap2/omap_l3_smx.h:308:22: warning: symbol 'omap3_l3_debug_bases' was not declared. Should it be static?
      arch/arm/mach-omap2/omap_l3_smx.h:325:2: warning: incorrect type in initializer (different address spaces)
      arch/arm/mach-omap2/omap_l3_smx.h:325:2:    expected unsigned int [usertype] *
      arch/arm/mach-omap2/omap_l3_smx.h:325:2:    got unsigned int [noderef] [toplevel] <asn:2>*<noident>
      arch/arm/mach-omap2/omap_l3_smx.h:326:2: warning: incorrect type in initializer (different address spaces)
      arch/arm/mach-omap2/omap_l3_smx.h:326:2:    expected unsigned int [usertype] *
      arch/arm/mach-omap2/omap_l3_smx.h:326:2:    got unsigned int [noderef] [toplevel] <asn:2>*<noident>
      arch/arm/mach-omap2/omap_l3_smx.h:324:5: warning: symbol 'omap3_l3_bases' was not declared. Should it be static?
        CC      arch/arm/mach-omap2/omap_l3_smx.o
        CHECK   arch/arm/mach-omap2/omap_l3_noc.c
      arch/arm/mach-omap2/omap_l3_noc.c:73:13: warning: symbol '__v' shadows an earlier one
      arch/arm/mach-omap2/omap_l3_noc.c:73:13: originally declared here
      arch/arm/mach-omap2/omap_l3_noc.c:83:20: warning: symbol '__v' shadows an earlier one
      arch/arm/mach-omap2/omap_l3_noc.c:83:20: originally declared here
      arch/arm/mach-omap2/omap_l3_noc.c:90:5: warning: symbol '__v' shadows an earlier one
      arch/arm/mach-omap2/omap_l3_noc.c:90:5: originally declared here
      arch/arm/mach-omap2/omap_l3_noc.h:39:5: warning: symbol 'l3_flagmux' was not declared. Should it be static?
      arch/arm/mach-omap2/omap_l3_noc.h:46:5: warning: symbol 'l3_targ_inst_clk1' was not declared. Should it be static?
      arch/arm/mach-omap2/omap_l3_noc.h:54:5: warning: symbol 'l3_targ_inst_clk2' was not declared. Should it be static?
      arch/arm/mach-omap2/omap_l3_noc.h:75:5: warning: symbol 'l3_targ_inst_clk3' was not declared. Should it be static?
      arch/arm/mach-omap2/omap_l3_noc.h:79:6: warning: symbol 'l3_targ_inst_name' was not declared. Should it be static?
      arch/arm/mach-omap2/omap_l3_noc.h:112:5: warning: symbol 'l3_targ' was not declared. Should it be static?
      arch/arm/mach-omap2/omap_l3_noc.c:72:11: warning: cast removes address space of expression
      arch/arm/mach-omap2/omap_l3_noc.c:73:13: warning: incorrect type in argument 1 (different base types)
      arch/arm/mach-omap2/omap_l3_noc.c:73:13:    expected void const volatile [noderef] <asn:2>*<noident>
      arch/arm/mach-omap2/omap_l3_noc.c:73:13:    got unsigned int
      arch/arm/mach-omap2/omap_l3_noc.c:83:20: warning: incorrect type in argument 1 (different base types)
      arch/arm/mach-omap2/omap_l3_noc.c:83:20:    expected void const volatile [noderef] <asn:2>*<noident>
      arch/arm/mach-omap2/omap_l3_noc.c:83:20:    got unsigned int
      arch/arm/mach-omap2/omap_l3_noc.c:90:5: warning: incorrect type in argument 1 (different base types)
      arch/arm/mach-omap2/omap_l3_noc.c:90:5:    expected void const volatile [noderef] <asn:2>*<noident>
      arch/arm/mach-omap2/omap_l3_noc.c:90:5:    got unsigned int
      arch/arm/mach-omap2/omap_l3_noc.c:96:5: warning: incorrect type in argument 1 (different base types)
      arch/arm/mach-omap2/omap_l3_noc.c:96:5:    expected void const volatile [noderef] <asn:2>*<noident>
      arch/arm/mach-omap2/omap_l3_noc.c:96:5:    got unsigned int
      arch/arm/mach-omap2/omap_l3_noc.c:108:5: warning: incorrect type in argument 1 (different base types)
      arch/arm/mach-omap2/omap_l3_noc.c:108:5:    expected void const volatile [noderef] <asn:2>*<noident>
      arch/arm/mach-omap2/omap_l3_noc.c:108:5:    got unsigned int
      Signed-off-by: Nsricharan <r.sricharan@ti.com>
      Signed-off-by: NSantosh Shilimkar <santosh.shilimkar@ti.com>
      Reported-by: NPaul Walmsley <paul@pwsan.com>
      Reviewed-by: NPaul Walmsley <paul@pwsan.com>
      6616aac6
    • S
      OMAP: Fix indentation issues in l3 error handler. · ed0e3520
      sricharan 提交于
      The indentation problems in the l3 noc and smx
      error handler files are fixed.
      Signed-off-by: Nsricharan <r.sricharan@ti.com>
      Signed-off-by: NSantosh Shilimkar <santosh.shilimkar@ti.com>
      Reported-by: NPaul Walmsley <paul@pwsan.com>
      ed0e3520
    • T
      OMAP: Fix a BUG in l3 error handler. · c1df2dcc
      Todd Poynor 提交于
      With the current sequence of registering the irq and
      assigning it to the app_irq, debug_irq driver variables,
      there can be corner cases where the pending irq gets
      triggered immediately after registering, handler gets called
      resulting in a crash. So changed this sequence.
      Signed-off-by: Nsricharan <r.sricharan@ti.com>
      Signed-off-by: NTodd Poynor <toddpoynor@google.com>
      Signed-off-by: NSantosh Shilimkar <santosh.shilimkar@ti.com>
      c1df2dcc
    • T
      OMAP: Improve register access in L3 Error handler. · 342fd144
      Todd Poynor 提交于
      * Changed the way of accessing L3 target
        registers from standard base rather
        than relative to STDERRLOG_MAIN.
      
      * Use ffs() to find error source from
        the L3_FLAGMUX_REGERRn register.
      
      * Remove extra l3_base[] entry.
      
      * Modified L3 custom error message.
      Signed-off-by: NTodd Poynor <toddpoynor@google.com>
      Signed-off-by: Nsricharan <r.sricharan@ti.com>
      Signed-off-by: NSantosh Shilimkar <santosh.shilimkar@ti.com>
      342fd144