xref: /freebsd/share/man/man4/bytgpio.4 (revision fa9896e082a1046ff4fbc75fcba4d18d1f2efc19)
1119bea9fSOleksandr Tymoshenko.\" Copyright (c) 2016
2119bea9fSOleksandr Tymoshenko.\"	Oleksandr Tymoshenko <gonzo@FreeBSD.org>.  All rights reserved.
3119bea9fSOleksandr Tymoshenko.\"
4119bea9fSOleksandr Tymoshenko.\" Redistribution and use in source and binary forms, with or without
5119bea9fSOleksandr Tymoshenko.\" modification, are permitted provided that the following conditions
6119bea9fSOleksandr Tymoshenko.\" are met:
7119bea9fSOleksandr Tymoshenko.\" 1. Redistributions of source code must retain the above copyright
8119bea9fSOleksandr Tymoshenko.\"    notice, this list of conditions and the following disclaimer.
9119bea9fSOleksandr Tymoshenko.\" 2. Redistributions in binary form must reproduce the above copyright
10119bea9fSOleksandr Tymoshenko.\"    notice, this list of conditions and the following disclaimer in the
11119bea9fSOleksandr Tymoshenko.\"    documentation and/or other materials provided with the distribution.
12119bea9fSOleksandr Tymoshenko.\"
13119bea9fSOleksandr Tymoshenko.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14119bea9fSOleksandr Tymoshenko.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15119bea9fSOleksandr Tymoshenko.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16119bea9fSOleksandr Tymoshenko.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17119bea9fSOleksandr Tymoshenko.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18119bea9fSOleksandr Tymoshenko.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19119bea9fSOleksandr Tymoshenko.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20119bea9fSOleksandr Tymoshenko.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21119bea9fSOleksandr Tymoshenko.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22119bea9fSOleksandr Tymoshenko.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23119bea9fSOleksandr Tymoshenko.\" SUCH DAMAGE.
24119bea9fSOleksandr Tymoshenko.\"
25*1e0358deSGlen Barber.Dd May 9, 2017
26119bea9fSOleksandr Tymoshenko.Dt BYTGPIO 4
27119bea9fSOleksandr Tymoshenko.Os
28119bea9fSOleksandr Tymoshenko.Sh NAME
29119bea9fSOleksandr Tymoshenko.Nm bytgpio
30119bea9fSOleksandr Tymoshenko.Nd Intel Bay Trail SoC GPIO controller
31119bea9fSOleksandr Tymoshenko.Sh SYNOPSIS
32119bea9fSOleksandr Tymoshenko.Cd "device gpio"
33119bea9fSOleksandr Tymoshenko.Cd "device bytgpio"
34119bea9fSOleksandr Tymoshenko.Sh DESCRIPTION
35119bea9fSOleksandr TymoshenkoThe
36119bea9fSOleksandr Tymoshenko.Nm
37119bea9fSOleksandr Tymoshenkois a driver for GPIO controller that can be found in Intel's Bay Trail SoC family.
38119bea9fSOleksandr Tymoshenko.Pp
39119bea9fSOleksandr TymoshenkoBay Trail SoC has three banks of GPIO pins exposed to userland as /dev/gpiocN,
40119bea9fSOleksandr Tymoshenkowhere N is 0, 1, and 2. Pins in each bank are pre-named to match names
41119bea9fSOleksandr Tymoshenkoon boards schematics: GPIO_S0_SCnn, GPIO_S0_NCnn, and GPIO_S5_nn.
42119bea9fSOleksandr Tymoshenko.Sh SEE ALSO
43119bea9fSOleksandr Tymoshenko.Xr gpio 3 ,
44119bea9fSOleksandr Tymoshenko.Xr gpio 4 ,
45119bea9fSOleksandr Tymoshenko.Xr gpioctl 8
46119bea9fSOleksandr Tymoshenko.Sh HISTORY
47119bea9fSOleksandr TymoshenkoThe
48119bea9fSOleksandr Tymoshenko.Nm
49119bea9fSOleksandr Tymoshenkomanual page first appeared in
50*1e0358deSGlen Barber.Fx 11.1 .
51119bea9fSOleksandr Tymoshenko.Sh AUTHORS
52119bea9fSOleksandr TymoshenkoThis driver and man page was written by
53119bea9fSOleksandr Tymoshenko.An Oleksandr Tymoshenko Aq Mt gonzo@FreeBSD.org .
54