]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - arch/arm/mach-u300/Kconfig
pinctrl: add a driver for the U300 pinmux
[mirror_ubuntu-bionic-kernel.git] / arch / arm / mach-u300 / Kconfig
CommitLineData
bb3cee2b
LW
1if ARCH_U300
2
3menu "ST-Ericsson AB U300/U330/U335/U365 Platform"
4
5comment "ST-Ericsson Mobile Platform Products"
6
7config MACH_U300
8 bool "U300"
98da3529
LW
9 select PINCTRL
10 select PINMUX_U300
bb3cee2b
LW
11
12comment "ST-Ericsson U300/U330/U335/U365 Feature Selections"
13
14choice
15 prompt "U300/U330/U335/U365 system type"
16 default MACH_U300_BS2X
17 ---help---
18 You need to select the target system, i.e. the
19 U300/U330/U335/U365 board that you want to compile your kernel
20 for.
21
22config MACH_U300_BS2X
23 bool "S26/S26/B25/B26 Test Products"
24 depends on MACH_U300
25 help
26 Select this if you're developing on the
27 S26/S25 test products. (Also works on
28 B26/B25 big boards.)
29
30config MACH_U300_BS330
31 bool "S330/B330 Test Products"
32 depends on MACH_U300
33 help
34 Select this if you're developing on the
35 S330/B330 test products.
36
37config MACH_U300_BS335
38 bool "S335/B335 Test Products"
39 depends on MACH_U300
40 help
41 Select this if you're developing on the
42 S335/B335 test products.
43
44config MACH_U300_BS365
45 bool "S365/B365 Test Products"
46 depends on MACH_U300
47 help
48 Select this if you're developing on the
49 S365/B365 test products.
50
51endchoice
52
53choice
54 prompt "Memory configuration"
55 default MACH_U300_SINGLE_RAM
56 ---help---
57 You have to config the kernel according to the physical memory
58 configuration.
59
60config MACH_U300_SINGLE_RAM
61 bool "Single RAM"
62 help
63 Select this if you want support for Single RAM phones.
64
65config MACH_U300_DUAL_RAM
66 bool "Dual RAM"
67 help
68 Select this if you want support for Dual RAM phones.
b595076a 69 This is two RAM memories on different EMIFs.
bb3cee2b
LW
70endchoice
71
72config U300_DEBUG
73 bool "Debug support for U300"
74 depends on PM
75 help
76 Debug support for U300 in sysfs, procfs etc.
77
78config MACH_U300_SEMI_IS_SHARED
79 bool "The SEMI is used by both the access and application side"
80 depends on MACH_U300
81 help
82 This makes it possible to use the SEMI (Shared External
83 Memory Interface) from both from access and application
84 side.
85
c7c8c78f
LW
86config MACH_U300_SPIDUMMY
87 bool "SSP/SPI dummy chip"
88 select SPI
89 select SPI_MASTER
90 select SPI_PL022
91 help
92 This creates a small kernel module that creates a dummy
93 SPI device to be used for loopback tests. Regularly used
94 to test reference designs. If you're not testing SPI,
95 you don't need it. Selecting this will activate the
96 SPI framework and ARM PL022 support.
97
bb3cee2b
LW
98comment "All the settings below must match the bootloader's settings"
99
100config MACH_U300_ACCESS_MEM_SIZE
101 int "Access CPU memory allocation"
102 range 7 25
103 depends on MACH_U300_SINGLE_RAM
104 default 13
105 help
106 How much memory in MiB that the Access side CPU has allocated
107
108config MACH_U300_2MB_ALIGNMENT_FIX
109 bool "2MiB alignment fix"
110 depends on MACH_U300_SINGLE_RAM
111 default y
112 help
113 If yes and the Access side CPU has allocated an odd size in
114 MiB, this fix gives you one MiB extra that would otherwise be
115 lost due to Linux 2 MiB alignment policy.
116
117endmenu
118
119endif