1. 01 11月, 2011 1 次提交
    • M
      backlight: fix broken regulator API usage in l4f00242t03 · 0556dc34
      Mark Brown 提交于
      The regulator support in the l4f00242t03 is very non-idiomatic.  Rather
      than requesting the regulators based on the device name and the supply
      names used by the device the driver requires boards to pass system
      specific supply names around through platform data.  The driver also
      conditionally requests the regulators based on this platform data, adding
      unneeded conditional code to the driver.
      
      Fix this by removing the platform data and converting to the standard
      idiom, also updating all in tree users of the driver.  As no datasheet
      appears to be available for the LCD I'm guessing the names for the
      supplies based on the existing users and I've no ability to do anything
      more than compile test.
      
      The use of regulator_set_voltage() in the driver is also problematic,
      since fixed voltages are required the expectation would be that the
      voltages would be fixed in the constraints set by the machines rather than
      manually configured by the driver, but is less problematic.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Tested-by: NFabio Estevam <fabio.estevam@freescale.com>
      Cc: Richard Purdie <rpurdie@rpsys.net>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      0556dc34
  2. 29 10月, 2011 6 次提交
  3. 27 10月, 2011 5 次提交
  4. 25 10月, 2011 6 次提交
  5. 24 10月, 2011 1 次提交
  6. 23 10月, 2011 4 次提交
  7. 22 10月, 2011 3 次提交
    • M
      ARM: mach-shmobile: sh7372 A4R support (v4) · 382414b9
      Magnus Damm 提交于
      This change adds support for the sh7372 A4R power domain.
      
      The sh7372 A4R hardware power domain contains the
      SH CPU Core and a set of I/O devices including
      multimedia accelerators and I2C controllers.
      
      One special case about A4R is the INTCS interrupt
      controller that needs to be saved and restored to
      keep working as expected. Also the LCDC hardware
      blocks are in a different hardware power domain
      but have their IRQs routed only through INTCS. So
      as long as LCDCs are active we cannot power down
      INTCS because that would risk losing interrupts.
      Signed-off-by: NMagnus Damm <damm@opensource.se>
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      382414b9
    • M
      ARM: mach-shmobile: sh7372 A3SP support (v4) · d93f5cde
      Magnus Damm 提交于
      This change adds support for the sh7372 A3SP power domain.
      
      The sh7372 A3SP hardware power domain contains a
      wide range of I/O devices. The list of I/O devices
      include SCIF serial ports, DMA Engine hardware,
      SD and MMC controller hardware, USB controllers
      and I2C master controllers.
      
      This patch adds the A3SP low level code which
      powers the hardware power domain on and off. It
      also ties in platform devices to the pm domain
      support code.
      
      It is worth noting that the serial console is
      hooked up to SCIFA0 on most sh7372 boards, and
      the SCIFA0 port is included in the A3SP hardware
      power domain. For this reason we cannot output
      debug messages from the low level power control
      code in the case of A3SP.
      
      QoS support is needed in drivers before we can
      enable the A3SP power control on the fly.
      Signed-off-by: NMagnus Damm <damm@opensource.se>
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      d93f5cde
    • D
      ARM: S3C24XX: Fix s3c24xx build errors if !CONFIG_PM · fb630b9f
      Domenico Andreoli 提交于
      v2:
      - register_syscore_ops(&s3c24xx_irq_syscore_ops) does not need to be
        conditionally compiled out, it is already optimized out on !CONFIG_PM
      - fix also s3c2412 and s3c2416 affected by the same build issue
      
      v1:
      s3c2440.c fails to build if !CONFIG_PM because in such case
      s3c2410_pm_syscore_ops is not defined. Same error should happen also
      in s3c2410.c and s3c2442.c
      Signed-off-by: NDomenico Andreoli <cavokz@gmail.com>
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      fb630b9f
  8. 21 10月, 2011 3 次提交
  9. 18 10月, 2011 6 次提交
    • L
    • M
      ARM: 7135/1: ep93xx: bring back missing <mach/gpio.h> · 374e759d
      Mika Westerberg 提交于
      Change bd5f12a2 (ARM: 7042/3: mach-ep93xx: break out GPIO driver specifics)
      accidentally removed the ep93xx <mach/gpio.h> instead of making it an empty
      file. This causes compilation to fail:
      
      In file included from include/linux/gpio.h:18:0,
                        from drivers/gpio/gpiolib.c:10:
      linux/arch/arm/include/asm/gpio.h:5:23: fatal error: mach/gpio.h: No such file or directory
      compilation terminated.
      make[2]: *** [drivers/gpio/gpiolib.o] Error 1
      
      Fix this by adding the file back.
      Acked-by: NLinus Walleij <linus.walleij@linaro.org>
      Acked-by: NH Hartley Sweeten <hsweeten@visionengravers.com>
      Cc: Ryan Mallon <rmallon@gmail.com>
      Signed-off-by: NMika Westerberg <mika.westerberg@iki.fi>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      374e759d
    • S
      arm/imx: explicitly includes mach/hardware.h in pm-imx27.c · bbbab56e
      Shawn Guo 提交于
      The pm-imx27.c references a number of things requiring the explicit
      inclusion of mach/hardware.h.  Otherwise, when indirect inclusion
      to mach/hardware.h gets cleaned up, we will see the following
      compile error.
      
        CC      arch/arm/mach-imx/pm-imx27.o
      arch/arm/mach-imx/pm-imx27.c: In function ‘mx27_suspend_enter’:
      arch/arm/mach-imx/pm-imx27.c:22:3: error: implicit declaration of function ‘IOMEM’
      arch/arm/mach-imx/pm-imx27.c:22:3: error: implicit declaration of function ‘IMX_IO_P2V’
      arch/arm/mach-imx/pm-imx27.c: In function ‘mx27_pm_init’:
      arch/arm/mach-imx/pm-imx27.c:42:2: error: implicit declaration of function ‘cpu_is_mx27’
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de>
      bbbab56e
    • S
      arm/imx: remove mx27_setup_weimcs() from mx27.h · 25971426
      Shawn Guo 提交于
      The helper function mx27_setup_weimcs() references IOMEM() and
      IMX_IO_P2V() but without required header mach/hardware.h included
      in mx27.h.  This will break the build of those mx27 file with no
      direct inclusion of mach/hardware.h, or when indirect inclusion to
      mach/hardware.h breaks.
      
      For example, when the inclusion of mach/hardware.h gets removed from
      mach/gpio.h, we will see the following compile error.
      
        CC      arch/arm/mach-imx/pm-imx27.o
      In file included from arch/arm/mach-imx/pm-imx27.c:14:0:
      arch/arm/plat-mxc/include/mach/mx27.h: In function ‘mx27_setup_weimcs’:
      arch/arm/plat-mxc/include/mach/mx27.h:138:2: error: implicit declaration of function ‘IOMEM’
      arch/arm/plat-mxc/include/mach/mx27.h:138:2: error: implicit declaration of function ‘IMX_IO_P2V’
      
      This patch removes mx27_setup_weimcs() from mx27.h and makes it local
      to mach-pcm038.c, which is the only user for this helper.
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de>
      25971426
    • S
      arm/imx: explicitly includes mach/hardware.h in mach-kzm_arm11_01.c · f2d9661b
      Shawn Guo 提交于
      The mach-kzm_arm11_01.c references a number of things requiring the
      explicit inclusion of mach/hardware.h.  Otherwise, when indirect
      inclusion to mach/hardware.h gets cleaned up, we will see the following
      compile error.
      
        CC      arch/arm/mach-imx/mach-kzm_arm11_01.o
      arch/arm/mach-imx/mach-kzm_arm11_01.c:71:3: error: implicit declaration of function ‘IOMEM’
      arch/arm/mach-imx/mach-kzm_arm11_01.c:71:3: error: implicit declaration of function ‘IMX_IO_P2V_MODULE’
      arch/arm/mach-imx/mach-kzm_arm11_01.c:71:14: error: ‘MX31_CS4’ undeclared here (not in a function)
      arch/arm/mach-imx/mach-kzm_arm11_01.c:71:14: error: ‘MX31_CS5’ undeclared here (not in a function)
      arch/arm/mach-imx/mach-kzm_arm11_01.c:71:3: error: implicit declaration of function ‘IMX_IO_P2V’
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de>
      f2d9661b
    • S
      arm/imx: remove mx31_setup_weimcs() from mx31.h · f16fcb63
      Shawn Guo 提交于
      The helper function mx31_setup_weimcs() references IOMEM() and
      IMX_IO_P2V() but without required header mach/hardware.h included
      in mx31.h.  This will break the build of those mx31 based board file
      with no direct inclusion of mach/hardware.h, or when indirect inclusion
      to mach/hardware.h breaks.
      
      For example, when the inclusion of mach/hardware.h gets removed from
      mach/gpio.h, we will see the following compile error.
      
        CC      arch/arm/mach-imx/mach-pcm037_eet.o
      In file included from arch/arm/mach-imx/devices-imx31.h:9:0,
                       from arch/arm/mach-imx/mach-pcm037_eet.c:20:
      arch/arm/plat-mxc/include/mach/mx31.h: In function ‘mx31_setup_weimcs’:
      arch/arm/plat-mxc/include/mach/mx31.h:129:2: error: implicit declaration of function ‘IOMEM’
      arch/arm/plat-mxc/include/mach/mx31.h:129:2: error: implicit declaration of function ‘IMX_IO_P2V’
      
      This patch removes mx31_setup_weimcs() from mx31.h and makes it local
      to mach-qong.c, which is the only user for this helper.
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de>
      f16fcb63
  10. 17 10月, 2011 5 次提交