Hi, folks!
Is it possible to use GPIOs other than
MX6Q_PAD_KEY_COL4__USBOH3_USBOTG_OC or MX6Q_PAD_EIM_D21__USBOH3_USBOTG_OC
and
MX6Q_PAD_KEY_ROW4__USBOH3_USBOTG_PWR or MX6Q_PAD_EIM_D22__USBOH3_USBOTG_PWR
for the related functions?
As I understood in case of xxx_OC this pin is only used to store the information inside a register, isn’t it?
As far as I know, in case of xxx_PWR it might be possible to enable/disable the USB voltage from USB SW driver by using setting/clearing GPIO function instead of writing to the port ctrl. regsitster, isn’t it?
Or is it all done by the imx hardware block directly without the possibility of modifying the SW driver?
TIA.
Kr, Ingo
Hi Ingo
you are right: it just stores the information inside a register, so one can use
gpios for these signals, modifying SW driver.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Igor.
Thanks for your reply.
So, I would assume I have to register an IRQ service for the OC and set the information inside the register, too?
Who is working on that information?
May you give me a hint where to add switching the 5V for the USB OTG part based on the 3.14.38 kernel from the GA Lollipop drop, please?
TIA.
Kr, Ingo