This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

GPIO configuration in Linux

Guru 20755 points
Other Parts Discussed in Thread: OMAP-L138

Hello,

I would like to ask a general question regarding the GPIO configuration: As I understand the GPIO can already be configured in the U-BOOT.
If this is done in the u-boot, the Linux GPIO configuration is not needed, or am I missing something ?

Best Regards,

Ran

  • Hi Ran,

    In general what ever the configurations (those are minimal) we are doing in U-Boot is mainly meant for booting purpose. It might not cover all the GPIO configurations, like configuring all the GPIO banks etc.

    In most of the devices mux configurations reset to defaults during kernel boot, this might affect the settings in U-Boot.

    What is the device & kernel version you are reffering to?

    Regards

    Anilkumar

    If it answers your question, please click the  Verify Answer  button below.

  • Hi Anil,

    Thank  you very much for the reply.
    I am using 3.20.00.11 PSP with Omap-l138. I do see in the menuconfig option to disable the pinmux, and in its help it is said that if the bootloader configure all pinmux, then we can disable the pinmux in the kernel (which make sense). If the U-boot does covers all the pinmux configuration, then I suppose that I do not have to re-configure it again in the linux - unless there is a boot of all this configuration which I am not aware of.

    Thank you,

    Ran