1. 18 9月, 2013 1 次提交
    • S
      ARM: tegra: split tegra_pmc_init() in two · d2207071
      Stephen Warren 提交于
      Tegra's board file currently initializes clocks much earlier than those
      for most other ARM SoCs. The reason is:
      
      * The PMC HW block is involved in the path of some interrupts (i.e. it
      inverts, or not, the IRQ input pin dedicated to the PMIC).
      
      * So, that part of the PMC must be initialized early so that the IRQ
      polarity is correct.
      
      * The PMC initialization is currently monolithic, and the PMC has some
      clock inputs, so the init routine ends up calling of_clk_get_by_name(),
      and hence clocks must be set up early too.
      
      In order to defer clock initialization to the more typical location,
      split out the portions of tegra_pmc_init() that are truly IRQ-related
      into a separate tegra_pmc_init_irq(), which can be called from the
      machine descriptor's .init_irq() function, and defer the rest until
      the machine descriptor's .init_machine() function. This allows the
      clock initiliazation to happen from the machine descriptor's
      .init_time() function, as is typical.
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      d2207071
  2. 10 7月, 2013 1 次提交
  3. 06 6月, 2013 1 次提交
  4. 01 6月, 2013 1 次提交
  5. 04 4月, 2013 3 次提交
  6. 30 3月, 2013 1 次提交
  7. 12 3月, 2013 1 次提交
  8. 10 2月, 2013 1 次提交
  9. 29 1月, 2013 3 次提交
    • H
      ARM: tegra: Add initial support for Tegra114 SoC. · 5c541b88
      Hiroshi Doyu 提交于
      Add new Tegra 114 SoC support.
      Signed-off-by: NHiroshi Doyu <hdoyu@nvidia.com>
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      5c541b88
    • P
      ARM: tegra: migrate to new clock code · 61fd290d
      Prashant Gaikwad 提交于
      Migrate Tegra clock support to drivers/clk/tegra, this involves
      moving:
      1. definition of tegra_cpu_car_ops to clk.c
      2. definition of reset functions to clk-peripheral.c
      3. change parent of cpu clock.
      4. Remove legacy clock initialization.
      5. Initialize clocks using DT.
      6. Remove all instance of mach/clk.h
      Signed-off-by: NPrashant Gaikwad <pgaikwad@nvidia.com>
      [swarren: use to_clk_periph_gate().]
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      61fd290d
    • J
      ARM: tegra: make device can run on UP · 9e32366f
      Joseph Lo 提交于
      The reset handler code is used for either UP or SMP. To make Tegra device
      can compile for UP. It needs to be moved to another file that is not SMP
      only. This is because the reset handler also be needed by CPU idle
      "powered-down" mode. So we also need to put the reset handler init function
      in non-SMP only and init them always.
      
      And currently the implementation of the reset handler to know which CPU is
      OK to bring up was identital with "cpu_present_mask". But the
      "cpu_present_mask" did not initialize yet when the reset handler init
      function was moved to init early function. We use the "cpu_possible_mask"
      to replace "cpu_present_mask". Then it can work on both UP and SMP case.
      Signed-off-by: NJoseph Lo <josephl@nvidia.com>
      [swarren: dropped the move of v7_invalidate_l1() from one file to another,
      to avoid conflicts with Pavel's cleanup of this function, adjust Makefile
      so each line only contains 1 file.]
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      9e32366f
  10. 13 1月, 2013 1 次提交
    • R
      ARM: use common irqchip_init for GIC init · 0529e315
      Rob Herring 提交于
      Convert all GIC DT initialization over to use common irqchip_init
      function.
      Signed-off-by: NRob Herring <rob.herring@calxeda.com>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Kukjin Kim <kgene.kim@samsung.com>
      Acked-by: NShawn Guo <shawn.guo@linaro.org>
      Cc: Sascha Hauer <kernel@pengutronix.de>
      Cc: David Brown <davidb@codeaurora.org>
      Cc: Daniel Walker <dwalker@fifo99.com>
      Cc: Bryan Huntsman <bryanh@codeaurora.org>
      Cc: Tony Lindgren <tony@atomide.com>
      Cc: Paul Mundt <lethal@linux-sh.org>
      Cc: Magnus Damm <magnus.damm@gmail.com>
      Cc: Dinh Nguyen <dinguyen@altera.com>
      Cc: Viresh Kumar <viresh.linux@gmail.com>
      Cc: Shiraz Hashim <shiraz.hashim@st.com>
      Cc: Stephen Warren <swarren@wwwdotorg.org>
      Cc: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com>
      Cc: Linus Walleij <linus.walleij@linaro.org>
      0529e315
  11. 27 11月, 2012 1 次提交
  12. 17 11月, 2012 2 次提交
    • S
      ARM: tegra: decouple uncompress.h and debug-macro.S · 1a6d3da8
      Stephen Warren 提交于
      Prior to this change, Tegra's debug-macro.S relied on uncompress.h having
      determined which UART to use, and whether it was safe to use the UART
      (i.e. is it not in reset, and is clocked). This determination was
      communicated from uncompress.h to debug-macro.S using a few bytes of
      Tegra's IRAM (an on-SoC RAM). This had the disadvantage that uncompress.h
      was a required part of the kernel boot process; booting a non-compressed
      kernel would not allow earlyprintk to operate.
      
      This change duplicates the UART selection and validation logic into
      debug-macro.S so that the reliance on uncompress.h is removed.
      
      This also helps out with single-zImage work, since there is currently no
      support for using any uncompress.h with single-zImage.
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      1a6d3da8
    • S
      ARM: tegra: simplify DEBUG_LL UART selection options · adc18315
      Stephen Warren 提交于
      Delete CONFIG_TEGRA_DEBUG_UART_AUTO_SCRATCH; it's not useful any more:
      * No upstream bootloader currently or will ever support this option.
      * CONFIG_TEGRA_DEBUG_UART_AUTO_ODMDATA is a much more direct alternative.
      
      Merge the fixed and automatic UART selection menus into a single choice
      for simplicity; now you either pick AUTO_ODMDATA or a single fixed UART,
      rather than potentially having an AUTO option override whatever fixed
      option was chosen.
      
      Remove TEGRA_DEBUG_UART_NONE; if you don't want a Tegra DEBUG_LL UART,
      simply don't turn on DEBUG_LL. NONE used to be the default option, so
      pick AUTO_ODMDATA as the new default.
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      adc18315
  13. 16 11月, 2012 2 次提交
  14. 15 11月, 2012 1 次提交
  15. 10 11月, 2012 1 次提交
  16. 06 11月, 2012 3 次提交
  17. 14 9月, 2012 2 次提交
  18. 13 9月, 2012 1 次提交
  19. 07 9月, 2012 2 次提交
  20. 07 7月, 2012 1 次提交
  21. 08 5月, 2012 1 次提交
  22. 26 4月, 2012 4 次提交
  23. 05 3月, 2012 1 次提交
  24. 27 2月, 2012 2 次提交
  25. 07 2月, 2012 2 次提交