Hello,
I fond pinctrl-single device in Xilinx document. So I want to use it bind a GPIO pin, and then control the pinctrl device. But I don't know whether this way is right.
if you know please tell me. Thank you!!
Best regards,
Aersean
Hello,
I fond pinctrl-single device in Xilinx document. So I want to use it bind a GPIO pin, and then control the pinctrl device. But I don't know whether this way is right.
if you know please tell me. Thank you!!
Best regards,
Aersean
Hello Aersean,
Could you please refer me to the xilinx document in which you found the pinctrl-single device.
--Josh
Hello Josh,
Thank you at first.
I was task for BPS, and I have never worked for device tree before. I only read some user guide for device tree, so I am a beginner for this.
Now we have a new project that is research the ZYNQ-7000 serial. I have a PicoZed-7030 development board. I read the Xapp-1078. In this document, the CPU1 can't directly access GPIO ps pin (share resource). So I want to add a device into Petalinux, and access the GPIO ps pin.
Last time, you give me some help for LED, it is success. In fact, I think we maybe need a general GPIO ps pin controller, so I found pinctrl-single device. I hope use it can control GPIO ps pin input/output and get the interrupt when the level is changed.
The document for pinctrl-single is:
Thanks for your help!!
Best regards,
Aersean
Hello Aersean,
You may find more success asking this quesion over at the xilinx embedded linux forum.
https://forums.xilinx.com/t5/Embedded-Linux/bd-p/ELINUX
In the mean time here are some resources for you to start with:
https://forums.xilinx.com/t5/Embedded-Linux/Test-zynq702-gpio-on-ps/m-p/259680/highlight/true#M4581
https://forums.xilinx.com/t5/Embedded-Linux/Zynq-PS-interrupt/m-p/516363/highlight/true#M10450
--Josh
Hello Josh,
Thank you. I will reseach it again. If you have some suggestion please tell me.
BR
Aersean