Jump to content

GPIO in/output using IR pins on Generic Amlogic S905


Ricardo JL Rufino

Recommended Posts

Hi, I always had the desire to understand if it is possible to use the pins of the IR sensor, as general input / output to control sensors and actuators ?!
What would be the steps to allow this?

 

My Board:

TX8 PRO / Amlogic S905W

 

root@arm-64:/sys/class/gpio# cat /sys/kernel/debug/gpio        

gpiochip1: GPIOs 401-500, parent: platform/c8834000.bus:pinctrl@4b0, periphs-banks:
gpio-420 (                    |regulator-hdmi-5v   ) out lo  
gpio-422 (                    |enable              ) out lo  
gpio-436 (                    |reset               ) out hi ACTIVE LOW
gpio-449 (                    |cd                  ) in  lo ACTIVE LOW
gpio-486 (                    |reset               ) out hi ACTIVE LOW
gpio-497 (                    |shutdown            ) out hi

root@arm-64:/sys/class/gpio# uname -a

Linux arm-64 5.6.0-rc6-arm-64 #20.05.0 SMP PREEMPT Fri Apr 3 13:19:09 MSK 2020 aarch64 aarch64 aarch64 GNU/Linux


 

Link to comment
Share on other sites

  • Werner locked this topic
Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines