1. 19 12月, 2014 1 次提交
  2. 17 11月, 2014 1 次提交
    • G
      ARM: shmobile: Add early debugging support using SCIF(A) · 7a2071c5
      Geert Uytterhoeven 提交于
      Add serial port debug macros for the SCIF(A) serial ports.
      This includes all supported shmobile SoCs, except for EMEV2.
      
      The configuration logic (both Kconfig and #ifdef) is more complicated than
      one would expect, for several reasons:
        1. Not all SoCs have the same serial devices, and they're not always
           at the same addresses.
        2. There are two different types: SCIF and SCIFA. Fortunately they can
           easily be distinguished by physical address.
        3. Not all boards use the same serial port for the console.
           The defaults correspond to the boards that are supported in
           mainline. If you want to use a different serial port, just change
           the value of CONFIG_DEBUG_UART_PHYS, and the rest will auto-adapt.
        4. debug_ll_io_init() maps the SCIF(A) registers to a fixed virtual
           address. 0xfdxxxxxx was chosen, as it should lie below VMALLOC_END
           = 0xff000000, and must not conflict with the 2 MiB reserved region
           at PCI_IO_VIRT_BASE = 0xfee00000.
             - On SoCs not using the legacy machine_desc.map_io(),
      	 debug_ll_io_init() is called by the ARM core code.
             - On SoCs using the legacy machine_desc.map_io(),
      	 debug_ll_io_init() must be called explicitly. Calls are added
      	 for r8a7740, r8a7779, sh7372, and sh73a0.
      
      This was derived from the r8a7790 version by Laurent Pinchart.
      Signed-off-by: NGeert Uytterhoeven <geert+renesas@glider.be>
      Acked-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com>
      Acked-by: NArnd Bergmann <arnd@arndb.de>
      Tested-by: NSimon Horman <horms+renesas@verge.net.au>
      Signed-off-by: NSimon Horman <horms+renesas@verge.net.au>
      7a2071c5
  3. 28 10月, 2014 3 次提交
  4. 27 10月, 2014 1 次提交
  5. 09 9月, 2014 1 次提交
  6. 02 9月, 2014 2 次提交
  7. 23 8月, 2014 2 次提交
  8. 12 7月, 2014 1 次提交
  9. 25 6月, 2014 1 次提交
  10. 17 6月, 2014 4 次提交
  11. 13 5月, 2014 1 次提交
  12. 11 5月, 2014 4 次提交
  13. 16 4月, 2014 2 次提交
  14. 24 12月, 2013 3 次提交
  15. 06 8月, 2013 2 次提交
  16. 17 7月, 2013 2 次提交
  17. 05 6月, 2013 1 次提交
  18. 04 6月, 2013 1 次提交
    • B
      ARM: shmobile: r8a7740: Prepare for reference DT setup · 744fdc8d
      Bastian Hecht 提交于
      We need three steps to prepare for the new Armadillo reference DT board code:
       - Split the device list into r8a7740_early_devices used by the old platform
         data setup (board-armadillo.c) and r8a7740_devices_dt used by both
         setup variants.
       - Introduce new r8a7740_init_delay() to be more flexible about calling
         shmobile_setup_delay().
       - For the generic r8a7740 support, we switch to device tree setup for
         the GIC, the irqpin devices and the I2C controllers.
      
      This is slightly similar to commit 3b00f934
      "ARM: shmobile: sh73a0: Do not use early devices with DT reference"
      Signed-off-by: NBastian Hecht <hechtb+renesas@gmail.com>
      Signed-off-by: NSimon Horman <horms+renesas@verge.net.au>
      744fdc8d
  19. 12 4月, 2013 1 次提交
    • R
      ARM: convert arm/arm64 arch timer to use CLKSRC_OF init · 0583fe47
      Rob Herring 提交于
      This converts arm and arm64 to use CLKSRC_OF DT based initialization for
      the arch timer. A new function arch_timer_arch_init is added to allow for
      arch specific setup.
      
      This has a side effect of enabling sched_clock on omap5 and exynos5. There
      should not be any reason not to use the arch timers for sched_clock.
      Signed-off-by: NRob Herring <rob.herring@calxeda.com>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Kukjin Kim <kgene.kim@samsung.com>
      Cc: Tony Lindgren <tony@atomide.com>
      Cc: Simon Horman <horms@verge.net.au>
      Cc: Magnus Damm <magnus.damm@gmail.com>
      Cc: Catalin Marinas <catalin.marinas@arm.com>
      Cc: Will Deacon <will.deacon@arm.com>
      Cc: John Stultz <john.stultz@linaro.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: linux-samsung-soc@vger.kernel.org
      Cc: linux-omap@vger.kernel.org
      Cc: linux-sh@vger.kernel.org
      Acked-by: NSantosh Shilimkar <santosh.shilimkar@ti.com>
      0583fe47
  20. 02 4月, 2013 1 次提交
    • B
      ARM: shmobile: r8a7740: Migrate from INTC to GIC · 0b7d7820
      Bastian Hecht 提交于
      With the added capabilty of the intc_irqpin driver to handle shared
      external IRQs, all prerequisites are fulfilled and we are ready to
      migrate completely to GIC. This includes the following steps:
      
      - Kconfig:	select ARM_GIC and RENESAS_INTC_IRQPIN
      - intc-r8a7740: Throw out all legacy INTC code and init the GIC. We need
        		to mask out all shared IRQs as it is needed by the
      		shared intc_irqpin driver.
      - setup-r8a7740: Add 4 irqpin devices to handle external IRQs and update
      		all IRQ numbers to point to the GIC SPI.
      - board-armadillo: Update all IRQ numbers to point to the GIC SPI.
      - pfc-r8a7740:	Update all IRQ numbers of the GPIOs to point to the GIC
      		SPI.
      Signed-off-by: NBastian Hecht <hechtb+renesas@gmail.com>
      Acked-by: NKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: NSimon Horman <horms+renesas@verge.net.au>
      0b7d7820
  21. 06 2月, 2013 1 次提交
  22. 25 1月, 2013 3 次提交
  23. 25 12月, 2012 1 次提交