Re: [PATCH linux v3 1/6] hwmon: Add core On-Chip Controller support for POWER CPUs

2017-01-21 Thread Guenter Roeck
On 01/16/2017 01:13 PM, eajames@gmail.com wrote: From: "Edward A. James" Add core support for polling the OCC for it's sensor data and parsing that data into sensor-specific information. Signed-off-by: Edward A. James Signed-off-by: Andrew Jeffery --- Documentation/hwmon/occ| 40 ++

Re: [PATCH linux v3 2/6] hwmon: occ: Add sysfs interface

2017-01-21 Thread Guenter Roeck
On 01/16/2017 01:13 PM, eajames@gmail.com wrote: From: "Edward A. James" Add a generic mechanism to expose the sensors provided by the OCC in sysfs. Signed-off-by: Edward A. James Signed-off-by: Andrew Jeffery --- Documentation/hwmon/occ | 62 ++ drivers/hwmon/occ/Makefil

Re: [PATCH linux v3 3/6] hwmon: occ: Add I2C transport implementation for SCOM operations

2017-01-21 Thread Guenter Roeck
On 01/16/2017 01:13 PM, eajames@gmail.com wrote: From: "Edward A. James" Add functions to send SCOM operations over I2C bus. The BMC can communicate with the Power8 host processor over I2C, but needs to use SCOM operations in order to access the OCC register space. Signed-off-by: Edward A.

Re: [PATCH linux v3 4/6] hwmon: occ: Add callbacks for parsing P8 OCC datastructures

2017-01-21 Thread Guenter Roeck
On 01/16/2017 01:13 PM, eajames@gmail.com wrote: From: "Edward A. James" Add functions to parse the data structures that are specific to the OCC on the POWER8 processor. These are the sensor data structures, including temperature, frequency, power, and "caps." Signed-off-by: Edward A. Jame

[PATCH 2/2] hwmon: (lm70) Add support for TI TMP122/124

2017-01-21 Thread Florian Fainelli
Add support for Texas Instruments TMP122/124 which are nearly identical to their TMP121/123 except that they also support programmable temperature thresholds. Signed-off-by: Florian Fainelli --- Documentation/devicetree/bindings/hwmon/lm70.txt | 1 + Documentation/hwmon/lm70

[PATCH 1/2] hwmon: (lm70) Utilize dev_warn instead of pr_warn

2017-01-21 Thread Florian Fainelli
We have a device reference, utilize it instead of pr_warn(). Signed-off-by: Florian Fainelli --- drivers/hwmon/lm70.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/hwmon/lm70.c b/drivers/hwmon/lm70.c index d6ecd1a4be59..52c5cdd00448 100644 --- a/drivers/hwmon/lm70

[PATCH 0/2] hwmon: (lm70) Couple patches

2017-01-21 Thread Florian Fainelli
Hi Guenter, Here are a couple of patches against lm70. I plan on submitting support for configurable thresholds on TI TMP122/124 once I have resolved the lack SPI_3WIRE on the controller that connects to this chip on my board. Thanks! Florian Fainelli (2): hwmon: (lm70) Utilize dev_warn instea

Re: [PATCH 1/2] hwmon: (lm70) Utilize dev_warn instead of pr_warn

2017-01-21 Thread Guenter Roeck
On 01/21/2017 11:20 AM, Florian Fainelli wrote: We have a device reference, utilize it instead of pr_warn(). Signed-off-by: Florian Fainelli --- Applied to -next. Thanks, Guenter -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majord...@vg

Re: [PATCH 2/2] hwmon: (lm70) Add support for TI TMP122/124

2017-01-21 Thread Guenter Roeck
On 01/21/2017 11:20 AM, Florian Fainelli wrote: Add support for Texas Instruments TMP122/124 which are nearly identical to their TMP121/123 except that they also support programmable temperature thresholds. Signed-off-by: Florian Fainelli Applied to -next. Any plans to add support for the th

Re: [PATCH linux v3 3/6] hwmon: occ: Add I2C transport implementation for SCOM operations

2017-01-21 Thread Benjamin Herrenschmidt
On Sat, 2017-01-21 at 10:11 -0800, Guenter Roeck wrote: > > +int occ_i2c_getscom(void *bus, u32 address, u64 *data) > > +{ > > + ssize_t rc; > > + u64 buf; > > + struct i2c_client *client = bus; > > + > > + rc = i2c_master_send(client, (const char *)&address, > > sizeof(u32)); > > +

Re: [PATCH 2/2] hwmon: (lm70) Add support for TI TMP122/124

2017-01-21 Thread Florian Fainelli
On January 21, 2017 12:25:21 PM PST, Guenter Roeck wrote: >On 01/21/2017 11:20 AM, Florian Fainelli wrote: >> Add support for Texas Instruments TMP122/124 which are nearly >identical to >> their TMP121/123 except that they also support programmable >temperature >> thresholds. >> >> Signed-off-by:

Re: [PATCH 2/2] hwmon: (lm70) Add support for TI TMP122/124

2017-01-21 Thread Guenter Roeck
On 01/21/2017 03:11 PM, Florian Fainelli wrote: On January 21, 2017 12:25:21 PM PST, Guenter Roeck wrote: On 01/21/2017 11:20 AM, Florian Fainelli wrote: Add support for Texas Instruments TMP122/124 which are nearly identical to their TMP121/123 except that they also support programmable te

[PATCH v6 4/4] usb: doc: add document for USB3 debug port usage

2017-01-21 Thread Lu Baolu
Add Documentation/usb/usb3-debug-port.rst. This document includes the user guide for USB3 debug port. Cc: linux-doc@vger.kernel.org Signed-off-by: Lu Baolu --- Documentation/usb/usb3-debug-port.rst | 98 +++ 1 file changed, 98 insertions(+) create mode 100644 Doc

[PATCH] sched: Documentation: sched-rt-group: fix example error

2017-01-21 Thread Zhou Chengming
I feel that the example given in the document to show the possibility of task starvation of configurable period is wrong. The example says group A and B both have 50% bandwidth, and a while (1) loop in A will run for the full period of B and can starve B's tasks. So I think the runtime of group A