xref: /linux/arch/arm/mach-pxa/Kconfig (revision 3a2c4d55e32ad65efebdb6de44eef3bfa08bb49d)
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	help
26	  Include support for Marvell PXA25x based platforms using
27	  the device tree. Needn't select any other machine while
28	  MACH_PXA25x_DT is enabled.
29
30config MACH_PXA27X_DT
31	bool "Support PXA27x platforms from device tree"
32	select PINCTRL
33	select POWER_SUPPLY
34	select PXA27x
35	help
36	  Include support for Marvell PXA27x based platforms using
37	  the device tree. Needn't select any other machine while
38	  MACH_PXA27X_DT is enabled.
39
40config MACH_PXA3XX_DT
41	bool "Support PXA3xx platforms from device tree"
42	select CPU_PXA300
43	select CPU_PXA310
44	select CPU_PXA320
45	select PINCTRL
46	select POWER_SUPPLY
47	select PXA3xx
48	help
49	  Include support for Marvell PXA3xx based platforms using
50	  the device tree. Needn't select any other machine while
51	  MACH_PXA3XX_DT is enabled.
52
53if ATAGS
54
55comment "Legacy board files"
56
57config ARCH_GUMSTIX
58	bool "Gumstix XScale 255 boards (DEPRECATED)"
59	select PXA25x
60	help
61	  Say Y here if you intend to run this kernel on
62	  Basix, Connex, ws-200ax, ws-400ax systems
63
64	  Support for this machine will go away in early 2027,
65	  unless it gets converted to device tree.
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 (DEPRECATED)"
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
90	  Support for these machines will go away in early 2027,
91	  unless they get converted to device tree.
92
93config PXA_SHARPSL_DETECT_MACH_ID
94	bool "Detect machine ID at run-time in the decompressor"
95	depends on PXA_SHARPSL
96	help
97	  Say Y here if you want the zImage decompressor to detect
98	  the Zaurus machine ID at run-time. For latest kexec-based
99	  boot loader, this is not necessary.
100
101config MACH_AKITA
102	bool "Enable Sharp SL-1000 (Akita) Support"
103	depends on PXA_SHARPSL
104	select I2C
105	select I2C_PXA
106	select MACH_SPITZ
107	select PXA27x
108	select PXA_SHARP_Cxx00
109
110config MACH_SPITZ
111	bool "Enable Sharp Zaurus SL-3000 (Spitz) Support"
112	depends on PXA_SHARPSL
113	select PXA27x
114	select PXA_SHARP_Cxx00
115
116config MACH_BORZOI
117	bool "Enable Sharp Zaurus SL-3100 (Borzoi) Support"
118	depends on PXA_SHARPSL
119	select PXA27x
120	select PXA_SHARP_Cxx00
121
122endif # ATAGS
123
124config PXA25x
125	bool
126	select CPU_XSCALE
127	help
128	  Select code specific to PXA21x/25x/26x variants
129
130config PXA27x
131	bool
132	select CPU_XSCALE
133	help
134	  Select code specific to PXA27x variants
135
136config PXA3xx
137	bool
138	select CPU_XSC3
139	help
140	  Select code specific to PXA3xx variants
141
142config CPU_PXA300
143	bool
144	select PXA3xx
145	help
146	  PXA300 (codename Monahans-L)
147
148config CPU_PXA310
149	bool
150	select CPU_PXA300
151	help
152	  PXA310 (codename Monahans-LV)
153
154config CPU_PXA320
155	bool
156	select PXA3xx
157	help
158	  PXA320 (codename Monahans-P)
159
160config PXA_SHARP_Cxx00
161	bool
162	select SHARPSL_PM
163	help
164	  Enable common support for Sharp Cxx00 models
165
166config SHARPSL_PM
167	bool
168	select APM_EMULATION
169	select SHARPSL_PM_MAX1111
170
171config SHARPSL_PM_MAX1111
172	bool
173	select HWMON
174	select SENSORS_MAX1111
175	select SPI
176	select SPI_MASTER
177
178endif
179