1. 25 2月, 2016 1 次提交
  2. 02 12月, 2015 2 次提交
    • A
      ARM: s3c64xx: allow building without board support · b2821042
      Arnd Bergmann 提交于
      Most of the code for the s3c64xx platform is only used when booting
      with ATAGS based board files, but not when using device-tree.
      
      This tries to identify all the s3c64xx specific code that is
      unneeded when CONFIG_ATAGS is not set, so we can build a smaller
      DT-only kernel if configured that way.
      
      All board support is still left intact but now depends on the
      CONFIG_ATAGS symbol that users may intentionally disable.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      b2821042
    • A
      ARM: s3c64xx: multiplatform support · af37eec0
      Arnd Bergmann 提交于
      After all preparation work is done, we can finally move the Kconfig
      option for s3c64xx into ARCH_MULTIPLATFORM. This implies allowing
      SAMSUNG_ATAGS for multiplatform again, but now disallowing the
      ADC driver below it, as that still has dependencies on header files.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      af37eec0
  3. 30 7月, 2015 1 次提交
  4. 27 2月, 2015 1 次提交
    • A
      ARM: S3C64XX: add I2C dependencies where needed · 261592e6
      Arnd Bergmann 提交于
      The SMDK6410_WM1190_EV1 and SMDK6410_WM1192_EV1 add-on
      cards select MFD_WM*_I2C, but they ignore the fact that I2C
      may be compiled as a loadable module.
      
      This patch adds a dependency on I2C, which means we avoid
      the build errors, but can end up in a case where the options
      are hidden from the user when I2C is turned off.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Kukjin Kim <kgene.kim@samsung.com>
      Cc: Tomasz Figa <tomasz.figa@gmail.com>
      Cc: Ben Dooks <ben-linux@fluff.org>
      Signed-off-by: NKukjin Kim <kgene@kernel.org>
      261592e6
  5. 17 6月, 2014 1 次提交
    • A
      ARM: samsung: make SAMSUNG_DMADEV optional · 27873b05
      Arnd Bergmann 提交于
      The only remaining driver using the samsung dmadev code is the broken
      samsung-ac97 sound driver. However, as found by Russell's autobuilder,
      the elaborate dependency chains around it cause problems with
      circular dependencies.
      
      This is an attempt to simplify those dependencies by making the
      SAMSUNG_DMADEV option user-selectable. I also try to keep the
      default settings for all related options unchanged, so we don't
      introduce any regressions against earlier testing on linux-next.
      
      In particular, all s3c64xx and s5p* platforms keep selecting the
      pl330 and pl08x drivers they require, but the select statement
      is now moved towards the main platform option, and it remains
      optional by unselecting CONFIG_DMADEVICES.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Kukjin Kim <kgene.kim@samsung.com>
      27873b05
  6. 22 3月, 2014 1 次提交
  7. 21 12月, 2013 1 次提交
    • L
      ARM: s3c64xx: get rid of custom <mach/gpio.h> · 41c3548e
      Linus Walleij 提交于
      This isolates the custom S3C64xx GPIO definition table to
      <linux/platform_data/gpio-samsung-s3x64xx.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.
      
      Also delete the CONFIG_SAMSUNG_GPIO_EXTRA stuff. Instead
      roof the number of GPIOs for this platform:
      First sum up all the GPIO banks from A to Q: 187 GPIOs.
      Add the 16 "board GPIOs" and the roof for SAMSUNG_GPIO_EXTRA,
      128, so in total maximum 187+16+128 = 331 GPIOs, so let's
      take the same roof as for S3C24XX: 512. This way we can do
      away with the GPIO calculation macros for GPIO_BOARD_START,
      BOARD_NR_GPIOS and the definition of ARCH_NR_GPIOS.
      
      Cc: Mark Brown <broonie@kernel.org>
      [on Mini6410 board]
      Tested-by: NTomasz Figa <t.figa@samsung.com>
      [for changes in mach-s3c64xx]
      Acked-by: NTomasz Figa <t.figa@samsung.com>
      Tested-by: NMark Brown <broonie@linaro.org>
      Acked-by: NKukjin Kim <kgene.kim@samsung.com>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      41c3548e
  8. 24 11月, 2013 2 次提交
  9. 06 10月, 2013 2 次提交
  10. 17 9月, 2013 1 次提交
  11. 06 8月, 2013 1 次提交
  12. 09 4月, 2013 1 次提交
  13. 05 3月, 2013 1 次提交
  14. 20 11月, 2012 1 次提交
  15. 14 10月, 2012 1 次提交
    • R
      ARM: config: sort select statements alphanumerically · b1b3f49c
      Russell King 提交于
      As suggested by Andrew Morton:
      
        This is a pet peeve of mine.  Any time there's a long list of items
        (header file inclusions, kconfig entries, array initalisers, etc) and
        someone wants to add a new item, they *always* go and stick it at the
        end of the list.
      
        Guys, don't do this.  Either put the new item into a randomly-chosen
        position or, probably better, alphanumerically sort the list.
      
      lets sort all our select statements alphanumerically.  This commit was
      created by the following perl:
      
      while (<>) {
      	while (/\\\s*$/) {
      		$_ .= <>;
      	}
      	undef %selects if /^\s*config\s+/;
      	if (/^\s+select\s+(\w+).*/) {
      		if (defined($selects{$1})) {
      			if ($selects{$1} eq $_) {
      				print STDERR "Warning: removing duplicated $1 entry\n";
      			} else {
      				print STDERR "Error: $1 differently selected\n".
      					"\tOld: $selects{$1}\n".
      					"\tNew: $_\n";
      				exit 1;
      			}
      		}
      		$selects{$1} = $_;
      		next;
      	}
      	if (%selects and (/^\s*$/ or /^\s+help/ or /^\s+---help---/ or
      			  /^endif/ or /^endchoice/)) {
      		foreach $k (sort (keys %selects)) {
      			print "$selects{$k}";
      		}
      		undef %selects;
      	}
      	print;
      }
      if (%selects) {
      	foreach $k (sort (keys %selects)) {
      		print "$selects{$k}";
      	}
      }
      
      It found two duplicates:
      
      Warning: removing duplicated S5P_SETUP_MIPIPHY entry
      Warning: removing duplicated HARDIRQS_SW_RESEND entry
      
      and they are identical duplicates, hence the shrinkage in the diffstat
      of two lines.
      
      We have four testers reporting success of this change (Tony, Stephen,
      Linus and Sekhar.)
      Acked-by: NJason Cooper <jason@lakedaemon.net>
      Acked-by: NTony Lindgren <tony@atomide.com>
      Acked-by: NStephen Warren <swarren@nvidia.com>
      Acked-by: NLinus Walleij <linus.walleij@linaro.org>
      Acked-by: NSekhar Nori <nsekhar@ti.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      b1b3f49c
  16. 18 4月, 2012 1 次提交
  17. 09 3月, 2012 1 次提交
  18. 20 1月, 2012 1 次提交
  19. 23 12月, 2011 2 次提交
  20. 10 12月, 2011 1 次提交
    • M
      ARM: S3C64XX: Implement basic power domain support · c656c306
      Mark Brown 提交于
      The S3C64xx SoCs contain a set of gateable power domains which can be
      enabled and disabled at runtime in order to save power.  Use the generic
      power domain code to implement support for these in software, enabling
      runtime control of most domains:
      
       - ETM (not supported in mainline).
       - Domain G: 3D acceleration (no mainline support).
       - Domain V: MFC (no mainline support).
       - Domain I: JPEG and camera interface (no mainline support).
       - Domain P: 2D acceleration, TV encoder and scaler (no mainline support)
       - Domain S: Security (no mainline support).
       - Domain F: LCD (driver already uses runtime PM), post processing and
         rotation (no mainline support).
      
      The IROM domain is marked as always enabled as we should arrange for it
      to be enabled when we suspend which will need a bit more work.
      
      Due to all the conditional device registration that the platform does
      wrap s3c_pm_init() with s3c64xx_pm_init() which actually puts the device
      into the power domain after the machines have registered, looking for
      platform data to tell if the device was registered. Since currently only
      Cragganmore actually sets up PM that is the only machine updated.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Acked-by: NKukjin Kim <kgene.kim@samsung.com>
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      c656c306
  21. 08 11月, 2011 1 次提交
  22. 19 9月, 2011 1 次提交
  23. 21 7月, 2011 2 次提交
  24. 03 3月, 2011 2 次提交
  25. 13 11月, 2010 1 次提交
  26. 29 10月, 2010 1 次提交
  27. 21 10月, 2010 4 次提交
  28. 19 10月, 2010 4 次提交