* [PATCH] SPI: IMX5/6: Set inactive state of SPI clock (SCLK CTL) according to SPI clock polarity
@ 2012-08-27 13:18 Knut Wohlrab
0 siblings, 0 replies; only message in thread
From: Knut Wohlrab @ 2012-08-27 13:18 UTC (permalink / raw)
To: linux-arm-kernel
For our SPI device we need a SPI clock with active low polarity and a a
high inactive state.
We add the setting of the inactive state ECSPIx_CONFIGREG:SCLK CTL
according to the clock polarity ECSPIx_CONFIGREG:SCLK POL:
Device tree _without_ "spi-cpol" = 0 = clock active high polarity =
inactive state low
Device tree with "spi-cpol" = 1 = clock active low polarity = inactive
state high
Are there real world examples for a need of an individual setting of
clock polarity/inactive state?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-SPI-IMX-Set-inactive-state-of-SPI-clock-SCLK-CTL.patch
Type: text/x-patch
Size: 1373 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20120827/51b4fafd/attachment.bin>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-08-27 13:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-27 13:18 [PATCH] SPI: IMX5/6: Set inactive state of SPI clock (SCLK CTL) according to SPI clock polarity Knut Wohlrab
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.