Kconfig 761 B

12345678910111213141516171819202122232425
  1. menuconfig RT_USING_PINCTRL
  2. bool "Using Pin controllers device drivers"
  3. depends on RT_USING_DM
  4. depends on RT_USING_PIN
  5. default n
  6. help
  7. Enable the pinctrl framework so pin multiplexing/state tables from the
  8. device tree can be applied to peripherals (I2C, SPI, LEDs, etc.). Needed
  9. on SoCs where GPIOs share multiple alternate functions; disable on simple
  10. MCUs where pins have fixed roles.
  11. config RT_PINCTRL_SCMI
  12. bool "Pinctrl driver via ARM SCMI interface"
  13. depends on RT_USING_PINCTRL
  14. depends on RT_FIRMWARE_ARM_SCMI
  15. default n
  16. config RT_PINCTRL_SINGLE
  17. bool "Single Pinctrl driver"
  18. depends on RT_USING_PINCTRL
  19. default n
  20. if RT_USING_PINCTRL
  21. osource "$(SOC_DM_PINCTRL_DIR)/Kconfig"
  22. endif