From d80c9188f89f1b522a83c67337039d5ffc48f526 Mon Sep 17 00:00:00 2001 From: kettenis Date: Mon, 12 Sep 2022 15:49:36 +0000 Subject: [PATCH] qcgpio(4) and qciic(4) --- share/man/man4/acpi.4 | 8 ++++-- share/man/man4/iic.4 | 7 +++-- share/man/man4/man4.arm64/qcgpio.4 | 45 +++++++++++++++++++++++++++++ share/man/man4/man4.arm64/qciic.4 | 46 ++++++++++++++++++++++++++++++ 4 files changed, 102 insertions(+), 4 deletions(-) create mode 100644 share/man/man4/man4.arm64/qcgpio.4 create mode 100644 share/man/man4/man4.arm64/qciic.4 diff --git a/share/man/man4/acpi.4 b/share/man/man4/acpi.4 index 43a4b85a2be..3996e88a204 100644 --- a/share/man/man4/acpi.4 +++ b/share/man/man4/acpi.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: acpi.4,v 1.67 2021/09/08 20:29:21 jmc Exp $ +.\" $OpenBSD: acpi.4,v 1.68 2022/09/12 15:49:36 kettenis Exp $ .\" .\" Copyright (c) 2006 Alexander Yurchenko .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: September 8 2021 $ +.Dd $Mdocdate: September 12 2022 $ .Dt ACPI 4 .Os .Sh NAME @@ -118,6 +118,10 @@ Intel Gemini Lake GPIO controller i.MX onboard I2C controller .It Xr pchgpio 4 Intel PCH GPIO controller +.It Xr qcgpio 4 +Qualcomm Snapdragon GPIO controller +.It Xr qciic(4) +Qualcomm Snapdragon GENI I2C controller .It Xr tpm 4 Trusted Platform Module device .El diff --git a/share/man/man4/iic.4 b/share/man/man4/iic.4 index 962310f09d3..acee610cd70 100644 --- a/share/man/man4/iic.4 +++ b/share/man/man4/iic.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: iic.4,v 1.126 2022/08/06 12:09:59 jsg Exp $ +.\" $OpenBSD: iic.4,v 1.127 2022/09/12 15:49:36 kettenis Exp $ .\" .\" Copyright (c) 2004, 2006 Alexander Yurchenko .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: August 6 2022 $ +.Dd $Mdocdate: September 12 2022 $ .Dt IIC 4 .Os .Sh NAME @@ -47,6 +47,7 @@ .Cd "iic* at imxiic? # arm64 armv7" .Cd "iic* at mviic? # arm64" .Cd "iic* at rkiic? # arm64 armv7" +.Cd "iic* at qciic? # arm64 .Cd "iic* at sxitwi? # arm64 armv7" .Cd "iic* at mpfiic? # riscv64" .Cd "iic* at ociic? # riscv64" @@ -132,6 +133,8 @@ Apple via-pmu I2C controller Intel PIIX SMBus controller .It Xr rkiic 4 Rockchip I2C controller +.It Xr qciic 4 +Qualcomm Snapdragon GENI I2C controller .It Xr smu 4 Apple System Management Unit .It Xr sxitwi 4 diff --git a/share/man/man4/man4.arm64/qcgpio.4 b/share/man/man4/man4.arm64/qcgpio.4 new file mode 100644 index 00000000000..db9ab50234d --- /dev/null +++ b/share/man/man4/man4.arm64/qcgpio.4 @@ -0,0 +1,45 @@ +.\" $OpenBSD: qcgpio.4,v 1.1 2022/09/12 15:49:36 kettenis Exp $ +.\" +.\" Copyright (c) 2022 Mark Kettenis +.\" +.\" Permission to use, copy, modify, and distribute this software for any +.\" purpose with or without fee is hereby granted, provided that the above +.\" copyright notice and this permission notice appear in all copies. +.\" +.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +.\" +.Dd $Mdocdate: September 12 2022 $ +.Dt QCGPIO 4 +.Os +.Sh NAME +.Nm qcgpio +.Nd Qualcomm Snapdragon GPIO controller +.Sh SYNOPSIS +.Cd "qcgpio* at acpi?" +.Sh DESCRIPTION +The +.Nm +driver provides support for the GPIO controller found on Qualcomm +Snapdragon SoCs. +It does not provide direct device driver entry points but makes its +functions available to +.Xr acpi 4 . +.Sh SEE ALSO +.Xr acpi 4 , +.Xr intro 4 +.Sh HISTORY +The +.Nm +device driver first appeared in +.Ox 7.2 . +.Sh AUTHORS +The +.Nm +driver was written by +.An Mark Kettenis Aq Mt kettenis@openbsd.org . diff --git a/share/man/man4/man4.arm64/qciic.4 b/share/man/man4/man4.arm64/qciic.4 new file mode 100644 index 00000000000..d7fc6c748cd --- /dev/null +++ b/share/man/man4/man4.arm64/qciic.4 @@ -0,0 +1,46 @@ +.\" $OpenBSD: qciic.4,v 1.1 2022/09/12 15:49:36 kettenis Exp $ +.\" +.\" Copyright (c) 2016 Jonathan Gray +.\" Copyright (c) 2022 Mark Kettenis +.\" +.\" Permission to use, copy, modify, and distribute this software for any +.\" purpose with or without fee is hereby granted, provided that the above +.\" copyright notice and this permission notice appear in all copies. +.\" +.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +.\" +.Dd $Mdocdate: September 12 2022 $ +.Dt QCIIC 4 +.Os +.Sh NAME +.Nm qciic +.Nd Qualcomm Snapdragon GENI I2C controller +.Sh SYNOPSIS +.Cd "qciic* at acpi?" +.Cd "iic* at qciic?" +.Sh DESCRIPTION +The +.Nm +driver supports the GENI I2C controller found on Qualcomm Snapdragon +SoCs for use with the +.Xr iic 4 +framework. +.Sh SEE ALSO +.Xr acpi 4 , +.Xr iic 4 +.Sh HISTORY +The +.Nm +device driver first appeared in +.Ox 7.2 . +.Sh AUTHORS +The +.Nm +driver was written by +.An Mark Kettenis Aq Mt kettenis@openbsd.org . -- 2.20.1