<feed xmlns='http://www.w3.org/2005/Atom'>
<title>BMC/Intel-BMC/linux.git/drivers/hwmon/pmbus, branch dev-5.3</title>
<subtitle>Intel OpenBMC Linux kernel source tree (mirror)</subtitle>
<id>https://git.radix-linux.su/BMC/Intel-BMC/linux.git/atom?h=dev-5.3</id>
<link rel='self' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/atom?h=dev-5.3'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/'/>
<updated>2019-11-13T07:12:28+00:00</updated>
<entry>
<title>hwmon: (pmbus/ibm-cffps) Add version detection capability</title>
<updated>2019-11-13T07:12:28+00:00</updated>
<author>
<name>Eddie James</name>
<email>eajames@linux.ibm.com</email>
</author>
<published>2019-10-09T19:11:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=a020f40ab4c48ff808cdcf937419cc1a3dd6ea50'/>
<id>urn:sha1:a020f40ab4c48ff808cdcf937419cc1a3dd6ea50</id>
<content type='text'>
Some systems may plug in either version 1 or version 2 of the IBM common
form factor power supply. Add a version-less compatibility string that
tells the driver to try and detect which version of the power supply is
connected.

OpenBMC-Staging-Count: 1
Signed-off-by: Eddie James &lt;eajames@linux.ibm.com&gt;
Link: https://lore.kernel.org/r/1570648262-25383-3-git-send-email-eajames@linux.ibm.com
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: Joel Stanley &lt;joel@jms.id.au&gt;
</content>
</entry>
<entry>
<title>hwmon: (pmbus/ibm-cffps) Fix LED blink behavior</title>
<updated>2019-11-13T07:12:23+00:00</updated>
<author>
<name>Eddie James</name>
<email>eajames@linux.ibm.com</email>
</author>
<published>2019-11-06T20:01:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=f39d9d8b88362602e1ac3790c4ffc0f2c03913cb'/>
<id>urn:sha1:f39d9d8b88362602e1ac3790c4ffc0f2c03913cb</id>
<content type='text'>
The LED blink_set function incorrectly did not tell the PSU LED to blink
if brightness was LED_OFF. Fix this, and also correct the LED_OFF
command data, which should give control of the LED back to the PSU
firmware. Also prevent I2C failures from getting the driver LED state
out of sync and add some dev_dbg statements.

OpenBMC-Staging-Count: 1
Signed-off-by: Eddie James &lt;eajames@linux.ibm.com&gt;
Link: https://lore.kernel.org/r/20191106200106.29519-3-eajames@linux.ibm.com
Fixes: ef9e1cdf419a3 ("hwmon: (pmbus/cffps) Add led class device for power supply fault led")
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: Joel Stanley &lt;joel@jms.id.au&gt;
</content>
</entry>
<entry>
<title>hwmon: (pmbus/ibm-cffps) Switch LEDs to blocking brightness call</title>
<updated>2019-11-13T07:12:17+00:00</updated>
<author>
<name>Eddie James</name>
<email>eajames@linux.ibm.com</email>
</author>
<published>2019-11-06T20:01:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=4b2edd79b6fe371804ea3ae3cd0b40d8254c51fa'/>
<id>urn:sha1:4b2edd79b6fe371804ea3ae3cd0b40d8254c51fa</id>
<content type='text'>
Since i2c_smbus functions can sleep, the brightness setting function
for this driver must be the blocking version to avoid scheduling while
atomic.

OpenBMC-Staging-Count: 1
Signed-off-by: Eddie James &lt;eajames@linux.ibm.com&gt;
Link: https://lore.kernel.org/r/20191106200106.29519-2-eajames@linux.ibm.com
Fixes: ef9e1cdf419a3 ("hwmon: (pmbus/cffps) Add led class device for power supply fault led")
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: Joel Stanley &lt;joel@jms.id.au&gt;
</content>
</entry>
<entry>
<title>pmbus (max31785): Wrap all I2C accessors in one-shot failure handlers</title>
<updated>2019-09-16T03:30:01+00:00</updated>
<author>
<name>Andrew Jeffery</name>
<email>andrew@aj.id.au</email>
</author>
<published>2018-04-03T14:26:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=7c084e3f5d50512be0243f8d1fe2954ce9a766a8'/>
<id>urn:sha1:7c084e3f5d50512be0243f8d1fe2954ce9a766a8</id>
<content type='text'>
The MAX31785(A) has shown erratic behaviour across multiple system
designs, unexpectedly clock stretching and NAKing transactions. Perform
a one-shot retry if necessary for all access attempts.

OpenBMC-Staging-Count: 9
Signed-off-by: Andrew Jeffery &lt;andrew@aj.id.au&gt;
Tested-by: George Keishing &lt;gkeishin@in.ibm.com&gt;
Signed-off-by: Joel Stanley &lt;joel@jms.id.au&gt;
</content>
</entry>
<entry>
<title>pmbus (core): Use driver callbacks in pmbus_get_fan_rate()</title>
<updated>2019-09-16T03:30:01+00:00</updated>
<author>
<name>Andrew Jeffery</name>
<email>andrew@aj.id.au</email>
</author>
<published>2018-04-03T14:26:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=45c6aec8c6a1ddcb9b4836c279df37cd7f40dda4'/>
<id>urn:sha1:45c6aec8c6a1ddcb9b4836c279df37cd7f40dda4</id>
<content type='text'>
The driver may have overridden the pmbus_read_byte_data() callback, so
make sure we use that to achieve expected behaviour.

This helps in the MAX31785 case where we may need to perform a one-shot
retry of transfers in the face of a failure.

OpenBMC-Staging-Count: 9
Signed-off-by: Andrew Jeffery &lt;andrew@aj.id.au&gt;
Reviewed-by: Eddie James &lt;eajames@linux.vnet.ibm.com&gt;
Tested-by: George Keishing &lt;gkeishin@in.ibm.com&gt;
Signed-off-by: Joel Stanley &lt;joel@jms.id.au&gt;
</content>
</entry>
<entry>
<title>pmbus (core): One-shot retries for failure to set page</title>
<updated>2019-09-16T03:30:01+00:00</updated>
<author>
<name>Andrew Jeffery</name>
<email>andrew@aj.id.au</email>
</author>
<published>2018-04-03T14:26:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=855628f1f325009ae6c6bb3072cb39a4284c6a69'/>
<id>urn:sha1:855628f1f325009ae6c6bb3072cb39a4284c6a69</id>
<content type='text'>
Work around the shonky behaviour seen with the MAX31785 where we fail
to set the page register in some circumstances.

There's no real elegant way to do this. We can propagate the error up,
but that forces us to retry the operation way up the call tree in any
number of places. It also forces callers to split out pmbus_set_page()
from the pmbus_{read,write}_{byte,word}_data() functions in order to
differentiate between a failure to set the page and a failure to read a
register (that might not exist, in which case an error is anticiptated).

OpenBMC-Staging-Count: 9
Cc: Eddie James &lt;eajames@linux.vnet.ibm.com&gt;
Cc: Matt Spinler &lt;mspinler@linux.vnet.ibm.com&gt;
Signed-off-by: Andrew Jeffery &lt;andrew@aj.id.au&gt;
Reviewed-by: Eddie James &lt;eajames@linux.vnet.ibm.com&gt;
Tested-by: George Keishing &lt;gkeishin@in.ibm.com&gt;
Signed-off-by: Joel Stanley &lt;joel@jms.id.au&gt;
</content>
</entry>
<entry>
<title>pmbus (max31785): Add support for devicetree configuration</title>
<updated>2019-09-16T03:30:01+00:00</updated>
<author>
<name>Andrew Jeffery</name>
<email>andrew@aj.id.au</email>
</author>
<published>2018-04-03T14:26:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=db2bb29deb1378856075fc0bc03e803ba452d332'/>
<id>urn:sha1:db2bb29deb1378856075fc0bc03e803ba452d332</id>
<content type='text'>
OpenBMC-Staging-Count: 9
Signed-off-by: Andrew Jeffery &lt;andrew@aj.id.au&gt;
Tested-by: George Keishing &lt;gkeishin@in.ibm.com&gt;
Signed-off-by: Joel Stanley &lt;joel@jms.id.au&gt;
</content>
</entry>
<entry>
<title>pmbus: (ibm-cffps) Add support for version 2 of the PSU</title>
<updated>2019-09-16T03:30:01+00:00</updated>
<author>
<name>Eddie James</name>
<email>eajames@linux.ibm.com</email>
</author>
<published>2019-08-30T19:11:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=4b32eaac733430e249c17393e7306b0ee4d3e03a'/>
<id>urn:sha1:4b32eaac733430e249c17393e7306b0ee4d3e03a</id>
<content type='text'>
Version 2 of the PSU supports a second page of data and changes the
format of the FW version. Use the devicetree binding to differentiate
between the version the driver should use.

Signed-off-by: Eddie James &lt;eajames@linux.ibm.com&gt;
Link: https://lore.kernel.org/r/1567192263-15065-4-git-send-email-eajames@linux.ibm.com
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
(cherry picked from commit 2f8a855efe8a6faf962c53af406e5ea4791b3877)
Signed-off-by: Joel Stanley &lt;joel@jms.id.au&gt;
</content>
</entry>
<entry>
<title>hwmon: (pmbus/adm1275) Fix power sampling support</title>
<updated>2019-06-24T01:33:01+00:00</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2019-06-12T14:39:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=7d45deb31bec3992cd92a240946fbf872661fa2c'/>
<id>urn:sha1:7d45deb31bec3992cd92a240946fbf872661fa2c</id>
<content type='text'>
Not every chip supported by this driver supports setting the number
of samples for power averaging. Also, the power monitoring register
is not always a 16-bit register, and the configuration bits used for
voltage sampling are different depending on the register width.
Some conditional code is needed to fix the problem.

On top of all that, the compiler complains about problems with
FIELD_GET and FIELD_PREP macros if the file is built with W=1.
Avoid using those macros to silence the warning.

Cc: Krzysztof Adamski &lt;krzysztof.adamski@nokia.com&gt;
Cc: Alexander Sverdlin &lt;alexander.sverdlin@nokia.com&gt;
Reviewed-by: Krzysztof Adamski &lt;krzysztof.adamski@nokia.com&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (pmbus) Add Infineon IRPS5401 driver</title>
<updated>2019-06-24T01:33:01+00:00</updated>
<author>
<name>Robert Hancock</name>
<email>hancock@sedsystems.ca</email>
</author>
<published>2019-06-05T19:49:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=9158411b96b14d9d448e978b0fc8a1cffcb8a1c6'/>
<id>urn:sha1:9158411b96b14d9d448e978b0fc8a1cffcb8a1c6</id>
<content type='text'>
Add a driver to support the Infineon IRPS5401 PMIC. This chip has 5
pages corresponding to 4 switching outputs and one linear (LDO) output.
The switching and LDO outputs have slightly different supported
parameters.

Signed-off-by: Robert Hancock &lt;hancock@sedsystems.ca&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
</feed>
