Re: Userspace and Device-Tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Wed, Sep 2, 2015 at 5:29 AM, Alexandre Courbot <gnurou@xxxxxxxxx> 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux