devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RFC V2 0/6] hwmon: Add support for Raspberry Pi voltage sensor
@ 2018-05-22 11:21 Stefan Wahren
  2018-05-22 11:21 ` [PATCH RFC V2 1/6] ARM: bcm2835: Add GET_THROTTLED firmware property Stefan Wahren
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: Stefan Wahren @ 2018-05-22 11:21 UTC (permalink / raw)
  To: Rob Herring, Mark Rutland, Jean Delvare, Guenter Roeck,
	Jonathan Corbet, Eric Anholt
  Cc: linux-hwmon, devicetree, Florian Fainelli, Scott Branden,
	linux-doc, Ray Jui, Stefan Wahren, Phil Elwell,
	bcm-kernel-feedback-list, linux-rpi-kernel, linux-arm-kernel

A common issue for the Raspberry Pi is an inadequate power supply. 
Noralf Trønnes started a discussion [1] about writing such undervoltage
conditions into the kernel log.

This series is a draft to upstream the resulting kernel patch and is not
intended for 4.18.

Changes in V2:
- simplified Kconfig dependency suggested by Robin Murphy
- replace dt-binding by probing from firmware driver
- add hwmon documentation
- minor improvements suggested by Guenter Roeck

[1] - https://github.com/raspberrypi/linux/issues/2367

Stefan Wahren (6):
  ARM: bcm2835: Add GET_THROTTLED firmware property
  hwmon: Add support for RPi voltage sensor
  firmware: raspberrypi: Register hwmon driver
  ARM: bcm2835_defconfig: Enable RPi voltage sensor
  ARM: multi_v7_defconfig: Enable RPi voltage sensor
  arm64: defconfig: Enable RPi voltage sensor

 Documentation/hwmon/raspberrypi-hwmon      |  22 ++++
 arch/arm/configs/bcm2835_defconfig         |   2 +-
 arch/arm/configs/multi_v7_defconfig        |   1 +
 arch/arm64/configs/defconfig               |   1 +
 drivers/firmware/raspberrypi.c             |  19 ++++
 drivers/hwmon/Kconfig                      |  10 ++
 drivers/hwmon/Makefile                     |   1 +
 drivers/hwmon/raspberrypi-hwmon.c          | 168 +++++++++++++++++++++++++++++
 include/soc/bcm2835/raspberrypi-firmware.h |   1 +
 9 files changed, 224 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/hwmon/raspberrypi-hwmon
 create mode 100644 drivers/hwmon/raspberrypi-hwmon.c

-- 
2.7.4


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2018-05-23 18:12 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-22 11:21 [PATCH RFC V2 0/6] hwmon: Add support for Raspberry Pi voltage sensor Stefan Wahren
2018-05-22 11:21 ` [PATCH RFC V2 1/6] ARM: bcm2835: Add GET_THROTTLED firmware property Stefan Wahren
2018-05-22 11:21 ` [PATCH RFC V2 2/6] hwmon: Add support for RPi voltage sensor Stefan Wahren
2018-05-22 13:41   ` Guenter Roeck
2018-05-22 13:51     ` Stefan Wahren
2018-05-22 14:10       ` Guenter Roeck
2018-05-22 19:31         ` Stefan Wahren
2018-05-23 12:12           ` Robin Murphy
2018-05-23 18:12             ` Guenter Roeck
2018-05-22 11:21 ` [PATCH RFC V2 3/6] firmware: raspberrypi: Register hwmon driver Stefan Wahren
2018-05-22 11:21 ` [PATCH RFC V2 4/6] ARM: bcm2835_defconfig: Enable RPi voltage sensor Stefan Wahren
2018-05-22 11:21 ` [PATCH RFC V2 5/6] ARM: multi_v7_defconfig: " Stefan Wahren
2018-05-22 11:21 ` [PATCH RFC V2 6/6] arm64: defconfig: " Stefan Wahren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).