summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorStefan Wahren <stefan.wahren@i2se.com>2018-05-25 21:24:34 +0200
committerEric Anholt <eric@anholt.net>2018-06-22 02:17:11 +0200
commitbe3035e3627d2570de4c2c612ecd095968986437 (patch)
treee013cd3b68c45679f2f3194dc87be9c72859fccd /drivers/hwmon
parentLinux 4.18-rc1 (diff)
downloadlinux-be3035e3627d2570de4c2c612ecd095968986437.tar.xz
linux-be3035e3627d2570de4c2c612ecd095968986437.zip
ARM: bcm2835: Add GET_THROTTLED firmware property
Recent Raspberry Pi firmware provides a mailbox property to detect under-voltage conditions. Here is the current definition. The u32 value returned by the firmware is divided into 2 parts: - lower 16-bits are the live value - upper 16-bits are the history or sticky value Bits: 0: undervoltage 1: arm frequency capped 2: currently throttled 16: undervoltage has occurred 17: arm frequency capped has occurred 18: throttling has occurred Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/hwmon')
0 files changed, 0 insertions, 0 deletions