From: andi.shyti@samsung.com (Andi Shyti)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 0/5] s3c64xx: consider the case of a disconnected CS line and some code rework
Date: Tue, 28 Jun 2016 11:41:10 +0900 [thread overview]
Message-ID: <1467081676-8442-1-git-send-email-andi.shyti@samsung.com> (raw)
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
next reply other threads:[~2016-06-28 2:41 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-28 2:41 Andi Shyti [this message]
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 ` [PATCH v2 2/5] spi: s3c64xx: consider the case when the CS line is not connected 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-28 2:41 ` [PATCH v2 3/5] spi: s3c64xx: do not configure the device twice 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 ` [PATCH v2 5/5] spi: s3c64xx: use unsigned type for fifo handling variables Andi Shyti
2016-07-05 14:55 ` Mark Brown
2016-07-05 15:01 ` Andi Shyti
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1467081676-8442-1-git-send-email-andi.shyti@samsung.com \
--to=andi.shyti@samsung.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox