tpmdd-devel.lists.sourceforge.net archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/10] Rework of tpm_tis to share common logic accross phy's (lpc/spi/-i2c-).
@ 2016-04-10 21:22 Christophe Ricard
       [not found] ` <1460323386-16892-1-git-send-email-christophe-h.ricard-qxv4g6HH51o@public.gmane.org>
  0 siblings, 1 reply; 21+ messages in thread
From: Christophe Ricard @ 2016-04-10 21:22 UTC (permalink / raw)
  To: jarkko.sakkinen-VuQAYsv1563Yd54FQh9/CA
  Cc: jean-luc.blanc-qxv4g6HH51o, ashley-fm2HMyfA2y6tG0bUXCXiUA,
	tpmdd-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	christophe-h.ricard-qxv4g6HH51o, benoit.houyere-qxv4g6HH51o

Hi Jarkko,

This serie is including common work from Infineon (Peter Huewe & Alexander Steffen) and ST.
We propose a common low level API used by a core TIS interface allowing to share
some protocols behavior between physical layers (lpc, spi, i2c...) or drivers.

To easy the group review, i only send 10 patches showing how we rework the tpm_tis driver
keeping existing proprietary logic (itpm workaround, irq for tpm_tis ("lpc")).
Finally we are adding spi support based on TCG PTP specification. This additional driver
support the SPI bit protocol including optional flow control.

Reworked tpm_tis got validated on a HP 8200 machine with an Infineon TPM
tpm_tis_spi got validated using Minnowboard Max as well as Raspberry Pi.

Best Regards
Christophe  

Christophe Ricard (10):
  tpm_tis: Introduce intermediate layer for TPM access
  tpm_tis: Extend low-level interface to support proper return codes
  tpm: Use read/write_bytes for drivers without more specialized methods
  tpm: Manage itpm workaround with tis specific data_expect bit
  tpm: tpm_tis: Add post_probe phy handler
  tpm: Add include guards in tpm.h
  devicetree: Add infineon to vendor-prefix.txt
  devicetree: Add Trusted Computing Group to vendor-prefix.txt
  tpm/tpm_tis: Split tpm_tis driver into a core and TCG TIS compliant
    phy
  tpm/tpm_tis_spi: Add support for spi phy

 .../bindings/security/tpm/tpm_tis_spi.txt          |  28 +
 .../devicetree/bindings/vendor-prefixes.txt        |   2 +
 drivers/char/tpm/Kconfig                           |  19 +
 drivers/char/tpm/Makefile                          |   3 +-
 drivers/char/tpm/tpm.h                             |  66 ++
 drivers/char/tpm/tpm_tis.c                         | 831 +++------------------
 drivers/char/tpm/tpm_tis_core.c                    | 782 +++++++++++++++++++
 drivers/char/tpm/tpm_tis_core.h                    | 122 +++
 drivers/char/tpm/tpm_tis_spi.c                     | 259 +++++++
 include/linux/tpm.h                                |  11 +
 10 files changed, 1405 insertions(+), 718 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/security/tpm/tpm_tis_spi.txt
 create mode 100644 drivers/char/tpm/tpm_tis_core.c
 create mode 100644 drivers/char/tpm/tpm_tis_core.h
 create mode 100644 drivers/char/tpm/tpm_tis_spi.c

-- 
2.1.4


------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial! http://pubads.g.doubleclick.net/
gampad/clk?id=1444514301&iu=/ca-pub-7940484522588532

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

end of thread, other threads:[~2016-04-11 22:37 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-10 21:22 [PATCH 00/10] Rework of tpm_tis to share common logic accross phy's (lpc/spi/-i2c-) Christophe Ricard
     [not found] ` <1460323386-16892-1-git-send-email-christophe-h.ricard-qxv4g6HH51o@public.gmane.org>
2016-04-10 21:22   ` [PATCH 01/10] tpm_tis: Introduce intermediate layer for TPM access Christophe Ricard
     [not found]     ` <1460323386-16892-2-git-send-email-christophe-h.ricard-qxv4g6HH51o@public.gmane.org>
2016-04-10 23:45       ` Jason Gunthorpe
2016-04-11 16:12       ` Jarkko Sakkinen
2016-04-10 21:22   ` [PATCH 02/10] tpm_tis: Extend low-level interface to support proper return codes Christophe Ricard
2016-04-10 21:22   ` [PATCH 03/10] tpm: Use read/write_bytes for drivers without more specialized methods Christophe Ricard
2016-04-10 21:23   ` [PATCH 04/10] tpm: Manage itpm workaround with tis specific data_expect bit Christophe Ricard
     [not found]     ` <1460323386-16892-5-git-send-email-christophe-h.ricard-qxv4g6HH51o@public.gmane.org>
2016-04-10 23:42       ` Jason Gunthorpe
2016-04-10 21:23   ` [PATCH 05/10] tpm: tpm_tis: Add post_probe phy handler Christophe Ricard
     [not found]     ` <1460323386-16892-6-git-send-email-christophe-h.ricard-qxv4g6HH51o@public.gmane.org>
2016-04-10 23:43       ` Jason Gunthorpe
     [not found]         ` <20160410234333.GB11226-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-04-11 20:22           ` Jason Gunthorpe
2016-04-10 21:23   ` [PATCH 06/10] tpm: Add include guards in tpm.h Christophe Ricard
2016-04-10 21:23   ` [PATCH 07/10] devicetree: Add infineon to vendor-prefix.txt Christophe Ricard
     [not found]     ` <1460323386-16892-8-git-send-email-christophe-h.ricard-qxv4g6HH51o@public.gmane.org>
2016-04-11 19:47       ` Rob Herring
2016-04-10 21:23   ` [PATCH 08/10] devicetree: Add Trusted Computing Group " Christophe Ricard
     [not found]     ` <1460323386-16892-9-git-send-email-christophe-h.ricard-qxv4g6HH51o@public.gmane.org>
2016-04-11 20:06       ` Rob Herring
2016-04-11 20:21         ` Jason Gunthorpe
     [not found]           ` <20160411202119.GA3357-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-04-11 22:37             ` Rob Herring
2016-04-10 21:23   ` [PATCH 09/10] tpm/tpm_tis: Split tpm_tis driver into a core and TCG TIS compliant phy Christophe Ricard
     [not found]     ` <1460323386-16892-10-git-send-email-christophe-h.ricard-qxv4g6HH51o@public.gmane.org>
2016-04-10 23:54       ` Jason Gunthorpe
2016-04-10 21:23   ` [PATCH 10/10] tpm/tpm_tis_spi: Add support for spi phy Christophe Ricard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).