Processors
Processors (Intel® Core™, Intel® Xeon®, etc); processor utilities and programs (Intel® Processor Identification Utility, Intel® Extreme Tuning Utility, Intel® Easy Streaming Wizard, etc.)
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
11680 Discussions

How to use Intel ATOM E3845 GPIO Pinctrl in linux

PSui1
Novice
1,560 Views

My board used E3845 and I wanted to use some GPIO Pin to do something important.

I download the linux-stable kernel as the document tizen-ivi-m2-kernel-ltsi-linux-support-package-atom-e3800-gsg.pdf described. Made and updated the linux kernel.

There is the information when the system started and printed:

io scheduler cfq registered (default)

gpiochip_find_base: found new base at 154

gpiochip_add: registered GPIOs 154 to 255 on device: byt_gpio.0

gpiochip_find_base: found new base at 126

gpiochip_add: registered GPIOs 126 to 153 on device: byt_gpio.1

gpiochip_find_base: found new base at 82

gpiochip_add: registered GPIOs 82 to 125 on device: byt_gpio.2

byt_gpio byt_gpio.2: GPIO interrupt error, pins misconfigured

byt_gpio byt_gpio.2: Gpio 27 interrupt flood, disabling

[root@localhost ~]# cd /sys/class/gpio/

[root@localhost gpio]# ls -l

total 0

--w-------. 1 root root 4096 Jul 3 16:21 export

lrwxrwxrwx. 1 root root 0 Jul 3 16:21 gpiochip126 -> ../../devices/platform/byt_gpio.1/gpio/gpiochip126

lrwxrwxrwx. 1 root root 0 Jul 3 16:21 gpiochip154 -> ../../devices/platform/byt_gpio.0/gpio/gpiochip154

lrwxrwxrwx. 1 root root 0 Jul 3 16:21 gpiochip82 -> ../../devices/platform/byt_gpio.2/gpio/gpiochip82

--w-------. 1 root root 4096 Jul 3 16:21 unexport

[root@localhost usb]# uname -a

Linux localhost.localdomain 3.10.28-03142014-ltsi+ # 1 SMP Sun Jul 2 21:38:05 PDT 2017 x86_64 x86_64 x86_64 GNU/Linux-----The kernel Information.

I wonder whether I should do some configure work for the BYT Pinctrl for GPIO in the BIOS.

Can you tell me what I should do in the BIOS? And How to use the BYT Pinctrl for GPIO in the linux kernel?

Thank you.

0 Kudos
1 Reply
idata
Community Manager
204 Views

Hello suipingli,

 

 

Thank you for contacting Intel Communities.

 

 

I recommend you to open a new thread in the https://embedded.communities.intel.com/community/en Embedded Community.

 

 

Best Regards,

 

Juan V.

 

Reply