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

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

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

1,285件の閲覧回数
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 

ラベル(1)
0 件の賞賛
返信
0 返答(返信)