xref: /freebsd/share/man/man4/chvgpio.4 (revision fa9896e082a1046ff4fbc75fcba4d18d1f2efc19)
1*94b8a54aSOleksandr Tymoshenko.\" Copyright (c) 2017
2*94b8a54aSOleksandr Tymoshenko.\"	Tom Jones <tj@enoti.me>  All rights reserved.
3*94b8a54aSOleksandr Tymoshenko.\"
4*94b8a54aSOleksandr Tymoshenko.\" Redistribution and use in source and binary forms, with or without
5*94b8a54aSOleksandr Tymoshenko.\" modification, are permitted provided that the following conditions
6*94b8a54aSOleksandr Tymoshenko.\" are met:
7*94b8a54aSOleksandr Tymoshenko.\" 1. Redistributions of source code must retain the above copyright
8*94b8a54aSOleksandr Tymoshenko.\"    notice, this list of conditions and the following disclaimer.
9*94b8a54aSOleksandr Tymoshenko.\" 2. Redistributions in binary form must reproduce the above copyright
10*94b8a54aSOleksandr Tymoshenko.\"    notice, this list of conditions and the following disclaimer in the
11*94b8a54aSOleksandr Tymoshenko.\"    documentation and/or other materials provided with the distribution.
12*94b8a54aSOleksandr Tymoshenko.\"
13*94b8a54aSOleksandr Tymoshenko.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14*94b8a54aSOleksandr Tymoshenko.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15*94b8a54aSOleksandr Tymoshenko.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16*94b8a54aSOleksandr Tymoshenko.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17*94b8a54aSOleksandr Tymoshenko.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18*94b8a54aSOleksandr Tymoshenko.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19*94b8a54aSOleksandr Tymoshenko.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20*94b8a54aSOleksandr Tymoshenko.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21*94b8a54aSOleksandr Tymoshenko.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22*94b8a54aSOleksandr Tymoshenko.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23*94b8a54aSOleksandr Tymoshenko.\" SUCH DAMAGE.
24*94b8a54aSOleksandr Tymoshenko.\"
25*94b8a54aSOleksandr Tymoshenko.Dd November 17, 2017
26*94b8a54aSOleksandr Tymoshenko.Dt CHVGPIO 4
27*94b8a54aSOleksandr Tymoshenko.Os
28*94b8a54aSOleksandr Tymoshenko.Sh NAME
29*94b8a54aSOleksandr Tymoshenko.Nm chvgpio
30*94b8a54aSOleksandr Tymoshenko.Nd Intel Cherry View SoC GPIO controller
31*94b8a54aSOleksandr Tymoshenko.Sh SYNOPSIS
32*94b8a54aSOleksandr Tymoshenko.Cd "device gpio"
33*94b8a54aSOleksandr Tymoshenko.Cd "device chvgpio"
34*94b8a54aSOleksandr Tymoshenko.Sh DESCRIPTION
35*94b8a54aSOleksandr Tymoshenko.Nm
36*94b8a54aSOleksandr Tymoshenkosupports the GPIO controller that can be found in Intel's Cherry View SoC
37*94b8a54aSOleksandr Tymoshenkofamily.
38*94b8a54aSOleksandr Tymoshenko.Pp
39*94b8a54aSOleksandr TymoshenkoThe Cherry View SoC has 5 banks of GPIO pins, NORTH, EAST, SOUTHEAST, SOUTHWEST
40*94b8a54aSOleksandr Tymoshenkoand VIRTUAL.
41*94b8a54aSOleksandr TymoshenkoAll but VIRTUAL are exposed to userland as
42*94b8a54aSOleksandr Tymoshenko.Pa /dev/gpiocN ,
43*94b8a54aSOleksandr Tymoshenkowhere N is 0-3.
44*94b8a54aSOleksandr TymoshenkoPins in each bank are pre-named to match names in the Intel® Atom™ Z8000
45*94b8a54aSOleksandr TymoshenkoProcessor Series Vol 2
46*94b8a54aSOleksandr Tymoshenko.Sh SEE ALSO
47*94b8a54aSOleksandr Tymoshenko.Xr gpio 3 ,
48*94b8a54aSOleksandr Tymoshenko.Xr gpio 4 ,
49*94b8a54aSOleksandr Tymoshenko.Xr gpioctl 8
50*94b8a54aSOleksandr Tymoshenko.Rs
51*94b8a54aSOleksandr Tymoshenko.%T Intel® Atom™ Z8000 Processor Series Vol 1
52*94b8a54aSOleksandr Tymoshenko.Re
53*94b8a54aSOleksandr Tymoshenko.Rs
54*94b8a54aSOleksandr Tymoshenko.%T Intel® Atom™ Z8000 Processor Series Vol 2
55*94b8a54aSOleksandr Tymoshenko.Re
56*94b8a54aSOleksandr Tymoshenko.Sh HISTORY
57*94b8a54aSOleksandr TymoshenkoThe
58*94b8a54aSOleksandr Tymoshenko.Nm
59*94b8a54aSOleksandr Tymoshenkomanual page first appeared in
60*94b8a54aSOleksandr Tymoshenko.Fx 12 .
61*94b8a54aSOleksandr Tymoshenko.Sh AUTHORS
62*94b8a54aSOleksandr TymoshenkoThis driver and man page were written by
63*94b8a54aSOleksandr Tymoshenko.An Tom Jones Aq Mt tj@enoti.me .
64