# GPIO configuration in XBL Source: [https://docs.qualcomm.com/doc/80-88500-4/topic/30_Customize_GPIO_in_XBL.html](https://docs.qualcomm.com/doc/80-88500-4/topic/30_Customize_GPIO_in_XBL.html) The GPIO configuration is completed based on the loading of the TLMM driver. - Configuration is complete *before*the TLMM driver is loaded - If the TLMM driver is loaded, use the APIs to get GPIO ID and complete the configuration. For sample code, see [DalTlmm_ReleaseGpioId](https://docs.qualcomm.com/doc/80-88500-4/topic/29_DALTLMM_interface_description.html#DALTLMM_interface_description_29__title__Toc6231921). - Configuration is complete *after*the TLMM driver is loaded - If the TLMM driver is not loaded, write to the hardware register to customize the GPIO configuration. For information on hardware registers, see [GPIO registers configuration](https://docs.qualcomm.com/doc/80-88500-4/topic/20_GPIO_registers_configuration.html). **Parent Topic:** [GPIO](https://docs.qualcomm.com/doc/80-88500-4/topic/18_Pin_I_O.html) Last Published: Aug 18, 2023 [Previous Topic DALTLMM APIs](https://docs.qualcomm.com/bundle/publicresource/80-88500-4/topics/29_DALTLMM_interface_description.md) [Next Topic GPIO interrupt driver](https://docs.qualcomm.com/bundle/publicresource/80-88500-4/topics/31_GPIO_interrupt_driver.md)