Kconfig 4.8 KB

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