Hello,
I Use IMX8mm-ddr4-evk Board.And Already Built imx-image-multimedia
I Want To Write Direct Data to Address Of GPIO Pin So, How to Know Address Of GPIO Pin ?
Solved! Go to Solution.
Hello,
Thank Your Support
I Used imx8mm-ddr4-evk board, I Built imx-image-multimedia Image,
1 in the above linux-imx got gpio pin address
=> Can You Explain Path
2.every board u must chk board user guides and reference manual
=> I Check user Guide But Not Consider Them
3. for control gpio pin , we got 3 ways : bare metal, devices driver, and Linux kernel applications, depend on what u want
=> I want to Go Device Driver So, Where is gpio Driver File In Image
after you build, please go " <build_dir>/tmp/work/<board-poky-linux>/linux-imx/<version>/git/" to find out yours board DTSI files , all GPIO pins defines all r insides .
you may also want to read yours boards reference manual to get the details GPIO pins PHysical conections
thanks
Hello,
In Built " <build_dir>/tmp/work/<board-poky-linux>/linux-imx/<version>/git/" git Is Not Directory And I Find Out On this Path But I Can Not Seen DTSI File
of cos must look ard lah...arch/arm64/boot/dts/freescale search for "imx8"
Hello,
Thanks For Your Quickly Support
Can You Explain Answer Of My Bellow Question
1.How to Find Any Pin Address?
2. How to Convert Any Pin To GPIO Pin?
3.How To Write Data Data Direct Pin Address?
root@imx8qxpmek:/sys/class/gpio# ls
export gpiochip128 gpiochip224 gpiochip472 gpiochip96
gpio32 gpiochip160 gpiochip32 gpiochip480 unexport
gpiochip0 gpiochip192 gpiochip464 gpiochip64
root@imx8qxpmek:/sys/class/gpio#
1 in the above linux-imx got gpio pin addresss
2every board u must chk board user guides and reference manuals
3 for control gpio pin , we got 3 ways : bare metal, devices driver, and linux kernel applications, depend on what u want
Hello,
Thank Your Support
I Used imx8mm-ddr4-evk board, I Built imx-image-multimedia Image,
1 in the above linux-imx got gpio pin address
=> Can You Explain Path
2.every board u must chk board user guides and reference manual
=> I Check user Guide But Not Consider Them
3. for control gpio pin , we got 3 ways : bare metal, devices driver, and Linux kernel applications, depend on what u want
=> I want to Go Device Driver So, Where is gpio Driver File In Image