Skip to content

Commit 27fb85a

Browse files
committed
1. Add a R/W attribute "update_interval". By default, it is set to 1000ms.
This defines the minimum interval occ driver poll occ for latest sensor data. When reading occ hwmon attributes within the update_interval, the driver will no poll occ and it returns sendor data from cached data. You can do e.g. "echo 5000 > /sys/class/hwmon0/update_interval" to change it to 5000ms. 2. Revise code based on Jeremy's comments. The driver name is changed to occ_i2c.c 3. This patch will be removed when the occ_i2c driver is merged into Linux tree.
1 parent 5275b2e commit 27fb85a

File tree

1 file changed

+728
-939
lines changed
  • meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-kernel/linux/linux-obmc

1 file changed

+728
-939
lines changed

0 commit comments

Comments
 (0)