1.5.5. Using the LTC2978A Linux Driver
A third approach to monitoring Cyclone V SoC Development Kit power is accomplished using the LTC2978A Linux driver. The Linux kernel provides hardware monitoring support for the LTC2978A device.
The following sections are a quick description of how to add the driver to Linux and make use of it. Further information can be found in (./Documentation/hwmon/ltc2978).
For the testing done for this application note, kernels 3.12 and 3.10 were used. The instructions on Rocketboards for building a kernel from GIT provided the guidelines to follow while completing the steps to add the driver to Linux.