]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: Add support for RPi voltage sensor
authorStefan Wahren <stefan.wahren@i2se.com>
Fri, 25 May 2018 19:24:35 +0000 (21:24 +0200)
committerFlorian Fainelli <f.fainelli@gmail.com>
Mon, 9 Jul 2018 17:47:27 +0000 (10:47 -0700)
commit8ce2c7fdd7df4e530bbe7ea395aa8a71787fbf83
tree57c13529adb99345e5294865c075ebee18b8496e
parent93d7b2c00e381533aa39fffba35bb25f702e5828
hwmon: Add support for RPi voltage sensor

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>
Documentation/hwmon/raspberrypi-hwmon [new file with mode: 0644]
drivers/hwmon/Kconfig
drivers/hwmon/Makefile
drivers/hwmon/raspberrypi-hwmon.c [new file with mode: 0644]