Hi! So i have a situation i’d like to get help with.
I’m running IMX6ULL 512MB WB with a custom board in which i’d like to use pin SODIMM 137 for GPIO function. Problem is this pin is assigned to usb detection and i cant to make it work, when i try to export the pin it gives me a message that is busy.
I’ve already read this thread and tried to implement this solution:
in my “imx6ull-colibri-eval-v3.dts” file i did this changes:
I hope you’re doing well. I have a couple of questions regarding the changes you’re making. Could you clarify if you’re implementing these modifications using an overlay? If so, it would be extremely helpful if you could provide us with the entire overlay for reference. Also, can you please share with us which OS you are running on the module?
Regarding the removal of the detection function, it might be more effective to disable the entire node. Could you kindly consider adding the parameter status = "disabled" to the extcon_usbc_det node and then verify if there are any other outputs or issues?
Additionally, to gain a better understanding of what is utilizing the pin, could you please share the output of the following commands:
Hi Daniel, thank you for your response.
First i want to clarify i’m not using a overlay, just making this changes to the device tree and then compiling the image.
For reference, i’m running core image minimal 5.7.2-devel-20230726155409+build.
I added line “status = “disabled;”” in my DTS but nothing changed, i still can’t import gpio 130 (sodimm 137).
I was having a problem with my system and wasn’t loading new DT to the image.
I’ve sorted that out and now i’m able to use sodimm 137 as gpio.
/delete-node/ extcon_usbc_det; // usbc-det
To delete node used this line, without “&”.