blob: abee2b71496ad9ec294849c0bf2657057bf5638e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
<table class="head">
<tr>
<td class="head-ltitle">TPS65217PMIC(4)</td>
<td class="head-vol">Device Drivers Manual</td>
<td class="head-rtitle">TPS65217PMIC(4)</td>
</tr>
</table>
<div class="manual-text">
<section class="Sh">
<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
<p class="Pp"><code class="Nm">tps65217pmic</code> —
<span class="Nd">Texas Instruments TPS65217 Power Management IC
driver</span></p>
</section>
<section class="Sh">
<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
<p class="Pp"><code class="Cd">tps65217pmic0 at iic? addr 0x24</code></p>
</section>
<section class="Sh">
<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
<p class="Pp">The <code class="Nm">tps65217pmic</code> driver provides minimal
support for the TPS65217 chip and allows reporting regulated voltages
through the <a class="Xr">envsys(4)</a> API.</p>
<p class="Pp">The TPS65217 consists of low-dropout regulators (LDO) and
step-down converters with integrated switching FETs (DCDC):</p>
<ul class="Bl-bullet Bl-compact">
<li>LDO1: 1.0V - 3.3V</li>
<li>LDO2: 0.9V - 3.3V</li>
<li>LDO3: 1.5V - 3.3V</li>
<li>LDO4: 1.5V - 3.3V</li>
<li>DCDC1: 0.9V - 1.8V</li>
<li>DCDC2: 0.9V - 3.3V</li>
<li>DCDC1: 0.9V - 1.5V</li>
</ul>
</section>
<section class="Sh">
<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<p class="Pp"><a class="Xr">envsys(4)</a></p>
</section>
<section class="Sh">
<h1 class="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
<p class="Pp">The <code class="Nm">tps65217pmic</code> device first appeared in
<span class="Ux">NetBSD 7.0</span>.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<p class="Pp">The <code class="Nm">tps65217pmic</code> driver was written by
<span class="An">Radoslaw Kujawa</span>
<<a class="Mt" href="mailto:radoslaw.kujawa@gmail.com">radoslaw.kujawa@gmail.com</a>>.
Voltage change callback for AM335x was added by <span class="An">Manuel
Bouyer</span>. White LED (backlight) support was added by
<span class="An">KIYOHARA Takashi</span>.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="CAVEATS"><a class="permalink" href="#CAVEATS">CAVEATS</a></h1>
<p class="Pp">The driver can only report current voltage regulator settings. It
can not measure the real voltage, as the TPS65217 chip lacks hardware to do
that. Some boards allow voltage measurement by connecting the power output
to external sensor, or analog input of the MPU, but this is outside of the
scope of this driver.</p>
<p class="Pp">Modifying voltage regulator parameters from user space was
deliberately left unimplemented, as these parameters should only be set at
the firmware or kernel level. Setting wrong parameters may result in
permanent hardware damage.</p>
<p class="Pp">The <code class="Nm">tps65217pmic</code> driver offers a function
that can be used to change the voltage from other kernel components
(currently used by AM335x support code).</p>
</section>
<section class="Sh">
<h1 class="Sh" id="BUGS"><a class="permalink" href="#BUGS">BUGS</a></h1>
<p class="Pp">Battery and interrupt support is not implemented.</p>
</section>
</div>
<table class="foot">
<tr>
<td class="foot-date">June 28, 2018</td>
<td class="foot-os">NetBSD 10.1</td>
</tr>
</table>
|