On Wed, Sep 2, 2015 at 5:29 AM, Alexandre Courbot <[email protected]> wrote:
> Since the GPIO sysfs allows you to request any GPIO that is not
> claimed by a kernel driver from userspace, is there a reason why you
> cannot simply run board-specific init scripts that request and
> configure the GPIOs you need? Once GPIO naming is merged, this should
> be as elegant as it gets for what you want to do.

For many things this is true.  There are some hardware aspects/parameters
of exporting that aren't controllable from userspace, such as whether or not
reversing the direction of a GPIO is safe.
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to