1. 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
  2. 12 4月, 2013 2 次提交
    • A
      tty: serial/samsung: make register definitions global · 9ee51f01
      Arnd Bergmann 提交于
      The registers for the Samsung S3C serial port are currently defined in
      the platform specific arch/arm/plat-samsung/include/plat/regs-serial.h
      file, which is not visible to multiplatform capable drivers.
      
      Unfortunately, it is not possible to move the file into a more local
      place as we should normally try to, because the same registers
      may be used in one of four places:
      
      * In the driver itself
      * In platform-independent ARM code for early debug output
      * In platform_data definitions
      * In the Samsung platform power management code
      
      I have also found no way to logically split out a platform_data
      file, other than possibly move everything into
      include/linux/platform_data, which also felt wrong. The only
      part of this file that makes sense to keep specific to the s3c24xx
      platform are the virtual and physical addresses defined here,
      which are needed in no other location.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      9ee51f01
    • A
      ASoC: samsung: move plat/ headers to local directory · 5d229ce5
      Arnd Bergmann 提交于
      The plat/regs-iis.h and plat/regs-ac97.h files in the samsung platform
      are only needed by the ASoC drivers, so they can be moved into the same
      directory, as one more step towards a multiplatform build.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      5d229ce5
  3. 09 4月, 2013 2 次提交
  4. 08 4月, 2013 2 次提交
  5. 04 4月, 2013 4 次提交
  6. 02 4月, 2013 1 次提交
  7. 27 3月, 2013 1 次提交
  8. 24 3月, 2013 1 次提交
  9. 22 3月, 2013 3 次提交
  10. 07 3月, 2013 5 次提交
    • 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
    • H
      ARM: S3C24XX: make s3c24xx_init_intc static · 3d3eb5a4
      Heiko Stuebner 提交于
      It's not used anywhere else.
      Signed-off-by: NHeiko Stuebner <heiko@sntech.de>
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      3d3eb5a4
    • H
      ARM: S3C24XX: move s3c24xx_init_irq to s3c2410_init_irq · f182aa1d
      Heiko Stuebner 提交于
      The s3c24xx_init_irq function that was the base for all irq inits
      is now only used to initialize the real s3c2410 irqs.
      
      Therefore rename it and also move its declaration from plat/cpu.h
      to common.h
      
      The eint declaration is used by the vast majority of the SoCs and
      gets therefore placed outside any ifdefs.
      Signed-off-by: NHeiko Stuebner <heiko@sntech.de>
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      f182aa1d
    • H
      ARM: S3C24XX: fix irq parent check · 0fe3cb1e
      Heiko Stuebner 提交于
      The current parent_irq check checks for a value != 0. This does of course
      not work when the parent irq sits in the bit 0 of the parent register.
      This only affects the eint0 interrupt of the s3c2412.
      
      To fix this behaviour, check for the presence of a parent_intc in the
      structure. In an s3c24xx interrupt controller either all interrupts have
      parent interrupts or none have, so if a parent controller is available
      the parent_irq value always points to a parent_irq.
      Signed-off-by: NHeiko Stuebner <heiko@sntech.de>
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      0fe3cb1e
    • H
      ARM: S3C24XX: fix redundant checks in the irq mapping function · 502a2989
      Heiko Stuebner 提交于
      The check during the parent handling itself was wrong, as it should have
      checked for parent_irq_data.
      
      The interrupt controller structs always contain an irq_data array with 32
      entries and the only possible error could be a parent_irq assignment of >31.
      
      As this would point to outside the irq_data array this could contain
      anything including non-NULL values. Therefore correct this to check
      the parent_irq value to be in the right range.
      
      With the same explanation of a valid interrupt controller always having a
      full irq_data array, the topmost irq_data check in s3c24xx_irq_map
      can also go away.
      
      Finally the mapping function is only called thru the irq_domain ops, in
      which case the intc struct is already successfully created, so there is
      no need to check for it again.
      Reported-by: NJulia Lawall <julia.lawall@lip6.fr>
      Signed-off-by: NHeiko Stuebner <heiko@sntech.de>
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      502a2989
  11. 05 3月, 2013 18 次提交