I am an absolute newbie in this device driver field. I am developing a character driver for IMX6 with a custom keyboard. I have been able to develop a basic device driver for the system.
Now I need to configure some of the pins as GPIOs using the SW CTL PAD Register.I am able to get my system to work using the memtools but could not figure out a way to configure the register in the device driver source code or otherwise. I need assistance on how to set the CTL PAD Register to the appropriate value.
Thanks in advance.