1. 08 4月, 2013 1 次提交
    • L
      ARM: ux500: move PM-related PRCMU functions to machine · 1e22a8c6
      Linus Walleij 提交于
      We are trying to decompose and decentralize the code in
      the DB8500 PRCMU out into subdrivers. The code moved in
      this patch concerns a group of functions used for
      decoupling and recoupling the IRQs from the GIC. During
      sleep and idle the Ux500 system will transfer all IRQ
      handling to the PRCMU using these functions.
      
      Basically we are left with the two alternatives of code
      placement as:
      
      - arch/arm/mach-ux500/pm.c - this because the code is
        closely related to the GIC, and takes ownership of
        some of the registers from the PRCMU related to this
        PM functionality.
      
      - drivers/mfd/db8500-prcmu-pm.c - because the code is
        affecting stuff in the PRCMU register range. But then
        this code needs to remap and handle GIC registers.
      
      This patch implementation is taking the first approach.
      
      Currently the cpuidle driver is the only piece of code
      using this set of functions, but it will later also be
      used by the suspend/resume code which is currently under
      review.
      
      The header file is moved to:
      <linux/platform_data/arm-ux500-pm.h>
      The function prototypes need to be placed in a globally
      visible header since the CPUidle code is planned to move
      out to drivers/cpuidle.
      Acked-by: NSamuel Ortiz <sameo@linux.intel.com>
      Acked-by: NRickard Andersson <rickard.andersson@stericsson.com>
      Acked-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      1e22a8c6
  2. 25 2月, 2013 2 次提交
  3. 22 2月, 2013 1 次提交
  4. 15 2月, 2013 1 次提交
  5. 14 2月, 2013 2 次提交
  6. 13 2月, 2013 3 次提交
    • R
      mfd: omap-usb-host: override number of ports from platform data · ccac71a7
      Roger Quadros 提交于
      Both OMAP4 and 5 exhibit the same revision ID in the REVISION register
      but they have different number of ports i.e. 2 and 3 respectively.
      So we can't rely on REVISION register for number of ports on OMAP5
      and depend on platform data (or device tree) instead.
      Signed-off-by: NRoger Quadros <rogerq@ti.com>
      Reviewed-by: NFelipe Balbi <balbi@ti.com>
      ccac71a7
    • R
      ARM: OMAP: Consolidate OMAP USB-HS platform data (part 1/3) · 7f07863e
      Roger Quadros 提交于
      Let's have a single platform data structure for the OMAP's High-Speed
      USB host subsystem instead of having 3 separate ones i.e. one for
      board data, one for USB Host (UHH) module and one for USB-TLL module.
      
      This makes the code much simpler and avoids creating multiple copies of
      platform data.
      
      Part 1 touches platform headers
      Part 2 touches drivers
      Part 3 touches platform data
      Signed-off-by: NRoger Quadros <rogerq@ti.com>
      Reviewed-by: NFelipe Balbi <balbi@ti.com>
      7f07863e
    • 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
  7. 11 2月, 2013 1 次提交
  8. 08 2月, 2013 1 次提交
  9. 07 2月, 2013 3 次提交
  10. 06 2月, 2013 1 次提交
    • H
      iommu/shmobile: Add iommu driver for Renesas IPMMU modules · c2c460f7
      Hideki EIRAKU 提交于
      This is the Renesas IPMMU driver and IOMMU API implementation.
      
      The IPMMU module supports the MMU function and the PMB function.  The
      MMU function provides address translation by pagetable compatible with
      ARMv6.  The PMB function provides address translation including
      tile-linear translation.  This patch implements the MMU function.
      
      The iommu driver does not register a platform driver directly because:
      - the register space of the MMU function and the PMB function
        have a common register (used for settings flush), so they should ideally
        have a way to appropriately share this register.
      - the MMU function uses the IOMMU API while the PMB function does not.
      - the two functions may be used independently.
      Signed-off-by: NHideki EIRAKU <hdk@igel.co.jp>
      Signed-off-by: NJoerg Roedel <joro@8bytes.org>
      c2c460f7
  11. 04 2月, 2013 3 次提交
  12. 02 2月, 2013 1 次提交
  13. 28 1月, 2013 1 次提交
  14. 26 1月, 2013 1 次提交
  15. 18 1月, 2013 1 次提交
  16. 16 1月, 2013 2 次提交
  17. 15 1月, 2013 1 次提交
  18. 14 1月, 2013 3 次提交
  19. 12 1月, 2013 1 次提交
  20. 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
  21. 25 12月, 2012 1 次提交
  22. 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
  23. 15 12月, 2012 2 次提交
  24. 10 12月, 2012 1 次提交
  25. 07 12月, 2012 3 次提交