10 Jan, 2012

2 commits

  • power management changes for omap and imx

    A significant part of the changes for these two platforms went into
    power management, so they are split out into a separate branch.

    * tag 'pm' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (65 commits)
    ARM: imx6: remove __CPUINIT annotation from v7_invalidate_l1
    ARM: imx6: fix v7_invalidate_l1 by adding I-Cache invalidation
    ARM: imx6q: resume PL310 only when CACHE_L2X0 defined
    ARM: imx6q: build pm code only when CONFIG_PM selected
    ARM: mx5: use generic irq chip pm interface for pm functions on
    ARM: omap: pass minimal SoC/board data for UART from dt
    arm/dts: Add minimal device tree support for omap2420 and omap2430
    omap-serial: Add minimal device tree support
    omap-serial: Use default clock speed (48Mhz) if not specified
    omap-serial: Get rid of all pdev->id usage
    ARM: OMAP2+: hwmod: Add a new flag to handle hwmods left enabled at init
    ARM: OMAP4: PRM: use PRCM interrupt handler
    ARM: OMAP3: pm: use prcm chain handler
    ARM: OMAP: hwmod: add support for selecting mpu_irq for each wakeup pad
    ARM: OMAP2+: mux: add support for PAD wakeup interrupts
    ARM: OMAP: PRCM: add suspend prepare / finish support
    ARM: OMAP: PRCM: add support for chain interrupt handler
    ARM: OMAP3/4: PRM: add functions to read pending IRQs, PRM barrier
    ARM: OMAP2+: hwmod: Add API to enable IO ring wakeup
    ARM: OMAP2+: mux: add wakeup-capable hwmod mux entries to dynamic list
    ...

    Linus Torvalds
     
  • Conflicts:
    arch/arm/mach-imx/mach-imx6q.c
    arch/arm/mach-omap2/board-ti8168evm.c
    arch/arm/mach-s3c64xx/Kconfig
    arch/arm/mach-tegra/Makefile
    arch/arm/mach-tegra/board-dt-tegra20.c
    arch/arm/mach-tegra/common.c

    Lots of relatively simple conflicts between the board
    changes and stuff from the arm tree. This pulls in
    the resolution from the samsung/cleanup tree, so we
    don't get conflicting merges.

    Signed-off-by: Arnd Bergmann

    Arnd Bergmann
     

07 Jan, 2012

1 commit


05 Jan, 2012

4 commits


04 Jan, 2012

1 commit


03 Jan, 2012

2 commits


31 Dec, 2011

1 commit


30 Dec, 2011

1 commit

  • The recent suspend/resume and reset testing on imx6q discovers that
    not only D-Cache but also I-Cache has random data and validity when
    the core comes out of a power recycle.

    This patch adds I-Cache invalidation into v7_invalidate_l1 to make
    sure both D-Cache and I-Cache invalidated on power-up.

    Signed-off-by: Shawn Guo

    Shawn Guo
     

26 Dec, 2011

2 commits


20 Dec, 2011

1 commit


19 Dec, 2011

6 commits

  • The i.MX6 Quad SoC will work without the l2x0 L2 cache controller
    support built into the kernel, so this patch removes the dependency
    on CACHE_L2X0.

    This makes the l2x0 support optional, so that it can be turned off
    when desired for debugging purposes etc.

    Since SOC_IMX6Q already depends on ARCH_IMX_V6_V7 and
    ARCH_IMX_V6_V7 selects MIGHT_HAVE_CACHE_L2X0, there is no need to
    select that option explicitly from SOC_IMX6Q.

    Thanks to Shawn Guo for this suggestion. [1]

    [1] http://lists.infradead.org/pipermail/linux-arm-kernel/2011-November/074602.html

    Acked-by: Shawn Guo
    Tested-by: Shawn Guo
    Acked-by: Sascha Hauer

    Dave Martin
     
  • Making SMP depend on (huge list of MACH_ and ARCH_ configs) is
    bothersome to maintain and likely to lead to merge conflicts.

    This patch moves the knowledge of which platforms are SMP-capable
    to the individual machines. To enable this, a new HAVE_SMP config
    option is introduced to allow machines to indicate that they can
    run in a SMP configuration.

    Signed-off-by: Dave Martin
    Acked-by: Linus Walleij
    (for nomadik, ux500)
    Acked-by: Tony Lindgren
    (for omap)
    Acked-by: Kukjin Kim
    (for exynos)
    Acked-by: Sascha Hauer
    (for imx)
    Acked-by: Olof Johansson
    (for tegra)

    Dave Martin
     
  • Signed-off-by: Eric Bénard
    Cc: Sascha Hauer
    Signed-off-by: Sascha Hauer

    Eric Bénard
     
  • in 0d6cfa3a75f5cde5b3ca0dde748fd22625b4f34c I fixed the mach-types
    records. We also need to make the name consistent in Kconfig else
    the machine_is_eukrea_cpuimx35sd macro fails, and thus audio codec
    is not properly initalized.

    Signed-off-by: Eric Bénard
    Cc: Sascha Hauer
    Signed-off-by: Sascha Hauer

    Eric Bénard
     
  • commit 8d75a26 "ARM: mx35: use generic function for displaying silicon revision"
    disabled IIM clock after reading silicon revision which will prevent
    reboot in internal boot mode.

    Signed-off-by: Eric Bénard
    Cc: Jason Liu
    Cc: Sascha Hauer
    Signed-off-by: Sascha Hauer

    Eric Bénard
     
  • in 0d6cfa3a75f5cde5b3ca0dde748fd22625b4f34c I fixed the mach-types
    records. We also need to make the name consistent in Kconfig else
    the machine_is_eukrea_cpuimx25sd macro fails, and thus audio codec
    is not properly initalized.

    Signed-off-by: Eric Bénard
    Cc: Sascha Hauer
    Signed-off-by: Sascha Hauer

    Eric Bénard
     

14 Dec, 2011

4 commits


06 Dec, 2011

1 commit


01 Dec, 2011

2 commits

  • When gpio core dynamically allocate gpio number for a port, it starts
    from the end of the total range, 0 ~ ARCH_NR_GPIOS. That said, the
    earlier a port gets probed, the bigger gpio number it gets assigned.
    To match this, the irq_base for gpio should be assigned from
    'MXC_GPIO_IRQ_START + ARCH_NR_GPIOS' decreasingly.

    Signed-off-by: Shawn Guo

    Shawn Guo
     
  • The of_irq_init() expects the callback passed by .data of of_device_id
    return 'int' instead of 'void'. This patch fixes it to have
    irq_init_cb() return the correct value, and in turn have the secondary
    interrupt controller (gpio in this case) initialized properly and also
    eliminate the error message 'of_irq_init: children remain, but no
    parents' which was overlooked before.

    Signed-off-by: Shawn Guo

    Shawn Guo
     


22 Nov, 2011

4 commits


17 Nov, 2011

1 commit


16 Nov, 2011

1 commit


11 Nov, 2011

3 commits

  • The following error is seen in some case when mounting rootfs from
    SD/MMC cards.

    Waiting for root device /dev/mmcblk0p1...
    mmc1: host does not support reading read-only switch. assuming write-enable.
    mmc1: new high speed SDHC card at address b368
    mmcblk0: mmc1:b368 SDC 3.74 GiB
    mmcblk0: p1
    mmc1: Timeout waiting for hardware interrupt.
    mmcblk0: error -110 transferring data, sector 3678224, nr 40, cmd response 0x900, card status 0xc00
    end_request: I/O error, dev mmcblk0, sector 3678225
    Buffer I/O error on device mmcblk0p1, logical block 458754
    lost page write due to I/O error on mmcblk0p1

    This patch fixes the problem by lowering the usdhc clock and correcting
    watermark configuration.

    Signed-off-by: Shawn Guo
    Cc: Chris Ball
    Cc: Sascha Hauer
    Signed-off-by: Sascha Hauer

    Shawn Guo
     
  • The config symbol ARCH_MX3 has been removed by commit 'a89cf59
    arm/imx: merge i.MX3 and i.MX6', and it should not be referenced
    any more.

    The patch also change ARCH_MX* to SOC_IMX* for other platforms.

    Signed-off-by: Shawn Guo
    Cc: Sascha Hauer
    Signed-off-by: Sascha Hauer

    Shawn Guo
     
  • The patch removes imx_idle hook and use pm_idle instead to get imx
    arch_idle prepared for the cleanup. It's suggested by Russel King
    as below.

    > The final removal of mach/system.h depends on getting rid of the arch_idle
    > thing. While going through these headers, I was dismayed to find these:
    >
    > arch/arm/mach-s3c2410/include/mach/system.h:void (*s3c24xx_idle)(void);
    > arch/arm/plat-mxc/include/mach/system.h:extern void (*imx_idle)(void);
    >
    > when we have a perfectly good pm_idle hook already in place - so there's
    > no excuse for these especially when other platforms are already using
    > pm_idle to hook their platform specific idle function into. This is
    > something that better be gone at the next merge window!

    Suggested-by: Russell King
    Signed-off-by: Shawn Guo
    Acked-by: Russell King
    Signed-off-by: Sascha Hauer

    Shawn Guo
     

07 Nov, 2011

1 commit

  • * 'modsplit-Oct31_2011' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux: (230 commits)
    Revert "tracing: Include module.h in define_trace.h"
    irq: don't put module.h into irq.h for tracking irqgen modules.
    bluetooth: macroize two small inlines to avoid module.h
    ip_vs.h: fix implicit use of module_get/module_put from module.h
    nf_conntrack.h: fix up fallout from implicit moduleparam.h presence
    include: replace linux/module.h with "struct module" wherever possible
    include: convert various register fcns to macros to avoid include chaining
    crypto.h: remove unused crypto_tfm_alg_modname() inline
    uwb.h: fix implicit use of asm/page.h for PAGE_SIZE
    pm_runtime.h: explicitly requires notifier.h
    linux/dmaengine.h: fix implicit use of bitmap.h and asm/page.h
    miscdevice.h: fix up implicit use of lists and types
    stop_machine.h: fix implicit use of smp.h for smp_processor_id
    of: fix implicit use of errno.h in include/linux/of.h
    of_platform.h: delete needless include
    acpi: remove module.h include from platform/aclinux.h
    miscdevice.h: delete unnecessary inclusion of module.h
    device_cgroup.h: delete needless include
    net: sch_generic remove redundant use of
    net: inet_timewait_sock doesnt need
    ...

    Fix up trivial conflicts (other header files, and removal of the ab3550 mfd driver) in
    - drivers/media/dvb/frontends/dibx000_common.c
    - drivers/media/video/{mt9m111.c,ov6650.c}
    - drivers/mfd/ab3550-core.c
    - include/linux/dmaengine.h

    Linus Torvalds