News: 0001636172

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Linux Driver To Expose Voltage Inputs For Raspberry Pi SBCs

([Raspberry Pi] 6 Hours Ago Raspberry Pi Voltage Inputs)


The Raspberry Pi hardware monitoring driver "RASPBERRYPI-HWMON" is being extended to allow exposing voltage measurements on these ARM single board computers.

The Raspberry Pi firmware provides a number of voltage measurements for the core and multiple SDRAM voltages. With a patch queued into hwmon-next, those voltage measurements are being propagated to the Linux user-space via the conventional HWMON sysfs interfaces.

This includes in0_input for the core voltage, in1_input as the SDRAM controller voltage, in2_input as the SDRAM I/O voltage, and in3_input as the SDRAM PHY voltage. All measurements are in millivolts.

With [1]this patch making it into the hardware monitoring subsystem's hwmon-next Git branch, it should be submitted as part of the changes for the Linux 7.2 merge window in mid-June.



[1] https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git/commit/?h=hwmon-next&id=9656ebcce062f845e5f5586129227e3c6fba4b6b



The departing division general manager met a last time with his young
successor and gave him three envelopes. "My predecessor did this for me,
and I'll pass the tradition along to you," he said. "At the first sign
of trouble, open the first envelope. Any further difficulties, open the
second envelope. Then, if problems continue, open the third envelope.
Good luck." The new manager returned to his office and tossed the envelopes
into a drawer.
Six months later, costs soared and earnings plummeted. Shaken, the
young man opened the first envelope, which said, "Blame it all on me."
The next day, he held a press conference and did just that. The
crisis passed.
Six months later, sales dropped precipitously. The beleaguered
manager opened the second envelope. It said, "Reorganize."
He held another press conference, announcing that the division
would be restructured. The crisis passed.
A year later, everything went wrong at once and the manager was
blamed for all of it. The harried executive closed his office door, sank
into his chair, and opened the third envelope.
"Prepare three envelopes..." it said.