blob: 2c8a2f5d75ffb5a40553047f30c4ea28d7ccd52b [file] [log] [blame]
Ben Dooksa21765a2007-02-11 18:31:01 +01001# arch/arm/plat-s3c24xx/Kconfig
2#
3# Copyright 2007 Simtec Electronics
4#
5# Licensed under GPLv2
6
7config PLAT_S3C24XX
8 bool
Ben Dooksbcae8ae2008-10-21 14:06:32 +01009 depends on ARCH_S3C2410 || ARCH_S3C24A0
10 default y
Ben Dooks7d477a02007-02-12 18:59:35 +010011 select NO_IOPORT
Russell Kingbb2b1802008-07-26 15:36:03 +010012 select ARCH_REQUIRE_GPIOLIB
Ben Dooksa21765a2007-02-11 18:31:01 +010013 help
Ben Dooksd58153d2007-07-22 16:07:09 +010014 Base platform code for any Samsung S3C24XX device
Ben Dooksa21765a2007-02-11 18:31:01 +010015
Ben Dooksb8870602007-02-11 20:33:13 +010016if PLAT_S3C24XX
17
Ben Dooks1b3ba682008-10-21 14:06:22 +010018# code that is shared between a number of the s3c24xx implementations
19
20config S3C2410_CLOCK
21 bool
22 help
23 Clock code for the S3C2410, and similar processors which
24 is currently includes the S3C2410, S3C2440, S3C2442.
25
Ben Dooks93bc6b62008-10-21 14:06:33 +010026config S3C24XX_DCLK
27 bool
28 help
29 Clock code for supporting DCLK/CLKOUT on S3C24XX architectures
30
Ben Dooksa21765a2007-02-11 18:31:01 +010031config CPU_S3C244X
32 bool
33 depends on ARCH_S3C2410 && (CPU_S3C2440 || CPU_S3C2442)
34 help
35 Support for S3C2440 and S3C2442 Samsung Mobile CPU based systems.
36
Ben Dooks6fc601e2008-07-01 13:17:24 +010037config S3C24XX_PWM
38 bool "PWM device support"
39 select HAVE_PWM
40 help
41 Support for exporting the PWM timer blocks via the pwm device
42 system.
43
Ben Dookse2178d42008-11-10 10:59:32 +000044
45# gpio configurations
46
47config S3C24XX_GPIO_EXTRA
48 int
49 default 128 if S3C24XX_GPIO_EXTRA128
50 default 64 if S3C24XX_GPIO_EXTRA64
51 default 0
52
53config S3C24XX_GPIO_EXTRA64
54 bool
55 help
56 Add an extra 64 gpio numbers to the available GPIO pool. This is
57 available for boards that need extra gpios for external devices.
58
59config S3C24XX_GPIO_EXTRA128
60 bool
61 help
62 Add an extra 128 gpio numbers to the available GPIO pool. This is
63 available for boards that need extra gpios for external devices.
64
Ben Dooksa21765a2007-02-11 18:31:01 +010065config PM_SIMTEC
66 bool
67 help
68 Common power management code for systems that are
69 compatible with the Simtec style of power management
70
Ben Dooksa21765a2007-02-11 18:31:01 +010071config S3C2410_DMA
72 bool "S3C2410 DMA support"
73 depends on ARCH_S3C2410
74 help
75 S3C2410 DMA support. This is needed for drivers like sound which
76 use the S3C2410's DMA system to move data to and from the
77 peripheral blocks.
78
79config S3C2410_DMA_DEBUG
80 bool "S3C2410 DMA support debug"
81 depends on ARCH_S3C2410 && S3C2410_DMA
82 help
83 Enable debugging output for the DMA code. This option sends info
84 to the kernel log, at priority KERN_DEBUG.
85
Ben Dooks28ab44c5b2008-12-18 14:20:04 +000086config S3C24XX_ADC
87 bool "ADC common driver support"
88 help
89 Core support for the ADC block found in the S3C24XX SoC systems
90 for drivers such as the touchscreen and hwmon to use to share
91 this resource.
92
Ben Dooksb2a6cf32008-10-21 14:06:20 +010093# SPI default pin configuration code
94
95config S3C24XX_SPI_BUS0_GPE11_GPE12_GPE13
96 bool
97 help
98 SPI GPIO configuration code for BUS0 when connected to
99 GPE11, GPE12 and GPE13.
100
101config S3C24XX_SPI_BUS1_GPG5_GPG6_GPG7
102 bool
103 help
104 SPI GPIO configuration code for BUS 1 when connected to
105 GPG5, GPG6 and GPG7.
106
107# common code for s3c24xx based machines, such as the SMDKs.
108
Ben Dooksa21765a2007-02-11 18:31:01 +0100109config MACH_SMDK
110 bool
111 help
112 Common machine code for SMDK2410 and SMDK2440
113
Ben Dooksb8870602007-02-11 20:33:13 +0100114endif