From: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
To: Alex Gershgorin <Alex.Gershgorin@qcore.com>
Cc: "tpmdd-devel@lists.sourceforge.net"
<tpmdd-devel@lists.sourceforge.net>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"christophe.ricard@gmail.com" <christophe.ricard@gmail.com>
Subject: Re: [tpmdd-devel] (no subject)
Date: Wed, 10 Aug 2016 14:39:38 +0300 [thread overview]
Message-ID: <20160810113938.GG13929@intel.com> (raw)
In-Reply-To: <1DC01DCD0F70AE4284AE3A5E8C726E2240106236@Ex2010.q-core.co.il>
On Tue, Jul 19, 2016 at 08:34:20AM +0000, Alex Gershgorin wrote:
> Hi everyone,
>
> Our company use Atmel TPM AT97SC3205 - SPI interface.
> Accordingly to datasheests it's compliant to Trusted Computing Group (TCG)
> Trusted Platform Module TPM) Version 1.2 Specification. Compliant with TCG
> PC Client-Specific TPM Interface Specification (TIS Version 1.3).
> On my target board I'm running Kernel from
> git://git.infradead.org/users/jjs/linux-tpmdd.git next head.
> I have made some additional changes on my Device Tree.
Are you sure that it uses SPI hardware protocol and not TCG MMIO?
On PC the tranport could be LPC or SPI but the interface is TCG
one.
/Jarkko
> spi1: spi@fc000000 {
> pinctrl-names = "default";
> pinctrl-0 = <&pinctrl_spi1_default>;
> status = "okay";
>
> tpm_tis@0 {
> compatible = "tcg,tpm_tis-spi";
> reg = <0>;
> spi-max-frequency = <10000000>;
> };
> };
>
> This is part of my kernel boot messages:
> atmel_spi fc000000.spi: version: 0x311
> atmel_spi fc000000.spi: Using dma0chan2 (tx) and dma0chan3 (rx) for DMA
> transfers
> atmel_spi fc000000.spi: Using FIFO (16 data)
> atmel_spi fc000000.spi: Atmel SPI Controller at 0xfc000000 (irq 36)
> tpm tpm0: tpm_transmit: tpm_send: error -5
> tpm_tis_spi: probe of spi32765.0 failed with error -5
>
> I verified with an oscilloscope that all SPI bus signals are in order.
>
> Following the above kernel boot messages - my question is :
> Can I use tpm_tis_spi device driver for AT97SC3205 device ?
>
> Please advise and help with any directions.
>
> Thanks in advance,
> Alex Gershgorin
> ------------------------------------------------------------------------------
> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
> patterns at an interface-level. Reveals which users, apps, and protocols are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity
> planning reports. http://sdm.link/zohodev2dev
> _______________________________________________
> tpmdd-devel mailing list
> tpmdd-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tpmdd-devel
parent reply other threads:[~2016-08-10 21:14 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <1DC01DCD0F70AE4284AE3A5E8C726E2240106236@Ex2010.q-core.co.il>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160810113938.GG13929@intel.com \
--to=jarkko.sakkinen@linux.intel.com \
--cc=Alex.Gershgorin@qcore.com \
--cc=christophe.ricard@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=tpmdd-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).