mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
Example of information reading from hwmon sysfs interface: generic_atv_int:/sys/class/hwmon/hwmon0 # grep "" *_input in0_input:1345 in1_input:24092 curr1_input:268 power1_input:6437376 generic_atv_int:/sys/class/hwmon/hwmon0 # grep "" shunt_resistor 5000 The unit of each node follows the ina2xx ABI specification: https://elixir.bootlin.com/linux/v6.1/source/Documentation/hwmon/ina2xx.rst Bug 5060737 Change-Id: I6b9066206c95fc32fd90506b1233d1d5feb6c854 Signed-off-by: Johnny Liu <johnliu@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3348715 GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com> Reviewed-by: Ankita Garg <ankitag@nvidia.com>