Config.in.i2c 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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_BCM2708
  24. tristate "I2C driver for BCM28XX boards"
  25. select ADK_LINUX_KERNEL_I2C
  26. select ADK_LINUX_KERNEL_REGMAP
  27. select ADK_LINUX_KERNEL_REGMAP_I2C
  28. select ADK_LINUX_KERNEL_I2C_CHARDEV
  29. select ADK_LINUX_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_LINUX_KERNEL_I2C_SUNXI
  36. tristate "I2C driver for SUNXI boards"
  37. select ADK_LINUX_KERNEL_I2C
  38. select ADK_LINUX_KERNEL_REGMAP
  39. select ADK_LINUX_KERNEL_REGMAP_I2C
  40. select ADK_LINUX_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_LINUX_KERNEL_I2C_IMX
  49. tristate "I2C driver for IMX6 boards"
  50. select ADK_LINUX_KERNEL_I2C
  51. select ADK_LINUX_KERNEL_REGMAP
  52. select ADK_LINUX_KERNEL_REGMAP_I2C
  53. select ADK_LINUX_KERNEL_I2C_CHARDEV
  54. depends on ADK_TARGET_SYSTEM_SOLIDRUN_IMX6 || \
  55. ADK_TARGET_SYSTEM_PHYTEC_IMX6
  56. default y if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6 || \
  57. ADK_TARGET_SYSTEM_PHYTEC_IMX6
  58. default n
  59. help
  60. I2C driver for IMX6 boards.
  61. config ADK_LINUX_KERNEL_SCX200_ACB
  62. tristate "I2C driver for Geode"
  63. depends on ADK_TARGET_CPU_X86_GEODE
  64. select ADK_LINUX_KERNEL_I2C
  65. select ADK_LINUX_KERNEL_I2C_CHARDEV
  66. default y if ADK_TARGET_CPU_X86_GEODE
  67. default n
  68. help
  69. I2C driver for Geode boards.
  70. config ADK_LINUX_KERNEL_BOARD_GRASSHOPPER_I2C
  71. bool "I2C driver for AVR32 Grasshopper"
  72. select ADK_LINUX_KERNEL_I2C
  73. select ADK_LINUX_KERNEL_I2C_GPIO
  74. select ADK_LINUX_KERNEL_I2C_CHARDEV
  75. depends on ADK_TARGET_SYSTEM_GRASSHOPPER
  76. default y if ADK_TARGET_SYSTEM_GRASSHOPPER
  77. default n
  78. help
  79. I2C driver for AVR32 Grasshopper boards.
  80. endmenu