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