All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] s3c64xx: consider the case of a disconnected CS line and some code rework
@ 2016-06-28  2:41 ` Andi Shyti
  0 siblings, 0 replies; 24+ messages in thread
From: Andi Shyti @ 2016-06-28  2:41 UTC (permalink / raw)
  To: Kukjin Kim, Krzysztof Kozlowski, Mark Brown
  Cc: Jaehoon Chung, linux-arm-kernel, linux-samsung-soc, linux-spi,
	linux-kernel, Andi Shyti, Andi Shyti

Hi,

the main goal of the patchset is to support SPI cnnected device
without CS line link.

The first two patches make the s3c64xx driver to consider the
case of a disconnected CS line. This is done by adding a property
in the DTS ("no-cs-readback") which informs the device driver the
absence of a chip selection link.

The last three patches are just some code re-work and
beautification.

Changelog: V1 -> V2

 - the first version of the patchset was removing an 'if'
   statement on "!spi->chip_select" which was causing the SPI
   core to fail. In this case the drivers would have been able to
   set a chip_select = 0 in absence of a CS link. After a short
   discussion with Mark, this has been replaced, as described
   above, by a property in the DTS.

 - one more patch has been added which assigns to some variable
   the proper type

 - some typos fixed in the commit messages

Thanks,
Andi

Andi Shyti (5):
  spi: s3c64xx: group the CS signalling writes in a single function
  spi: s3c64xx: consider the case when the CS line is not connected
  spi: s3c64xx: do not configure the device twice
  spi: s3c64xx: simplify if statement in prepare_transfer function
  spi: s3c64xx: use unsigned type for fifo handling variables

 .../devicetree/bindings/spi/spi-samsung.txt        |   3 +
 drivers/spi/spi-s3c64xx.c                          | 114 +++++++++++----------
 include/linux/platform_data/spi-s3c64xx.h          |   1 +
 3 files changed, 65 insertions(+), 53 deletions(-)

-- 
2.8.1

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2016-07-05 15:01 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-28  2:41 [PATCH v2 0/5] s3c64xx: consider the case of a disconnected CS line and some code rework Andi Shyti
2016-06-28  2:41 ` Andi Shyti
2016-06-28  2:41 ` [PATCH v2 1/5] spi: s3c64xx: group the CS signalling writes in a single function Andi Shyti
2016-06-28  2:41   ` Andi Shyti
2016-06-28  2:41   ` Andi Shyti
2016-06-28  2:41 ` [PATCH v2 2/5] spi: s3c64xx: consider the case when the CS line is not connected Andi Shyti
2016-06-28  2:41   ` Andi Shyti
2016-06-28  2:41   ` Andi Shyti
2016-06-30 12:15   ` Applied "spi: s3c64xx: consider the case when the CS line is not connected" to the spi tree Mark Brown
2016-06-30 12:15     ` Mark Brown
2016-06-30 12:15     ` Mark Brown
2016-06-28  2:41 ` [PATCH v2 3/5] spi: s3c64xx: do not configure the device twice Andi Shyti
2016-06-28  2:41   ` Andi Shyti
2016-06-28  2:41 ` [PATCH v2 4/5] spi: s3c64xx: simplify if statement in prepare_transfer function Andi Shyti
2016-06-28  2:41   ` Andi Shyti
2016-06-28  2:41 ` [PATCH v2 5/5] spi: s3c64xx: use unsigned type for fifo handling variables Andi Shyti
2016-06-28  2:41   ` Andi Shyti
2016-06-28  2:41   ` Andi Shyti
2016-07-05 14:55   ` Mark Brown
2016-07-05 14:55     ` Mark Brown
2016-07-05 14:55     ` Mark Brown
2016-07-05 15:01     ` Andi Shyti
2016-07-05 15:01       ` Andi Shyti
2016-07-05 15:01       ` Andi Shyti

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.