mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-05 18:14:07 +08:00
74d1e00791
Currently there is no easy way to detect undervoltage conditions on a remote Raspberry Pi. This hwmon driver retrieves the state of the undervoltage sensor via mailbox interface. The handling based on Noralf's modifications to the downstream firmware driver. In case of an undervoltage condition only an entry is written to the kernel log. CC: "Noralf Trønnes" <noralf@tronnes.org> Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> Signed-off-by: Eric Anholt <eric@anholt.net> Acked-by: Guenter Roeck <linux@roeck-us.net>
23 lines
525 B
Plaintext
23 lines
525 B
Plaintext
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_lcrit_alarm Undervoltage alarm
|