xref: /dflybsd-src/share/man/man4/gpio_acpi.4 (revision e3a5d46d5f0403a4a3272574b1384a2623b81e95)
1bca7db71SImre Vadász.\"
2bca7db71SImre Vadász.\" Copyright (c) 2016 The DragonFly Project.  All rights reserved.
3bca7db71SImre Vadász.\"
4bca7db71SImre Vadász.\" Redistribution and use in source and binary forms, with or without
5bca7db71SImre Vadász.\" modification, are permitted provided that the following conditions
6bca7db71SImre Vadász.\" are met:
7bca7db71SImre Vadász.\"
8bca7db71SImre Vadász.\" 1. Redistributions of source code must retain the above copyright
9bca7db71SImre Vadász.\"    notice, this list of conditions and the following disclaimer.
10bca7db71SImre Vadász.\" 2. Redistributions in binary form must reproduce the above copyright
11bca7db71SImre Vadász.\"    notice, this list of conditions and the following disclaimer in
12bca7db71SImre Vadász.\"    the documentation and/or other materials provided with the
13bca7db71SImre Vadász.\"    distribution.
14bca7db71SImre Vadász.\" 3. Neither the name of The DragonFly Project nor the names of its
15bca7db71SImre Vadász.\"    contributors may be used to endorse or promote products derived
16bca7db71SImre Vadász.\"    from this software without specific, prior written permission.
17bca7db71SImre Vadász.\"
18bca7db71SImre Vadász.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19bca7db71SImre Vadász.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20bca7db71SImre Vadász.\" LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
21bca7db71SImre Vadász.\" FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE
22bca7db71SImre Vadász.\" COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
23bca7db71SImre Vadász.\" INCIDENTAL, SPECIAL, EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING,
24bca7db71SImre Vadász.\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
25bca7db71SImre Vadász.\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
26bca7db71SImre Vadász.\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
27bca7db71SImre Vadász.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
28bca7db71SImre Vadász.\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29bca7db71SImre Vadász.\" SUCH DAMAGE.
30bca7db71SImre Vadász.\"
31*e3a5d46dSImre Vadász.Dd June 1, 2016
32bca7db71SImre Vadász.Dt GPIO_ACPI 4
33bca7db71SImre Vadász.Os
34bca7db71SImre Vadász.Sh NAME
35bca7db71SImre Vadász.Nm gpio_acpi
36bca7db71SImre Vadász.Nd ACPI support for GPIO events and GPIO operation regions
37bca7db71SImre Vadász.Sh SYNOPSIS
38bca7db71SImre VadászTo compile this module into the kernel,
39bca7db71SImre Vadászplace the following lines in your
40bca7db71SImre Vadászkernel configuration file:
41bca7db71SImre Vadász.Bd -ragged -offset indent
42bca7db71SImre Vadász.Cd device acpi
43bca7db71SImre Vadász.Cd device gpio_acpi
44bca7db71SImre Vadász.Ed
45bca7db71SImre Vadász.Pp
46bca7db71SImre VadászAlternatively, to load the module at boot time,
47bca7db71SImre Vadászplace the following line in
48bca7db71SImre Vadász.Xr loader.conf 5 :
49bca7db71SImre Vadász.Bd -literal -offset indent
50bca7db71SImre Vadászgpio_acpi_load="YES"
51bca7db71SImre Vadász.Ed
52bca7db71SImre Vadász.Sh DESCRIPTION
53bca7db71SImre VadászThe
54bca7db71SImre Vadász.Nm
55bca7db71SImre Vadászmodule provides ACPI support for GPIO-Signaled Events,
56bca7db71SImre Vadászand implements an ACPI address-space handler for accesses to
57bca7db71SImre VadászACPI GeneralPurposeIo operation-regions.
58bca7db71SImre Vadász.Sh SEE ALSO
59bca7db71SImre Vadász.Xr acpi 4 ,
60*e3a5d46dSImre Vadász.Xr gpio_intel 4 ,
61*e3a5d46dSImre Vadász.Xr smbacpi 4
62bca7db71SImre Vadász.Sh AUTHORS
63bca7db71SImre Vadász.An Imre Vadasz
64