xref: /openbsd/share/man/man4/pijuice.4 (revision 3bef86f7)
1.\"	$OpenBSD: pijuice.4,v 1.4 2022/10/24 09:23:27 jsg Exp $
2.\"
3.\" Copyright (c) 2022 Marcus Glocker <mglocker@openbsd.org>
4.\"
5.\" Permission to use, copy, modify, and distribute this software for any
6.\" purpose with or without fee is hereby granted, provided that the above
7.\" copyright notice and this permission notice appear in all copies.
8.\"
9.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16.\"
17.Dd $Mdocdate: October 24 2022 $
18.Dt PIJUICE 4
19.Os
20.Sh NAME
21.Nm pijuice
22.Nd PiJuice HAT UPS
23.Sh SYNOPSIS
24.Cd "pijuice* at iic?"
25.Sh DESCRIPTION
26The
27.Nm
28driver provides support for the PiJuice HAT,
29an uninterruptible power supply for the Raspberry Pi.
30The integrated STM32F030CCT6 micro controller provides access through the I2C
31bus to several battery status values.
32.Sh SEE ALSO
33.Xr iic 4 ,
34.Xr intro 4 ,
35.Xr maxrtc 4 ,
36.Xr apm 8 ,
37.Xr sysctl 8
38.Sh HISTORY
39The
40.Nm
41driver first appeared in
42.Ox 7.3 .
43.Sh AUTHORS
44.An -nosplit
45The
46.Nm
47driver was written by
48.An Marcus Glocker Aq Mt mglocker@openbsd.org .
49.Sh CAVEATS
50The PiJuice HAT EEPROM currently doesn't contain the device tree information
51to match and attach this device.
52It requires a custom device tree blob overlay which gets loaded during the
53bootstrapping process.
54