linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* espi enable/disable issue
@ 2011-09-16 10:28 Michele Jr De Candia
  0 siblings, 0 replies; only message in thread
From: Michele Jr De Candia @ 2011-09-16 10:28 UTC (permalink / raw)
  To: Linuxppc-dev

Hi all,
we're using your driver for espi controller on P1015 freescale micro.

We're testing an issue trying to do multiple operation into a single
chip select "window".

We've noted that the driver disables and enables the ESPI_SPMODE[EN] bit
in order to change the "ESPI_SPMODE x" register; probably it does it
because, such as for ESPI_SPMODE register, its bits can't change when
ESPI_SPMODE[EN] is enabled (although  the datasheet doesn't say nothing
about the mandatory disable operation for changing "ESPI_SPMODE x"
regs). 

The enable/disable operation issues a clock spike on SPI_CLK signal.

We need to do multiple SPI read/write into a single chip-select window
without changing SPIMODE and using an external chip select gpio.

Unfortunately, the clock spike generated from the enable/disable
operation its' destructive for our data.

We've tryed to remove the "enable/disable" operation into the
fsl_espi_setup_transfer() function but just the first operation went
fine; the next operation reply all as "FF". 

Seems that we can't do multiple operations into a single chip select
window without changing mode. Is it true? Is it possible to avoid this
issue (probably into the irq management)?

We're not using the last version of the driver but we've looked already
to the new driver uploaded into 3.0.4 kernel and the "Enable/Disable"
operation is still there.

Thank you in advance,
Michele De Candia
Angelo Spada

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-09-16 10:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-16 10:28 espi enable/disable issue Michele Jr De Candia

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).