1. 19 4月, 2013 7 次提交
    • 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
  2. 15 2月, 2013 1 次提交
  3. 14 2月, 2013 1 次提交
    • A
      ARM: samsung: fix assembly syntax for new gas · 2815774b
      Arnd Bergmann 提交于
      Recent assembler versions complain about extraneous
      whitespace inside [] brackets. This fixes all of
      these instances for the samsung platforms. We should
      backport this to all kernels that might need to
      be built with new binutils.
      
      arch/arm/kernel/entry-armv.S: Assembler messages:
      arch/arm/kernel/entry-armv.S:214: Error: ARM register expected -- `ldr r2,[ r6,#(0x10)]'
      arch/arm/kernel/entry-armv.S:214: Error: ARM register expected -- `ldr r0,[ r6,#(0x14)]'
      arch/arm/kernel/entry-armv.S:430: Error: ARM register expected -- `ldr r2,[ r6,#(0x10)]'
      arch/arm/kernel/entry-armv.S:430: Error: ARM register expected -- `ldr r0,[ r6,#(0x14)]'
      arch/arm/mach-s3c24xx/sleep-s3c2410.S: Assembler messages:
      arch/arm/mach-s3c24xx/sleep-s3c2410.S:48: Error: ARM register expected -- `ldr r7,[ r4 ]'
      arch/arm/mach-s3c24xx/sleep-s3c2410.S:49: Error: ARM register expected -- `ldr r8,[ r5 ]'
      arch/arm/mach-s3c24xx/sleep-s3c2410.S:50: Error: ARM register expected -- `ldr r9,[ r6 ]'
      arch/arm/mach-s3c24xx/sleep-s3c2410.S:64: Error: ARM register expected -- `streq r7,[ r4 ]'
      arch/arm/mach-s3c24xx/sleep-s3c2410.S:65: Error: ARM register expected -- `streq r8,[ r5 ]'
      arch/arm/mach-s3c24xx/sleep-s3c2410.S:66: Error: ARM register expected -- `streq r9,[ r6 ]'
      arch/arm/kernel/debug.S: Assembler messages:
      arch/arm/kernel/debug.S:83: Error: ARM register expected -- `ldr r2,[ r2,#((0x0B0)+(((0x56000000)-(0x50000000))+(0xF6000000+(0x01000000))))-((0)+(((0x56000000)-(0x50000000))+(0xF6000000+(0x01000000))))]'
      arch/arm/kernel/debug.S:83: Error: ARM register expected -- `ldr r2,[ r3,#(0x18)]'
      arch/arm/kernel/debug.S:85: Error: ARM register expected -- `ldr r2,[ r2,#((0x0B0)+(((0x56000000)-(0x50000000))+(0xF6000000+(0x01000000))))-((0)+(((0x56000000)-(0x50000000))+(0xF6000000+(0x01000000))))]'
      arch/arm/kernel/debug.S:85: Error: ARM register expected -- `ldr r2,[ r3,#(0x18)]'
      arch/arm/mach-s3c24xx/pm-h1940.S: Assembler messages:
      arch/arm/mach-s3c24xx/pm-h1940.S:33: Error: ARM register expected -- `ldr pc,[ r0,#((0x0B8)+(((0x56000000)-(0x50000000))+(0xF6000000+(0x01000000))))-(((0x56000000)-(0x50000000))+(0xF6000000+(0x01000000)))]'
      arch/arm/mach-s3c24xx/sleep-s3c2412.S: Assembler messages:
      arch/arm/mach-s3c24xx/sleep-s3c2412.S:60: Error: ARM register expected -- `ldrne r9,[ r1 ]'
      arch/arm/mach-s3c24xx/sleep-s3c2412.S:61: Error: ARM register expected -- `strne r9,[ r1 ]'
      arch/arm/mach-s3c24xx/sleep-s3c2412.S:62: Error: ARM register expected -- `ldrne r9,[ r2 ]'
      arch/arm/mach-s3c24xx/sleep-s3c2412.S:63: Error: ARM register expected -- `strne r9,[ r2 ]'
      arch/arm/mach-s3c24xx/sleep-s3c2412.S:64: Error: ARM register expected -- `ldrne r9,[ r3 ]'
      arch/arm/mach-s3c24xx/sleep-s3c2412.S:65: Error: ARM register expected -- `strne r9,[ r3 ]'
      arch/arm/kernel/debug.S:83: Error: ARM register expected -- `ldr r2,[ r3,#(0x08)]'
      arch/arm/kernel/debug.S:83: Error: ARM register expected -- `ldr r2,[ r3,#(0x18)]'
      arch/arm/kernel/debug.S:83: Error: ARM register expected -- `ldr r2,[ r3,#(0x10)]'
      arch/arm/kernel/debug.S:85: Error: ARM register expected -- `ldr r2,[ r3,#(0x08)]'
      arch/arm/kernel/debug.S:85: Error: ARM register expected -- `ldr r2,[ r3,#(0x18)]'
      arch/arm/kernel/debug.S:85: Error: ARM register expected -- `ldr r2,[ r3,#(0x10)]'
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NKukjin Kim <kgene.kim@samsung.com>
      Cc: Ben Dooks <ben-linux@fluff.org>
      Cc: stable@vger.kernel.org
      2815774b
  4. 13 2月, 2013 2 次提交
  5. 04 2月, 2013 3 次提交
  6. 31 1月, 2013 2 次提交
  7. 29 1月, 2013 1 次提交
  8. 26 1月, 2013 1 次提交
  9. 15 1月, 2013 1 次提交
  10. 13 1月, 2013 1 次提交
    • R
      irqchip: Move ARM vic.h to include/linux/irqchip/arm-vic.h · 9e47b8bf
      Rob Herring 提交于
      Now that we have VIC moved to drivers/irqchip and all VIC DT init for
      platforms using irqchip_init, move gic.h and update the remaining
      includes.
      Signed-off-by: NRob Herring <rob.herring@calxeda.com>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Hartley Sweeten <hsweeten@visionengravers.com>
      Cc: Ryan Mallon <rmallon@gmail.com>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Alessandro Rubini <rubini@unipv.it>
      Acked-by: NLinus Walleij <linus.walleij@linaro.org>
      Cc: STEricsson <STEricsson_nomadik_linux@list.st.com>
      Cc: Ben Dooks <ben-linux@fluff.org>
      Cc: Kukjin Kim <kgene.kim@samsung.com>
      Cc: linux-samsung-soc@vger.kernel.org
      9e47b8bf
  11. 11 1月, 2013 2 次提交
  12. 04 1月, 2013 1 次提交
    • G
      ARM: drivers: remove __dev* attributes. · 351a102d
      Greg Kroah-Hartman 提交于
      CONFIG_HOTPLUG is going away as an option.  As a result, the __dev*
      markings need to be removed.
      
      This change removes the use of __devinit, __devexit_p, __devinitdata,
      and __devexit from these drivers.
      
      Based on patches originally written by Bill Pemberton, but redone by me
      in order to handle some of the coding style issues better, by hand.
      
      Cc: Bill Pemberton <wfp5p@virginia.edu>
      Cc: Russell King <linux@arm.linux.org.uk>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      351a102d
  13. 29 12月, 2012 1 次提交
  14. 25 12月, 2012 3 次提交
    • S
      ARM: delete struct sys_timer · 6bb27d73
      Stephen Warren 提交于
      Now that the only field in struct sys_timer is .init, delete the struct,
      and replace the machine descriptor .timer field with the initialization
      function itself.
      
      This will enable moving timer drivers into drivers/clocksource without
      having to place a public prototype of each struct sys_timer object into
      include/linux; the intent is to create a single of_clocksource_init()
      function that determines which timer driver to initialize by scanning
      the device dtree, much like the proposed irqchip_init() at:
      http://www.spinics.net/lists/arm-kernel/msg203686.html
      
      Includes mach-omap2 fixes from Igor Grinberg.
      Tested-by: NRobert Jarzmik <robert.jarzmik@free.fr>
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      6bb27d73
    • S
      ARM: samsung: register syscore_ops for timer resume directly · 656c669b
      Stephen Warren 提交于
      Instead of using struct sys_timer's resume function, register syscore_ops
      directly in s3c2410_timer_init(). This will allow the sys_timer suspend/
      resume fields to be removed, and eventually lead to a complete removal of
      struct sys_timer.
      
      Cc: Ben Dooks <ben-linux@fluff.org>
      Cc: Kukjin Kim <kgene.kim@samsung.com>
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      656c669b
    • S
      ARM: set arch_gettimeoffset directly · 23c197b7
      Stephen Warren 提交于
      remove ARM's struct sys_timer .offset function pointer, and instead
      directly set the arch_gettimeoffset function pointer when the timer
      driver is initialized. This requires multiplying all function results
      by 1000, since the removed arm_gettimeoffset() did this. Also,
      s/unsigned long/u32/ just to make the function prototypes exactly
      match that of arch_gettimeoffset.
      
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Andrew Victor <linux@maxim.org.za>
      Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
      Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
      Cc: Hartley Sweeten <hsweeten@visionengravers.com>
      Cc: Ryan Mallon <rmallon@gmail.com>
      Cc: Ben Dooks <ben-linux@fluff.org>
      Cc: Kukjin Kim <kgene.kim@samsung.com>
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      23c197b7
  15. 19 12月, 2012 1 次提交
  16. 07 12月, 2012 1 次提交
  17. 28 11月, 2012 4 次提交
  18. 22 11月, 2012 1 次提交
  19. 20 11月, 2012 1 次提交
  20. 08 11月, 2012 1 次提交
  21. 29 10月, 2012 1 次提交
  22. 23 10月, 2012 1 次提交
    • E
      ARM: SAMSUNG: Insert bitmap_gpio_int member in samsung_gpio_chip · 453e2dd7
      Eunki Kim 提交于
      When a device uses GPIO interrupt, its driver assumes that GPIO
      should be INPUT mode. However, GPIO of SAMSUNG SoC is sepated to
      INPUT mode and INTERRUPT mode. They are set by 0x0 and 0xF in GPIO
      control register. If the register is set to INPUT mode, the
      interrupt never occur. Therefore, it's necessary to set INTERRUPT
      mode instead of INPUT mode when the pin is used for GPIO interrupt.
      
      This patch inserts the bitmap_gpio_int member in struct samsung_
      gpio_chip in order to represent use of GPIO interrupt for each pin
      and sets the related bit when s5p_register_gpio_interrupt function
      is called.
      Signed-off-by: NEunki Kim <eunki_kim@samsung.com>
      Cc: Grant Likely <grant.likely@secretlab.ca>
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      453e2dd7
  23. 19 10月, 2012 1 次提交
  24. 23 10月, 2012 1 次提交