From f5f595b18fe257a40159dad8424534b9860f632b Mon Sep 17 00:00:00 2001 From: drahn Date: Sat, 1 Jul 2023 16:39:11 +0000 Subject: [PATCH] Manpage for qccpu.4 --- share/man/man4/Makefile | 6 ++--- share/man/man4/qccpu.4 | 50 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+), 3 deletions(-) create mode 100644 share/man/man4/qccpu.4 diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile index 66d99f46b60..b85be143333 100644 --- a/share/man/man4/Makefile +++ b/share/man/man4/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.841 2023/04/23 00:44:44 dlg Exp $ +# $OpenBSD: Makefile,v 1.842 2023/07/01 16:39:11 drahn Exp $ MAN= aac.4 abcrtc.4 abl.4 ac97.4 acphy.4 acrtc.4 \ acpi.4 acpiac.4 acpials.4 acpiasus.4 acpibat.4 \ @@ -73,8 +73,8 @@ MAN= aac.4 abcrtc.4 abl.4 ac97.4 acphy.4 acrtc.4 \ pgt.4 piixpm.4 pijuice.4 pinctrl.4 pipex.4 plgpio.4 plrtc.4 pluart.4 \ pms.4 ppb.4 ppp.4 pppoe.4 pppx.4 psci.4 pty.4 puc.4 pvbus.4 \ pvclock.4 pwdog.4 pwmbl.4 pwmfan.4 pwmleds.4 pwmreg.4 \ - qcdwusb.4 qcgpio.4 qciic.4 qcpdc.4 qcpmic.4 qcpmicgpio.4 qcpon.4 \ - qcpwm.4 qcrtc.4 qcspmi.4 \ + qccpu.4 qcdwusb.4 qcgpio.4 qciic.4 qcpdc.4 qcpmic.4 qcpmicgpio.4 \ + qcpon.4 qcpwm.4 qcrtc.4 qcspmi.4 \ qla.4 qle.4 qlw.4 qsphy.4 \ radio.4 ral.4 random.4 rdomain.4 rd.4 rdac.4 re.4 rdcphy.4 rgephy.4 \ rge.4 ricohrtc.4 rkanxdp.4 rkclock.4 rkcomphy.4 \ diff --git a/share/man/man4/qccpu.4 b/share/man/man4/qccpu.4 new file mode 100644 index 00000000000..e824dee767d --- /dev/null +++ b/share/man/man4/qccpu.4 @@ -0,0 +1,50 @@ +.\" $OpenBSD: qccpu.4,v 1.1 2023/07/01 16:39:11 drahn Exp $ +.\" +.\" Copyright (c) 2023 Dale Rahn +.\" +.\" 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: July 1 2023 $ +.Dt QCCPU 4 +.Os +.Sh NAME +.Nm qccpu +.Nd Qualcomm Snapdragon CPU power states +.Sh SYNOPSIS +.Cd "qccpu* at fdt?" +.Sh DESCRIPTION +The +.Nm +driver provides support for managing the CPU power states on Qualcomm +Snapdragon SoCs. +These power states can be set to reduce power usage and extend battery +life through the +.Va hw.setperf +.Xr sysctl 2 +mechanism. +.Sh SEE ALSO +.Xr sysctl 2 , +.Xr intro 4 , +.Xr apmd 8 , +.Xr sysctl 8 +.Sh HISTORY +The +.Nm +driver first appeared in +.Ox 7.4 . +.Sh AUTHORS +.An -nosplit +The +.Nm +driver was written by +.An Dale Rahn Aq Mt drahn@openbsd.org . -- 2.20.1