In the product design guide, the GPIO number for SDMMC_VDD_EN is not specified. Can I use any GPIO pin for SDMMC_VDD_EN?
Is there the GPIO toggling function for SDMMC_VDD_EN in the L4T driver? I assume that it is triggered by the card detection from SDMMC_CD. If so, please tell me how to configure GPIO pin for SDMMC_VDD_EN. (Is there the GPIO number setting for SDMMC_VDD_EN in the device tree?)
There is a property for it in the DT called "“nvidia,voltage-switch-gpio”. You could try setting it to whatever your Gpio is. I have never tried it but it looks like in the driver code that it will work.
Thank you very much for your comment.
I’m going to read the driver code, but it’s so difficult to find out where SDMMC_VDD_EN switching code is located.