<feed xmlns='http://www.w3.org/2005/Atom'>
<title>talos-obmc-linux/drivers/hwmon, branch dev-5.0</title>
<subtitle>Talos™ II Linux sources for OpenBMC</subtitle>
<id>https://git.raptorcs.com/git/talos-obmc-linux/atom?h=dev-5.0</id>
<link rel='self' href='https://git.raptorcs.com/git/talos-obmc-linux/atom?h=dev-5.0'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/'/>
<updated>2019-04-19T02:29:09+00:00</updated>
<entry>
<title>hwmon: (pmbus/isl68137): Update ISL68137 to upstream</title>
<updated>2019-04-19T02:29:09+00:00</updated>
<author>
<name>Patrick Venture</name>
<email>venture@google.com</email>
</author>
<published>2019-04-18T14:36:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=b1b37a25644213428f4bab4c427581dd923e35da'/>
<id>urn:sha1:b1b37a25644213428f4bab4c427581dd923e35da</id>
<content type='text'>
Apply differences from hwmon review to bring the driver code to the same
point.  There were some key differences regarding attribute placement
from the review, beyond the normal cleanup.

OpenBMC-Staging-Count: 1
Signed-off-by: Patrick Venture &lt;venture@google.com&gt;
[AJ: Rework subject]
Signed-off-by: Andrew Jeffery &lt;andrew@aj.id.au&gt;
</content>
</entry>
<entry>
<title>pmbus: support for custom sysfs attributes</title>
<updated>2019-04-19T02:27:48+00:00</updated>
<author>
<name>krzysztof.adamski@nokia.com</name>
<email>krzysztof.adamski@nokia.com</email>
</author>
<published>2019-04-18T14:36:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=d7e7edaf5887c6c01c44d1c18609705847965e06'/>
<id>urn:sha1:d7e7edaf5887c6c01c44d1c18609705847965e06</id>
<content type='text'>
This patch makes it possible to pass custom struct attribute_group array
via the pmbus_driver_info struct so that those can be added to the
attribute groups passed to hwmon_device_register_with_groups().

This makes it possible to register custom sysfs attributes by PMBUS
drivers similar to how you can do this with most other busses/classes.

Signed-off-by: Krzysztof Adamski &lt;krzysztof.adamski@nokia.com&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: Andrew Jeffery &lt;andrew@aj.id.au&gt;
</content>
</entry>
<entry>
<title>hwmon (occ): Add temp sensor value check</title>
<updated>2019-04-18T01:45:19+00:00</updated>
<author>
<name>Alexander Soldatov</name>
<email>a.soldatov@yadro.com</email>
</author>
<published>2019-04-17T18:03:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=ed068475e807a70e1c6dfaa4782ed4d252967ed8'/>
<id>urn:sha1:ed068475e807a70e1c6dfaa4782ed4d252967ed8</id>
<content type='text'>
The occ driver supports two formats for the temp sensor value.

The OCC firmware for P8 supports only the first format, for which
no range checking or error processing is performed in the driver.
Inspecting the OCC sources for P8 reveals that OCC may send
a special value 0xFFFF to indicate that a sensor read timeout
has occurred, see

https://github.com/open-power/occ/blob/master_p8/src/occ/cmdh/cmdh_fsp_cmds.c#L395

That situation wasn't handled in the driver. This patch adds invalid
temp value check for the sensor data format 1 and handles it the same
way as it is done for the format 2, where EREMOTEIO is reported for
this case.

Signed-off-by: Alexander Soldatov &lt;a.soldatov@yadro.com&gt;
Signed-off-by: Alexander Amelkin &lt;a.amelkin@yadro.com&gt;
Reviewed-by: Alexander Amelkin &lt;a.amelkin@yadro.com&gt;
Cc: Edward A. James &lt;eajames@us.ibm.com&gt;
Cc: Joel Stanley &lt;joel@jms.id.au&gt;
Reviewed-by: Eddie James &lt;eajames@linux.ibm.com&gt;
</content>
</entry>
<entry>
<title>hwmon (occ): Prevent sysfs error attribute from returning error</title>
<updated>2019-04-18T01:41:09+00:00</updated>
<author>
<name>Eddie James</name>
<email>eajames@linux.ibm.com</email>
</author>
<published>2019-04-16T15:51:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=39879fe4857e5ac8f19a351f57c3e6a206b05af4'/>
<id>urn:sha1:39879fe4857e5ac8f19a351f57c3e6a206b05af4</id>
<content type='text'>
The error sysfs attribute returns the stored error state of the OCC and
doesn't depend on the OCC poll response. Therefore, split the error
attribute into it's own function to avoid failing out of the function if
the poll response fails.

OpenBMC-Staging-Count: 1
Signed-off-by: Eddie James &lt;eajames@linux.ibm.com&gt;
Signed-off-by: Andrew Jeffery &lt;andrew@aj.id.au&gt;
</content>
</entry>
<entry>
<title>hwmon (occ): Store error condition for rate-limited polls</title>
<updated>2019-04-18T01:41:05+00:00</updated>
<author>
<name>Eddie James</name>
<email>eajames@linux.ibm.com</email>
</author>
<published>2019-04-16T15:51:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=2ed835e9a1dc6e38a05b1755142e657af38e2b71'/>
<id>urn:sha1:2ed835e9a1dc6e38a05b1755142e657af38e2b71</id>
<content type='text'>
The OCC driver limits the rate of sending poll commands to the OCC. If a
user reads a hwmon entry after a poll response resulted in an error and
is rate-limited, the error is invisible to the user. Fix this by storing
the last error and returning that in the rate-limited case.

OpenBMC-Staging-Count: 1
Signed-off-by: Eddie James &lt;eajames@linux.ibm.com&gt;
Signed-off-by: Andrew Jeffery &lt;andrew@aj.id.au&gt;
</content>
</entry>
<entry>
<title>hwmon (occ): Fix extended status bits</title>
<updated>2019-04-16T03:47:37+00:00</updated>
<author>
<name>Lei YU</name>
<email>mine260309@gmail.com</email>
</author>
<published>2019-04-15T10:37:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=f775b1e7f9e42753caad56231b48689e1dd1edf8'/>
<id>urn:sha1:f775b1e7f9e42753caad56231b48689e1dd1edf8</id>
<content type='text'>
The occ's extended status is checked and shown as sysfs attributes. But
the code was incorrectly checking the "status" bits.
Fix it by checking the "ext_status" bits.

Signed-off-by: Lei YU &lt;mine260309@gmail.com&gt;
Reviewed-by: Eddie James &lt;eajames@linux.ibm.com&gt;
Signed-off-by: Andrew Jeffery &lt;andrew@aj.id.au&gt;
</content>
</entry>
<entry>
<title>hwmon: (pmbus/ir38064): Add driver for Infineon IR38064 Voltage Regulator</title>
<updated>2019-04-12T01:58:24+00:00</updated>
<author>
<name>Maxim Sloyko</name>
<email>maxims@google.com</email>
</author>
<published>2019-04-11T19:45:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=87c2366640dde13aa3dd0be5a4dd6af24a14260b'/>
<id>urn:sha1:87c2366640dde13aa3dd0be5a4dd6af24a14260b</id>
<content type='text'>
Add the pmbus driver for the Infineon ir38064 voltage regulator.

OpenBMC-Staging-Count: 1
Signed-off-by: Maxim Sloyko &lt;maxims@google.com&gt;
Signed-off-by: Patrick Vtenture &lt;venture@google.com&gt;
Signed-off-by: Joel Stanley &lt;joel@jms.id.au&gt;
</content>
</entry>
<entry>
<title>hwmon: (pmbus/isl68137): Add driver for Intersil ISL68137 PWM Controller</title>
<updated>2019-04-11T07:28:21+00:00</updated>
<author>
<name>Maxim Sloyko</name>
<email>maxims@google.com</email>
</author>
<published>2019-04-10T15:31:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=dfb231214687bb2089372dba38685a16c186edd6'/>
<id>urn:sha1:dfb231214687bb2089372dba38685a16c186edd6</id>
<content type='text'>
Adds the pmbus driver for the Intersil ISL68137 PWM Controller.

OpenBMC-Staging-Count: 1
Signed-off-by: Maxim Sloyko &lt;maxims@google.com&gt;
Signed-off-by: Robert Lippert &lt;rlippert@google.com&gt;
Signed-off-by: Patrick Venture &lt;venture@google.com&gt;
Signed-off-by: Joel Stanley &lt;joel@jms.id.au&gt;
</content>
</entry>
<entry>
<title>hwmon: occ: Fix power sensor indexing</title>
<updated>2019-03-20T04:43:36+00:00</updated>
<author>
<name>Eddie James</name>
<email>eajames@linux.ibm.com</email>
</author>
<published>2019-03-19T20:58:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=b94b74e8b52db91fe4e99e0bb481ec8bf2b5b47c'/>
<id>urn:sha1:b94b74e8b52db91fe4e99e0bb481ec8bf2b5b47c</id>
<content type='text'>
In the case of power sensor version 0xA0, the sensor indexing overlapped
with the "caps" power sensors, resulting in probe failure and kernel
warnings.

 [   81.895963] occ-hwmon occ-hwmon.1: OCC found, code level: op_occ_181108a
 [   81.903965] sysfs: cannot create duplicate filename '/devices/platform/gpio-fsi/fsi0/slave@00:00/00:00:00:06/sbefifo1-dev0/occ-hwmon.1/hwmon/hwmon4/power2_label'

Fix this by specifying the next index for each power sensor
version.

OpenBMC-Staging-Count: 1
Fixes: 54076cb ("hwmon (occ): Add sensor attributes and register ...")
Signed-off-by: Eddie James &lt;eajames@linux.ibm.com&gt;
Signed-off-by: Joel Stanley &lt;joel@jms.id.au&gt;
</content>
</entry>
<entry>
<title>hwmon: Add PECI dimmtemp driver</title>
<updated>2019-03-20T04:43:33+00:00</updated>
<author>
<name>Jae Hyun Yoo</name>
<email>jae.hyun.yoo@linux.intel.com</email>
</author>
<published>2018-12-19T00:02:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=8b31ca84f10f3710231e83bb4a2c61a277703804'/>
<id>urn:sha1:8b31ca84f10f3710231e83bb4a2c61a277703804</id>
<content type='text'>
This commit adds PECI dimmtemp hwmon driver.

OpenBMC-Staging-Count: 2
Signed-off-by: Jae Hyun Yoo &lt;jae.hyun.yoo@linux.intel.com&gt;
Reviewed-by: Haiyue Wang &lt;haiyue.wang@linux.intel.com&gt;
Reviewed-by: James Feist &lt;james.feist@linux.intel.com&gt;
Reviewed-by: Vernon Mauery &lt;vernon.mauery@linux.intel.com&gt;
Acked-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: Joel Stanley &lt;joel@jms.id.au&gt;
</content>
</entry>
</feed>
