unable to export gpio into sysfs

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

unable to export gpio into sysfs

1,007 次查看
nishanth_
Contributor II

Hi,

On a custom board that is based on Imx8m mini SOM, when I try to export a gpio that is connected to an LED, I get the below error. 

nishanth__0-1620048098528.png

Whereas for a similar gpio, that is connected to an different LED, the export happens successfully and I am able to toggle the LED as expected.

nishanth__1-1620048197071.png

While referring processor data sheet(https://www.nxp.com/docs/en/data-sheet/IMX8MMIEC.pdf), below are the differences.

For pin 80, 

nishanth__2-1620048345575.png

and for pin 87, 

nishanth__3-1620048438008.png

 

Can someone please share some info on what could be the possible reasons for this behavior.

 

Thanks in Advance.

标签 (2)
标记 (2)
0 项奖励
回复
1 回复

997 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Nishanth

 

one can check if NAND_READY pad is used by other module like nand in below example:

https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm64/boot/dts/freescale/imx8mm-ddr4-...

 

Best regards
igor

0 项奖励
回复