Kconfig 6.5 KB

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