1. 27 Apr, 2013 1 commit
    • Doug Anderson's avatar
      ARM: dts: Disable the RTC by default on exynos5 · 522ccdb6
      Doug Anderson authored
      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: default avatarDoug Anderson <dianders@chromium.org>
      Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      522ccdb6
  2. 26 Apr, 2013 2 commits
  3. 24 Apr, 2013 1 commit
    • Tushar Behera's avatar
      clk: exynos5250: Fix parent clock for sclk_mmc{0,1,2,3} · 37746c9a
      Tushar Behera authored
      commit 688f7d8c ("clk: exynos5250: Fix divider values for
      sclk_mmc{0,1,2,3}") incorrectly sets the divider for sclk_mmc{0,1,2,3}
      to fix the wrong clock value. Though this fixed issue with Arndale,
      it created regressions for other boards like Snow.
      
      On Exynos5250, sclk_mmc<n> is generated like below (as per the clock
      names in drivers/clk/samsung/clk-exynos5250.c)
      
      mout_group1_p ==> mout_mmc<n> ==>
      		div_mmc<n> ==> div_mmc_pre<n> => sclk_mmc<n>
      
      Earlier div_mmc<n> was set as the parent for sclk_mmc<n>, hence
      div_mmc_pre<n> was not getting referred in kernel code and depending
      on its value set during preboot, sclk_mmc<n> value was different for
      various boards.
      
      Setting the correct clock generation path should fix the issues
      reported in above referenced commit. The changes committed during the
      earlier patch has also been reverted here.
      Reported-by: default avatarDoug Anderson <dianders@chromium.org>
      Signed-off-by: default avatarTushar Behera <tushar.behera@linaro.org>
      Tested-by: default avatarDoug Anderson <dianders@chromium.org>
      Acked-by: default avatarKukjin Kim <kgene.kim@samsung.com>
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      37746c9a
  4. 19 Apr, 2013 13 commits
  5. 13 Apr, 2013 2 commits
  6. 12 Apr, 2013 3 commits
  7. 09 Apr, 2013 9 commits
  8. 08 Apr, 2013 9 commits
    • Arnd Bergmann's avatar
      Merge tag 'omap-for-v3.10/gpmc-signed' of... · 86feb64f
      Arnd Bergmann authored
      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: default avatarArnd Bergmann <arnd@arndb.de>
      86feb64f
    • Arnd Bergmann's avatar
      Merge tag 'omap-for-v3.10/timer-signed' of... · dc2d3db8
      Arnd Bergmann authored
      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: default avatarArnd Bergmann <arnd@arndb.de>
      dc2d3db8
    • Arnd Bergmann's avatar
      Merge tag 'omap-for-v3.10/usb-signed' of... · 8355ae69
      Arnd Bergmann authored
      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: default avatarArnd Bergmann <arnd@arndb.de>
      8355ae69
    • Chanho Park's avatar
      ARM: EXYNOS: Add arm-pmu DT binding for exynos421x · db35234e
      Chanho Park authored
      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: default avatarChanho Park <chanho61.park@samsung.com>
      Signed-off-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
      Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
      db35234e
    • Chanho Park's avatar
      ARM: EXYNOS: Add arm-pmu DT binding for exynos5250 · 4f801e59
      Chanho Park authored
      This patch enables arm-pmu to bind device tree for exynos5250. The exynos5250
      has two pmus which have combiner irq type.
      Reviewed-by: default avatarThomas Abraham <thomas.abraham@linaro.org>
      Signed-off-by: default avatarChanho Park <chanho61.park@samsung.com>
      Signed-off-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
      Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
      4f801e59
    • Chanho Park's avatar
      ARM: EXYNOS: Enable PMUs for exynos4 · b7bbdbee
      Chanho Park authored
      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: default avatarChanho Park <chanho61.park@samsung.com>
      Signed-off-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
      Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
      b7bbdbee
    • Chanho Park's avatar
      irqchip: exynos-combiner: Correct combined IRQs for exynos4 · 4e164dc5
      Chanho Park authored
      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: default avatarChanho Park <chanho61.park@samsung.com>
      Signed-off-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
      [kgene.kim@samsung.com: changes moved into drivers/irqchip/]
      Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
      4e164dc5
    • Chanho Park's avatar
      irqchip: exynos-combiner: Add set_irq_affinity function for combiner_irq · df7ef462
      Chanho Park authored
      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: default avatarThomas Abraham <thomas.abraham@linaro.org>
      Signed-off-by: default avatarChanho Park <chanho61.park@samsung.com>
      Signed-off-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
      [kgene.kim@samsung.com: changes moved into drivers/irqchip/]
      Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
      df7ef462
    • Arnd Bergmann's avatar
      Merge branch 'zynq/clksrc/cleanup' of git://git.xilinx.com/linux-xlnx into next/drivers · 6b5606e0
      Arnd Bergmann authored
      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: default avatarArnd Bergmann <arnd@arndb.de>
      6b5606e0