which file i should modify for imx8mm for adding GPIO in ANdroid 10 OS

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

which file i should modify for imx8mm for adding GPIO in ANdroid 10 OS

606 Views
Ruban1
Contributor II

which file i should modify for imx8mm for adding GPIO in Android 10 OS

in the files below.

can i added the below lines for Android 10 OS

&iomuxc {
pinctrl-0 = <&pinctrl_hog_1>;

imx8mm-evk {
pinctrl_hog_1: hoggrp-1 {
fsl,pins = <
MX8MM_IOMUXC_GPIO1_IO08_GPIO1_IO8 0x19
MX8MM_IOMUXC_SAI5_RXD3_GPIO3_IO24 0x41

>;
};
...
};

Do i have to configure or ADD in .dtsi file or only adding   in dts  file is enof.

If anything else to configure Kindly let me know.

my imx8mm is 8MMINILPD4-EVKB

the path of the dts file i have is android_build/vendor/nxp-opensource/kernel_imx/arch/arm64/boot/dts/freescale/

or some other path i hve to edit to add GPIO

0 Kudos
3 Replies

599 Views
jimmychan
NXP TechSupport
NXP TechSupport

In the i.MX8MM-EVK dts file, there is no "hog" under iomuxc node. You can take the imx8x-mek.dts for reference.

https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm64/boot/dts/freescale/imx8x-mek.dt...

 

 

0 Kudos

596 Views
Ruban1
Contributor II

i am using imx8mm not imx8x

0 Kudos

598 Views
Ruban1
Contributor II

Should i add or some other file should edit

i dont have imx8x.mek file with me in Android 10 OS

0 Kudos