From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Gershgorin Subject: (no subject) Date: Tue, 19 Jul 2016 08:34:20 +0000 Message-ID: <1DC01DCD0F70AE4284AE3A5E8C726E2240106236@Ex2010.q-core.co.il> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5328299723243624429==" Return-path: Content-Language: en-US List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: tpmdd-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: "tpmdd-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org" , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" Cc: "christophe.ricard-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" List-Id: tpmdd-devel@lists.sourceforge.net --===============5328299723243624429== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_1DC01DCD0F70AE4284AE3A5E8C726E2240106236Ex2010qcorecoil_" --_000_1DC01DCD0F70AE4284AE3A5E8C726E2240106236Ex2010qcorecoil_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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/jj= s/linux-tpmdd.git next head. I have made some additional changes on my Device Tree. spi1: spi@fc000000 { pinctrl-names =3D "default"; pinctrl-0 =3D <&pinctrl_spi1_default>; status =3D "okay"; tpm_tis@0 { compatible =3D "tcg,tpm_tis-spi"; reg =3D <0>; spi-max-frequency =3D <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 tra= nsfers 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 --_000_1DC01DCD0F70AE4284AE3A5E8C726E2240106236Ex2010qcorecoil_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
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) Vers= ion 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/jj= s/linux-tpmdd.git   next head.
I have made some additional changes on my Device Tree.
             
spi1: spi@fc000000 {
               = pinctrl-names =3D "default";
               = pinctrl-0 =3D <&pinctrl_spi1_default>;
               = status =3D "okay";

               = tpm_tis@0 {
            &nb= sp;               co= mpatible =3D "tcg,tpm_tis-spi";
               =     reg =3D <0>;
            &nb= sp;               sp= i-max-frequency =3D <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 tra= nsfers
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 devic= e ?

Please advise and help with any directions.

Thanks in advance,
Alex Gershgorin





--_000_1DC01DCD0F70AE4284AE3A5E8C726E2240106236Ex2010qcorecoil_-- --===============5328299723243624429== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ 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 --===============5328299723243624429== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ tpmdd-devel mailing list tpmdd-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/tpmdd-devel --===============5328299723243624429==--