On Thu, Jul 14, 2016 at 09:28:14PM -0600, Jason Gunthorpe wrote: > On Thu, Jul 14, 2016 at 07:50:26PM -0700, Andrey Pronin wrote: > > Yes, it has a TCG-compliant interface, however, there are several things > > specific to this device: > > - need to ensure a certain delay between spi transactions, or else > > the chip can miss several first bytes. > > - if there is no spi activity for this chip, it may go to sleep, and > > needs to be waken up before sending further commands. > > - it has some vendor-specific registers accessible from spi bus. > > This all needs to be commented clearly in the driver.. >
Will provide more details in the patch description. The driver code has comments about those cases in the code: see cr50_ensure_access_delay and cr50_needs_waking, for example. ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/tpmdd-devel
