1. 17 1月, 2015 1 次提交
  2. 15 1月, 2015 2 次提交
  3. 02 12月, 2014 1 次提交
  4. 27 11月, 2014 2 次提交
  5. 04 11月, 2014 1 次提交
  6. 22 9月, 2014 1 次提交
  7. 03 9月, 2014 1 次提交
  8. 02 9月, 2014 1 次提交
  9. 25 8月, 2014 8 次提交
  10. 20 8月, 2014 1 次提交
  11. 15 7月, 2014 1 次提交
  12. 22 3月, 2014 1 次提交
  13. 11 12月, 2013 2 次提交
  14. 02 12月, 2013 2 次提交
    • B
      ARM: at91: add Kconfig options for common clk support · c8a8c630
      Boris BREZILLON 提交于
      This patch adds the following Kconfig options to prepare the transition to
      common clk framework:
      
      - AT91_USE_OLD_CLK: this option is selected by every SoC which does not
        support new at91 clks based on common clk framework (SoC which does not
        define the clock tree in its device tree).
        This options is also selected when the user choose non dt boards support
        (new at91 clks can only be registered from a device tree definition).
      
      - COMMON_CLK_AT91: this option cannot be selected directly. Instead it is
        enabled if these 3 conditions are met:
         * at least one of the selected SoCs have a PMC (Power Management
           Controller) Unit
         * device tree support is enabled
         * the old at91 clk implementation is disabled (every selected SoC define
           its clks in its device tree and non dt boards support is disabled)
      
      - OLD_CLK_AT91: this option cannot be selected directly. Instead it is
        enabled if these 2 conditions are met:
         * at least one of the selected SoCs have a PMC (Power Management
           Controller) Unit
         * at least one of the selected SoCs does not define its clks in its
           device tree or non dt-boards support is enabled
      
      This patch selects AT91_USE_OLD_CLK in all currently supported SoCs. These
      selects will be removed after clk definitions are properly added in each
      soc's device tree.
      It also selects AT91_USE_OLD_CLK in all non-dt boards support.
      
      AT91_PMC_UNIT references are replaced by OLD_CLK_AT91, because PMC Unit is
      enabled for both old and common clk implementations, and old clk
      implementation should not be compiled if COMMON_CLK is enabled.
      
      To avoid future link errors, a new stub is created for at91_dt_clock_init
      function if OLD_CLK_AT91 is disabled.
      
      A new check is added in dt init functions (setup.c) to prepare for SoCs
      supporting new clk implementation. These SoCs won't setup the
      register_clocks callback (clk registration is done using of_clk_init).
      Signed-off-by: NBoris BREZILLON <b.brezillon@overkiz.com>
      Acked-by: NMike Turquette <mturquette@linaro.org>
      Signed-off-by: NNicolas Ferre <nicolas.ferre@atmel.com>
      c8a8c630
    • B
      ARM: at91: move at91_pmc.h to include/linux/clk/at91_pmc.h · 2edb90ae
      Boris BREZILLON 提交于
      This patch moves at91_pmc.h header from machine specific directory
      (arch/arm/mach-at91/include/mach/at91_pmc.h) to clk include directory
      (include/linux/clk/at91_pmc.h).
      We need this to avoid reference to machine specific headers in clk
      drivers.
      Signed-off-by: NBoris BREZILLON <b.brezillon@overkiz.com>
      Acked-by: NFelipe Balbi <balbi@ti.com>
      Acked-by: NMike Turquette <mturquette@linaro.org>
      Signed-off-by: NNicolas Ferre <nicolas.ferre@atmel.com>
      2edb90ae
  15. 17 10月, 2013 1 次提交
  16. 21 6月, 2013 1 次提交
  17. 18 6月, 2013 1 次提交
  18. 09 4月, 2013 1 次提交
  19. 08 4月, 2013 1 次提交
  20. 26 3月, 2013 2 次提交
  21. 23 1月, 2013 1 次提交
  22. 19 11月, 2012 1 次提交
  23. 06 11月, 2012 1 次提交
  24. 25 10月, 2012 2 次提交
    • N
      ARM: at91: fix external interrupts in non-DT case · 738a0fd7
      Nicolas Ferre 提交于
      Management of external interrupts has changed but the
      non-DT code has not integrated these changes.
      Add a mask to pass external irq specification from SoC
      specific code to the at91_aic_init() function.
      Signed-off-by: NNicolas Ferre <nicolas.ferre@atmel.com>
      Acked-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
      Acked-by: NLudovic Desroches <ludovic.desroches@atmel.com>
      Cc: stable <stable@vger.kernel.org> [v3.6]
      738a0fd7
    • I
      ARM: at91: at91sam9g10: fix SOC type detection · 3d9a0183
      Ivan Shugov 提交于
      Newer at91sam9g10 SoC revision can't be detected, so the kernel can't boot with
      this kind of kernel panic:
      "AT91: Impossible to detect the SOC type"
      
      CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
      CPU: VIVT data cache, VIVT instruction cache
      Machine: Atmel AT91SAM9G10-EK
      Ignoring tag cmdline (using the default kernel command line)
      bootconsole [earlycon0] enabled
      Memory policy: ECC disabled, Data cache writeback
      Kernel panic - not syncing: AT91: Impossible to detect the SOC type
      [<c00133d4>] (unwind_backtrace+0x0/0xe0) from [<c02366dc>] (panic+0x78/0x1cc)
      [<c02366dc>] (panic+0x78/0x1cc) from [<c02fa35c>] (at91_map_io+0x90/0xc8)
      [<c02fa35c>] (at91_map_io+0x90/0xc8) from [<c02f9860>] (paging_init+0x564/0x6d0)
      [<c02f9860>] (paging_init+0x564/0x6d0) from [<c02f7914>] (setup_arch+0x464/0x704)
      [<c02f7914>] (setup_arch+0x464/0x704) from [<c02f44f8>] (start_kernel+0x6c/0x2d4)
      [<c02f44f8>] (start_kernel+0x6c/0x2d4) from [<20008040>] (0x20008040)
      
      The reason for this is that the Debug Unit Chip ID Register has changed between
      Engineering Sample and definitive revision of the SoC. Changing the check of
      cidr to socid will address the problem. We do not integrate this check to the
      list just above because we also have to make sure that the extended id is
      disregarded.
      Signed-off-by: NIvan Shugov <ivan.shugov@gmail.com>
      [nicolas.ferre@atmel.com: change commit message]
      Signed-off-by: NNicolas Ferre <nicolas.ferre@atmel.com>
      Acked-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
      Cc: stable <stable@vger.kernel.org> [v3.1] # since commit 8c3583b6
      3d9a0183
  25. 13 10月, 2012 2 次提交
  26. 04 10月, 2012 1 次提交
    • A
      ARM: at91: skip at91_io_desc definition for NOMMU · ac09281a
      Arnd Bergmann 提交于
      On NOMMU systems, we do cannot remap the MMIO space, so the
      definition of at91_io_desc is unused.
      
      Without this patch, building at91x40_defconfig results in:
      
      arch/arm/mach-at91/setup.c:90:24: warning: 'at91_io_desc' defined but not used [-Wunused-variable]
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
      Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
      ac09281a