AnsweredAssumed Answered

How to configure Input/Output a GPIO in Devicetree?

Question asked by Alok Pawar on Dec 9, 2014
Latest reply on Dec 9, 2014 by lategoodbye

Hi All,

 

I am using yocto 1.6 daisy branch with kernel 3.10.17.

I am able to configure all platform data and pin-muxing correctly.

 

I have a query in that... How can we configure a GPIO that is Input/output in device tree?

I didn't find anything in device tree.

I have two GPIO in which one is input and other output, i am able to configure everything successfully.

But need to ask where i can define those pin as Input or Output ... In device tree? ... or ... in board file? ... or in driver?

 

Thanks

Alks

Outcomes