All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH linux v6 0/6] drivers: hwmon: Add On-Chip Controller driver
@ 2017-02-06 20:27 ` eajames-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8
  0 siblings, 0 replies; 11+ messages in thread
From: eajames @ 2017-02-06 20:27 UTC (permalink / raw)
  To: linux
  Cc: devicetree, linux-kernel, linux-hwmon, linux-doc, jdelvare,
	corbet, mark.rutland, robh+dt, wsa, andrew, joel, benh,
	Edward A. James

From: "Edward A. James" <eajames@us.ibm.com>

This patchset adds a hwmon driver to support the OCC (On-Chip Controller)
on the IBM POWER8 and POWER9 processors, from a BMC (Baseboard Management
Controller). The OCC is an embedded processor that provides real time
power and thermal monitoring.

The driver provides an interface on a BMC to poll OCC sensor data, set
user power caps, and perform some basic OCC error handling. It interfaces
with userspace through hwmon.

The driver is currently functional only for the OCC on POWER8 chips.
Communicating with the POWER9 OCC requries FSI support.

Edward A. James (6):
  hwmon: Add core On-Chip Controller support for POWER CPUs
  hwmon: occ: Add sysfs interface
  hwmon: occ: Add I2C transport implementation for SCOM operations
  hwmon: occ: Add callbacks for parsing P8 OCC datastructures
  hwmon: occ: Add hwmon implementation for the P8 OCC
  hwmon: occ: Add callbacks for parsing P9 OCC datastructures

 Documentation/devicetree/bindings/hwmon/occ.txt |  13 +
 Documentation/hwmon/occ                         | 114 ++++++
 MAINTAINERS                                     |   7 +
 drivers/hwmon/Kconfig                           |   2 +
 drivers/hwmon/Makefile                          |   1 +
 drivers/hwmon/occ/Kconfig                       |  29 ++
 drivers/hwmon/occ/Makefile                      |   2 +
 drivers/hwmon/occ/occ.c                         | 450 ++++++++++++++++++++++++
 drivers/hwmon/occ/occ.h                         |  81 +++++
 drivers/hwmon/occ/occ_p8.c                      | 248 +++++++++++++
 drivers/hwmon/occ/occ_p8.h                      |  30 ++
 drivers/hwmon/occ/occ_p9.c                      | 309 ++++++++++++++++
 drivers/hwmon/occ/occ_p9.h                      |  30 ++
 drivers/hwmon/occ/occ_scom_i2c.c                |  77 ++++
 drivers/hwmon/occ/occ_scom_i2c.h                |  26 ++
 drivers/hwmon/occ/occ_sysfs.c                   | 251 +++++++++++++
 drivers/hwmon/occ/occ_sysfs.h                   |  30 ++
 drivers/hwmon/occ/p8_occ_i2c.c                  | 104 ++++++
 drivers/hwmon/occ/scom.h                        |  47 +++
 19 files changed, 1851 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/hwmon/occ.txt
 create mode 100644 Documentation/hwmon/occ
 create mode 100644 drivers/hwmon/occ/Kconfig
 create mode 100644 drivers/hwmon/occ/Makefile
 create mode 100644 drivers/hwmon/occ/occ.c
 create mode 100644 drivers/hwmon/occ/occ.h
 create mode 100644 drivers/hwmon/occ/occ_p8.c
 create mode 100644 drivers/hwmon/occ/occ_p8.h
 create mode 100644 drivers/hwmon/occ/occ_p9.c
 create mode 100644 drivers/hwmon/occ/occ_p9.h
 create mode 100644 drivers/hwmon/occ/occ_scom_i2c.c
 create mode 100644 drivers/hwmon/occ/occ_scom_i2c.h
 create mode 100644 drivers/hwmon/occ/occ_sysfs.c
 create mode 100644 drivers/hwmon/occ/occ_sysfs.h
 create mode 100644 drivers/hwmon/occ/p8_occ_i2c.c
 create mode 100644 drivers/hwmon/occ/scom.h

-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-02-07 23:09 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-06 20:27 [PATCH linux v6 0/6] drivers: hwmon: Add On-Chip Controller driver eajames
2017-02-06 20:27 ` eajames-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8
2017-02-06 20:27 ` [PATCH linux v6 1/6] hwmon: Add core On-Chip Controller support for POWER CPUs eajames
2017-02-06 23:21   ` kbuild test robot
2017-02-07 23:11     ` eajames
2017-02-06 20:27 ` [PATCH linux v6 2/6] hwmon: occ: Add sysfs interface eajames
2017-02-06 20:27 ` [PATCH linux v6 3/6] hwmon: occ: Add I2C transport implementation for SCOM operations eajames
2017-02-06 20:27 ` [PATCH linux v6 4/6] hwmon: occ: Add callbacks for parsing P8 OCC datastructures eajames
2017-02-06 20:27 ` [PATCH linux v6 5/6] hwmon: occ: Add hwmon implementation for the P8 OCC eajames
2017-02-06 20:27 ` [PATCH linux v6 6/6] hwmon: occ: Add callbacks for parsing P9 OCC datastructures eajames
2017-02-06 20:27   ` eajames-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.