1. 22 3月, 2014 1 次提交
    • A
      ARM: s3c24xx: fix gta02 build error · 645e27b0
      Arnd Bergmann 提交于
      The gta02 has always been broken in the case when CONFIG_PCF50633_ADC
      is not used, since gta02_charger_worker then passes a nonexisting
      variable into the pcf50633_mbc_usb_curlim_set() function.
      
      This addresses the obvious typo by using the variable that is
      used everywhere else in this file.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NKukjin Kim <kgene.kim@samsung.com>
      Cc: Tomasz Figa <tomasz.figa@gmail.com>
      Cc: Ben Dooks <ben-linux@fluff.org>
      645e27b0
  2. 14 1月, 2014 1 次提交
  3. 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
  4. 05 3月, 2013 2 次提交
  5. 05 2月, 2013 1 次提交
  6. 11 1月, 2013 1 次提交
  7. 25 12月, 2012 1 次提交
  8. 07 12月, 2012 1 次提交
  9. 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
  10. 13 7月, 2012 1 次提交
  11. 12 5月, 2012 1 次提交
  12. 03 3月, 2012 1 次提交
  13. 01 3月, 2012 1 次提交
    • H
      ARM: S3C24XX: Fix restart on S3C2442 · c1ba544f
      Heiko Stuebner 提交于
      Commit b27b0727 (ARM: 7265/1: restart: S3C24XX: use new restart hook)
      introduced the new restart hook also for the S3C244x cpus, but it
      was only defined in the S3C2440 scope, i.e. when CPU_S3C2440 was
      selected. Devices using the S3C2442 like the GTA02 normally don't select
      this CPU which leads to compilation errors like:
          LD      .tmp_vmlinux1
        arch/arm/mach-s3c2440/built-in.o:(.arch.info.init+0x3c): undefined reference
      to `s3c2440_restart'
        make: *** [.tmp_vmlinux1] Error 1
      
      Therefore move the s3c2440_restart function to s3c244x.c which is
      common to both cpus and also fix the naming to reflect this.
      Reported-and-tested-by: NDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>
      Signed-off-by: NHeiko Stuebner <heiko@sntech.de>
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      c1ba544f
  14. 31 1月, 2012 1 次提交
  15. 21 1月, 2012 1 次提交
  16. 05 1月, 2012 1 次提交
  17. 22 8月, 2011 1 次提交
  18. 05 7月, 2011 1 次提交
  19. 14 4月, 2011 1 次提交
  20. 08 3月, 2011 1 次提交
  21. 28 2月, 2011 6 次提交
  22. 20 10月, 2010 1 次提交
    • N
      arm: remove machine_desc.io_pg_offst and .phys_io · 6451d778
      Nicolas Pitre 提交于
      Since we're now using addruart to establish the debug mapping, we can
      remove the io_pg_offst and phys_io members of struct machine_desc.
      
      The various declarations were removed using the following script:
      
        grep -rl MACHINE_START arch/arm | xargs \
        sed -i '/MACHINE_START/,/MACHINE_END/ { /\.\(phys_io\|io_pg_offst\)/d }'
      
      [ Initial patch was from Jeremy Kerr, example script from Russell King ]
      Signed-off-by: NNicolas Pitre <nicolas.pitre@linaro.org>
      Acked-by: Eric Miao <eric.miao at canonical.com>
      6451d778
  23. 11 8月, 2010 1 次提交
  24. 27 5月, 2010 1 次提交
  25. 02 2月, 2010 1 次提交
  26. 19 1月, 2010 1 次提交
  27. 15 1月, 2010 1 次提交
  28. 01 12月, 2009 1 次提交
  29. 16 11月, 2009 1 次提交
  30. 24 6月, 2009 1 次提交
  31. 17 6月, 2009 1 次提交
    • A
      [ARM] GTA02/FreeRunner: Add machine definition · 9d76295a
      Andy Green 提交于
      This patch introduces the Openmoko GTA02 machine definition.
      
      Much of the code is based on Harald Welte's work, although it
      has been largely rewritten several times.
      
      This is intended to be the minimum machine definition to boot and
      be able to run a rootfs from NAND on GTA02 / FreeRunner.  It does
      not bring up the framebuffer / Glamo and lacks many other peripheral
      drivers from outside the SoC.  But once we have this basis in
      mainline kernel, we will be able to introduce the other drivers
      and add them here.
      
      Thanks to Sven Rebhan <odinshorse@googlemail.com> for his fixes to this
      patch (Kconfig and defconfig files).
      Signed-off-by: NAndy Green <andy@warmcat.com>
      Signed-off-by: NNelson Castillo <arhuaco@freaks-unidos.net>
      [ben-linux@fluff.org: Fix the GPIO definitions]
      Signed-off-by: NBen Dooks <ben-linux@fluff.org>
      9d76295a