UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Explorer
Explorer
640 Views
Registered: ‎02-08-2017

error from gpiod_get function

Jump to solution

I am trying to use gpiod function to control my gpio controller.

 

I have defined my gpio device tree like that

 

gpioInDT.PNG

 

and defined a driver with probe function like that

 

gpioDriverProb.PNG

 

However I am not able to get positive response from gpiod_get function.

 

gpiodFailedResponse.PNG

 

Can anyone please advise what is wrong or why it is not able to recognize my gpios.

 

Thanks in Advance

 

 

0 Kudos
1 Solution

Accepted Solutions
Explorer
Explorer
797 Views
Registered: ‎02-08-2017

Re: error from gpiod_get function

Jump to solution

I got it, the GPIO pin has to be dealt as a special node. So it should be mentioned in dts file like that

 

special_node.PNG

0 Kudos
2 Replies
Explorer
Explorer
594 Views
Registered: ‎02-08-2017

Re: error from gpiod_get function

Jump to solution

Any Help Please

0 Kudos
Explorer
Explorer
798 Views
Registered: ‎02-08-2017

Re: error from gpiod_get function

Jump to solution

I got it, the GPIO pin has to be dealt as a special node. So it should be mentioned in dts file like that

 

special_node.PNG

0 Kudos