1. 19 6月, 2013 1 次提交
  2. 19 4月, 2013 1 次提交
    • 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
  3. 09 4月, 2013 1 次提交
  4. 08 4月, 2013 1 次提交
  5. 07 3月, 2013 1 次提交
    • H
      ARM: S3C24XX: add handle_irq function · 17453dd2
      Heiko Stuebner 提交于
      This removes the dependency on static irq mappings for basic irq handling
      and makes the s3c24xx entry-macro.S obsolete.
      
      Also the interrupts of the second full interrupt controller on the s3c2416
      are really handled now, which was forgotten when adding them.
      
      The handling itself does the same as the previous assembler-code in that
      it tries to get the interrupt offset from the offset register first and
      if that produces wrong results manually searches for the interrupt bit
      in the pending register value. It also saves the historic comment which
      explains the reason behind this.
      Signed-off-by: NHeiko Stuebner <heiko@sntech.de>
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      17453dd2
  6. 05 3月, 2013 3 次提交
    • H
      ARM: S3C24XX: handle s3c2412 eints using new infrastructure · 1c8408e3
      Heiko Stuebner 提交于
      The s3c2412 handles the eints 0 to 3 different than all the other SoCs
      of the 24xx range. These eints must be acked and masked in the regular
      bits as well as the bits 0 to 3 of the eint registers, which are unused
      on the other SoCs.
      
      This of course can be realized using the new infrastructure with the
      eint bits in the main register being the parent interrupts of the
      same bits in the eint register.
      
      The s3c2412 therefore gets its own IRQ_EINT0 to 4 constants that
      reside in the newly created gap before IRQ_EINT4. gpio-samsung, as the
      only user of these is modified to return the correct values when
      handling gpio_to_irq requests on s3c2412 based machines.
      
      Due to lack of hardware this is compile tested only, but should
      hopefully work as intended.
      Signed-off-by: NHeiko Stuebner <heiko@sntech.de>
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      1c8408e3
    • H
      ARM: S3C24XX: include first 4 bits of the eint register in irq mapping · 5424f218
      Heiko Stuebner 提交于
      This patch moves the irq numbers starting with EINT4 4 points down to
      enable the inclusion of the first 4 bits of EINT register into the mapping
      removing the need for special offset handling.
      
      For most S3C24XX architectures this will simply create 4 additional unused
      interrupts, but enables the S3C2412 to make use of the new infrastructure
      to realize its special handling of the EINT0 to EINT3 interrupts.
      
      All affected parts of the Samsung code (arch + drivers) seem to use the
      real interrupt defines (IRQ_something) and not any form of S3C2410_IRQ(x)
      whose numbering is changed here starting from S3C2410_IRQ(32).
      
      This patch was runtime-tested on a s3c2416 based board.
      Signed-off-by: NHeiko Stuebner <heiko@sntech.de>
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      5424f218
    • K
      mmc: s3cmci: moved mach/regs-sdi.h into s3cmci device driver · 24fae0fe
      Kukjin Kim 提交于
      Since mach/regs-sdi.h is used only for s3cmci.c, so this moves the
      header file into the driver file, drivers/mmc/host/s3cmci.c file.
      
      Cc: Chris Ball <cjb@laptop.org>
      Tested-by: NSylwester Nawrocki <sylvester.nawrocki@gmail.com>
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      24fae0fe
  7. 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
  8. 05 2月, 2013 3 次提交
  9. 22 1月, 2013 1 次提交
  10. 11 1月, 2013 12 次提交
  11. 19 11月, 2012 1 次提交
  12. 19 9月, 2012 1 次提交
    • A
      ARM: samsung: move platform_data definitions · 436d42c6
      Arnd Bergmann 提交于
      Platform data for device drivers should be defined in
      include/linux/platform_data/*.h, not in the architecture
      and platform specific directories.
      
      This moves such data out of the samsung include directories
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Acked-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      Acked-by: NNicolas Pitre <nico@linaro.org>
      Acked-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      Cc: Kukjin Kim <kgene.kim@samsung.com>
      Cc: Kyungmin Park <kyungmin.park@samsung.com>
      Cc: Ben Dooks <ben-linux@fluff.org>
      Cc: Jeff Garzik <jgarzik@pobox.com>
      Cc: Guenter Roeck <linux@roeck-us.net>
      Cc: "Wolfram Sang (embedded platforms)" <w.sang@pengutronix.de>
      Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
      Cc: Bryan Wu <bryan.wu@canonical.com>
      Cc: Richard Purdie <rpurdie@rpsys.net>
      Cc: Sylwester Nawrocki <s.nawrocki@samsung.com>
      Cc: Chris Ball <cjb@laptop.org>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Cc: Grant Likely <grant.likely@secretlab.ca>
      Cc: Felipe Balbi <balbi@ti.com>
      Cc: Alan Stern <stern@rowland.harvard.edu>
      Cc: Sangbeom Kim <sbkim73@samsung.com>
      Cc: Liam Girdwood <lrg@ti.com>
      Cc: linux-samsung-soc@vger.kernel.org
      436d42c6
  13. 08 8月, 2012 1 次提交
  14. 13 7月, 2012 3 次提交
  15. 20 6月, 2012 1 次提交
  16. 20 5月, 2012 1 次提交
  17. 25 4月, 2012 2 次提交
  18. 03 3月, 2012 2 次提交
    • K
      ARM: S3C2440: move mach-s3c2440/* into mach-s3c24xx/ · dd6f01b5
      Kukjin Kim 提交于
      This patch moves S3C2440 stuff into mach-s3c24xx/ directory
      so that we can merge the s3c24 series' directories to the
      just one mach-s3c24xx/ directory.
      
      And this patch is including following.
      - re-ordered alphabetically by option text at Kconfig and Makefile
      
      Cc: Ben Dooks <ben-linux@fluff.org>
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      dd6f01b5
    • K
      ARM: S3C2410: move mach-s3c2410/* into mach-s3c24xx/ · 85fd6d63
      Kukjin Kim 提交于
      This patch moves S3C2410 stuff into mach-s3c24xx/ directory
      so that we can merge the s3c24 series' directories to the
      just one mach-s3c24xx/ directory.
      
      And this patch is including following.
      - re-ordered alphabetically by option text at Kconfig and Makefile
      - removed unused option, MACH_N35
      - fixed duplcated option name, S3C2410_DMA to S3C24XX_DMA which is
        in plat-s3c24xx/
      
      Cc: Ben Dooks <ben-linux@fluff.org>
      Cc: Russell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      85fd6d63