Linux Audio

Check our new training course

Loading...
Note: File does not exist in v3.15.
  1# SPDX-License-Identifier: GPL-2.0
  2#
  3# Copyright 2008 Openmoko, Inc.
  4#	Simtec Electronics, Ben Dooks <ben@simtec.co.uk>
  5
  6menuconfig ARCH_S3C64XX
  7	bool "Samsung S3C64XX (deprecated, see help)"
  8	depends on ARCH_MULTI_V6
  9	select ARM_AMBA
 10	select ARM_VIC
 11	select CLKSRC_SAMSUNG_PWM
 12	select COMMON_CLK_SAMSUNG
 13	select GPIO_SAMSUNG if ATAGS
 14	select GPIOLIB
 15	select HAVE_TCM
 16	select PLAT_SAMSUNG
 17	select PM_GENERIC_DOMAINS if PM
 18	select S3C_GPIO_TRACK if ATAGS
 19	select S3C2410_WATCHDOG
 20	select SAMSUNG_ATAGS if ATAGS
 21	select SAMSUNG_WAKEMASK if PM
 22	select WATCHDOG
 23	help
 24	  Samsung S3C64XX series based systems
 25
 26	  The platform is deprecated and scheduled for removal. Please reach to
 27	  the maintainers of the platform and linux-samsung-soc@vger.kernel.org if
 28	  you still use it.
 29	  Without such feedback, the platform will be removed after 2024.
 30
 31if ARCH_S3C64XX
 32
 33# Configuration options for the S3C6410 CPU
 34
 35config CPU_S3C6400
 36	bool
 37	help
 38	  Enable S3C6400 CPU support
 39
 40config CPU_S3C6410
 41	bool
 42	help
 43	  Enable S3C6410 CPU support
 44
 45config S3C64XX_PL080
 46	def_bool DMADEVICES
 47	select AMBA_PL08X
 48
 49config S3C64XX_SETUP_SDHCI
 50	bool
 51	select S3C64XX_SETUP_SDHCI_GPIO
 52	help
 53	  Internal configuration for default SDHCI setup for S3C6400 and
 54	  S3C6410 SoCs.
 55
 56# platform specific device setup
 57
 58config S3C64XX_SETUP_I2C0
 59	bool
 60	default y
 61	help
 62	  Common setup code for i2c bus 0.
 63
 64	  Note, currently since i2c0 is always compiled, this setup helper
 65	  is always compiled with it.
 66
 67config S3C64XX_SETUP_I2C1
 68	bool
 69	help
 70	  Common setup code for i2c bus 1.
 71
 72config S3C64XX_SETUP_FB_24BPP
 73	bool
 74	help
 75	  Common setup code for S3C64XX with an 24bpp RGB display helper.
 76
 77config S3C64XX_SETUP_KEYPAD
 78	bool
 79	help
 80	  Common setup code for S3C64XX KEYPAD GPIO configurations
 81
 82config S3C64XX_SETUP_SDHCI_GPIO
 83	bool
 84	help
 85	  Common setup code for S3C64XX SDHCI GPIO configurations
 86
 87config S3C64XX_SETUP_SPI
 88	bool
 89	help
 90	  Common setup code for SPI GPIO configurations
 91
 92config S3C64XX_SETUP_USB_PHY
 93	bool
 94	help
 95	  Common setup code for USB PHY controller
 96
 97# S36400 Macchine support
 98
 99config MACH_WLF_CRAGG_6410
100	bool "Wolfson Cragganmore 6410"
101	depends on ATAGS
102	depends on I2C=y
103	select CPU_S3C6410
104	select LEDS_GPIO_REGISTER
105	select S3C64XX_DEV_SPI0
106	select S3C64XX_SETUP_FB_24BPP
107	select S3C64XX_SETUP_I2C1
108	select S3C64XX_SETUP_KEYPAD
109	select S3C64XX_SETUP_SDHCI
110	select S3C64XX_SETUP_SPI
111	select S3C64XX_SETUP_USB_PHY
112	select S3C_DEV_FB
113	select S3C_DEV_HSMMC
114	select S3C_DEV_HSMMC1
115	select S3C_DEV_HSMMC2
116	select S3C_DEV_I2C1
117	select S3C_DEV_USB_HOST
118	select S3C_DEV_USB_HSOTG
119	select SAMSUNG_DEV_KEYPAD
120	select SAMSUNG_DEV_PWM
121	help
122	  Machine support for the Wolfson Cragganmore S3C6410 variant.
123
124config MACH_S3C64XX_DT
125	bool "Samsung S3C6400/S3C6410 machine using Device Tree"
126	select CPU_S3C6400
127	select CPU_S3C6410
128	select PINCTRL
129	select PINCTRL_S3C64XX
130	help
131	  Machine support for Samsung S3C6400/S3C6410 machines with Device Tree
132	  enabled.
133	  Select this if a fdt blob is available for your S3C64XX SoC based
134	  board.
135	  Note: This is under development and not all peripherals can be
136	  supported with this machine file.
137
138endif