[ARM] S3C24XX: ADC driver core
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / arm / plat-s3c24xx / Kconfig
CommitLineData
a21765a7
BD
1# arch/arm/plat-s3c24xx/Kconfig
2#
3# Copyright 2007 Simtec Electronics
4#
5# Licensed under GPLv2
6
7config PLAT_S3C24XX
8 bool
9 depends on ARCH_S3C2410
b8870605 10 default y if ARCH_S3C2410
7d477a04 11 select NO_IOPORT
bb2b180c 12 select ARCH_REQUIRE_GPIOLIB
a21765a7 13 help
d58153d8 14 Base platform code for any Samsung S3C24XX device
a21765a7 15
b8870605
BD
16if PLAT_S3C24XX
17
1b3ba688
BD
18# 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
93bc6b63
BD
26config S3C24XX_DCLK
27 bool
28 help
29 Clock code for supporting DCLK/CLKOUT on S3C24XX architectures
30
a21765a7
BD
31config 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
6fc601e3
BD
37config 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
a21765a7
BD
44config PM_SIMTEC
45 bool
46 help
47 Common power management code for systems that are
48 compatible with the Simtec style of power management
49
a21765a7
BD
50config S3C2410_DMA
51 bool "S3C2410 DMA support"
52 depends on ARCH_S3C2410
53 help
54 S3C2410 DMA support. This is needed for drivers like sound which
55 use the S3C2410's DMA system to move data to and from the
56 peripheral blocks.
57
58config S3C2410_DMA_DEBUG
59 bool "S3C2410 DMA support debug"
60 depends on ARCH_S3C2410 && S3C2410_DMA
61 help
62 Enable debugging output for the DMA code. This option sends info
63 to the kernel log, at priority KERN_DEBUG.
64
28ab44c5
BD
65config S3C24XX_ADC
66 bool "ADC common driver support"
67 help
68 Core support for the ADC block found in the S3C24XX SoC systems
69 for drivers such as the touchscreen and hwmon to use to share
70 this resource.
71
b2a6cf3b
BD
72# SPI default pin configuration code
73
74config S3C24XX_SPI_BUS0_GPE11_GPE12_GPE13
75 bool
76 help
77 SPI GPIO configuration code for BUS0 when connected to
78 GPE11, GPE12 and GPE13.
79
80config S3C24XX_SPI_BUS1_GPG5_GPG6_GPG7
81 bool
82 help
83 SPI GPIO configuration code for BUS 1 when connected to
84 GPG5, GPG6 and GPG7.
85
86# common code for s3c24xx based machines, such as the SMDKs.
87
a21765a7
BD
88config MACH_SMDK
89 bool
90 help
91 Common machine code for SMDK2410 and SMDK2440
92
b8870605 93endif