Debian Codegraph @

debian/manpages/pmh7tool.8

raw
1 .\" SPDX-License-Identifier: GPL-2.0-only
2 .TH PMH7TOOL "8" "November 2024" "" "System Administration Utilities"
3 .SH NAME
4 pmh7tool \- read and write to pmh7 registers
5 .SH SYNOPSIS
6 .PP
7 .nf
8 pmh7tool [\-d]
9 pmh7tool [\-r] <addr>
10 pmh7tool [\-w] <addr> <data>
11 pmh7tool [\-b | \-c | \-s] <addr> <bit>
12 pmh7tool [\-h]
13 .SH DESCRIPTION
14 Read and write to pmh7 registers at base address 0x15e0
15 .SS Attention!
16 Writing to PMH7 registers is very dangerous, as you directly manipulate the power rails,
17 enable lines, interrupt lines or something else of the device. Proceed with caution.
18 .SH OPTIONS
19 .TP
20 \fB\-h\fR, \fB\-\-help\fR:
21 Print this help
22 .TP
23 \fB\-d\fR, \fB\-\-dump\fR:
24 Print registers
25 .TP
26 \fB\-r\fR, \fB\-\-read\fR <addr>:
27 Read from register at <addr>.
28 .TP
29 \fB\-b\fR, \fB\-\-read\-bit\fR <addr> <bit>
30 Read bit from register at <addr>
31 .TP
32 \fB\-w\fR, \fB\-\-write\fR <addr> <data>
33 Write <data> to register at <addr>
34 .TP
35 \fB\-c\fR, \fB\-\-clear\-bit\fR <addr> <bit>
36 Clear bit from register at <addr>
37 .TP
38 \fB\-s\fR, \fB\-\-set\-bit\fR <addr> <bit>
39 Set bit at on register at <addr>
40 .SH "NOTES"
41 .PP
42 .nf
43 <addr> must be in the range of 0-0x1ff
44 <data> must be in the range of 0-0xff
45 <bit> must be in the range of 0-7
46 .SH "AUTHORS"
47 .PP
48 .nf
49 coresystems GmbH.
50 Man page written by Ahmad Khalifa.