Kconfig 1.0 KB

123456789101112131415161718192021222324252627282930
  1. menuconfig RT_USING_MFD
  2. bool "Using Multifunction device drivers (MFD)"
  3. depends on RT_USING_DM
  4. default n
  5. help
  6. Enable the MFD framework so composite chips (PMICs, southbridges, etc.)
  7. described in device tree can expose multiple child devices (GPIO, RTC,
  8. regulator…) through the driver model. Required when your board uses such
  9. multifunction ICs; disable to save code if every device is standalone.
  10. config RT_MFD_EDU
  11. bool "Educational device driver"
  12. depends on RT_USING_MFD
  13. depends on RT_USING_PCI
  14. depends on RT_USING_DMA
  15. default n
  16. config RT_MFD_SYSCON
  17. bool "System Controller Register R/W"
  18. depends on RT_USING_MFD
  19. depends on RT_USING_OFW
  20. default y
  21. help
  22. Provide the syscon helper that maps register banks described by
  23. `syscon`/`simple-mfd` nodes and allows other drivers to read/write them.
  24. Keep enabled on SoCs whose reset/clock/PHY drivers access syscon regions.
  25. if RT_USING_MFD
  26. osource "$(SOC_DM_MFD_DIR)/Kconfig"
  27. endif