1. 27 4月, 2013 3 次提交
    • D
      ARM: dts: Disable the RTC by default on exynos5 · 522ccdb6
      Doug Anderson 提交于
      This change makes the rtc on the exynos5250 and 5440 disabled by
      default to match exynos4.
      
      Ever since the common clock framework came in, exynos5250 boards
      have dumped lots of warnings in the boot log. It turns out that
      we don't see those on exynos4 since the rtc is disabled by default.
      While we need to get to the bottom of the problems with the RTC,
      it still makes sense to have the default state of the RTC on exynos
      boards match.
      
      For the record, warnings look like this:
        ------------[ cut here ]------------
        WARNING: at drivers/clk/clk.c:771 __clk_enable+0x34/0xb0()
        Modules linked in:
        [<80015bfc>] (unwind_backtrace+0x0/0xec) from [<804717f0>] (dump_stack+0x20/0x24)
        [<804717f0>] (dump_stack+0x20/0x24) from [<80023cd0>] (warn_slowpath_common+0x5c/0x7c)
        [<80023cd0>] (warn_slowpath_common+0x5c/0x7c) from [<80023d1c>] (warn_slowpath_null+0x2c/0x34)
        [<80023d1c>] (warn_slowpath_null+0x2c/0x34) from [<8035ddb0>] (__clk_enable+0x34/0xb0)
        [<8035ddb0>] (__clk_enable+0x34/0xb0) from [<8035de54>] (clk_enable+0x28/0x3c)
        [<8035de54>] (clk_enable+0x28/0x3c) from [<8031a160>] (s3c_rtc_probe+0xf4/0x434)
        [<8031a160>] (s3c_rtc_probe+0xf4/0x434) from [<8028e288>] (platform_drv_probe+0x24/0x28)
        [<8028e288>] (platform_drv_probe+0x24/0x28) from [<8028ce10>] (driver_probe_device+0xbc/0x22c)
        [<8028ce10>] (driver_probe_device+0xbc/0x22c) from [<8028cff8>] (__driver_attach+0x78/0x9c)
        [<8028cff8>] (__driver_attach+0x78/0x9c) from [<8028bdfc>] (bus_for_each_dev+0x64/0xac)
        [<8028bdfc>] (bus_for_each_dev+0x64/0xac) from [<8028c7e0>] (driver_attach+0x28/0x30)
        [<8028c7e0>] (driver_attach+0x28/0x30) from [<8028c43c>] (bus_add_driver+0xe0/0x234)
        [<8028c43c>] (bus_add_driver+0xe0/0x234) from [<8028d55c>] (driver_register+0xac/0x13c)
        [<8028d55c>] (driver_register+0xac/0x13c) from [<8028e4f4>] (platform_driver_register+0x54/0x68)
        [<8028e4f4>] (platform_driver_register+0x54/0x68) from [<8065c944>] (s3c_rtc_driver_init+0x14/0x1c)
        [<8065c944>] (s3c_rtc_driver_init+0x14/0x1c) from [<800086d8>] (do_one_initcall+0x60/0x138)
        [<800086d8>] (do_one_initcall+0x60/0x138) from [<80633a8c>] (kernel_init_freeable+0x108/0x1d0)
        [<80633a8c>] (kernel_init_freeable+0x108/0x1d0) from [<8046d2f8>] (kernel_init+0x1c/0xf4)
        [<8046d2f8>] (kernel_init+0x1c/0xf4) from [<8000e358>] (ret_from_fork+0x14/0x20)
        ---[ end trace 4bcdc801c868d73f ]---
      Signed-off-by: NDoug Anderson <dianders@chromium.org>
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      522ccdb6
    • O
      Merge branch 'samsung/exynos-multiplatform' into next/drivers · 340fcb5c
      Olof Johansson 提交于
      This merges in the revert of multiplatform support for exynos.
      
      Trivial conflicts on removed code. Also, needed to add "select COMMON_CLK"
      to the non-multiplatform EXYNOS config option.
      
      * samsung/exynos-multiplatform:
        Revert "ARM: exynos: enable multiplatform support"
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      340fcb5c
    • O
      Revert "ARM: exynos: enable multiplatform support" · 4923ee44
      Olof Johansson 提交于
      This reverts commit bd51de53.
      
      Turns out that multiplatform breaks some uses cases, such as when you
      have an existing defconfig, since it adds the new EXYNOS_SINGLE config
      option as a dependecy. As a result, nearly all exynos config options
      will be disabled by default.
      
      Reverting instead of rebasing since this branch is pulled in as a
      dependency elsewhere.
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      4923ee44
  2. 24 4月, 2013 1 次提交
  3. 20 4月, 2013 2 次提交
  4. 19 4月, 2013 11 次提交
  5. 13 4月, 2013 2 次提交
  6. 12 4月, 2013 3 次提交
  7. 10 4月, 2013 5 次提交
  8. 09 4月, 2013 13 次提交
    • A
      Merge tag 'ux500-pinctrl' of... · ab9838e1
      Arnd Bergmann 提交于
      Merge tag 'ux500-pinctrl' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson into next/drivers
      
      From Linus Walleij <linus.walleij@linaro.org>:
      
      ux500 pinctrl updates for the ARM SoC tree.
      
      * tag 'ux500-pinctrl' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson:
        ARM: ux500: 8500: add ab8500-musb pinctrl support
        ARM: ux500: remove redundant DB8500_PIN_SLEEP definition
        ARM: ux500: Add Snowball pin configuration for user LED
        ARM: ux500: u8500: fix pinctrl IDLE state definition for SPI2
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      ab9838e1
    • A
      Merge tag 'tegra-for-3.10-clk' of... · 2b079101
      Arnd Bergmann 提交于
      Merge tag 'tegra-for-3.10-clk' of git://git.kernel.org/pub/scm/linux/kernel/git/swarren/linux-tegra into next/drivers
      
      From Stephen Warren <swarren@wwwdotorg.org>:
      
      ARM: tegra: clock driver development
      
      This branch contains most fixes and enhancements to the Tegra common
      clock driver. The main new feature is a driver for Tegra114, which
      coupled with later device tree changes enables many devices on that
      chip, such as MMC, I2C, etc.
      
      This branch depends on a patch in:
      
      git://git.linaro.org/people/mturquette/linux.git clk-for-3.10
      
      Mike has stated that this branch is stable, and is aware of this
      dependency and merge.
      
      Mike's branch is based on v3.9-rc3, which includes a USB change which
      causes problems on Tegra. That problem was fixed in v3.9-rc4. Hence,
      this branch pulls in v3.9-rc4 to ensure bisectability as much as
      possible.
      
      This branch is based on v3.9-rc4, followed by a merge of previous Tegra
      "soc" pull request, followed by a merge of clk-for-3.10.
      
      * tag 'tegra-for-3.10-clk' of git://git.kernel.org/pub/scm/linux/kernel/git/swarren/linux-tegra:
        clk: tegra: fix enum tegra114_clk to match binding
        clk: tegra: Remove forced clk_enable of uartd
        ARM: dt: Add references to tegra_car clocks
        clk: tegra: devicetree match for nvidia,tegra114-car
        clk: tegra: Implement clocks for Tegra114
        ARM: tegra: Define Tegra114 CAR binding
        clk: tegra: Workaround for Tegra114 MSENC problem
        clk: tegra: Add flags to tegra_clk_periph()
        clk: tegra: Add new fields and PLL types for Tegra114
        clk: tegra: move from a lock bit idx to a lock mask
        clk: tegra: Add PLL post divider table
        clk: tegra: introduce TEGRA_PLL_HAS_LOCK_ENABLE
        clk: tegra: Add TEGRA_PLL_BYPASS flag
        clk: tegra: Refactor PLL programming code
        clk: tegra: provide dummy cpu car ops
        clk: tegra: defer application of init table
        clk: tegra: Fix cdev1 and cdev2 IDs
        clk: tegra: Make gr2d and gr3d clocks children of pll_c
        clk: tegra: Export peripheral reset functions
        clk: tegra: Fix periph_clk_to_bit macro
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      2b079101
    • A
      Merge branch 'depends/clk' into next/drivers · 5790c58b
      Arnd Bergmann 提交于
      This is a snapshot of the stable clk branch at
      
      git://git.linaro.org/people/mturquette/linux.git clk-for-3.10
      
      which is a dependency for the tegra clock changes.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      5790c58b
    • A
      Merge branch 'tegra/soc' into next/drivers · 1194b152
      Arnd Bergmann 提交于
      This is a dependency for the tegra/clk branch.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      
      Conflicts:
      	drivers/clocksource/tegra20_timer.c
      1194b152
    • A
      Merge tag 'omap-for-v3.10/gpmc-signed' of... · 86feb64f
      Arnd Bergmann 提交于
      Merge tag 'omap-for-v3.10/gpmc-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/drivers
      
      From Tony Lindgren <tony@atomide.com>:
      
      GPMC updates from Jon Hunter <jon-hunter@ti.com>:
      
      Adds GPMC (General Purpose Memory Controller) DT support for
      NOR flash and Ethernet and includes various GPMC cleans-up
      and fixes.
      
      This series is dependent on commit 71856843 (ARM: OMAP: use
      consistent error checking) from RMK's clean-up branch and commit
      31d9adca (ARM: OMAP2+: Fix broken gpmc support).
      
      * tag 'omap-for-v3.10/gpmc-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap: (29 commits)
        ARM: OMAP2+: Add GPMC DT support for Ethernet child nodes
        ARM: OMAP2+: rename gpmc_probe_nor_child() to gpmc_probe_generic_child()
        ARM: OMAP2+: return -ENODEV if GPMC child device creation fails
        ARM: OMAP2+: Allow GPMC probe to complete even if CS mapping fails
        ARM: OMAP2+: Remove unnecesssary GPMC definitions and variable
        ARM: OMAP2+: Detect incorrectly aligned GPMC base address
        ARM: OMAP2+: Convert ONENAND to retrieve GPMC settings from DT
        ARM: OMAP2+: Convert NAND to retrieve GPMC settings from DT
        ARM: OMAP2+: Add device-tree support for NOR flash
        ARM: OMAP2+: Add additional GPMC timing parameters
        ARM: OMAP2+: Add function to read GPMC settings from device-tree
        ARM: OMAP2+: Don't configure of chip-select options in gpmc_cs_configure()
        ARM: OMAP2+: Convert TUSB to use gpmc_cs_program_settings()
        ARM: OMAP2+: Convert SMC91x to use gpmc_cs_program_settings()
        ARM: OMAP2+: Convert NAND to use gpmc_cs_program_settings()
        ARM: OMAP2+: Convert ONENAND to use gpmc_cs_program_settings()
        ARM: OMAP2+: Add function for configuring GPMC settings
        ARM: OMAP2+: Add structure for storing GPMC settings
        ARM: OMAP2+: Add variable to store number of GPMC waitpins
        ARM: OMAP2+: Simplify code configuring ONENAND devices
        ...
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      86feb64f
    • A
      Merge tag 'omap-for-v3.10/timer-signed' of... · dc2d3db8
      Arnd Bergmann 提交于
      Merge tag 'omap-for-v3.10/timer-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/drivers
      
      From Tony Lindgren <tony@atomide.com>:
      
      Clean-up for omap2+ timers from Jon Hunter <jon-hunter@ti.com>:
      
      This series consists mainly of clean-ups for clockevents and
      clocksource timers on OMAP2+ devices. The most significant change
      in functionality comes from the 5th patch which is changing the
      selection of the clocksource timer for OMAP3 and AM335x devices
      when gptimers are used for clocksource.
      
      Note that this series depends on 71856843 (ARM: OMAP: use
      consistent error checking) in RMK's tree and 960cba67 (ARM:
      OMAP5: timer: Update the clocksource name as per clock data)
      in omap-for-v3.10/fixes-non-critical. So this branch is based
      on a merge of 71856843 and omap-for-v3.10/fixes-non-critical
      to avoid non-trivial merge conflicts.
      
      * tag 'omap-for-v3.10/timer-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
        ARM: OMAP4+: Fix sparse warning in system timers
        ARM: OMAP2+: Store ID of system timers in timer structure
        ARM: OMAP3: Update clocksource timer selection
        ARM: OMAP2+: Simplify system timers definitions
        ARM: OMAP2+: Simplify system timer clock definitions
        ARM: OMAP2+: Remove hard-coded test on timer ID
        ARM: OMAP2+: Display correct system timer name
        ARM: OMAP2+: fix typo "CONFIG_BRIDGE_DVFS"
        ARM: OMAP1: remove "config MACH_OMAP_HTCWIZARD"
        ARM: OMAP: dpll: enable bypass clock only when attempting dpll bypass
        ARM: OMAP2+: powerdomain: avoid testing whether an unsigned char is less than 0
        ARM: OMAP2+: hwmod: Remove unused _HWMOD_WAKEUP_ENABLED flag
        ARM: OMAP2+: am335x: Change the wdt1 func clk src to per_32k clk
        ARM: OMAP2+: AM33xx: hwmod: Add missing sysc definition to wdt1 entry
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      dc2d3db8
    • A
      Merge tag 'omap-for-v3.10/usb-signed' of... · 8355ae69
      Arnd Bergmann 提交于
      Merge tag 'omap-for-v3.10/usb-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/drivers
      
      From Tony Lindgren <tony@atomide.com>:
      
      EHCI platform data related changes for v3.10 merge window.
      These are needed for the USB PHY support, and are based on
      commit 1f0972f5 from Felipe Balbi's tree as agreed on the
      mailing lists.
      
      * tag 'omap-for-v3.10/usb-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap: (21 commits)
        ARM: dts: omap3-beagle: Add USB Host support
        ARM: dts: OMAP3: Add HS USB Host IP nodes
        ARM: dts: OMAP4: Add HS USB Host IP nodes
        ARM: OMAP: zoom: Adapt to ehci-omap changes
        ARM: OMAP3: overo: Adapt to ehci-omap changes
        ARM: OMAP3: omap3touchbook: Adapt to ehci-omap changes
        ARM: OMAP3: omap3stalker: Adapt to ehci-omap changes
        ARM: OMAP3: omap3pandora: Adapt to ehci-omap changes
        ARM: OMAP3: omap3evm: Adapt to ehci-omap changes
        ARM: OMAP3: igep0020: Adapt to ehci-omap changes
        ARM: OMAP: devkit8000: Adapt to ehci-omap changes
        ARM: OMAP3: cm-t3517: Adapt to ehci-omap changes
        ARM: OMAP3: cm-t35: Adapt to ehci-omap changes
        ARM: OMAP: AM3517evm: Adapt to ehci-omap changes
        ARM: OMAP: AM3517crane: Adapt to ehci-omap changes
        ARM: OMAP3: 3630SDP: Adapt to ehci-omap changes
        ARM: OMAP3: 3430SDP: Adapt to ehci-omap changes
        ARM: OMAP3: Beagle: Adapt to ehci-omap changes
        ARM: OMAP2+: omap4panda: Adapt to ehci-omap changes
        ARM: OMAP2+: omap-usb-host: Add usbhs_init_phys()
        ...
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      8355ae69
    • C
      ARM: EXYNOS: Add arm-pmu DT binding for exynos421x · db35234e
      Chanho Park 提交于
      This patch adds a arm-pmu node to bind device tree for exynos4210.
      The exynos4210 and 4212 have two cpus which includes a pmu. In contrast, the
      exynos4412 has 4 cpus and pmus. We need to define two more pmus for this type
      board. However, supporting arm-pmu for the exynos4412 will handle it later
      because there is no dts support for 4412 based board.
      Signed-off-by: NChanho Park <chanho61.park@samsung.com>
      Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      db35234e
    • C
      ARM: EXYNOS: Add arm-pmu DT binding for exynos5250 · 4f801e59
      Chanho Park 提交于
      This patch enables arm-pmu to bind device tree for exynos5250. The exynos5250
      has two pmus which have combiner irq type.
      Reviewed-by: NThomas Abraham <thomas.abraham@linaro.org>
      Signed-off-by: NChanho Park <chanho61.park@samsung.com>
      Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      4f801e59
    • C
      ARM: EXYNOS: Enable PMUs for exynos4 · b7bbdbee
      Chanho Park 提交于
      This patch defines irq numbers of ARM performance monitoring unit for exynos4.
      Firs of all, we need to fix IRQ_PMU correctly and to split pmu initialization
      of exynos from plat-samsung for easily defining it.
      
      The number of CPU cores and PMU irq numbers are vary according to soc types.
      So, we need to identify each soc type using soc_is_xxx function and to define
      the pmu irqs dynamically. For example, the exynos4412 has 4 cpu cores and pmus.
      Signed-off-by: NChanho Park <chanho61.park@samsung.com>
      Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      b7bbdbee
    • C
      irqchip: exynos-combiner: Correct combined IRQs for exynos4 · 4e164dc5
      Chanho Park 提交于
      This patch corrects combined IRQs for exynos4 series platform. The exynos4412
      has four extra combined irq group and the exynos4212 has two more combined
      irqs
      than exynos4210. Each irq is mapped to IRQ_SPI(xx). Unfortunately, extra 4
      combined IRQs isn't sequential. So, we need to map the irqs manually.
      Signed-off-by: NChanho Park <chanho61.park@samsung.com>
      Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
      [kgene.kim@samsung.com: changes moved into drivers/irqchip/]
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      4e164dc5
    • C
      irqchip: exynos-combiner: Add set_irq_affinity function for combiner_irq · df7ef462
      Chanho Park 提交于
      This patch adds set_irq_affinity function for combiner_irq. We need this
      function to enable a arm-pmu because the pmu of exynos has combined type
      irqs.
      Reviewed-by: NThomas Abraham <thomas.abraham@linaro.org>
      Signed-off-by: NChanho Park <chanho61.park@samsung.com>
      Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
      [kgene.kim@samsung.com: changes moved into drivers/irqchip/]
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      df7ef462
    • A
      Merge branch 'zynq/clksrc/cleanup' of git://git.xilinx.com/linux-xlnx into next/drivers · 6b5606e0
      Arnd Bergmann 提交于
      From Michal Simek <michal.simek@xilinx.com>:
      
      * 'zynq/clksrc/cleanup' of git://git.xilinx.com/linux-xlnx:
        arm: zynq: Move timer to generic location
        arm: zynq: Do not use xilinx specific function names
        arm: zynq: Move timer to clocksource interface
        arm: zynq: Use standard timer binding
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      6b5606e0