1. 21 12月, 2013 1 次提交
    • L
      ARM: s3c24xx: get rid of custom <mach/gpio.h> · c67d0f29
      Linus Walleij 提交于
      This isolates the custom S3C24xx GPIO definition table to
      <linux/platform_data/gpio-samsung-s3x24xx.h> as this is
      used in a few different places in the kernel, removing the
      need to depend on the implicit inclusion of <mach/gpio.h>
      from <linux/gpio.h> and thus getting rid of a few nasty
      cross-dependencies.
      
      We also delete the nifty CONFIG_S3C24XX_GPIO_EXTRA stuff.
      The biggest this can ever be for the S3C24XX is
      CONFIG_S3C24XX_GPIO_EXTRA = 128, and then for CPU_S3C2443 or
      CPU_S3C2416 32*12 GPIOs are added, so 32*12+128 = 512
      is the absolute roof value on this platform. So we set
      the size of ARCH_NR_GPIO to this and the GPIOs array will
      fit any S3C24XX platform, as per pattern from other archs.
      
      ChangeLog v2->v3:
      - Move the movement of the S3C64XX gpio.h file out of
        this patch and into the follow-up patch where it belongs.
      ChangeLog v1->v2:
      - Added an #ifdef ARCH_S3C24XX around the header inclusion
        in drivers/gpio/gpio-samsung.c as we would otherwise
        have colliding definitions when compiling S3C64XX.
      - Rename inclusion guard in the header file.
      
      Cc: Tomasz Figa <tomasz.figa@gmail.com>
      Cc: Sylwester Nawrocki <sylvester.nawrocki@gmail.com>
      Cc: Ben Dooks <ben-linux@fluff.org>
      Cc: linux-samsung-soc@vger.kernel.org
      Acked-by: NKukjin Kim <kgene.kim@samsung.com>
      Acked-by: NHeiko Stuebner <heiko@sntech.de>
      Tested-by: NHeiko Stuebner <heiko@sntech.de>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      c67d0f29
  2. 21 10月, 2013 2 次提交
    • H
      ARM: S3C24XX: add dma pdata for s3c2410, s3c2440 and s3c2442 · 1fecf895
      Heiko Stuebner 提交于
      s3c2410 and s3c2442 share the same dma channels while s3c2440 has
      slight differences. But on all three the reachable sources per dma
      channel has constraints attached and thus encodes the usable
      combinations using the S3C24XX_DMA_CHANREQ macro.
      
      This also fixes the warning about s3c2410_dma_resource being unused
      as reported by Olof Johansson.
      Reported-by: NOlof Johansson <olof@lixom.net>
      Signed-off-by: NHeiko Stuebner <heiko@sntech.de>
      Reviewed-by: NTomasz Figa <t.figa@samsung.com>
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      1fecf895
    • H
      ARM: S3C24XX: Fix possible dma selection warning · da2f5f48
      Heiko Stuebner 提交于
      Currently the s3c sound support selects CONFIG_S3C2410_DMA on s3c24xx
      architectures while the generic dma config is enabled by CONFIG_S3C24XX_DMA.
      
      With the way the Kconfig options are layed out currently it is possible
      to enable Samsung sound support without enabling the necessary dma support
      resulting in warnings like
        warning: (SND_SOC_SAMSUNG && SND_S3C24XX_I2S && SND_S3C2412_SOC_I2S &&
             SND_SOC_SAMSUNG_SMDK2443_WM9710 && SND_SOC_SAMSUNG_LN2440SBC_ALC650)
        selects S3C2410_DMA which has unmet direct dependencies (ARCH_S3C24XX &&
             S3C24XX_DMA && (CPU_S3C2410 || CPU_S3C2442))
      
      Therefore bring the s3c2410 dma support in line with the way the other
      s3c24xx SoCs handle this by having the SoC dma-support selected if the generic
      s3c dma support is enabled and have the sound support depend on S3C24XX_DMA
      on these arches. The s3c2442 is using the same dma descriptors and therefore
      also selected S3C2410_DMA.
      Signed-off-by: NHeiko Stuebner <heiko@sntech.de>
      Reviewed-by: NTomasz Figa <t.figa@samsung.com>
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      da2f5f48
  3. 16 10月, 2013 1 次提交
  4. 08 10月, 2013 2 次提交
  5. 30 9月, 2013 1 次提交
  6. 13 8月, 2013 2 次提交
  7. 06 8月, 2013 3 次提交
  8. 24 7月, 2013 1 次提交
  9. 17 7月, 2013 1 次提交
  10. 10 7月, 2013 1 次提交
  11. 19 6月, 2013 3 次提交
  12. 04 6月, 2013 1 次提交
  13. 21 5月, 2013 4 次提交
  14. 20 5月, 2013 1 次提交
  15. 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
  16. 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
  17. 09 4月, 2013 2 次提交
  18. 08 4月, 2013 2 次提交
  19. 04 4月, 2013 4 次提交
  20. 02 4月, 2013 1 次提交
  21. 27 3月, 2013 1 次提交
  22. 24 3月, 2013 1 次提交
  23. 22 3月, 2013 2 次提交