Issue driving GPIOs defined in dtb as mediamix disp data, using Linux.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Issue driving GPIOs defined in dtb as mediamix disp data, using Linux.

Jump to solution
249 Views
Bob_NXP_user
Contributor II

Hi everyone,

I want to drive GPIOs on my iMX93QSB using libgpiod command gpioset. I tried a lot of things and I notice that the header pins directly routed to processor's gpios are not responding to the command while the ones routed through the GPIO expander work well. Since the expander communicate with the processor through I2C, I'm thinking that the issue is due to GPIOs configuration in dtb.

So I checked imx93-9x9-qsb.dts and I found out that the GPIO pins are defined in this way:

Bob_NXP_user_0-1718374945437.png

I also checked the default setting of my board in the iMX Config Tool and I saw:

Bob_NXP_user_1-1718375030244.png

Now, my question is: Should I be able to drive these pins with gpioset even if they are defined as MEDIAMIX_DISP_DATA? If not, is editing the dtb file the only way to use these GPIO pins or is there a fast way to do it?

Thanks in advance.

Regards, 

Roberto

0 Kudos
Reply
1 Solution
233 Views
JorgeCas
NXP TechSupport
NXP TechSupport

Hello,

That definition is for mux configuration and it is used for MEDIAMIX disp signals.

You must change the device tree to define the pins for GPIO functionality.

Best regards.

View solution in original post

0 Kudos
Reply
1 Reply
234 Views
JorgeCas
NXP TechSupport
NXP TechSupport

Hello,

That definition is for mux configuration and it is used for MEDIAMIX disp signals.

You must change the device tree to define the pins for GPIO functionality.

Best regards.

0 Kudos
Reply