[Utopic][SRU][PATCH 0/2] Add PowerNV OPAL i2c driver

Chris J Arges chris.j.arges at canonical.com
Mon Feb 9 23:25:43 UTC 2015


BugLink: http://bugs.launchpad.net/bugs/1419151

[Impact]
This exposes the i2c busses of the machine which are controlled via the OPAL firmware. This is among
other things, necessary for manufacturing configuration of VPDs etc..., but will also enable Linux access
to some i2c devices such as the TPM.

We wish to have this in utopic and if possible trusty.

[Fix]
The Open Power machines need the driver that was merged in 3.19 backported. The commit upstream
is 470834508f87877f680738a10a305280582c7aed "i2c: Driver to expose PowerNV platform i2c busses"
$ git describe --contains 470834508f87877f680738a10a305280582c7aed
v3.19-rc1~22^2~7

[Test Case]
modprobe i2c-opal

I've boot tested && modprobe i2c-opal these patches on power8 hardware.

Chris J Arges (1):
  UBUNTU: [Config] ppc64el CONFIG_I2C_OPAL=m

Neelesh Gupta (1):
  i2c: Driver to expose PowerNV platform i2c busses

 Documentation/devicetree/bindings/i2c/i2c-opal.txt |  37 +++
 arch/powerpc/include/asm/opal.h                    |  29 ++
 arch/powerpc/platforms/powernv/opal-async.c        |   3 +
 arch/powerpc/platforms/powernv/opal-wrappers.S     |   1 +
 arch/powerpc/platforms/powernv/opal.c              |  14 +
 debian.master/config/config.common.ubuntu          |   1 +
 drivers/i2c/busses/Kconfig                         |  11 +
 drivers/i2c/busses/Makefile                        |   1 +
 drivers/i2c/busses/i2c-opal.c                      | 294 +++++++++++++++++++++
 9 files changed, 391 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/i2c/i2c-opal.txt
 create mode 100644 drivers/i2c/busses/i2c-opal.c

-- 
1.9.1





More information about the kernel-team mailing list