2017-12-25 20:54:33 +01:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
#
|
2008-10-21 14:06:39 +01:00
|
|
|
# Copyright 2008 Openmoko, Inc.
|
2010-01-26 10:11:04 +09:00
|
|
|
# Simtec Electronics, Ben Dooks <ben@simtec.co.uk>
|
2017-12-25 20:54:33 +01:00
|
|
|
|
2014-07-07 14:25:15 +02:00
|
|
|
menuconfig ARCH_S3C64XX
|
2022-04-20 09:03:42 +02:00
|
|
|
bool "Samsung S3C64XX (deprecated, see help)"
|
2016-01-25 20:41:29 +09:00
|
|
|
depends on ARCH_MULTI_V6
|
2014-07-07 14:25:15 +02:00
|
|
|
select ARM_AMBA
|
|
|
|
select ARM_VIC
|
|
|
|
select CLKSRC_SAMSUNG_PWM
|
|
|
|
select COMMON_CLK_SAMSUNG
|
2015-02-27 21:44:40 +01:00
|
|
|
select GPIO_SAMSUNG if ATAGS
|
2016-06-02 14:10:16 +02:00
|
|
|
select GPIOLIB
|
2014-07-07 14:25:15 +02:00
|
|
|
select HAVE_TCM
|
|
|
|
select PLAT_SAMSUNG
|
|
|
|
select PM_GENERIC_DOMAINS if PM
|
2015-02-27 21:44:40 +01:00
|
|
|
select S3C_GPIO_TRACK if ATAGS
|
2020-08-04 21:26:48 +02:00
|
|
|
select S3C2410_WATCHDOG
|
2015-02-27 21:44:40 +01:00
|
|
|
select SAMSUNG_ATAGS if ATAGS
|
2014-07-07 14:25:15 +02:00
|
|
|
select SAMSUNG_WAKEMASK if PM
|
2020-08-04 21:26:48 +02:00
|
|
|
select WATCHDOG
|
2014-07-07 14:25:15 +02:00
|
|
|
help
|
|
|
|
Samsung S3C64XX series based systems
|
2008-10-21 14:06:39 +01:00
|
|
|
|
2022-04-20 09:03:42 +02:00
|
|
|
The platform is deprecated and scheduled for removal. Please reach to
|
|
|
|
the maintainers of the platform and linux-samsung-soc@vger.kernel.org if
|
|
|
|
you still use it.
|
|
|
|
Without such feedback, the platform will be removed after 2024.
|
|
|
|
|
2013-10-06 08:58:40 +09:00
|
|
|
if ARCH_S3C64XX
|
|
|
|
|
2008-10-21 14:06:39 +01:00
|
|
|
# Configuration options for the S3C6410 CPU
|
2008-10-21 14:06:50 +01:00
|
|
|
|
2010-01-26 10:11:04 +09:00
|
|
|
config CPU_S3C6400
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Enable S3C6400 CPU support
|
|
|
|
|
2008-10-21 14:06:50 +01:00
|
|
|
config CPU_S3C6410
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Enable S3C6410 CPU support
|
|
|
|
|
2013-10-16 21:10:54 +02:00
|
|
|
config S3C64XX_PL080
|
2014-06-13 12:04:39 +02:00
|
|
|
def_bool DMADEVICES
|
2013-10-16 21:10:54 +02:00
|
|
|
select AMBA_PL08X
|
2010-01-26 13:41:30 +09:00
|
|
|
|
2010-01-26 10:38:52 +09:00
|
|
|
config S3C64XX_SETUP_SDHCI
|
|
|
|
bool
|
ARM: config: sort select statements alphanumerically
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: Jason Cooper <jason@lakedaemon.net>
Acked-by: Tony Lindgren <tony@atomide.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2012-10-06 17:12:25 +01:00
|
|
|
select S3C64XX_SETUP_SDHCI_GPIO
|
2008-10-31 16:14:38 +00:00
|
|
|
help
|
2010-01-26 10:38:52 +09:00
|
|
|
Internal configuration for default SDHCI setup for S3C6400 and
|
|
|
|
S3C6410 SoCs.
|
2008-10-31 16:14:38 +00:00
|
|
|
|
2010-01-26 11:19:18 +09:00
|
|
|
# platform specific device setup
|
|
|
|
|
|
|
|
config S3C64XX_SETUP_I2C0
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Common setup code for i2c bus 0.
|
|
|
|
|
|
|
|
Note, currently since i2c0 is always compiled, this setup helper
|
|
|
|
is always compiled with it.
|
|
|
|
|
|
|
|
config S3C64XX_SETUP_I2C1
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Common setup code for i2c bus 1.
|
|
|
|
|
|
|
|
config S3C64XX_SETUP_FB_24BPP
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Common setup code for S3C64XX with an 24bpp RGB display helper.
|
|
|
|
|
2010-06-22 07:39:18 +09:00
|
|
|
config S3C64XX_SETUP_KEYPAD
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Common setup code for S3C64XX KEYPAD GPIO configurations
|
|
|
|
|
2010-01-26 11:19:18 +09:00
|
|
|
config S3C64XX_SETUP_SDHCI_GPIO
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Common setup code for S3C64XX SDHCI GPIO configurations
|
|
|
|
|
2011-12-23 10:14:36 +09:00
|
|
|
config S3C64XX_SETUP_SPI
|
|
|
|
bool
|
|
|
|
help
|
2022-06-09 10:21:54 +02:00
|
|
|
Common setup code for SPI GPIO configurations
|
2011-12-23 10:14:36 +09:00
|
|
|
|
2012-03-07 04:23:47 -08:00
|
|
|
config S3C64XX_SETUP_USB_PHY
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Common setup code for USB PHY controller
|
|
|
|
|
2010-01-26 10:11:04 +09:00
|
|
|
# S36400 Macchine support
|
|
|
|
|
2011-05-06 09:45:13 +09:00
|
|
|
config MACH_WLF_CRAGG_6410
|
|
|
|
bool "Wolfson Cragganmore 6410"
|
2015-02-27 21:44:40 +01:00
|
|
|
depends on ATAGS
|
2015-02-27 05:50:21 +09:00
|
|
|
depends on I2C=y
|
2011-05-06 09:45:13 +09:00
|
|
|
select CPU_S3C6410
|
ARM: config: sort select statements alphanumerically
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: Jason Cooper <jason@lakedaemon.net>
Acked-by: Tony Lindgren <tony@atomide.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2012-10-06 17:12:25 +01:00
|
|
|
select LEDS_GPIO_REGISTER
|
|
|
|
select S3C64XX_DEV_SPI0
|
|
|
|
select S3C64XX_SETUP_FB_24BPP
|
2011-05-06 09:45:13 +09:00
|
|
|
select S3C64XX_SETUP_I2C1
|
|
|
|
select S3C64XX_SETUP_KEYPAD
|
ARM: config: sort select statements alphanumerically
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: Jason Cooper <jason@lakedaemon.net>
Acked-by: Tony Lindgren <tony@atomide.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2012-10-06 17:12:25 +01:00
|
|
|
select S3C64XX_SETUP_SDHCI
|
2011-12-23 10:16:19 +09:00
|
|
|
select S3C64XX_SETUP_SPI
|
2012-03-07 04:23:47 -08:00
|
|
|
select S3C64XX_SETUP_USB_PHY
|
2012-11-20 20:13:58 +09:00
|
|
|
select S3C_DEV_FB
|
2011-05-06 09:45:13 +09:00
|
|
|
select S3C_DEV_HSMMC
|
|
|
|
select S3C_DEV_HSMMC1
|
|
|
|
select S3C_DEV_HSMMC2
|
|
|
|
select S3C_DEV_I2C1
|
ARM: config: sort select statements alphanumerically
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: Jason Cooper <jason@lakedaemon.net>
Acked-by: Tony Lindgren <tony@atomide.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2012-10-06 17:12:25 +01:00
|
|
|
select S3C_DEV_USB_HOST
|
|
|
|
select S3C_DEV_USB_HSOTG
|
|
|
|
select SAMSUNG_DEV_KEYPAD
|
2012-11-20 20:13:58 +09:00
|
|
|
select SAMSUNG_DEV_PWM
|
2011-05-06 09:45:13 +09:00
|
|
|
help
|
|
|
|
Machine support for the Wolfson Cragganmore S3C6410 variant.
|
2013-10-06 08:58:40 +09:00
|
|
|
|
2013-08-26 02:37:51 +09:00
|
|
|
config MACH_S3C64XX_DT
|
|
|
|
bool "Samsung S3C6400/S3C6410 machine using Device Tree"
|
|
|
|
select CPU_S3C6400
|
|
|
|
select CPU_S3C6410
|
|
|
|
select PINCTRL
|
|
|
|
select PINCTRL_S3C64XX
|
|
|
|
help
|
|
|
|
Machine support for Samsung S3C6400/S3C6410 machines with Device Tree
|
|
|
|
enabled.
|
|
|
|
Select this if a fdt blob is available for your S3C64XX SoC based
|
|
|
|
board.
|
|
|
|
Note: This is under development and not all peripherals can be
|
|
|
|
supported with this machine file.
|
2013-11-11 17:34:56 +09:00
|
|
|
|
2013-10-06 08:58:40 +09:00
|
|
|
endif
|