1. 01 7月, 2014 2 次提交
  2. 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
  3. 22 3月, 2014 2 次提交
    • A
      ARM: samsung: allow serial driver to be disabled · 0443a653
      Arnd Bergmann 提交于
      If CONFIG_SERIAL_SAMSUNG is disabled, we run into build errors
      with some samsung platforms. This adds a couple of #ifdef
      statements to hopefully deal with this more gracefully.
      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>
      0443a653
    • A
      ARM: s5p64x0: fix building with only one soc type · 4f579c03
      Arnd Bergmann 提交于
      The s5p64x0 platform supports two distinct SoCs, s5p6440 and s5p6450,
      and in the normal configuration, both are enabled. However if we build
      a kernel that only enables one of the two, the #ifdef logic in common.c
      breaks down, as some of the functions declared in the header are defined
      to NULL using the preprocessor but then defined anyway.
      
      This patch cleans up the mess and ensures that each function has either
      exactly one C declaration and one matching C definition, or we have
      a NULL defined function pointer but no C definition.
      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>
      4f579c03
  4. 21 3月, 2014 2 次提交
  5. 11 3月, 2014 1 次提交
  6. 14 2月, 2014 1 次提交
  7. 21 12月, 2013 1 次提交
  8. 16 10月, 2013 1 次提交
  9. 13 8月, 2013 3 次提交
  10. 06 8月, 2013 4 次提交
  11. 10 7月, 2013 1 次提交
  12. 20 6月, 2013 1 次提交
  13. 19 6月, 2013 2 次提交
  14. 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
  15. 05 3月, 2013 1 次提交
  16. 31 1月, 2013 1 次提交
    • A
      ARM: SAMSUNG: Gracefully exit on suspend failure · d3fcacf5
      Abhilash Kesavan 提交于
      As per the Exynos5250 User Manual:
      When there are pending interrupt events, WFI/WFE instruction are
      ignored. To cancel the power-down sequence follow these steps:
      1) Disable system power-down using CENTRAL_SEQ_CONFIGURATION register
      2) Clear WAKEUP_STAT register
      3) Enable interrupt service routine for CPU
      
      Code for early wakeup for exynos already exists. Remove the panic
      on suspend failure, clear the wakeup state register and return 1
      from cpu_suspend to indicate a failed suspend (to a user daemon).
      
      Older Samsung SoCs have similar panics and I have removed them all.
      Haven't touched the S3C2410 sleep code.
      Signed-off-by: NAbhilash Kesavan <a.kesavan@samsung.com>
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      d3fcacf5
  17. 13 1月, 2013 3 次提交
  18. 11 1月, 2013 4 次提交
  19. 25 12月, 2012 1 次提交
  20. 20 12月, 2012 1 次提交
  21. 07 12月, 2012 1 次提交
  22. 13 11月, 2012 1 次提交
  23. 17 10月, 2012 1 次提交
  24. 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
  25. 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
  26. 08 8月, 2012 1 次提交