1. 28 1月, 2011 1 次提交
  2. 21 12月, 2010 1 次提交
  3. 08 12月, 2010 2 次提交
    • T
      omap: Fix undefined reference to omap2_i2c_mux_pins · be40f7a3
      Tony Lindgren 提交于
      In some cases we can get error function `omap2_i2c_add_bus':
      arch/arm/plat-omap/i2c.c:136: undefined reference to `omap2_i2c_mux_pins'
      arch/arm/plat-omap/i2c.c:141: undefined reference to `omap_hwmod_lookup'
      arch/arm/plat-omap/i2c.c:157: undefined reference to `omap_device_build'
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      be40f7a3
    • P
      OMAP1: I2C: fix device initialization · 00b4ade1
      Paul Walmsley 提交于
      Commit 4d17aeb1 ("OMAP: I2C: split
      device registration and convert OMAP2+ to omap_device") broke I2C on
      OMAP1.  The following messages appear at boot:
      
      i2c_omap i2c_omap.1: failure requesting irq 0
      i2c_omap: probe of i2c_omap.1 failed with error -22
      
      Investigation revealed that a chunk of code is missing from the
      original plat-omap/i2c.c file which configured the IRQ and base address
      for the I2C block on OMAP1.  Upon adding this back, the OMAP1 I2C block
      seems to initialize correctly.
      
      Thanks to Cory Maccarrone <darkstar6262@gmail.com> for reporting the bug,
      and apologies for the breakage.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Cc: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
      Tested-by: NCory Maccarrone <darkstar6262@gmail.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      00b4ade1
  4. 10 11月, 2010 1 次提交
  5. 27 7月, 2010 1 次提交
    • P
      OMAP: PM constraints: add return values; add requesting device param to... · 564889c1
      Paul Walmsley 提交于
      OMAP: PM constraints: add return values; add requesting device param to omap_pm_set_max_dev_wakeup_lat()
      
      Add return values to the PM constraint functions.  This allows the PM
      core to provide feedback to the caller if a constraint is not
      possible.  Update the one upstream user of omap_pm_set_max_mpu_wakeup_lat()
      to add a compatibility wrapper, needed until the driver is changed.
      
      Update some of the documentation to conform more closely to kerneldoc style.
      
      Add an additional device parameter to omap_pm_set_max_dev_wakeup_lat()
      to identify the device requesting the constraint.  This is so repeated calls
      to omap_pm_set_max_dev_wakeup_lat() with the same requesting device can
      override the device's previously-set constraint.  Also, it allows the PM
      core to make a decision as to whether or not the constraint should be
      satisfied, based on the caller's identity.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      564889c1
  6. 21 5月, 2010 2 次提交
  7. 20 5月, 2010 1 次提交
    • K
      i2c-omap: add mpu wake up latency constraint in i2c · 20c9d2c4
      Kalle Jokiniemi 提交于
      While waiting for completion of the i2c transfer, the
      MPU could hit OFF mode and cause several msecs of
      delay that made i2c transfers fail more often. The
      extra delays and subsequent re-trys cause i2c clocks
      to be active more often. This has also an negative
      effect on power consumption.
      
      Created a mechanism for passing and using the
      constraint setting function in driver code. The used
      mpu wake up latency constraints are now set individually
      per bus, and they are calculated based on clock rate
      and fifo size.
      
      Thanks to Jarkko Nikula, Moiz Sonasath, Paul Walmsley,
      and Nishanth Menon for tuning out the details of
      this patch.
      
      Updates by Kevin as requested by Tony:
      
      - Remove omap_set_i2c_constraint_func() in favor of conditionally
        adding the flag in omap_i2c_add_bus() in order to keep all the OMAP
        conditional checking in a single location.
      - Update set_mpu_wkup_lat prototypes to match OMAP PM layer so
        OMAP PM function can be used directly in pdata.
      
      Cc: Moiz Sonasath <m-sonasath@ti.com>
      Cc: Jarkko Nikula <jhnikula@gmail.com>
      Cc: Paul Walmsley <paul@pwsan.com>
      Cc: Nishanth Menon <nm@ti.com>
      Signed-off-by: NKalle Jokiniemi <kalle.jokiniemi@digia.com>
      Signed-off-by: NKevin Hilman <khilman@deeprootsystems.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      Signed-off-by: NBen Dooks <ben-linux@fluff.org>
      20c9d2c4
  8. 26 2月, 2010 1 次提交
  9. 16 2月, 2010 2 次提交
  10. 12 12月, 2009 1 次提交
  11. 21 10月, 2009 1 次提交
    • T
      omap: headers: Move remaining headers from include/mach to include/plat · ce491cf8
      Tony Lindgren 提交于
      Move the remaining headers under plat-omap/include/mach
      to plat-omap/include/plat. Also search and replace the
      files using these headers to include using the right path.
      
      This was done with:
      
      #!/bin/bash
      mach_dir_old="arch/arm/plat-omap/include/mach"
      plat_dir_new="arch/arm/plat-omap/include/plat"
      headers=$(cd $mach_dir_old && ls *.h)
      omap_dirs="arch/arm/*omap*/ \
      drivers/video/omap \
      sound/soc/omap"
      other_files="drivers/leds/leds-ams-delta.c \
      drivers/mfd/menelaus.c \
      drivers/mfd/twl4030-core.c \
      drivers/mtd/nand/ams-delta.c"
      
      for header in $headers; do
      	old="#include <mach\/$header"
      	new="#include <plat\/$header"
      	for dir in $omap_dirs; do
      		find $dir -type f -name \*.[chS] | \
      			xargs sed -i "s/$old/$new/"
      	done
      	find drivers/ -type f -name \*omap*.[chS] | \
      		xargs sed -i "s/$old/$new/"
      	for file in $other_files; do
      		sed -i "s/$old/$new/" $file
      	done
      done
      
      for header in $(ls $mach_dir_old/*.h); do
      	git mv $header $plat_dir_new/
      done
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      ce491cf8
  12. 26 5月, 2009 1 次提交
  13. 24 3月, 2009 3 次提交
  14. 09 1月, 2009 1 次提交
    • R
      [ARM] fix AT91, davinci, h720x, ks8695, msm, mx2, mx3, netx, omap1, omap2, pxa, s3c · 80b02c17
      Russell King 提交于
      arch/arm/mach-at91/at91cap9.c:337: error: 'NR_AIC_IRQS' undeclared here (not in a function)
      arch/arm/mach-at91/at91rm9200.c:301: error: 'NR_AIC_IRQS' undeclared here (not in a function)
      arch/arm/mach-at91/at91sam9260.c:351: error: 'NR_AIC_IRQS' undeclared here (not in a function)
      arch/arm/mach-at91/at91sam9261.c:287: error: 'NR_AIC_IRQS' undeclared here (not in a function)
      arch/arm/mach-at91/at91sam9263.c:312: error: 'NR_AIC_IRQS' undeclared here (not in a function)
      arch/arm/mach-at91/at91sam9rl.c:304: error: 'NR_AIC_IRQS' undeclared here (not in a function)
      arch/arm/mach-h720x/h7202-eval.c:38: error: implicit declaration of function 'IRQ_CHAINED_GPIOB'
      arch/arm/mach-ks8695/devices.c:46: error: 'KS8695_IRQ_WAN_RX_STATUS' undeclared here (not in a function)
      arch/arm/mach-msm/devices.c:28: error: 'INT_UART1' undeclared here (not in a function)
      arch/arm/mach-mx2/devices.c:233: error: 'MXC_GPIO_IRQ_START' undeclared here (not in a function)
      arch/arm/mach-mx3/devices.c:128: error: 'MXC_GPIO_IRQ_START' undeclared here (not in a function)
      arch/arm/mach-omap1/mcbsp.c:140: error: 'INT_730_McBSP1RX' undeclared here (not in a function)
      arch/arm/mach-omap1/mcbsp.c:165: error: 'INT_McBSP1RX' undeclared here (not in a function)
      arch/arm/mach-omap1/mcbsp.c:200: error: 'INT_McBSP1RX' undeclared here (not in a function)
      arch/arm/mach-omap2/board-apollon.c:286: error: implicit declaration of function 'omap_set_gpio_direction'
      arch/arm/mach-omap2/mcbsp.c:154: error: 'INT_24XX_MCBSP1_IRQ_RX' undeclared here (not in a function)
      arch/arm/mach-omap2/mcbsp.c:181: error: 'INT_24XX_MCBSP1_IRQ_RX' undeclared here (not in a function)
      arch/arm/mach-pxa/e350.c:36: error: 'IRQ_BOARD_START' undeclared here (not in a function)
      arch/arm/plat-s3c/dev-i2c0.c:32: error: 'IRQ_IIC' undeclared here (not in a function)
      ...
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      80b02c17
  15. 11 12月, 2008 1 次提交
  16. 07 8月, 2008 2 次提交
  17. 09 2月, 2008 1 次提交