2014-03-18 22:20:35 +04:00
|
|
|
.\" $NetBSD: tps65217pmic.4,v 1.6 2014/03/18 18:20:39 riastradh Exp $
|
2013-04-27 00:08:53 +04:00
|
|
|
.\"
|
|
|
|
.\" Copyright (c) 2013 The NetBSD Foundation, Inc.
|
|
|
|
.\" All rights reserved.
|
|
|
|
.\"
|
|
|
|
.\" This code is derived from software contributed to The NetBSD Foundation
|
|
|
|
.\" by Radoslaw Kujawa.
|
|
|
|
.\"
|
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
.\" are met:
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
|
|
.\"
|
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
|
|
|
|
.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
|
|
|
.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
|
|
.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
|
|
|
|
.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
|
|
.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
|
|
.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
|
|
.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
|
|
.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
|
|
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
|
|
.\" POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
.\"
|
2013-04-29 17:28:55 +04:00
|
|
|
.Dd April 29, 2013
|
2013-04-27 00:08:53 +04:00
|
|
|
.Dt TPS65217PMIC 4
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
2013-04-27 00:57:48 +04:00
|
|
|
.Nm tps65217pmic
|
2013-04-27 00:08:53 +04:00
|
|
|
.Nd Texas Instruments TPS65217 Power Management IC driver
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Cd "tps65217pmic0 at iic? addr 0x24"
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver provides minimal support for the TPS65217 chip and allows reporting
|
2013-04-27 00:57:48 +04:00
|
|
|
regulated voltages through the
|
|
|
|
.Xr envsys 4
|
2013-04-27 00:08:53 +04:00
|
|
|
API.
|
2013-04-29 17:28:55 +04:00
|
|
|
.Pp
|
2013-04-29 18:19:48 +04:00
|
|
|
The TPS65217 consists of low-dropout regulators (LDO) and step-down converters
|
2013-04-29 17:28:55 +04:00
|
|
|
with integrated switching FETs (DCDC):
|
|
|
|
.Bl -bullet -compact
|
|
|
|
.It
|
|
|
|
LDO1: 1.0V - 3.3V
|
|
|
|
.It
|
|
|
|
LDO2: 0.9V - 3.3V
|
|
|
|
.It
|
|
|
|
LDO3: 1.5V - 3.3V
|
|
|
|
.It
|
|
|
|
LDO4: 1.5V - 3.3V
|
|
|
|
.It
|
|
|
|
DCDC1: 0.9V - 1.8V
|
|
|
|
.It
|
|
|
|
DCDC2: 0.9V - 3.3V
|
|
|
|
.It
|
|
|
|
DCDC1: 0.9V - 1.5V
|
|
|
|
.El
|
2013-04-27 00:08:53 +04:00
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr envsys 4
|
|
|
|
.Sh HISTORY
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
device first appeared in
|
|
|
|
.Nx 7.0 .
|
|
|
|
.Sh AUTHORS
|
|
|
|
.An -nosplit
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver was written by
|
2013-07-21 01:39:55 +04:00
|
|
|
.An Radoslaw Kujawa Aq Mt radoslaw.kujawa@gmail.com .
|
2013-04-27 00:08:53 +04:00
|
|
|
.Sh CAVEATS
|
|
|
|
The driver can only report current voltage regulator settings.
|
2013-04-27 00:57:48 +04:00
|
|
|
It can not measure the real voltage, as the TPS65217 chip lacks hardware to do
|
2013-04-27 00:08:53 +04:00
|
|
|
that.
|
2013-04-27 00:57:48 +04:00
|
|
|
.Pp
|
2013-04-27 00:08:53 +04:00
|
|
|
Modifying voltage regulator parameters was deliberately left unimplemented, as
|
|
|
|
these parameters should only be set at the firmware level.
|
2013-04-27 00:57:48 +04:00
|
|
|
Setting wrong parameters may result in permanent hardware damage.
|
2013-04-27 00:08:53 +04:00
|
|
|
.Sh BUGS
|
2013-04-29 17:28:55 +04:00
|
|
|
Battery, interrupt and WLED (backlight) support is not implemented.
|