All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH linux v5 0/5] On-Chip Controller (OCC) hwmon driver
@ 2016-11-07 23:15 eajames.ibm
  2016-11-11  4:12 ` [RFC PATCH linux 0/9] " Andrew Jeffery
  0 siblings, 1 reply; 23+ messages in thread
From: eajames.ibm @ 2016-11-07 23:15 UTC (permalink / raw)
  To: openbmc; +Cc: Edward A. James

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

This patchset provides a new OCC hwmon driver. There are a number
of issues with the existing driver. Firstly, i2c access was embedded
throughout the driver. Secondly, there is no way to easily differentiate
versions of the OCC.

This patchset addresses the first issue by abstracting the bus transfer
protocol into a modular structure. In this way, any low level transfer
method may be easily implemented.

The second issue is addressed by separating the "version specific" code
for the OCC and the common hwmon code. This task is not yet complete, but
the general structure is in place. Ultimately, different OCC versions
could be probed up using the device tree.

Edward A. James (5):
  Revert "hwmon: Add Power8 OCC hwmon driver"
  drivers: Add hwmon occ driver framework
  drivers: hwmon OCC scom bus operations
  drivers: Add hwmon OCC version specific functions
  drivers: OCC hwmon driver and sysfs

 .../devicetree/bindings/i2c/i2c-ibm-occ.txt        |    2 +-
 drivers/hwmon/Kconfig                              |   13 +-
 drivers/hwmon/Makefile                             |    2 +-
 drivers/hwmon/occ/Kconfig                          |   15 +
 drivers/hwmon/occ/Makefile                         |    1 +
 drivers/hwmon/occ/occ.c                            |  892 ++++++++++++++
 drivers/hwmon/occ/occ.h                            |   58 +
 drivers/hwmon/occ/occ_i2c.c                        |  147 +++
 drivers/hwmon/occ/p8.c                             |  222 ++++
 drivers/hwmon/occ/p8.h                             |   29 +
 drivers/hwmon/occ/p9.c                             |  253 ++++
 drivers/hwmon/occ/p9.h                             |   29 +
 drivers/hwmon/occ/scom.h                           |   31 +
 drivers/hwmon/power8_occ_i2c.c                     | 1254 --------------------
 14 files changed, 1680 insertions(+), 1268 deletions(-)
 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_i2c.c
 create mode 100644 drivers/hwmon/occ/p8.c
 create mode 100644 drivers/hwmon/occ/p8.h
 create mode 100644 drivers/hwmon/occ/p9.c
 create mode 100644 drivers/hwmon/occ/p9.h
 create mode 100644 drivers/hwmon/occ/scom.h
 delete mode 100644 drivers/hwmon/power8_occ_i2c.c

-- 
1.9.1

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

end of thread, other threads:[~2016-12-06 14:55 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-07 23:15 [PATCH linux v5 0/5] On-Chip Controller (OCC) hwmon driver eajames.ibm
2016-11-11  4:12 ` [RFC PATCH linux 0/9] " Andrew Jeffery
2016-11-11  4:12   ` [RFC PATCH linux 1/9] Revert "hwmon: Add Power8 OCC hwmon driver" Andrew Jeffery
2016-11-11  4:12   ` [RFC PATCH linux 2/9] hwmon: Add core On-Chip Controller support for POWER CPUs Andrew Jeffery
2016-11-11  4:12   ` [RFC PATCH linux 3/9] hwmon: occ: Add sysfs interface Andrew Jeffery
2016-11-11  4:12   ` [RFC PATCH linux 4/9] hwmon: occ: Add I2C SCOM transport implementation Andrew Jeffery
2016-11-29 22:59     ` Eddie James
2016-11-30  0:30       ` Andrew Jeffery
2016-11-11  4:12   ` [RFC PATCH linux 5/9] hwmon: occ: Add callbacks for parsing P8 OCC datastructures Andrew Jeffery
2016-11-11  4:12   ` [RFC PATCH linux 6/9] hwmon: occ: Add hwmon implementation for the P8 OCC Andrew Jeffery
2016-11-29 23:00     ` Eddie James
2016-11-30  1:00       ` Andrew Jeffery
2016-11-30 16:17         ` Eddie James
2016-11-11  4:12   ` [RFC PATCH linux 7/9] arm: aspeed: dt: Fix OCC compatible strings Andrew Jeffery
2016-11-11  4:12   ` [RFC PATCH linux 8/9] hwmon: occ: Add callbacks for parsing P9 OCC datastructures Andrew Jeffery
2016-11-11  4:12   ` [RFC PATCH linux 9/9] wip: hwmon: occ: Add sketch of the hwmon implementation for the P9 OCC Andrew Jeffery
2016-11-29 23:00     ` Eddie James
2016-11-30  1:04       ` Andrew Jeffery
2016-11-11  5:16   ` [RFC PATCH linux 0/9] On-Chip Controller (OCC) hwmon driver Joel Stanley
2016-11-29 22:58   ` Eddie James
2016-11-30  1:09     ` Andrew Jeffery
2016-12-06 14:53       ` Eddie James
2016-12-06 14:55         ` Andrew Jeffery

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.