Config.in.i2c 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. menu "I2C driver support"
  4. depends on ADK_TARGET_WITH_I2C
  5. config ADK_LINUX_KERNEL_I2C
  6. bool
  7. config ADK_LINUX_KERNEL_I2C_CHARDEV
  8. tristate
  9. config ADK_LINUX_KERNEL_I2C_BOARDINFO
  10. tristate
  11. config ADK_LINUX_KERNEL_I2C_ALGOBIT
  12. tristate
  13. config ADK_LINUX_KERNEL_I2C_GPIO
  14. bool
  15. select ADK_LINUX_KERNEL_I2C
  16. select ADK_LINUX_KERNEL_I2C_CHARDEV
  17. select ADK_LINUX_KERNEL_I2C_BOARDINFO
  18. select ADK_LINUX_KERNEL_I2C_ALGOBIT
  19. default y if ADK_TARGET_SYSTEM_LINKSYS_NSLU2
  20. help
  21. config ADK_LINUX_KERNEL_I2C_BCM2835
  22. tristate
  23. config ADK_LINUX_KERNEL_I2C_DESIGNWARE_CORE
  24. tristate
  25. config ADK_LINUX_KERNEL_I2C_DESIGNWARE_PLATFORM
  26. tristate
  27. config ADK_LINUX_KERNEL_I2C_RK3X
  28. tristate "I2C driver for Rockchip"
  29. select ADK_LINUX_KERNEL_I2C
  30. select ADK_LINUX_KERNEL_REGMAP
  31. select ADK_LINUX_KERNEL_REGMAP_I2C
  32. select ADK_LINUX_KERNEL_I2C_CHARDEV
  33. select ADK_LINUX_KERNEL_I2C_DESIGNWARE_CORE
  34. select ADK_LINUX_KERNEL_I2C_DESIGNWARE_PLATFORM
  35. depends on ADK_TARGET_SYSTEM_ROCKPI4_PLUS
  36. default y if ADK_TARGET_SYSTEM_ROCKPI4_PLUS
  37. default n
  38. help
  39. I2C driver for Synopsys DesignWare.
  40. config ADK_LINUX_KERNEL_I2C_BCM2708
  41. tristate "I2C driver for BCM28XX boards"
  42. select ADK_LINUX_KERNEL_I2C
  43. select ADK_LINUX_KERNEL_REGMAP
  44. select ADK_LINUX_KERNEL_REGMAP_I2C
  45. select ADK_LINUX_KERNEL_I2C_CHARDEV
  46. select ADK_LINUX_KERNEL_I2C_BCM2835
  47. depends on ADK_TARGET_BOARD_BCM28XX
  48. default m if ADK_TARGET_BOARD_BCM28XX
  49. default n
  50. help
  51. I2C driver for BCM28XX boards.
  52. config ADK_LINUX_KERNEL_I2C_SUNXI
  53. tristate "I2C driver for SUNXI boards"
  54. select ADK_LINUX_KERNEL_I2C
  55. select ADK_LINUX_KERNEL_REGMAP
  56. select ADK_LINUX_KERNEL_REGMAP_I2C
  57. select ADK_LINUX_KERNEL_I2C_CHARDEV
  58. depends on ADK_TARGET_SYSTEM_BANANA_PRO || \
  59. ADK_TARGET_SYSTEM_ORANGE_PI0
  60. default y if ADK_TARGET_SYSTEM_BANANA_PRO
  61. default y if ADK_TARGET_SYSTEM_ORANGE_PI0
  62. default n
  63. help
  64. I2C driver for SUNXI boards.
  65. config ADK_LINUX_KERNEL_I2C_IMX
  66. tristate "I2C driver for IMX6 boards"
  67. select ADK_LINUX_KERNEL_I2C
  68. select ADK_LINUX_KERNEL_REGMAP
  69. select ADK_LINUX_KERNEL_REGMAP_I2C
  70. select ADK_LINUX_KERNEL_I2C_CHARDEV
  71. depends on ADK_TARGET_SYSTEM_SOLIDRUN_IMX6 || \
  72. ADK_TARGET_SYSTEM_PHYTEC_IMX6
  73. default y if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6 || \
  74. ADK_TARGET_SYSTEM_PHYTEC_IMX6
  75. default n
  76. help
  77. I2C driver for IMX6 boards.
  78. config ADK_LINUX_KERNEL_SCX200_ACB
  79. tristate "I2C driver for Geode"
  80. depends on ADK_TARGET_CPU_X86_GEODE
  81. select ADK_LINUX_KERNEL_I2C
  82. select ADK_LINUX_KERNEL_I2C_CHARDEV
  83. default y if ADK_TARGET_CPU_X86_GEODE
  84. default n
  85. help
  86. I2C driver for Geode boards.
  87. config ADK_LINUX_KERNEL_BOARD_GRASSHOPPER_I2C
  88. bool "I2C driver for AVR32 Grasshopper"
  89. select ADK_LINUX_KERNEL_I2C
  90. select ADK_LINUX_KERNEL_I2C_GPIO
  91. select ADK_LINUX_KERNEL_I2C_CHARDEV
  92. depends on ADK_TARGET_SYSTEM_GRASSHOPPER
  93. default y if ADK_TARGET_SYSTEM_GRASSHOPPER
  94. default n
  95. help
  96. I2C driver for AVR32 Grasshopper boards.
  97. endmenu