1. 14 Feb, 2013 1 commit
    • Arnd Bergmann's avatar
      ARM: prima2: fix __init section for cpu hotplug · b0db321b
      Arnd Bergmann authored
      The code in arch/arm/mach-prima2/headsmp.S is used for
      both boot time initialization and for cpu hotplug,
      so it must not be discarded after the initial boot
      is complete. This replaces the __INIT annotation
      with __CPUINIT, and marks the sirfsoc_cpu_die as
      __ref to annotate that it correctly uses the sections.
      
      Without this patch, building prima2_defconfig results in:
      
      WARNING: arch/arm/mach-prima2/built-in.o(.cpuinit.text+0x130): Section mismatch in reference from the function sirfsoc_boot_secondary() to the function .init.text:sirfsoc_secondary_startup()
      The function __cpuinit sirfsoc_boot_secondary() references
      a function __init sirfsoc_secondary_startup().
      If sirfsoc_secondary_startup is only used by sirfsoc_boot_secondary then
      annotate sirfsoc_secondary_startup with a matching annotation.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Cc: Barry Song <baohua.song@csr.com>
      b0db321b
  2. 12 Feb, 2013 5 commits
  3. 10 Feb, 2013 6 commits
  4. 05 Feb, 2013 24 commits
    • Olof Johansson's avatar
      Merge tag 'imx-soc-3.9' of git://git.linaro.org/people/shawnguo/linux-2.6 into next/soc · 1087f4db
      Olof Johansson authored
      From Shawn Guo:
      imx soc changes for 3.9
      
       - Sort out imx DEBUG_LL uart port selection
       - A couple of imx_v6_v7_defconfig updates
      
      * tag 'imx-soc-3.9' of git://git.linaro.org/people/shawnguo/linux-2.6:
        ARM: imx_v6_v7_defconfig: enable anatop regulator and snvs rtc
        ARM: imx: support DEBUG_LL uart port selection for all i.MX SoCs
        ARM: imx: use separated debug uart symbol for imx31 and imx35
        ARM: imx_v6_v7_defconfig: Select IPUV3 driver
      1087f4db
    • Olof Johansson's avatar
      Merge tag 'omap-for-v3.9/pm-signed' of... · d37d79ed
      Olof Johansson authored
      Merge tag 'omap-for-v3.9/pm-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/soc
      
      From Tony Lindgren:
      OMAP PM related updates via Paul Walmsley <paul@pwsan.com>:
      
      Remove some dead OMAP clock and device integration code and data.
      Also, clean up the way that the OMAP device integration code blocks
      WFI/WFE to use a consistent mechanism, controlled by a data flag.
      
      Several OMAP2+ power management fixes, optimizations, and cleanup.
      This series is a prerequisite for the functional powerdomain
      conversion series.
      
      * tag 'omap-for-v3.9/pm-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
        ARM: OMAP2+: powerdomain: fix whitespace, improve flag comments
        ARM: OMAP2+: clockdomain: convert existing atomic usecounts into spinlock-protected shorts/ints
        ARM: OMAP2+: clockdomain: work on wkdep/sleepdep functions
        ARM: OMAP2xxx: CM: remove autodep handling
        ARM: OMAP2+: powerdomain/clockdomain: add a per-powerdomain spinlock
        ARM: OMAP2+: PM/powerdomain: move omap_set_pwrdm_state() to powerdomain code
        ARM: OMAP2: PM/powerdomain: drop unnecessary pwrdm_wait_transition()
        ARM: OMAP2xxx: PM: clean up some crufty powerstate programming code
        ARM: OMAP2+: clockdomain: add pwrdm_state_switch() call to clkdm_sleep()
        ARM: OMAP2+: powerdomain: fix powerdomain trace integration
        ARM: OMAP4: MPUSS PM: remove unnecessary shim functions for powerdomain control
        ARM: OMAP3xxx: CPUIdle: optimize __omap3_enter_idle()
        ARM: OMAP2420: hwmod data/PM: use hwmod to block WFI when I2C active
        ARM: OMAP2+: hwmod: add support for blocking WFI when a device is active
        ARM: OMAP3xxx: CPUIdle: simplify the PER next-state code
        ARM: OMAP2xxx: powerdomain: core powerdomain missing logic retention states
        ARM: OMAP2xxx: clock data: clean up unused null clocks
        ARM: OMAP4: clock/hwmod data: remove MODULEMODE entries in mux + gate combos
        ARM: OMAP4: clock/hwmod data: start to remove some IP block control "clocks"
        ARM: OMAP2+: omap_device: remove obsolete pm_lats and early_device code
      d37d79ed
    • Hiroshi Doyu's avatar
      ARM: tegra: Fix build error for gic update · 7e611149
      Hiroshi Doyu authored
      Fix build error in board-dt-tegra114.c(next-20130204)
      Signed-off-by: default avatarHiroshi Doyu <hdoyu@nvidia.com>
      Reported-by: Sami Liedes<sliedes@nvidia.com>
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      7e611149
    • Olof Johansson's avatar
      ARM: tegra: remove empty tegra_smp_init_cpus() · f7c66dc0
      Olof Johansson authored
      Based on two separate cleanup branches, it's now empty and can be removed.
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      Cc: Stephen Warren <swarren@wwwdotorg.org>
      f7c66dc0
    • Olof Johansson's avatar
      Merge tag 'tegra-for-3.9-soc-t114' of... · e9daa0ea
      Olof Johansson authored
      Merge tag 'tegra-for-3.9-soc-t114' of git://git.kernel.org/pub/scm/linux/kernel/git/swarren/linux-tegra into next/soc
      
      From Stepen Warren:
      ARM: tegra: add Tegra114 SoC support
      
      This pull request adds initial support for the Tegra114 SoC, which
      integrates a quad-core ARM Cortex-A15 CPU. I'm proud to observe that we
      posted the initial versions of these patches before the final official
      announcement of this chip.
      
      These patches are enough to boot with a UART-based console, support the
      Dalmore and Pluto reference/evaluation boards, instantiate the GPIO and
      pinctrl drivers, and enable a cpuidle state. As yet, no clocks or
      storage devices are supported, but patches for those will follow shortly.
      
      This pull request is based on (most of) the previous pull request with
      tag tegra-for-3.9-soc-cpuidle, followed by a merge of the previous pull
      request with tag tegra-for-3.9-scu-base-rework.
      
      * tag 'tegra-for-3.9-soc-t114' of git://git.kernel.org/pub/scm/linux/kernel/git/swarren/linux-tegra: (24 commits)
        ARM: DT: tegra114: add pinmux DT entry
        ARM: DT: tegra114: add GPIO DT entry
        ARM: tegra114: select PINCTRL for Tegra114 SoC
        ARM: tegra: add Tegra114 ARM_CPUIDLE_WFI_STATE support
        ARM: tegra: Add SMMU entry to Tegra114 DT
        ARM: tegra: add AHB entry to Tegra114 DT
        ARM: tegra: Add initial support for Tegra114 SoC.
        ARM: dt: tegra114: Add new board, Pluto
        ARM: dt: tegra114: Add new board, Dalmore
        ARM: dt: tegra114: Add new SoC base, Tegra114 SoC
        ARM: tegra: fuse: Add chip ID Tegra114 0x35
        ARM: OMAP: Make use of available scu_a9_get_base() interface
        ARM: tegra: Skip scu_enable(scu_base) if not Cortex A9
        ARM: Add API to detect SCU base address from CP15
        ARM: tegra: Use DT /cpu node to detect number of CPU core
        ARM: tegra: Add CPU nodes to Tegra30 device tree
        ARM: tegra: Add CPU nodes to Tegra20 device tree
        ARM: perf: simplify __hw_perf_event_init err handling
        ARM: perf: remove unnecessary checks for idx < 0
        ARM: perf: handle armpmu_register failing
        ...
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      
      Remove/add conflict in arch/arm/mach-tegra/common.c resolved.
      Remove/remove conflict in arch/arm/mach-tegra/platsmp.c. Leave the empty
      stub function for now since removing it in the merge commit is confusing;
      will be cleaned up in a separate commit.  # # It looks like you may be
      committing a merge.  # If this is not correct, please remove the file #
      .git/MERGE_HEAD # and try again.
      e9daa0ea
    • Olof Johansson's avatar
      Merge tag 'tegra-for-3.9-soc-cpuidle' of... · c8bfea36
      Olof Johansson authored
      Merge tag 'tegra-for-3.9-soc-cpuidle' of git://git.kernel.org/pub/scm/linux/kernel/git/swarren/linux-tegra into next/soc
      
      From Stephen Warren:
      ARM: tegra: cpuidle enhancements
      
      This pull request implements a new "LP2" cpuidle state for Tegra20,
      which makes use of the couple cpuidle feature.
      
      It is based on (most of) the previous pull request, with tag
      tegra-for-3.9-soc-usb.
      
      * tag 'tegra-for-3.9-soc-cpuidle' of git://git.kernel.org/pub/scm/linux/kernel/git/swarren/linux-tegra:
        ARM: tegra20: cpuidle: apply coupled cpuidle for powered-down mode
        ARM: tegra20: flowctrl: add support for cpu_suspend_enter/exit
        clk: tegra20: Implementing CPU low-power function for tegra_cpu_car_ops
        ARM: tegra20: cpuidle: add powered-down state for secondary CPU
        ARM: tegra: add pending SGI checking API
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      c8bfea36
    • Olof Johansson's avatar
      Merge tag 'tegra-for-3.9-soc-usb' of... · ceca718f
      Olof Johansson authored
      Merge tag 'tegra-for-3.9-soc-usb' of git://git.kernel.org/pub/scm/linux/kernel/git/swarren/linux-tegra into next/soc
      
      From Stephen Warren:
      ARM: tegra: USB driver cleanup
      
      The Tegra USB driver has a number of issues:
      
      1) The PHY driver isn't a true platform device, and doesn't implement
         the standard USB PHY API.
      
      2) struct device instance numbers were used to make decisions in the
         driver, rather than being parameterized by DT or platform data.
      
      This pull request solves issue (2), and lays the groundwork for solving
      issue (1). The work on issue (1) involved introducing new DT nodes for
      the USB PHYs, which in turn interacted with the Tegra common clock
      framework changes, due to the move of clock lookups into device tree.
      Hence, these USB driver changes are taken through the Tegra tree with
      acks from USB maintainers.
      
      This pull request is based on the previous pull request, with tag
      tegra-for-3.9-soc-ccf.
      
      * tag 'tegra-for-3.9-soc-usb' of git://git.kernel.org/pub/scm/linux/kernel/git/swarren/linux-tegra:
        usb: host: tegra: make use of PHY pointer of HCD
        ARM: tegra: Add reset GPIO information to PHY DT node
        usb: host: tegra: don't touch EMC clock
        usb: add APIs to access host registers from Tegra PHY
        USB: PHY: tegra: Get rid of instance number to differentiate PHY type
        USB: PHY: tegra: get rid of instance number to differentiate legacy controller
        ARM: tegra: add clocks properties to USB PHY nodes
        ARM: tegra: add DT nodes for Tegra USB PHY
        usb: phy: remove unused APIs from Tegra PHY.
        usb: host: tegra: Resetting PORT0 based on information received via DT.
        ARM: tegra: Add new DT property to USB node.
        usb: phy: use kzalloc to allocate struct tegra_usb_phy
        ARM: tegra: remove USB address related macros from iomap.h
      ceca718f
    • Olof Johansson's avatar
      Merge tag 'tegra-for-3.9-soc-ccf' of... · bda6f8e6
      Olof Johansson authored
      Merge tag 'tegra-for-3.9-soc-ccf' of git://git.kernel.org/pub/scm/linux/kernel/git/swarren/linux-tegra into next/soc
      
      From Stephen Warren:
      ARM: tegra: Common Clock Framework rework
      
      Tegra already supports the common clock framework, but had issues:
      
      1) The clock driver was located in arch/arm/mach-tegra/ rather than
         drivers/clk/.
      
      2) A single "Tegra clock" type was implemented, rather than separate
         clock types for PLL, mux, divider, ... type in HW.
      
      3) Clock lookups by device drivers were still driven by device name
         and connection ID, rather than through device tree.
      
      This pull request solves all three issues. This required some DT changes
      to add clocks properties, and driver changes to request clocks more
      "correctly". Finally, this rework allows all AUXDATA to be removed from
      Tegra board files, and various duplicate clock lookup entries to be
      removed from the driver.
      
      This pull request is based on the previous pull request, with tag
      tegra-for-3.9-cleanup.
      
      * tag 'tegra-for-3.9-soc-ccf' of git://git.kernel.org/pub/scm/linux/kernel/git/swarren/linux-tegra: (31 commits)
        clk: tegra30: remove unused TEGRA_CLK_DUPLICATE()s
        clk: tegra20: remove unused TEGRA_CLK_DUPLICATE()s
        ARM: tegra30: remove auxdata
        ARM: tegra20: remove auxdata
        ASoC: tegra: remove auxdata
        staging: nvec: remove use of clk_get_sys
        ARM: tegra: paz00: add clock information to DT
        ARM: tegra: add clock properties to Tegra30 DT
        ARM: tegra: add clock properties to Tegra20 DT
        spi: tegra: do not use clock name to get clock
        ARM: tegra: remove legacy clock code
        ARM: tegra: migrate to new clock code
        clk: tegra: add clock support for Tegra30
        clk: tegra: add clock support for Tegra20
        clk: tegra: add Tegra specific clocks
        ARM: tegra: define Tegra30 CAR binding
        ARM: tegra: define Tegra20 CAR binding
        ARM: tegra: move tegra_cpu_car.h to linux/clk/tegra.h
        ARM: tegra: add function to read chipid
        ARM: tegra: fix compile error when disable CPU_IDLE
        ...
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      
      Conflicts:
      	arch/arm/mach-tegra/board-dt-tegra20.c
      	arch/arm/mach-tegra/board-dt-tegra30.c
      	arch/arm/mach-tegra/common.c
      	arch/arm/mach-tegra/platsmp.c
      	drivers/clocksource/Makefile
      bda6f8e6
    • Olof Johansson's avatar
      Merge tag 'renesas-soc3-for-v3.9' of... · c35a0bfa
      Olof Johansson authored
      Merge tag 'renesas-soc3-for-v3.9' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/soc
      
      From Simon Horman:
      Third round of Renesas ARM-based SoC changes for v3.9
      
      A fix for r8a7779 clocks.
      
      * tag 'renesas-soc3-for-v3.9' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
        ARM: shmobile: r8a7779: Correct TMU clock support
      c35a0bfa
    • Magnus Damm's avatar
      ARM: shmobile: Register ARM architected timer · dbe1c3de
      Magnus Damm authored
      Register ARM architected timer by default for all mach-shmobile
      systems using late timer.
      Signed-off-by: default avatarMagnus Damm <damm@opensource.se>
      Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
      dbe1c3de
    • Olof Johansson's avatar
      Merge tag 'drivers_for_v3.9' of git://git.infradead.org/users/jcooper/linux into next/soc · 71e45bd2
      Olof Johansson authored
      From Jason Cooper:
      mvebu drivers for v3.9
       - use rtc-mv in mvebu armv7 SoCs
       - add pci-e hotplug for kirkwood
      
      Depends on:
       - tags/mvebu_fixes_for_v3.8-rc6
      
      * tag 'drivers_for_v3.9' of git://git.infradead.org/users/jcooper/linux:
        cpuidle: kirkwood: Move out of mach directory
        rtc: Add support of rtc-mv for MVEBU SoCs
        ARM: Kirkwood: Support basic hotplug for PCI-E
        arm: mvebu: i2c come back in defconfig
        arm: plat-orion: fix printing of "MPP config unavailable on this hardware"
        Dove: activate GPIO interrupts in DT
      71e45bd2
    • Olof Johansson's avatar
      Merge tag 'v3.8-rc6' into next/soc · 469da620
      Olof Johansson authored
      Linux 3.8-rc6
      469da620
    • Olof Johansson's avatar
      Merge tag 'imx6q-cpudile-3.9' of git://git.linaro.org/people/shawnguo/linux-2.6 into next/soc · 42279616
      Olof Johansson authored
      From Shawn Guo:
      imx6q cpuidle support for 3.9
      
       - It's based on imx-cleanup-3.9 to avoid conflicts.
      
      * tag 'imx6q-cpudile-3.9' of git://git.linaro.org/people/shawnguo/linux-2.6:
        ARM: imx6q: support WAIT mode using cpuidle
        ARM: imx: move imx6q_cpuidle_driver into a separate file
        ARM: imx: mask gpc interrupts initially
        ARM: imx: return zero in case next event gets a large increment
        ARM: imx: Remove mx508 support
        ARM: imx: Remove mach-mx51_3ds board
        ARM: imx: use debug_ll_io_init() for imx6q
        ARM: imx: remove unused imx6q_clock_map_io()
        ARM: mach-imx: Kconfig: Do not select Babbage for MACH_IMX51_DT
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      
      Still, two delete/change conflicts caused by imx/cleanup:
      
      	arch/arm/mach-imx/mach-mx50_rdp.c
      	arch/arm/mach-imx/mach-mx51_3ds.c
      42279616
    • Barry Song's avatar
      ARM: MARCO: fix the build issue due to gic-vic-to-irqchip move · ef4acb75
      Barry Song authored
      Fix the issue:
      tree:   git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git next/soc
      head:   6ed05a2a
      commit: af70fdc9 [4/8] Merge branch 'marco-timer-cleanup-rebase' of
      git://gitorious.org/sirfprima2-kernel/sirfprima2-kernel into next/soc
      config: make ARCH=arm prima2_defconfig
      
      All error/warnings:
      
      >> arch/arm/mach-prima2/platsmp.c:20:30: fatal error: asm/hardware/gic.h: No such file or directory
         compilation terminated.
      --
      >> arch/arm/mach-prima2/common.c:15:30: fatal error: asm/hardware/gic.h: No such file or directory
         compilation terminated.
      Signed-off-by: default avatarBarry Song <Baohua.Song@csr.com>
      Cc: Xie ChanglongX <changlongx.xie@intel.com>
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      ef4acb75
    • Simon Horman's avatar
      ARM: shmobile: r8a7779: Correct TMU clock support · 58079fa7
      Simon Horman authored
      During code review it was noticed that the clock value for
      TMU01 was incorrect and the value for TMU02 was missing.
      
      For reference: As of 3.8-rc6 there are no in-tree consumes of these clocks.
      Reported-by: default avatarDenis Oliver Kropp <dok@directfb.org>
      Reviewed-by: default avatarMagnus Damm <damm@opensource.se>
      Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
      58079fa7
    • Fabio Estevam's avatar
      ARM: mxs_defconfig: Select CONFIG_DEVTMPFS_MOUNT · e1ab0056
      Fabio Estevam authored
      Newer versions of udev (such as 182) requires CONFIG_DEVTMPFS_MOUNT to be
      selected, otherwise we get a stuck console:
      
      Starting udev
      Starting Bootlog daemon: bootlogd: cannot deduce real console device
      Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
      Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
      e1ab0056
    • Torben Hohn's avatar
    • Torben Hohn's avatar
      ARM: mxs: use apbx bus clock to drive the timers on timrotv2 · 2fb318ff
      Torben Hohn authored
      timer resolution of ~32us is pretty low.
      v2 has 32bits resolution, so we have quite some headroom, and
      can use the 24MHz clock.
      v1 has only 16bits, so we only increase v2.
      
      So we just exchange the timrot clock in imx28.
      On imx23 we have timrotv1 and everything stays the same.
      Signed-off-by: default avatarTorben Hohn <torbenh@linutronix.de>
      Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
      2fb318ff
    • Marek Vasut's avatar
      ARM: mxs: Update mxs_defconfig · 77d168a9
      Marek Vasut authored
      Regenerate the mxs_defconfig to match recent kernel using the following
      commands:
      
      make mxs_defconfig
      make savedefconfig
      cp defconfig arch/arm/configs/mxs_defconfig
      
      Then enable these features:
      - MTD block access
      - UBI and UBIFS
      - JFFS2
      - EXT2 and EXT4
      - AT24 EEPROM support
      - Support for most of the SPI flashes
      - Support for ethernet PHYs that are usually used on mxs designs
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Fabio Estevam <fabio.estevam@freescale.com>
      Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
      77d168a9
    • Shawn Guo's avatar
      ARM: imx_v6_v7_defconfig: enable anatop regulator and snvs rtc · 26246919
      Shawn Guo authored
      Eanble anatop regulator and snvs rtc support which are very useful
      for imx6q build.
      Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
      26246919
    • Shawn Guo's avatar
      ARM: imx: support DEBUG_LL uart port selection for all i.MX SoCs · f8c95fe6
      Shawn Guo authored
      Extend imx6q DEBUG_LL uart port selection support to cover all i.MX
      SoCs.  The 'range' of the Kconfig option gets dropped, as users
      looking at the option must know the uart number on his board.  The
      bottom line is that the build system will report an error if an
      invalid port number is picked for given SoC.
      
      The header arch/arm/include/debug/imx-uart.h is created to accommodate
      all the uart base addresses.  And the header will also be used for
      other low-level debug facility later.
      Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
      f8c95fe6
    • Shawn Guo's avatar
      ARM: imx: use separated debug uart symbol for imx31 and imx35 · 4ad625d4
      Shawn Guo authored
      It's improper to use combined symbol DEBUG_IMX31_IMX35_UART for
      imx31 and imx35, because imx31 has 5 UARTs while imx35 only has 3.
      So later when we add UART port selection for DEBUG_IMX31_IMX35_UART,
      we will have problem.
      
      Use separated Kconfig options for imx31 and imx35 debug uart selection.
      Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
      4ad625d4
    • Fabio Estevam's avatar
      ARM: imx_v6_v7_defconfig: Select IPUV3 driver · f93c32d9
      Fabio Estevam authored
      Let IPUV3 driver be built by default.
      Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
      Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
      f93c32d9
    • Shawn Guo's avatar
      Merge tag 'imx-cleanup-3.9' into imx/soc · f662f52a
      Shawn Guo authored
      f662f52a
  5. 01 Feb, 2013 3 commits
  6. 31 Jan, 2013 1 commit