<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/include/trace/events/spi.h, branch linux-4.13.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.13.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.13.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2017-06-13T17:51:11Z</updated>
<entry>
<title>spi: Generalize SPI "master" to "controller"</title>
<updated>2017-06-13T17:51:11Z</updated>
<author>
<name>Geert Uytterhoeven</name>
</author>
<published>2017-06-13T11:23:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8caab75fd2c2a92667cbb1cd315720bede3feaa9'/>
<id>urn:sha1:8caab75fd2c2a92667cbb1cd315720bede3feaa9</id>
<content type='text'>
Now struct spi_master is used for both SPI master and slave controllers,
it makes sense to rename it to struct spi_controller, and replace
"master" by "controller" where appropriate.

For now this conversion is done for SPI core infrastructure only.
Wrappers are provided for backwards compatibility, until all SPI drivers
have been converted.

Noteworthy details:
  - SPI_MASTER_GPIO_SS is retained, as it only makes sense for SPI
    master controllers,
  - spi_busnum_to_master() is retained, as it looks up masters only,
  - A new field spi_device.controller is added, but spi_device.master is
    retained for compatibility (both are always initialized by
    spi_alloc_device()),
  - spi_flash_read() is used by SPI masters only.

Signed-off-by: Geert Uytterhoeven &lt;geert+renesas@glider.be&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>spi: Provide common spi_message processing loop</title>
<updated>2013-10-11T19:09:50Z</updated>
<author>
<name>Mark Brown</name>
</author>
<published>2013-10-05T10:50:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b158935f70b9c156903338053216dd0adf7ce31c'/>
<id>urn:sha1:b158935f70b9c156903338053216dd0adf7ce31c</id>
<content type='text'>
The loops which SPI controller drivers use to process the list of transfers
in a spi_message are typically very similar and have some error prone areas
such as the handling of /CS. Help simplify drivers by factoring this code
out into the core - if drivers provide a transfer_one() function instead
of a transfer_one_message() function the core will handle processing at the
message level.

/CS can be controlled by either setting cs_gpio or providing a set_cs
function. If this is not possible for hardware reasons then both can be
omitted and the driver should continue to implement manual /CS handling.

This is a first step in refactoring and it is expected that there will be
further enhancements, for example factoring out of the mapping of transfers
for DMA and the initiation and completion of interrupt driven transfers.

Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
</content>
</entry>
<entry>
<title>spi/trace: Trace length of SPI messages on completion</title>
<updated>2013-10-08T17:03:05Z</updated>
<author>
<name>Mark Brown</name>
</author>
<published>2013-10-07T22:36:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=31a2c46cd94c6463b2b57b476e5a0fd154fee439'/>
<id>urn:sha1:31a2c46cd94c6463b2b57b476e5a0fd154fee439</id>
<content type='text'>
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
</content>
</entry>
<entry>
<title>spi: Provide trace points for message processing</title>
<updated>2013-10-07T19:02:01Z</updated>
<author>
<name>Mark Brown</name>
</author>
<published>2013-10-07T18:33:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=56ec1978ff07380bbdc0a942c8779ec9fd9e02ee'/>
<id>urn:sha1:56ec1978ff07380bbdc0a942c8779ec9fd9e02ee</id>
<content type='text'>
Provide tracepoints for the lifecycle of a message from submission to
completion and for the active time for masters to help with performance
analysis of SPI I/O.

Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
</content>
</entry>
</feed>
