Kconfig 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283
  1. config ARCH_SHMOBILE_MULTI
  2. bool "SH-Mobile Series" if ARCH_MULTI_V7
  3. depends on MMU
  4. select CPU_V7
  5. select GENERIC_CLOCKEVENTS
  6. select HAVE_ARM_SCU if SMP
  7. select HAVE_ARM_TWD if LOCAL_TIMERS
  8. select HAVE_SMP
  9. select ARM_GIC
  10. select MIGHT_HAVE_CACHE_L2X0
  11. select NO_IOPORT
  12. select PINCTRL
  13. select ARCH_REQUIRE_GPIOLIB
  14. select CLKDEV_LOOKUP
  15. if ARCH_SHMOBILE_MULTI
  16. comment "SH-Mobile System Type"
  17. config ARCH_EMEV2
  18. bool "Emma Mobile EV2"
  19. comment "SH-Mobile Board Type"
  20. config MACH_KZM9D_REFERENCE
  21. bool "KZM9D board - Reference Device Tree Implementation"
  22. depends on ARCH_EMEV2
  23. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  24. ---help---
  25. Use reference implementation of KZM9D board support
  26. which makes a greater use of device tree at the expense
  27. of not supporting a number of devices.
  28. This is intended to aid developers
  29. comment "SH-Mobile System Configuration"
  30. endif
  31. if ARCH_SHMOBILE
  32. comment "SH-Mobile System Type"
  33. config ARCH_SH7372
  34. bool "SH-Mobile AP4 (SH7372)"
  35. select ARCH_WANT_OPTIONAL_GPIOLIB
  36. select ARM_CPU_SUSPEND if PM || CPU_IDLE
  37. select CPU_V7
  38. select SH_CLK_CPG
  39. config ARCH_SH73A0
  40. bool "SH-Mobile AG5 (R8A73A00)"
  41. select ARCH_WANT_OPTIONAL_GPIOLIB
  42. select ARM_GIC
  43. select CPU_V7
  44. select I2C
  45. select SH_CLK_CPG
  46. select RENESAS_INTC_IRQPIN
  47. config ARCH_R8A73A4
  48. bool "R-Mobile APE6 (R8A73A40)"
  49. select ARCH_WANT_OPTIONAL_GPIOLIB
  50. select ARM_GIC
  51. select CPU_V7
  52. select SH_CLK_CPG
  53. select RENESAS_IRQC
  54. select ARCH_HAS_CPUFREQ
  55. select ARCH_HAS_OPP
  56. config ARCH_R8A7740
  57. bool "R-Mobile A1 (R8A77400)"
  58. select ARCH_WANT_OPTIONAL_GPIOLIB
  59. select ARM_GIC
  60. select CPU_V7
  61. select SH_CLK_CPG
  62. select RENESAS_INTC_IRQPIN
  63. config ARCH_R8A7778
  64. bool "R-Car M1A (R8A77781)"
  65. select ARCH_WANT_OPTIONAL_GPIOLIB
  66. select CPU_V7
  67. select SH_CLK_CPG
  68. select ARM_GIC
  69. select USB_ARCH_HAS_EHCI
  70. select USB_ARCH_HAS_OHCI
  71. config ARCH_R8A7779
  72. bool "R-Car H1 (R8A77790)"
  73. select ARCH_WANT_OPTIONAL_GPIOLIB
  74. select ARM_GIC
  75. select CPU_V7
  76. select SH_CLK_CPG
  77. select USB_ARCH_HAS_EHCI
  78. select USB_ARCH_HAS_OHCI
  79. select RENESAS_INTC_IRQPIN
  80. config ARCH_R8A7790
  81. bool "R-Car H2 (R8A77900)"
  82. select ARCH_WANT_OPTIONAL_GPIOLIB
  83. select ARM_GIC
  84. select CPU_V7
  85. select SH_CLK_CPG
  86. select RENESAS_IRQC
  87. config ARCH_EMEV2
  88. bool "Emma Mobile EV2"
  89. select ARCH_WANT_OPTIONAL_GPIOLIB
  90. select ARM_GIC
  91. select CPU_V7
  92. comment "SH-Mobile Board Type"
  93. config MACH_AG5EVM
  94. bool "AG5EVM board"
  95. depends on ARCH_SH73A0
  96. select ARCH_REQUIRE_GPIOLIB
  97. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  98. select SH_LCD_MIPI_DSI
  99. config MACH_APE6EVM
  100. bool "APE6EVM board"
  101. depends on ARCH_R8A73A4
  102. select USE_OF
  103. config MACH_MACKEREL
  104. bool "mackerel board"
  105. depends on ARCH_SH7372
  106. select ARCH_REQUIRE_GPIOLIB
  107. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  108. select SND_SOC_AK4642 if SND_SIMPLE_CARD
  109. select USE_OF
  110. config MACH_KOTA2
  111. bool "KOTA2 board"
  112. depends on ARCH_SH73A0
  113. select ARCH_REQUIRE_GPIOLIB
  114. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  115. config MACH_ARMADILLO800EVA
  116. bool "Armadillo-800 EVA board"
  117. depends on ARCH_R8A7740
  118. select ARCH_REQUIRE_GPIOLIB
  119. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  120. select SND_SOC_WM8978 if SND_SIMPLE_CARD
  121. select USE_OF
  122. config MACH_ARMADILLO800EVA_REFERENCE
  123. bool "Armadillo-800 EVA board - Reference Device Tree Implementation"
  124. depends on ARCH_R8A7740
  125. select ARCH_REQUIRE_GPIOLIB
  126. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  127. select SND_SOC_WM8978 if SND_SIMPLE_CARD
  128. select USE_OF
  129. ---help---
  130. Use reference implementation of Aramdillo800 EVA board support
  131. which makes a greater use of device tree at the expense
  132. of not supporting a number of devices.
  133. This is intended to aid developers
  134. config MACH_BOCKW
  135. bool "BOCK-W platform"
  136. depends on ARCH_R8A7778
  137. select ARCH_REQUIRE_GPIOLIB
  138. select RENESAS_INTC_IRQPIN
  139. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  140. select USE_OF
  141. config MACH_MARZEN
  142. bool "MARZEN board"
  143. depends on ARCH_R8A7779
  144. select ARCH_REQUIRE_GPIOLIB
  145. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  146. config MACH_MARZEN_REFERENCE
  147. bool "MARZEN board - Reference Device Tree Implementation"
  148. depends on ARCH_R8A7779
  149. select ARCH_REQUIRE_GPIOLIB
  150. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  151. select USE_OF
  152. ---help---
  153. Use reference implementation of Marzen board support
  154. which makes use of device tree at the expense
  155. of not supporting a number of devices.
  156. This is intended to aid developers
  157. config MACH_LAGER
  158. bool "Lager board"
  159. depends on ARCH_R8A7790
  160. select USE_OF
  161. config MACH_KZM9D
  162. bool "KZM9D board"
  163. depends on ARCH_EMEV2
  164. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  165. select USE_OF
  166. config MACH_KZM9D_REFERENCE
  167. bool "KZM9D board - Reference Device Tree Implementation"
  168. depends on ARCH_EMEV2
  169. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  170. select USE_OF
  171. ---help---
  172. Use reference implementation of KZM9D board support
  173. which makes a greater use of device tree at the expense
  174. of not supporting a number of devices.
  175. This is intended to aid developers
  176. config MACH_KZM9G
  177. bool "KZM-A9-GT board"
  178. depends on ARCH_SH73A0
  179. select ARCH_HAS_CPUFREQ
  180. select ARCH_HAS_OPP
  181. select ARCH_REQUIRE_GPIOLIB
  182. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  183. select SND_SOC_AK4642 if SND_SIMPLE_CARD
  184. select USE_OF
  185. config MACH_KZM9G_REFERENCE
  186. bool "KZM-A9-GT board - Reference Device Tree Implementation"
  187. depends on ARCH_SH73A0
  188. select ARCH_REQUIRE_GPIOLIB
  189. select REGULATOR_FIXED_VOLTAGE if REGULATOR
  190. select SND_SOC_AK4642 if SND_SIMPLE_CARD
  191. select USE_OF
  192. ---help---
  193. Use reference implementation of KZM-A9-GT board support
  194. which makes as greater use of device tree at the expense
  195. of not supporting a number of devices.
  196. This is intended to aid developers
  197. comment "SH-Mobile System Configuration"
  198. config CPU_HAS_INTEVT
  199. bool
  200. default y
  201. config SH_CLK_CPG
  202. bool
  203. source "drivers/sh/Kconfig"
  204. endif
  205. if ARCH_SHMOBILE || ARCH_SHMOBILE_MULTI
  206. menu "Timer and clock configuration"
  207. config SHMOBILE_TIMER_HZ
  208. int "Kernel HZ (jiffies per second)"
  209. range 32 1024
  210. default "128"
  211. help
  212. Allows the configuration of the timer frequency. It is customary
  213. to have the timer interrupt run at 1000 Hz or 100 Hz, but in the
  214. case of low timer frequencies other values may be more suitable.
  215. SH-Mobile systems using a 32768 Hz RCLK for clock events may want
  216. to select a HZ value such as 128 that can evenly divide RCLK.
  217. A HZ value that does not divide evenly may cause timer drift.
  218. config SH_TIMER_CMT
  219. bool "CMT timer driver"
  220. default y
  221. help
  222. This enables build of the CMT timer driver.
  223. config SH_TIMER_TMU
  224. bool "TMU timer driver"
  225. default y
  226. help
  227. This enables build of the TMU timer driver.
  228. config EM_TIMER_STI
  229. bool "STI timer driver"
  230. default y
  231. help
  232. This enables build of the STI timer driver.
  233. endmenu
  234. endif