How to define a pin as GPIO in the kernel Device Tree in ixm8mm for Android OS

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

How to define a pin as GPIO in the kernel Device Tree in ixm8mm for Android OS

802 Views
Ruban1
Contributor II

How to define a pin as GPIO in the kernel Device Tree in ixm8mm for Android OS

i tried doing same as yocto and build there its error or it doesnot build completely after the all the device tree file it leaves the directory and doesnot continue.

i have attached screenshot below.

Can u kindly provide me documents related to Android OS . version 10

I am able to create virtual GPIO pins 

$ echo 117 > /sys/class/gpio/export

  The gpio creates gpio117

later i ON and OFF the imx8mm it disappears 

How it set in device tree and stay permanent .

I want Document related to Android OS only 

 

i tried even changing in imx8mm-evk.dts

&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

>;
};

...

};

 Its not building 

Labels (1)
0 Kudos
Reply
0 Replies