xref: /linux/arch/arm/mach-pxa/Kconfig (revision e62decaf98e7c1385c4a22c61ba8bf94d24713a5)
1# SPDX-License-Identifier: GPL-2.0-only
2menuconfig ARCH_PXA
3	bool "PXA2xx/PXA3xx-based"
4	depends on ARCH_MULTI_V5
5	depends on CPU_LITTLE_ENDIAN
6	select ARM_CPU_SUSPEND if PM
7	select CLKSRC_PXA
8	select CLKSRC_MMIO
9	select TIMER_OF
10	select CPU_XSCALE if !CPU_XSC3
11	select GPIO_PXA
12	select GPIOLIB
13	select GPIOLIB_LEGACY
14	select PLAT_PXA
15	help
16	  Support for Intel/Marvell's PXA2xx/PXA3xx processor line.
17
18if ARCH_PXA
19
20config MACH_PXA25X_DT
21	bool "Support PXA25x platforms from device tree"
22	select PINCTRL
23	select POWER_SUPPLY
24	select PXA25x
25	select USE_OF
26	help
27	  Include support for Marvell PXA25x based platforms using
28	  the device tree. Needn't select any other machine while
29	  MACH_PXA25x_DT is enabled.
30
31config MACH_PXA27X_DT
32	bool "Support PXA27x platforms from device tree"
33	select PINCTRL
34	select POWER_SUPPLY
35	select PXA27x
36	select USE_OF
37	help
38	  Include support for Marvell PXA27x based platforms using
39	  the device tree. Needn't select any other machine while
40	  MACH_PXA27X_DT is enabled.
41
42config MACH_PXA3XX_DT
43	bool "Support PXA3xx platforms from device tree"
44	select CPU_PXA300
45	select CPU_PXA310
46	select CPU_PXA320
47	select PINCTRL
48	select POWER_SUPPLY
49	select PXA3xx
50	select USE_OF
51	help
52	  Include support for Marvell PXA3xx based platforms using
53	  the device tree. Needn't select any other machine while
54	  MACH_PXA3XX_DT is enabled.
55
56if ATAGS
57
58comment "Legacy board files"
59
60config ARCH_GUMSTIX
61	bool "Gumstix XScale 255 boards"
62	select PXA25x
63	help
64	  Say Y here if you intend to run this kernel on
65	  Basix, Connex, ws-200ax, ws-400ax systems
66
67choice
68	prompt "Gumstix Carrier/Expansion Board"
69	depends on ARCH_GUMSTIX
70
71config GUMSTIX_AM200EPD
72	bool "Enable AM200EPD board support"
73
74config GUMSTIX_AM300EPD
75	bool "Enable AM300EPD board support"
76
77endchoice
78
79config PXA_SHARPSL
80	bool "SHARP Zaurus SL-5600, SL-C7xx and SL-Cxx00 Models"
81	select SHARP_PARAM
82	select SHARP_SCOOP
83	help
84	  Say Y here if you intend to run this kernel on a
85	  Sharp Zaurus SL-5600 (Poodle), SL-C700 (Corgi),
86	  SL-C750 (Shepherd), SL-C760 (Husky), SL-C1000 (Akita),
87	  SL-C3000 (Spitz), SL-C3100 (Borzoi) or SL-C6000x (Tosa)
88	  handheld computer.
89
90config PXA_SHARPSL_DETECT_MACH_ID
91	bool "Detect machine ID at run-time in the decompressor"
92	depends on PXA_SHARPSL
93	help
94	  Say Y here if you want the zImage decompressor to detect
95	  the Zaurus machine ID at run-time. For latest kexec-based
96	  boot loader, this is not necessary.
97
98config MACH_AKITA
99	bool "Enable Sharp SL-1000 (Akita) Support"
100	depends on PXA_SHARPSL
101	select I2C
102	select I2C_PXA
103	select MACH_SPITZ
104	select PXA27x
105	select PXA_SHARP_Cxx00
106
107config MACH_SPITZ
108	bool "Enable Sharp Zaurus SL-3000 (Spitz) Support"
109	depends on PXA_SHARPSL
110	select PXA27x
111	select PXA_SHARP_Cxx00
112
113config MACH_BORZOI
114	bool "Enable Sharp Zaurus SL-3100 (Borzoi) Support"
115	depends on PXA_SHARPSL
116	select PXA27x
117	select PXA_SHARP_Cxx00
118
119endif # ATAGS
120
121config PXA25x
122	bool
123	select CPU_XSCALE
124	help
125	  Select code specific to PXA21x/25x/26x variants
126
127config PXA27x
128	bool
129	select CPU_XSCALE
130	help
131	  Select code specific to PXA27x variants
132
133config PXA3xx
134	bool
135	select CPU_XSC3
136	help
137	  Select code specific to PXA3xx variants
138
139config CPU_PXA300
140	bool
141	select PXA3xx
142	help
143	  PXA300 (codename Monahans-L)
144
145config CPU_PXA310
146	bool
147	select CPU_PXA300
148	help
149	  PXA310 (codename Monahans-LV)
150
151config CPU_PXA320
152	bool
153	select PXA3xx
154	help
155	  PXA320 (codename Monahans-P)
156
157config PXA_SHARP_Cxx00
158	bool
159	select SHARPSL_PM
160	help
161	  Enable common support for Sharp Cxx00 models
162
163config SHARPSL_PM
164	bool
165	select APM_EMULATION
166	select SHARPSL_PM_MAX1111
167
168config SHARPSL_PM_MAX1111
169	bool
170	select HWMON
171	select SENSORS_MAX1111
172	select SPI
173	select SPI_MASTER
174
175endif
176