]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - arch/arm/mach-shmobile/Kconfig
Merge branch 'overlayfs-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszer...
[karo-tx-linux.git] / arch / arm / mach-shmobile / Kconfig
1 config ARCH_SHMOBILE
2         bool
3         select ZONE_DMA if ARM_LPAE
4
5 config PM_RCAR
6         bool
7         select PM_GENERIC_DOMAINS if PM
8
9 config PM_RMOBILE
10         bool
11         select PM_GENERIC_DOMAINS
12
13 config ARCH_RCAR_GEN1
14         bool
15         select PM_RCAR if PM || SMP
16         select RENESAS_INTC_IRQPIN
17         select SYS_SUPPORTS_SH_TMU
18
19 config ARCH_RCAR_GEN2
20         bool
21         select PM_RCAR if PM || SMP
22         select RENESAS_IRQC
23         select SYS_SUPPORTS_SH_CMT
24         select PCI_DOMAINS if PCI
25
26 config ARCH_RMOBILE
27         bool
28         select PM_RMOBILE if PM
29         select SYS_SUPPORTS_SH_CMT
30         select SYS_SUPPORTS_SH_TMU
31
32 menuconfig ARCH_SHMOBILE_MULTI
33         bool "Renesas ARM SoCs" if ARCH_MULTI_V7
34         depends on MMU
35         select ARCH_SHMOBILE
36         select HAVE_ARM_SCU if SMP
37         select HAVE_ARM_TWD if SMP
38         select ARM_GIC
39         select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
40         select NO_IOPORT_MAP
41         select PINCTRL
42         select ARCH_REQUIRE_GPIOLIB
43
44 if ARCH_SHMOBILE_MULTI
45
46 #comment "Renesas ARM SoCs System Type"
47
48 config ARCH_EMEV2
49         bool "Emma Mobile EV2"
50         select SYS_SUPPORTS_EM_STI
51
52 config ARCH_R7S72100
53         bool "RZ/A1H (R7S72100)"
54         select PM_GENERIC_DOMAINS if PM
55         select SYS_SUPPORTS_SH_MTU2
56
57 config ARCH_R8A73A4
58         bool "R-Mobile APE6 (R8A73A40)"
59         select ARCH_RMOBILE
60         select RENESAS_IRQC
61
62 config ARCH_R8A7740
63         bool "R-Mobile A1 (R8A77400)"
64         select ARCH_RMOBILE
65         select RENESAS_INTC_IRQPIN
66
67 config ARCH_R8A7778
68         bool "R-Car M1A (R8A77781)"
69         select ARCH_RCAR_GEN1
70
71 config ARCH_R8A7779
72         bool "R-Car H1 (R8A77790)"
73         select ARCH_RCAR_GEN1
74
75 config ARCH_R8A7790
76         bool "R-Car H2 (R8A77900)"
77         select ARCH_RCAR_GEN2
78         select I2C
79
80 config ARCH_R8A7791
81         bool "R-Car M2-W (R8A77910)"
82         select ARCH_RCAR_GEN2
83         select I2C
84
85 config ARCH_R8A7793
86         bool "R-Car M2-N (R8A7793)"
87         select ARCH_RCAR_GEN2
88         select I2C
89
90 config ARCH_R8A7794
91         bool "R-Car E2 (R8A77940)"
92         select ARCH_RCAR_GEN2
93
94 config ARCH_SH73A0
95         bool "SH-Mobile AG5 (R8A73A00)"
96         select ARCH_RMOBILE
97         select RENESAS_INTC_IRQPIN
98
99 comment "Renesas ARM SoCs System Configuration"
100 endif
101
102 if ARCH_SHMOBILE_LEGACY
103
104 comment "Renesas ARM SoCs System Type"
105
106 config ARCH_R8A7778
107         bool "R-Car M1A (R8A77781)"
108         select ARCH_RCAR_GEN1
109         select ARCH_WANT_OPTIONAL_GPIOLIB
110         select ARM_GIC
111
112 config ARCH_R8A7779
113         bool "R-Car H1 (R8A77790)"
114         select ARCH_RCAR_GEN1
115         select ARCH_WANT_OPTIONAL_GPIOLIB
116         select ARM_GIC
117
118 comment "Renesas ARM SoCs Board Type"
119
120 config MACH_BOCKW
121         bool "BOCK-W platform"
122         depends on ARCH_R8A7778
123         select ARCH_REQUIRE_GPIOLIB
124         select REGULATOR_FIXED_VOLTAGE if REGULATOR
125         select SND_SOC_AK4554 if SND_SIMPLE_CARD
126         select SND_SOC_AK4642 if SND_SIMPLE_CARD && I2C
127         select USE_OF
128
129 config MACH_BOCKW_REFERENCE
130         bool "BOCK-W  - Reference Device Tree Implementation"
131         depends on ARCH_R8A7778
132         select ARCH_REQUIRE_GPIOLIB
133         select REGULATOR_FIXED_VOLTAGE if REGULATOR
134         select USE_OF
135         ---help---
136            Use reference implementation of BockW board support
137            which makes use of device tree at the expense
138            of not supporting a number of devices.
139
140            This is intended to aid developers
141
142 comment "Renesas ARM SoCs System Configuration"
143
144 config CPU_HAS_INTEVT
145         bool
146         default y
147
148 config SH_CLK_CPG
149         bool
150
151 source "drivers/sh/Kconfig"
152
153 endif
154
155 if ARCH_SHMOBILE
156
157 menu "Timer and clock configuration"
158
159 config SHMOBILE_TIMER_HZ
160         int "Kernel HZ (jiffies per second)"
161         range 32 1024
162         default "128"
163         help
164           Allows the configuration of the timer frequency. It is customary
165           to have the timer interrupt run at 1000 Hz or 100 Hz, but in the
166           case of low timer frequencies other values may be more suitable.
167           Renesas ARM SoC systems using a 32768 Hz RCLK for clock events may
168           want to select a HZ value such as 128 that can evenly divide RCLK.
169           A HZ value that does not divide evenly may cause timer drift.
170
171 endmenu
172
173 endif