1. 27 4月, 2013 2 次提交
    • 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
      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. 20 4月, 2013 1 次提交
    • A
      ARM: exynos: restore mach/regs-clock.h for exynos5 · db60074b
      Arnd Bergmann 提交于
      Commit 6e6aac75 "ARM: EXYNOS: Migrate clock support to common
      clock framework" from Thomas Abraham removed the Exynos5 specific
      register definitions as they were unused at the time, but the
      cpufreq driver actually still uses them.
      
      Cc: Sylwester Nawrocki <s.nawrocki@samsung.com>
      Cc: Tomasz Figa <t.figa@samsung.com>
      Cc: Thomas Abraham <thomas.abraham@linaro.org>
      Cc: Kukjin Kim <kgene.kim@samsung.com>
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      db60074b
  3. 19 4月, 2013 8 次提交
    • A
      ARM: exynos: enable multiplatform support · bd51de53
      Arnd Bergmann 提交于
      This makes it possible to enable the exynos platform as part of a
      multiplatform kernel, in addition to keeping the single-platform
      exynos support.
      
      The multiplatform variant has a number of limitations at the moment:
      
      * It only supports DT-enabled machines. This is not a problem in
        the long run, as non-DT machines for exynos are going away.
        The main problem here is that the gpio code and the exynos_eint
        irqchip are not multiplatform capable but still required for
        ATAGS based boot.
      * The watchdog driver is still missing a conversion.
      * sparsemem and memory_holes are currently not supported in
        multiplatform.
      
      The the multiplatform aware ARCH_EXYNOS Kconfig symbol is disabled
      for now, as dependent patches are still pending in other
      subsystem trees. We will enable it once everything comes together.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      bd51de53
    • A
      rtc: s3c: make header file local · b9d7c5d3
      Arnd Bergmann 提交于
      Nothing outside of the rtc driver includes plat/regs-rtc.h,
      so we can simply move the file into the same directory,
      which allows us to build the file as platform-independent
      code.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: rtc-linux@googlegroups.com
      Cc: Alessandro Zummo <a.zummo@towertech.it>
      b9d7c5d3
    • A
      mtd: onenand/samsung: make regs-onenand.h file local · 93115b7f
      Arnd Bergmann 提交于
      Nothing uses the NAND register definitions other than the
      actual driver, so we can move the header file into the
      same local directory, which lets us build it in a multiplatform
      configuration.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NKyungmin Park <kyungmin.park@samsung.com>
      Cc: linux-mtd@lists.infradead.org
      Cc: David Woodhouse <dwmw2@infradead.org>
      93115b7f
    • A
      mmc: sdhci-s3c: remove platform dependencies · cc014f3e
      Arnd Bergmann 提交于
      plat/regs-sdhci.h is not used anywhere but in the sdhci-s3c
      driver, so it can become a local file there and all other
      inclusions removed.
      
      plat/sdhci.h is used only to define the platform devices,
      and with the exception of the platform_data structure not
      needed by the driver, so we can split out the platform_data
      definition instead and leave the rest to platform code.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NChris Ball <cjb@laptop.org>
      cc014f3e
    • A
      ARM: samsung: move mfc device definition to s5p-dev-mfc.c · f76da510
      Arnd Bergmann 提交于
      For a DT-only build we don't want to compile devs.c, but we do need
      the mfc device, which is also referenced by the DT based platforms,
      so move it all into one place.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      f76da510
    • A
      ARM: exynos: move debug-macro.S to include/debug/ · a2e40710
      Arnd Bergmann 提交于
      The move is necessary to support early debug output on exynos
      with multiplatform configurations. This implies also moving the
      plat/debug-macro.S file, but we are leaving the remaining users of that
      file in place, to avoid adding large numbers of extra configuration
      options to Kconfig.debug
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      a2e40710
    • A
      ARM: exynos: prepare for sparse IRQ · 7ba8022f
      Arnd Bergmann 提交于
      When we enable CONFIG_SPARSE_IRQ, we have to set the value of NR_IRQS in
      the machine_desc for legacy IRQ domains, and any file referring to the
      number of interrupts or a specific number must include the mach/irqs.h
      header file explicitly.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      7ba8022f
    • A
      ARM: exynos: introduce EXYNOS_ATAGS symbol · b4cf27f7
      Arnd Bergmann 提交于
      As a preparation for multiplatform support, this introduces
      a new Kconfig symbol to split the ATAGS based EXYNOS platforms
      from the DT based ones. Turning off CONFIG_EXYNOS_ATAGS disables
      all platforms that are not yet converted to DT, and we can
      have code that relies on DT checking for this symbol being
      disabled.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      b4cf27f7
  4. 13 4月, 2013 1 次提交
  5. 09 4月, 2013 4 次提交
  6. 08 4月, 2013 1 次提交
  7. 05 4月, 2013 3 次提交
  8. 04 4月, 2013 20 次提交