unable to export gpio into sysfs

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

unable to export gpio into sysfs

403 Views
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.

Labels (2)
Tags (2)
0 Kudos
1 Reply

393 Views
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 Kudos