Linux Driver To Expose Voltage Inputs For Raspberry Pi SBCs
- Reference: 0001636172
- News link: https://www.phoronix.com/news/Raspberry-Pi-Voltage-Inputs
- Source link:
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