1. 15 2月, 2013 1 次提交
  2. 14 2月, 2013 1 次提交
    • A
      ARM: s3c: i2c: add platform_device forward declaration · b2dc0c2b
      Arnd Bergmann 提交于
      A recent cleanup to the mach-osiris.c file is causing build errors
      because the i2c-s3c2410.h header file is included before we see
      the definition for platform_device. The fix is to make the header file
      more robust against inclusion from other places. While this should
      normally go through the i2c tree, the bug only exists in arm-soc
      at the moment, so it's easier to fix it there before it goes upstream.
      
      Without this patch, building s3c2410_defconfig results in:
      
      arch/arm/mach-s3c24xx/mach-osiris.c:34:0:
      include/linux/platform_data/i2c-s3c2410.h:37:26: warning: 'struct platform_device' declared inside parameter list [enabled by default]
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: linux-i2c@vger.kernel.org
      Cc: Wolfram Sang <w.sang@pengutronix.de>
      Cc: Ben Dooks <ben-linux@fluff.org>
      Cc: Kukjin Kim <kgene.kim@samsung.com>
      b2dc0c2b
  3. 13 2月, 2013 1 次提交
    • M
      driver: net: ethernet: cpsw: dual emac interface implementation · d9ba8f9e
      Mugunthan V N 提交于
      The CPSW switch can act as Dual EMAC by segregating the switch ports
      using VLAN and port VLAN as per the TRM description in
      14.3.2.10.2 Dual Mac Mode
      
      Following CPSW components will be common for both the interfaces.
      * Interrupt source is common for both eth interfaces
      * Interrupt pacing is common for both interfaces
      * Hardware statistics is common for all the ports
      * CPDMA is common for both eth interface
      * CPTS is common for both the interface and it should not be enabled on
        both the interface as timestamping information doesn't contain port
        information.
      
      Constrains
      * Reserved VID of One port should not be used in other interface which will
        enable switching functionality
      * Same VID must not be used in both the interface which will enable switching
        functionality
      Signed-off-by: NMugunthan V N <mugunthanvnm@ti.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      d9ba8f9e
  4. 11 2月, 2013 1 次提交
  5. 07 2月, 2013 2 次提交
  6. 04 2月, 2013 1 次提交
  7. 02 2月, 2013 1 次提交
  8. 28 1月, 2013 1 次提交
  9. 26 1月, 2013 1 次提交
  10. 18 1月, 2013 1 次提交
  11. 16 1月, 2013 2 次提交
  12. 15 1月, 2013 1 次提交
  13. 12 1月, 2013 1 次提交
  14. 08 1月, 2013 2 次提交
    • S
      [media] coda: Fix build due to iram.h rename · e909c682
      Sascha Hauer 提交于
      commit c045e3f1 (ARM: imx: include iram.h rather than mach/iram.h) changed the
      location of iram.h, which causes the following build error when building the coda
      driver:
      
      drivers/media/platform/coda.c:27:23: error: mach/iram.h: No such file or directory
      drivers/media/platform/coda.c: In function 'coda_probe':
      drivers/media/platform/coda.c:2000: error: implicit declaration of function 'iram_alloc'
      drivers/media/platform/coda.c:2001: warning: assignment makes pointer from integer without a cast
      drivers/media/platform/coda.c: In function 'coda_remove':
      drivers/media/platform/coda.c:2024: error: implicit declaration of function 'iram_free'
      
      Since the content of iram.h is not imx specific, move it to
      include/linux/platform_data/imx-iram.h instead. This is an intermediate solution
      until the i.MX iram allocator is converted to the generic SRAM allocator.
      Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de>
      Acked-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      e909c682
    • L
      dma: coh901318: create a proper platform data file · 9f575d97
      Linus Walleij 提交于
      This extracts the platform data that we will keep generic
      from the U300 platform and associates it with the COH901318
      driver in <linux/platform_data/dma-coh901318.h>.
      Acked-by: NVinod Koul <vinod.koul@intel.com>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      9f575d97
  15. 25 12月, 2012 1 次提交
  16. 18 12月, 2012 1 次提交
    • K
      drivers/video/backlight/lp855x_bl.c: use generic PWM functions · 8cc9764c
      Kim, Milo 提交于
      The LP855x family devices support the PWM input for the backlight control.
       Period of the PWM is configurable in the platform side.  Platform
      specific functions are unnecessary anymore because generic PWM functions
      are used inside the driver.
      
      (PWM input mode)
      To set the brightness, new lp855x_pwm_ctrl() is used.
      If a PWM device is not allocated, devm_pwm_get() is called.
      The PWM consumer name is from the chip name such as 'lp8550' and 'lp8556'.
      To get the brightness value, no additional handling is required.
      Just the value of 'props.brightness' is returned.
      
      If the PWM driver is not ready while initializing the LP855x driver, it's
      OK.  The PWM device can be retrieved later, when the brightness value is
      changed.
      
      Documentation is updated with an example.
      
      [akpm@linux-foundation.org: coding-style simplification, per Thierry]
      Signed-off-by: NMilo(Woogyom) Kim <milo.kim@ti.com>
      Cc: Thierry Reding <thierry.reding@avionic-design.de>
      Cc: Richard Purdie <rpurdie@rpsys.net>
      Cc: Bryan Wu <bryan.wu@canonical.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      8cc9764c
  17. 15 12月, 2012 2 次提交
  18. 10 12月, 2012 1 次提交
  19. 07 12月, 2012 4 次提交
  20. 06 12月, 2012 2 次提交
  21. 04 12月, 2012 2 次提交
    • O
      iommu/omap: Adapt to runtime pm · ebf7cda0
      Omar Ramirez Luna 提交于
      Use runtime PM functionality interfaced with hwmod enable/idle
      functions, to replace direct clock operations and sysconfig
      handling.
      
      Due to reset sequence, pm_runtime_[get|put]_sync must be used, to
      avoid possible operations with the module under reset. Because of
      this and given that the driver uses spin_locks to protect their
      critical sections, we must use pm_runtime_irq_safe in order for the
      runtime ops to be happy, otherwise might_sleep_if checks in runtime
      framework will complain.
      
      The remaining pm_runtime out of iommu_enable and iommu_disable
      corresponds to paths that can be accessed through debugfs, some of
      them doesn't work if the module is not enabled first, but in future
      if the mmu is idled withouth freeing, these are needed to debug.
      Signed-off-by: NOmar Ramirez Luna <omar.luna@linaro.org>
      Tested-by: NOhad Ben-Cohen <ohad@wizery.com>
      Acked-by: NTony Lindgren <tony@atomide.com>
      Signed-off-by: NJoerg Roedel <joro@8bytes.org>
      ebf7cda0
    • O
      iommu/omap: Migrate to hwmod framework · 72b15b6a
      Omar Ramirez Luna 提交于
      Use hwmod data and device attributes to build and register an
      omap device for iommu driver.
      
       - Update the naming convention in isp module.
       - Remove unneeded check for number of resources, as this is now
         handled by omap_device and prevents driver from loading.
       - Now unused, remove platform device and resource data, handling
         of sysconfig register for softreset purposes, use default
         latency structure.
       - Use hwmod API for reset handling.
      Signed-off-by: NOmar Ramirez Luna <omar.luna@linaro.org>
      Tested-by: NOhad Ben-Cohen <ohad@wizery.com>
      Signed-off-by: NJoerg Roedel <joro@8bytes.org>
      72b15b6a
  22. 30 11月, 2012 1 次提交
  23. 29 11月, 2012 1 次提交
  24. 22 11月, 2012 1 次提交
  25. 21 11月, 2012 2 次提交
  26. 20 11月, 2012 5 次提交