Kconfig 3.5 KB

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