gpioled.4 (98e0ffaefb0f241cda3a72395d3be04192ae0d47) gpioled.4 (452ccc029faec31c596fc285022215d2c126cfd3)
1.\" Copyright (c) 2013, Luiz Otavio O Souza <loos@FreeBSD.org>
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 10 unchanged lines hidden (view full) ---

19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
25.\" $FreeBSD$
26.\"
1.\" Copyright (c) 2013, Luiz Otavio O Souza <loos@FreeBSD.org>
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 10 unchanged lines hidden (view full) ---

19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
25.\" $FreeBSD$
26.\"
27.Dd May 14, 2014
27.Dd July 30, 2016
28.Dt GPIOLED 4
29.Os
30.Sh NAME
31.Nm gpioled
32.Nd GPIO LED generic device driver
33.Sh SYNOPSIS
34To compile this driver into the kernel,
35place the following lines in your

--- 30 unchanged lines hidden (view full) ---

66Arbitrary name of device in
67.Pa /dev/led/
68to create for
69.Xr led 4 .
70.It Va hint.gpioled.%d.pins
71Which pin on the GPIO interface to map to this instance.
72Please note that this mask should only ever have one bit set
73(any other bits - i.e., pins - will be ignored).
28.Dt GPIOLED 4
29.Os
30.Sh NAME
31.Nm gpioled
32.Nd GPIO LED generic device driver
33.Sh SYNOPSIS
34To compile this driver into the kernel,
35place the following lines in your

--- 30 unchanged lines hidden (view full) ---

66Arbitrary name of device in
67.Pa /dev/led/
68to create for
69.Xr led 4 .
70.It Va hint.gpioled.%d.pins
71Which pin on the GPIO interface to map to this instance.
72Please note that this mask should only ever have one bit set
73(any other bits - i.e., pins - will be ignored).
74.It Va hint.gpioled.%d.invert
75If set to 1, the pin will be set to 0 to light the LED, and 1 to clear it.
74.El
75.Pp
76On a
77.Xr FDT 4
78based system, like
79.Li ARM ,
80the DTS part for a
81.Nm gpioled

--- 75 unchanged lines hidden ---
76.El
77.Pp
78On a
79.Xr FDT 4
80based system, like
81.Li ARM ,
82the DTS part for a
83.Nm gpioled

--- 75 unchanged lines hidden ---