aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/hwmon/raspberrypi-hwmon.rst
blob: db315184b8616d2fb4762073121648bb6f25034f (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
Kernel driver raspberrypi-hwmon
===============================

Supported boards:

  * Raspberry Pi A+ (via GPIO on SoC)
  * Raspberry Pi B+ (via GPIO on SoC)
  * Raspberry Pi 2 B (via GPIO on SoC)
  * Raspberry Pi 3 B (via GPIO on port expander)
  * Raspberry Pi 3 B+ (via PMIC)

Author: Stefan Wahren <stefan.wahren@i2se.com>

Description
-----------

This driver periodically polls a mailbox property of the VC4 firmware to detect
undervoltage conditions.

Sysfs entries
-------------

======================= ======================================================
in0_input		Core voltage in millivolts
in1_input		SDRAM controller voltage in millivolts
in2_input		SDRAM I/O voltage in millivolts
in3_input		SDRAM PHY voltage in millivolts
in0_label		"core"
in1_label		"sdram_c"
in2_label		"sdram_i"
in3_label		"sdram_p"
in0_lcrit_alarm		Undervoltage alarm
======================= ======================================================

The voltage inputs and labels are only exposed if the firmware reports support
for the corresponding voltage ID.