Config.in.i2c 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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_KERNEL_I2C
  6. bool
  7. config ADK_KERNEL_I2C_CHARDEV
  8. tristate
  9. config ADK_KERNEL_I2C_BOARDINFO
  10. tristate
  11. config ADK_KERNEL_I2C_ALGOBIT
  12. tristate
  13. config ADK_KERNEL_I2C_GPIO
  14. bool
  15. select ADK_KERNEL_I2C
  16. select ADK_KERNEL_I2C_CHARDEV
  17. select ADK_KERNEL_I2C_BOARDINFO
  18. select ADK_KERNEL_I2C_ALGOBIT
  19. default y if ADK_TARGET_SYSTEM_LINKSYS_NSLU2
  20. help
  21. config ADK_KERNEL_I2C_BCM2835
  22. tristate
  23. config ADK_KERNEL_I2C_BCM2708
  24. tristate "I2C driver for BCM28XX boards"
  25. select ADK_KERNEL_I2C
  26. select ADK_KERNEL_REGMAP
  27. select ADK_KERNEL_REGMAP_I2C
  28. select ADK_KERNEL_I2C_CHARDEV
  29. select ADK_KERNEL_I2C_BCM2835
  30. depends on ADK_TARGET_BOARD_BCM28XX
  31. default m if ADK_TARGET_BOARD_BCM28XX
  32. default n
  33. help
  34. I2C driver for BCM28XX boards.
  35. config ADK_KERNEL_I2C_SUNXI
  36. tristate "I2C driver for SUNXI boards"
  37. select ADK_KERNEL_I2C
  38. select ADK_KERNEL_REGMAP
  39. select ADK_KERNEL_REGMAP_I2C
  40. select ADK_KERNEL_I2C_CHARDEV
  41. depends on ADK_TARGET_SYSTEM_BANANA_PRO || \
  42. ADK_TARGET_SYSTEM_ORANGE_PI0
  43. default y if ADK_TARGET_SYSTEM_BANANA_PRO
  44. default y if ADK_TARGET_SYSTEM_ORANGE_PI0
  45. default n
  46. help
  47. I2C driver for SUNXI boards.
  48. config ADK_KERNEL_I2C_IMX
  49. tristate "I2C driver for IMX6 boards"
  50. select ADK_KERNEL_I2C
  51. select ADK_KERNEL_REGMAP
  52. select ADK_KERNEL_REGMAP_I2C
  53. select ADK_KERNEL_I2C_CHARDEV
  54. depends on ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  55. default y if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  56. default n
  57. help
  58. I2C driver for IMX6 boards.
  59. config ADK_KERNEL_SCX200_ACB
  60. tristate "I2C driver for Geode"
  61. depends on ADK_TARGET_CPU_X86_GEODE
  62. select ADK_KERNEL_I2C
  63. select ADK_KERNEL_I2C_CHARDEV
  64. default y if ADK_TARGET_CPU_X86_GEODE
  65. default n
  66. help
  67. I2C driver for Geode boards.
  68. config ADK_KERNEL_BOARD_GRASSHOPPER_I2C
  69. bool "I2C driver for AVR32 Grasshopper"
  70. select ADK_KERNEL_I2C
  71. select ADK_KERNEL_I2C_GPIO
  72. select ADK_KERNEL_I2C_CHARDEV
  73. depends on ADK_TARGET_SYSTEM_GRASSHOPPER
  74. default y if ADK_TARGET_SYSTEM_GRASSHOPPER
  75. default n
  76. help
  77. I2C driver for AVR32 Grasshopper boards.
  78. endmenu