1. 14 9月, 2012 1 次提交
  2. 09 8月, 2012 1 次提交
    • A
      Input: eeti_ts: pass gpio value instead of IRQ · 4eef6cbf
      Arnd Bergmann 提交于
      The EETI touchscreen asserts its IRQ line as soon as it has data in its
      internal buffers. The line is automatically deasserted once all data has
      been read via I2C. Hence, the driver has to monitor the GPIO line and
      cannot simply rely on the interrupt handler reception.
      
      In the current implementation of the driver, irq_to_gpio() is used to
      determine the GPIO number from the i2c_client's IRQ value.
      
      As irq_to_gpio() is not available on all platforms, this patch changes
      this and makes the driver ignore the passed in IRQ. Instead, a GPIO is
      added to the platform_data struct and gpio_to_irq is used to derive the
      IRQ from that GPIO. If this fails, bail out. The driver is only able to
      work in environments where the touchscreen GPIO can be mapped to an
      IRQ.
      
      Without this patch, building raumfeld_defconfig results in:
      
      drivers/input/touchscreen/eeti_ts.c: In function 'eeti_ts_irq_active':
      drivers/input/touchscreen/eeti_ts.c:65:2: error: implicit declaration of function 'irq_to_gpio' [-Werror=implicit-function-declaration]
      Signed-off-by: NDaniel Mack <zonque@gmail.com>
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: stable@vger.kernel.org (v3.2+)
      Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
      Cc: Sven Neumann <s.neumann@raumfeld.com>
      Cc: linux-input@vger.kernel.org
      Cc: Haojian Zhuang <haojian.zhuang@gmail.com>
      4eef6cbf
  3. 19 7月, 2012 1 次提交
  4. 10 7月, 2012 1 次提交
    • R
      ARM: sa11x0/pxa: convert OS timer registers to IOMEM · 3169663a
      Russell King 提交于
      Make the OS timer registers have IOMEM like properities so they can
      be passed to readl_relaxed/writel_relaxed() et.al. rather than being
      straight volatile dereferences.  Add linux/io.h includes where
      required.
      
      linux/io.h includes added to arch/arm/mach-sa1100/cpu-sa1100.c,
       arch/arm/mach-sa1100/jornada720_ssp.c, arch/arm/mach-sa1100/leds-lart.c
       drivers/input/touchscreen/jornada720_ts.c, drivers/pcmcia/sa1100_shannon.c
      from Arnd.
      
      This fixes these warnings:
      
      arch/arm/mach-sa1100/time.c: In function 'sa1100_timer_init':
      arch/arm/mach-sa1100/time.c:104: warning: passing argument 1 of 'clocksource_mmio_init' discards qualifiers from pointer target type
      arch/arm/mach-pxa/time.c: In function 'pxa_timer_init':
      arch/arm/mach-pxa/time.c:126: warning: passing argument 1 of 'clocksource_mmio_init' discards qualifiers from pointer target type
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      3169663a
  5. 01 7月, 2012 3 次提交
  6. 14 5月, 2012 5 次提交
  7. 05 5月, 2012 1 次提交
  8. 03 5月, 2012 3 次提交
  9. 27 4月, 2012 5 次提交
  10. 06 4月, 2012 1 次提交
    • R
      ARM: fix __io macro for PCMCIA · 1ac02d79
      Rob Herring 提交于
      With commit c334bc15 (ARM: make mach/io.h include optional), PCMCIA was
      broken. PCMCIA depends on __io() returning a valid i/o address, and most
      ARM platforms require IO_SPACE_LIMIT be set to 0xffffffff for PCMCIA. This
      needs a better fix with a fixed i/o address mapping, but for now we just
      restore things to the previous behavior.
      
      This fixes at91, omap1, pxa and sa11xx. pxa needs io.h if PCI is enabled,
      but PCMCIA is not. sa11xx already has IO_SPACE_LIMIT set to 0xffffffff,
      so it doesn't need an io.h.
      Signed-off-by: NRob Herring <rob.herring@calxeda.com>
      Cc: Joachim Eastwood <joachim.eastwood@jotron.com>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Andrew Victor <linux@maxim.org.za>
      Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
      Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
      Tested-by: Paul Parsons <lost.distance@yahoo.com> (pxa270)
      Acked-by: NTony Lindgren <tony@atomide.com>
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      1ac02d79
  11. 31 3月, 2012 1 次提交
    • O
      ARM: fix builds due to missing <asm/system_misc.h> includes · 86dfe446
      Olof Johansson 提交于
      This does a sweeping change fixing up all the missing system_misc.h and
      system_info.h includes from the system.h split-up change. These were the
      ones I came across when building all defconfigs in arch/arm/configs, there
      might be more but they lack adequate build coverage to be easily caught.
      
      I'm expecting to get a lot of these piecemeal by each maintainer, so we
      might just as well do one sweeping change to get them all at once.
      
      Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Sascha Hauer <kernel@pengutronix.de>
      Cc: Imre Kaloz <kaloz@openwrt.org>
      Cc: Krzysztof Halasa <khc@pm.waw.pl>
      Cc: Eric Miao <eric.y.miao@gmail.com>
      Cc: Haojian Zhuang <haojian.zhuang@gmail.com>
      Cc: Wan ZongShun <mcuos.com@gmail.com>
      Acked-by: NKukjin Kim <kgene.kim@samsung.com>
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      86dfe446
  12. 30 3月, 2012 3 次提交
  13. 29 3月, 2012 1 次提交
  14. 28 3月, 2012 1 次提交
    • P
      ARM: pxa: fix regulator related build fail in magician_defconfig · 3a569132
      Paul Gortmaker 提交于
      commit 737f360d (linux-next)
      
        "regulator: Remove support for supplies specified by struct device"
      
      deletes the field from the struct, but this platform was still trying
      to set those fields.  Delete the assignments.
      
      arch/arm/mach-pxa/magician.c:581: error: unknown field 'dev' specified in initializer
      arch/arm/mach-pxa/magician.c:581: warning: initialization from incompatible pointer type
      arch/arm/mach-pxa/magician.c:585: error: unknown field 'dev' specified in initializer
      arch/arm/mach-pxa/magician.c:585: warning: initialization from incompatible pointer type
      
      arch/arm/mach-pxa/hx4700.c:683: error: unknown field 'dev' specified in initializer
      arch/arm/mach-pxa/hx4700.c:683: warning: initialization from incompatible pointer type
      arch/arm/mach-pxa/hx4700.c:687: error: unknown field 'dev' specified in initializer
      arch/arm/mach-pxa/hx4700.c:687: warning: initialization from incompatible pointer type
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: NHaojian Zhuang <haojian.zhuang@gmail.com>
      3a569132
  15. 26 3月, 2012 2 次提交
  16. 24 3月, 2012 1 次提交
  17. 14 3月, 2012 3 次提交
  18. 07 3月, 2012 1 次提交
  19. 06 3月, 2012 4 次提交
  20. 28 2月, 2012 1 次提交