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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

ソリューションへジャンプ
810件の閲覧回数
Bob_NXP_user
Contributor III

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 件の賞賛
返信
1 解決策
794件の閲覧回数
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 件の賞賛
返信
1 返信
795件の閲覧回数
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 件の賞賛
返信