AnsweredAssumed Answered

i.MX51 Device Tree GPIO as output

Question asked by Dave Ebright on May 12, 2014
Latest reply on Nov 4, 2014 by kartiknatarajan



I am looking for a device tree example to define a GPIO as an output.  The gpio output is software controlled and is not connected to a button or LED (not a gpio-keys or gpio-leds compatible).  The gpio is a power enable/switch for a peripheral to the i.MX51 (when high (1) powered on and when low (0) powered off).  Additionally is there a way during kernel init to export this gpio to sysfs as was done in pre-device tree days?