Kconfig 5.3 KB

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