22 Feb, 2013

1 commit

  • Pull ARM SoC-specific updates from Arnd Bergmann:
    "This is a larger set of new functionality for the existing SoC
    families, including:

    - vt8500 gains support for new CPU cores, notably the Cortex-A9 based
    wm8850

    - prima2 gains support for the "marco" SoC family, its SMP based
    cousin

    - tegra gains support for the new Tegra4 (Tegra114) family

    - socfpga now supports a newer version of the hardware including SMP

    - i.mx31 and bcm2835 are now using DT probing for their clocks

    - lots of updates for sh-mobile

    - OMAP updates for clocks, power management and USB

    - i.mx6q and tegra now support cpuidle

    - kirkwood now supports PCIe hot plugging

    - tegra clock support is updated

    - tegra USB PHY probing gets implemented diffently"

    * tag 'soc' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (148 commits)
    ARM: prima2: remove duplicate v7_invalidate_l1
    ARM: shmobile: r8a7779: Correct TMU clock support again
    ARM: prima2: fix __init section for cpu hotplug
    ARM: OMAP: Consolidate OMAP USB-HS platform data (part 3/3)
    ARM: OMAP: Consolidate OMAP USB-HS platform data (part 1/3)
    arm: socfpga: Add SMP support for actual socfpga harware
    arm: Add v7_invalidate_l1 to cache-v7.S
    arm: socfpga: Add entries to enable make dtbs socfpga
    arm: socfpga: Add new device tree source for actual socfpga HW
    ARM: tegra: sort Kconfig selects for Tegra114
    ARM: tegra: enable ARCH_REQUIRE_GPIOLIB for Tegra114
    ARM: tegra: Fix build error w/ ARCH_TEGRA_114_SOC w/o ARCH_TEGRA_3x_SOC
    ARM: tegra: Fix build error for gic update
    ARM: tegra: remove empty tegra_smp_init_cpus()
    ARM: shmobile: Register ARM architected timer
    ARM: MARCO: fix the build issue due to gic-vic-to-irqchip move
    ARM: shmobile: r8a7779: Correct TMU clock support
    ARM: mxs_defconfig: Select CONFIG_DEVTMPFS_MOUNT
    ARM: mxs: decrease mxs_clockevent_device.min_delta_ns to 2 clock cycles
    ARM: mxs: use apbx bus clock to drive the timers on timrotv2
    ...

    Linus Torvalds
     

26 Jan, 2013

1 commit

  • Remove now-obsolete code from arch/arm/mach-omap2/omap_device.c. This
    mostly consists of removing the first attempt at device PM latency
    handling. This was never really used, has been replaced by the common
    dev_pm_qos code, and needs to go away as part of the DT conversion.
    Also, the early platform_device creation code has been removed, as it
    appears to be unused.

    Signed-off-by: Paul Walmsley
    Cc: Kevin Hilman

    Paul Walmsley
     

12 Jan, 2013

1 commit

  • This way the initcalls don't run on other SoCs on multiplatform
    kernels. Otherwise we'll get something like this when booting
    on vexpress:

    omap_hwmod: _ensure_mpu_hwmod_is_setup: MPU initiator hwmod mpu not yet registered
    ...
    WARNING: at arch/arm/mach-omap2/pm.c:82 _init_omap_device+0x74/0x94()
    _init_omap_device: could not find omap_hwmod for mpu
    ...
    omap-dma-engine omap-dma-engine: OMAP DMA engine driver
    ...

    Tested-by: Ezequiel Garcia
    Signed-off-by: Tony Lindgren

    Tony Lindgren
     

19 Oct, 2012

2 commits


18 Oct, 2012

1 commit


02 Oct, 2012

1 commit

  • Pull ARM soc general cleanups from Olof Johansson:
    "This is a large branch that contains a handful of different cleanups:

    - Fixing up the I/O space remapping on PCI on ARM. This is a series
    from Rob Herring that restructures how all pci devices allocate I/O
    space, and it's part of the work to allow multiplatform kernels.
    - A number of cleanup series for OMAP, moving and removing some
    headers, sparse irq rework and in general preparation for
    multiplatform.
    - Final removal of all non-DT boards for Tegra, it is now
    device-tree-only!
    - Removal of a stale platform, nxp4008. It's an old mobile chipset
    that is no longer in use, and was very likely never really used
    with a mainline kernel. We have not been able to find anyone
    interested in keeping it around in the kernel.
    - Removal of the legacy dmaengine driver on tegra

    + A handful of other things that I haven't described above."

    Fix up some conflicts with the staging tree (and because nxp4008 was
    removed)

    * tag 'cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (184 commits)
    ARM: OMAP2+: serial: Change MAX_HSUART_PORTS to 6
    ARM: OMAP4: twl-common: Support for additional devices on i2c1 bus
    ARM: mmp: using for_each_set_bit to simplify the code
    ARM: tegra: harmony: fix ldo7 regulator-name
    ARM: OMAP2+: Make omap4-keypad.h local
    ARM: OMAP2+: Make l4_3xxx.h local
    ARM: OMAP2+: Make l4_2xxx.h local
    ARM: OMAP2+: Make l3_3xxx.h local
    ARM: OMAP2+: Make l3_2xxx.h local
    ARM: OMAP1: Move irda.h from plat to mach
    ARM: OMAP2+: Make hdq1w.h local
    ARM: OMAP2+: Make gpmc-smsc911x.h local
    ARM: OMAP2+: Make gpmc-smc91x.h local
    ARM: OMAP1: Move flash.h from plat to mach
    ARM: OMAP2+: Make debug-devices.h local
    ARM: OMAP1: Move board-voiceblue.h from plat to mach
    ARM: OMAP1: Move board-sx1.h from plat to mach
    ARM: OMAP2+: Make omap-wakeupgen.h local
    ARM: OMAP2+: Make omap-secure.h local
    ARM: OMAP2+: Make ctrl_module_wkup_44xx.h local
    ...

    Linus Torvalds
     

13 Sep, 2012

2 commits

  • …git/pjw/omap-pending into cleanup-makefile-sparse

    smatch and string-wrapping cleanups for the OMAP subarch code.

    These changes fix some of the more meaningful warnings that smatch
    returns for the OMAP subarch code, and unwraps strings that are
    wrapped at the 80-column boundary, to conform with the current
    practice.

    Basic build, boot, and PM logs are available here:

    http://www.pwsan.com/omap/testlogs/warnings_a_cleanup_3.7/20120912025927/

    Tony Lindgren
     
  • This way we can remove includes of plat/gpio.h which won't work
    with the single zImage support.

    Note that we also remove the cpu_class_is_omap2() check
    in gpio-omap.c as the drivers should not call it as we need to
    make it local to arch/arm/mach-omap2 for single zImage support.

    While at it, arrange the related includes in the standard way.

    Cc: Grant Likely
    Cc: linux-mtd@lists.infradead.org
    Cc: alsa-devel@alsa-project.org
    Acked-by: Linus Walleij
    Signed-off-by: Tony Lindgren

    Tony Lindgren
     

12 Sep, 2012

1 commit

  • Resolve the following warnings from smatch:

    arch/arm/mach-omap2/gpmc.c:282 gpmc_cs_set_timings() info: why not propagate 'div' from gpmc_cs_calc_divider() instead of -1?
    arch/arm/mach-omap2/serial.c:328 omap_serial_init_port() error: 'pdev' dereferencing possible ERR_PTR()
    arch/arm/mach-omap2/timer.c:213 omap2_gp_clockevent_init() Error invalid range 4096 to -1
    arch/arm/mach-omap2/gpio.c:63 omap2_gpio_dev_init() warn: possible memory leak of 'pdata'
    arch/arm/mach-omap2/omap_hwmod.c:1478 _assert_hardreset() warn: assigning -22 to unsigned variable 'ret'
    arch/arm/mach-omap2/omap_hwmod.c:1487 _assert_hardreset() warn: 4294963201 is more than 255 (max '(ret)' can be) so this is always the same.
    arch/arm/mach-omap2/omap_hwmod.c:1545 _read_hardreset() warn: assigning -22 to unsigned variable 'ret'
    arch/arm/mach-omap2/omap_hwmod.c:1554 _read_hardreset() warn: 4294963201 is more than 255 (max '(ret)' can be) so this is always the same.
    arch/arm/mach-omap2/dpll3xxx.c:629 omap3_clkoutx2_recalc() error: we previously assumed 'pclk' could be null (see line 627)
    arch/arm/mach-omap2/board-n8x0.c:422 n8x0_mmc_late_init() Error invalid range 14 to 13
    arch/arm/mach-omap1/leds-h2p2-debug.c:71 h2p2_dbg_leds_event() error: potentially derefencing uninitialized 'fpga'.
    arch/arm/plat-omap/mux.c:79 omap_cfg_reg() Error invalid range 4096 to -1

    Thanks to Tony Lindgren for pointing out that BUG()
    can be disabled. The changes in the first version that removed the
    subsequent return() after BUG() states have been dropped.

    Signed-off-by: Paul Walmsley
    Cc: Tony Lindgren

    Paul Walmsley
     

11 Sep, 2012

1 commit


25 May, 2012

1 commit

  • Pull GPIO driver changes from Grant Likely:
    "Lots of gpio changes, both to core code and drivers.

    Changes do touch architecture code to remove the need for separate
    arm/gpio.h includes in most architectures.

    Some new drivers are added, and a number of gpio drivers are converted
    to use irq_domains for gpio inputs used as interrupts. Device tree
    support has been amended to allow multiple gpio_chips to use the same
    device tree node.

    Remaining changes are primarily bug fixes."

    * tag 'gpio-for-linus' of git://git.secretlab.ca/git/linux-2.6: (33 commits)
    gpio/generic: initialize basic_mmio_gpio shadow variables properly
    gpiolib: Remove 'const' from data argument of gpiochip_find()
    gpio/rc5t583: add gpio driver for RICOH PMIC RC5T583
    gpiolib: quiet gpiochip_add boot message noise
    gpio: mpc8xxx: Prevent NULL pointer deref in demux handler
    gpio/lpc32xx: Add device tree support
    gpio: Adjust of_xlate API to support multiple GPIO chips
    gpiolib: Implement devm_gpio_request_one()
    gpio-mcp23s08: dbg_show: fix pullup configuration display
    Add support for TCA6424A
    gpio/omap: (re)fix wakeups on level-triggered GPIOs
    gpio/omap: fix broken context restore for non-OFF mode transitions
    gpio/omap: fix missing check in *_runtime_suspend()
    gpio/omap: remove cpu_is_omapxxxx() checks from *_runtime_resume()
    gpio/omap: remove suspend/resume callbacks
    gpio/omap: remove retrigger variable in gpio_irq_handler
    gpio/omap: remove saved_wakeup field from struct gpio_bank
    gpio/omap: remove suspend_wakeup field from struct gpio_bank
    gpio/omap: remove saved_fallingdetect, saved_risingdetect
    gpio/omap: remove virtual_irq_start variable
    ...

    Conflicts:
    drivers/gpio/gpio-samsung.c

    Linus Torvalds
     

23 May, 2012

1 commit

  • Pull device tree conversions for arm-soc, part 1, from Olof Johansson:
    "The spear3xx, lpc32xx, shmobile and mmp platforms are joining the game
    of booting using device trees, which is a great step forward for them.
    at91 and spear have pretty much completed this process with a huge
    amount of work being put into at91. The other platforms are
    continuing the process.

    We finally start to see the payback on this investment, as new
    machines are getting supported purely by adding a .dts source file
    that can be completely independent of the kernel source."

    Fix up trivial conflict in arch/arm/Kconfig

    * tag 'dt' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (83 commits)
    ARM: at91: Add ADC driver to at91sam9260/at91sam9g20 dtsi files
    arm/dts: omap4-panda: Add LEDs support
    arm/dts: omap4-sdp: Add LEDs support
    arm/dts: twl4030: Add twl4030-gpio node
    OMAP4: devices: Do not create mcpdm device if the dtb has been provided
    OMAP4: devices: Do not create dmic device if the dtb has been provided
    Documentation: update docs for mmp dt
    ARM: dts: refresh dts file for arch mmp
    ARM: mmp: support pxa910 with device tree
    ARM: mmp: support mmp2 with device tree
    gpio: pxa: parse gpio from DTS file
    ARM: mmp: support DT in timer
    ARM: mmp: support DT in irq
    ARM: mmp: append CONFIG_MACH_MMP2_DT
    ARM: mmp: fix build issue on mmp with device tree
    ARM: ux500: Enable PRCMU Timer 4 (clocksource) for Device Tree
    ARM: ux500: Disable SMSC911x platform code registration when DT is enabled
    ARM: ux500: Fork cpu-db8500 platform_devs for sequential DT enablement
    ARM: ux500: Do not attempt to register non-existent i2c devices on Snowball
    ARM: SPEAr3xx: Correct keyboard data passed from DT
    ...

    Linus Torvalds
     

12 May, 2012

2 commits

  • Add register offsets for GPIO_IRQSTATUS_RAW_0, GPIO_IRQSTATUS_RAW_0
    which are present on OMAP4+ processors. Now we can distinguish
    conditions applicable to OMAP4,5 and those specific to OMAP24xx
    and OMAP3xxx.

    Cc: Kevin Hilman
    Cc: Tony Lindgren
    Cc: Santosh Shilimkar
    Cc: Cousson, Benoit
    Cc: Grant Likely
    Signed-off-by: Tarun Kanti DebBarma
    Reviewed-by: Santosh Shilimkar
    Tested-by: Govindraj.R
    Signed-off-by: Kevin Hilman

    Tarun Kanti DebBarma
     
  • This cleanup got missed while implementing following:
    25db711 gpio/omap: Fix IRQ handling for SPARSE_IRQ
    384ebe1 gpio/omap: Add DT support to GPIO driver

    Cc: Kevin Hilman
    Cc: Tony Lindgren
    Cc: Santosh Shilimkar
    Cc: Cousson, Benoit
    Cc: Grant Likely
    Signed-off-by: Tarun Kanti DebBarma
    Reviewed-by: Santosh Shilimkar
    Tested-by: Govindraj.R
    Signed-off-by: Kevin Hilman

    Tarun Kanti DebBarma
     

18 Apr, 2012

1 commit

  • Resolve some warnings identified by cppcheck in arch/arm/mach-omap2:

    [arch/arm/mach-omap2/usb-tusb6010.c:129]: (style) Checking if unsigned variable 'tmp' is less than zero.
    [arch/arm/mach-omap2/prm_common.c:241]: (error) Possible null pointer dereference: irq_setup - otherwise it is redundant to check if irq_setup is null at line 247
    [arch/arm/mach-omap2/pm34xx.c:790]: (style) Variable 'per_clkdm' is assigned a value that is never used
    [arch/arm/mach-omap2/pm34xx.c:790]: (style) Variable 'core_clkdm' is assigned a value that is never used
    [arch/arm/mach-omap2/pm24xx.c:185]: (style) Variable 'only_idle' is assigned a value that is never used
    [arch/arm/mach-omap2/mux.c:254]: (error) Possible null pointer dereference: mux
    [arch/arm/mach-omap2/mux.c:258]: (error) Possible null pointer dereference: mux
    [arch/arm/mach-omap2/gpmc-onenand.c:178]: (style) Variable 'tick_ns' is assigned a value that is never used
    [arch/arm/mach-omap2/gpio.c:56]: (error) Possible null pointer dereference: pdata - otherwise it is redundant to check if pdata is null at line 57
    [arch/arm/mach-omap2/devices.c:45]: (style) Variable 'l' is assigned a value that is never used
    [arch/arm/mach-omap2/board-omap3evm.c:641] -> [arch/arm/mach-omap2/board-omap3evm.c:639]: (style) Found duplicate branches for if and else.
    [arch/arm/mach-omap2/am35xx-emac.c:95]: (style) Variable 'regval' is assigned a value that is never used
    [arch/arm/mach-omap2/devices.c:74]: (style) Variable 'l' is assigned a value that is never used
    [arch/arm/mach-omap2/pm34xx.c:277]: (style) Variable 'per_prev_state' is assigned a value that is never used
    [arch/arm/plat-omap/dmtimer.c:352]: (error) Possible null pointer dereference: timer - otherwise it is redundant to check if timer is null at line 354
    [arch/arm/plat-omap/omap_device.c:478]: (style) Variable 'c' is assigned a value that is never used
    [arch/arm/plat-omap/usb.c:42]: (style) Variable 'status' is assigned a value that is never used
    [arch/arm/mach-omap1/clock.c:197]: (style) Variable 'dpll1_rate' is assigned a value that is never used
    [arch/arm/mach-omap1/lcd_dma.c:60]: (style) struct or union member 'lcd_dma_info::size' is never used
    [arch/arm/mach-omap1/pm.c:572]: (style) Variable 'entry' is assigned a value that is never used

    Some of them are pretty good catches, such as gpio.c:56 and
    usb-tusb6010.c:129.

    Thanks to Jarkko Nikula for some comments on the sscanf() warnings.
    It seems that the kernel sscanf() ignores the field width anyway for the
    %d format, so those changes have been dropped from this second version.

    Thanks to Daniel Marjamäki for pointing
    out that a variable was unnecessarily marked static in the
    board-omap3evm.c change.

    Signed-off-by: Paul Walmsley
    Cc: Felipe Balbi
    Cc: Tony Lindgren
    Cc: Kevin Hilman
    Cc: Peter Ujfalusi
    Cc: Jarkko Nikula
    Cc: Charulatha Varadarajan
    Cc: Daniel Marjamäki
    Cc: Tarun Kanti DebBarma
    Reviewed-by: Charulatha Varadarajan # for gpio.c

    Paul Walmsley
     

16 Apr, 2012

1 commit

  • * omap/dt-missed-3.4:
    arm/dts: OMAP3: Add mmc controller nodes and board data
    arm/dts: OMAP4: Add mmc controller nodes and board data
    arm/dts: twl: Pass regulator data from dt
    arm/dts: omap4-sdp: Add ks8851 ethernet SPI device
    arm/dts: OMAP3: Add SPI controller nodes
    arm/dts: OMAP4: Add SPI controller nodes
    arm/dts: OMAP3: Add gpio nodes
    arm/dts: OMAP4: Add gpio nodes
    ARM: OMAP2+: board-generic: Remove i2c static init
    arm/dts: omap3-beagle: Add twl4030 and i2c EEPROM
    arm/dts: omap4-sdp: Add twl6030, i2c3 and i2c4 devices
    arm/dts: omap4-panda: Add twl6030 and i2c EEPROM
    arm/dts: twl4030: Add DTS file for twl4030 PM + Audio IC
    arm/dts: twl6030: Add DTS file for twl6030 PMIC

    Olof Johansson
     

12 Mar, 2012

1 commit


11 Mar, 2012

1 commit

  • …d/linux-omap into next/cleanup

    * 'cleanup-pm' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
    ARM: OMAP2+: PM: share some suspend-related functions across OMAP2, 3, 4
    ARM: OMAP2+: omap_device: call all suspend, resume callbacks when OMAP_DEVICE_NO_IDLE_ON_SUSPEND is set
    ARM: OMAP: omap_device: remove omap_device_parent
    ARM: OMAP2+: PM debug: fix the use of debugfs_create_* API
    ARM: OMAP2+: PM: share clkdms_setup() across OMAP2, 3, 4
    ARM: OMAP2+: PM: clean up omap_set_pwrdm_state()
    ARM: OMAP3: PM: remove superfluous calls to pwrdm_clear_all_prev_pwrst()
    ARM: OMAP: convert omap_device_build() and callers to __init
    ARM: OMAP2+: Mark omap_hsmmc_init and omap_mux related functions as __init
    ARM: OMAP2+: Split omap2_hsmmc_init() to properly support I2C GPIO pins
    ARM: OMAP: omap_device: Expose omap_device_{alloc, delete, register}
    ARM: OMAP: Fix build error when mmc_omap is built as module
    ARM: OMAP: Fix kernel panic with HSMMC when twl4030_gpio is a module

    Olof Johansson
     

25 Feb, 2012

1 commit


06 Feb, 2012

10 commits

  • Call runtime pm APIs pm_runtime_get_sync() and pm_runtime_put()
    for enabling/disabling clocks appropriately. Remove syscore_ops and
    instead use SET_RUNTIME_PM_OPS macro.

    There is no more need to call omap_device_disable_idle_on_suspend
    since driver is PM runtime adapted now.

    Signed-off-by: Charulatha V
    Signed-off-by: Tarun Kanti DebBarma
    Reviewed-by: Santosh Shilimkar
    Reviewed-by: Kevin Hilman
    Signed-off-by: Kevin Hilman

    Tarun Kanti DebBarma
     
  • The only bank->type (method) used in the OMAP GPIO driver is MPUIO type as they
    need to be handled separately. Identify the same using a flag and remove all
    METHOD_* macros.

    mpuio_init() function is defined under #ifdefs. It is required only in case
    of MPUIO bank type and only when PM operations are supported by it.
    This is applicable only in case of OMAP16xx SoC's MPUIO GPIO bank type.
    For all the other cases it is a dummy function. Hence clean up the same
    and remove all the OMAP SoC specific #ifdefs.

    Signed-off-by: Charulatha V
    Signed-off-by: Tarun Kanti DebBarma
    Reviewed-by: Santosh Shilimkar
    Acked-by: Tony Lindgren
    Reviewed-by: Kevin Hilman
    Signed-off-by: Kevin Hilman

    Charulatha V
     
  • It is not required to use hard-coded offsets any more in context save and
    restore functions and instead use the generic offsets which have been correctly
    initialized during device registration.

    Signed-off-by: Tarun Kanti DebBarma
    Signed-off-by: Charulatha V
    Reviewed-by: Santosh Shilimkar
    Acked-by: Tony Lindgren
    Reviewed-by: Kevin Hilman
    Signed-off-by: Kevin Hilman

    Tarun Kanti DebBarma
     
  • By adding level and edge detection register offsets and then initializing them
    correctly according to OMAP versions during device registrations we can now remove
    lot of revision checks in these functions.

    Signed-off-by: Tarun Kanti DebBarma
    Signed-off-by: Charulatha V
    Reviewed-by: Santosh Shilimkar
    Acked-by: Tony Lindgren
    Reviewed-by: Kevin Hilman
    Signed-off-by: Kevin Hilman

    Tarun Kanti DebBarma
     
  • Wakeup enable register offset initialized according to OMAP versions
    during device registration. Use this to avoid version checks.
    Starting with OMAP4, legacy registers should not be used in combination
    with the updated regsiters. Use wkup_en register consistently for
    all SoCs wherever applicable.

    Signed-off-by: Tarun Kanti DebBarma
    Signed-off-by: Charulatha V
    Reviewed-by: Santosh Shilimkar
    Acked-by: Tony Lindgren
    Reviewed-by: Kevin Hilman
    Signed-off-by: Kevin Hilman

    Tarun Kanti DebBarma
     
  • Remove cpu-is checks while enabling/disabling OMAP GPIO module during a gpio
    request/free.

    Signed-off-by: Charulatha V
    Reviewed-by: Santosh Shilimkar
    Acked-by: Tony Lindgren
    Reviewed-by: Kevin Hilman
    Signed-off-by: Kevin Hilman

    Charulatha V
     
  • Non-wakeup GPIOs are available only in OMAP2. Avoid cpu_is checks by making
    non_wakeup_gpios as part of pdata.

    Signed-off-by: Charulatha V
    Reviewed-by: Santosh Shilimkar
    Acked-by: Tony Lindgren
    Reviewed-by: Kevin Hilman
    Signed-off-by: Kevin Hilman

    Charulatha V
     
  • Modify omap_gpio_prepare_for_idle() & omap_gpio_resume_after_idle() functions
    to handle save context & restore context respectively in the OMAP GPIO driver
    itself instead of calling these functions from pm specific files.
    For this, in gpio_prepare_for_idle(), call *_get_context_loss_count() and in
    gpio_resume_after_idle() call it again. If the count is different, do restore
    context.

    Signed-off-by: Charulatha V
    Signed-off-by: Tarun Kanti DebBarma
    Reviewed-by: Santosh Shilimkar
    Acked-by: Tony Lindgren
    Reviewed-by: Kevin Hilman
    Signed-off-by: Kevin Hilman

    Tarun Kanti DebBarma
     
  • In omap3, save/restore context is implemented for GPIO banks 2-6 as GPIO bank1
    is in wakeup domain. Instead of identifying bank's power domain by bank id,
    use 'loses_context' flag which is filled by pwrdm_can_ever_lose_context()
    during dev_init.

    For getting the powerdomain pointer, omap_hwmod_get_pwrdm() is used.
    omap_device_get_pwrdm() could not be used as the pwrdm information needs to be
    filled in pdata, whereas omap_device_get_pwrdm() could be used only after
    omap_device_build() call.

    Signed-off-by: Charulatha V
    Reviewed-by: Santosh Shilimkar
    Reviewed-by: Kevin Hilman
    Signed-off-by: Kevin Hilman

    Charulatha V
     
  • The gpio_bank_count is the count of number of GPIO devices in a SoC. Remove this
    dependency from the driver by using list. Also remove the dependency on array of
    pointers to gpio_bank struct of all GPIO devices.

    Signed-off-by: Charulatha V
    Reviewed-by: Santosh Shilimkar
    Acked-by: Tony Lindgren
    Reviewed-by: Kevin Hilman
    Signed-off-by: Kevin Hilman

    Charulatha V
     

05 Oct, 2011

1 commit


16 Sep, 2011

2 commits


23 Jul, 2011

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/suspend-2.6: (51 commits)
    PM: Improve error code of pm_notifier_call_chain()
    PM: Add "RTC" to PM trace time stamps to avoid confusion
    PM / Suspend: Export suspend_set_ops, suspend_valid_only_mem
    PM / Suspend: Add .suspend_again() callback to suspend_ops
    PM / OPP: Introduce function to free cpufreq table
    ARM / shmobile: Return -EBUSY from A4LC power off if A3RV is active
    PM / Domains: Take .power_off() error code into account
    ARM / shmobile: Use genpd_queue_power_off_work()
    ARM / shmobile: Use pm_genpd_poweroff_unused()
    PM / Domains: Introduce function to power off all unused PM domains
    OMAP: PM: disable idle on suspend for GPIO and UART
    OMAP: PM: omap_device: add API to disable idle on suspend
    OMAP: PM: omap_device: add system PM methods for PM domain handling
    OMAP: PM: omap_device: conditionally use PM domain runtime helpers
    PM / Runtime: Add new helper function: pm_runtime_status_suspended()
    PM / Domains: Queue up power off work only if it is not pending
    PM / Domains: Improve handling of wakeup devices during system suspend
    PM / Domains: Do not restore all devices on power off error
    PM / Domains: Allow callbacks to execute all runtime PM helpers
    PM / Domains: Do not execute device callbacks under locks
    ...

    Linus Torvalds
     

13 Jul, 2011

1 commit

  • Until these drivers are runtime PM converted, their device power
    states are managed by calling custom driver hooks late in the
    idle/suspend path. Therefore, do not let the suspend/resume core code
    automatically idle these devices since they will be managed manually
    by the OMAP PM core very late in the idle/suspend path.

    Signed-off-by: Kevin Hilman
    Signed-off-by: Rafael J. Wysocki

    Kevin Hilman
     

17 Jun, 2011

5 commits