All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCHv2 1/2] Documentation: dt: spi: Add GPIO Slave Select Parameter
@ 2016-10-07 14:56 tthayer
  2016-10-07 14:56   ` tthayer-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx
  2016-10-07 19:33 ` [PATCHv2 1/2] Documentation: dt: spi: Add GPIO Slave Select Parameter Geert Uytterhoeven
  0 siblings, 2 replies; 5+ messages in thread
From: tthayer @ 2016-10-07 14:56 UTC (permalink / raw)
  To: broonie
  Cc: andriy.shevchenko, jarkko.nikula, jszhang, michael, kernel,
	linux-spi, linux-kernel, tthayer

From: Thor Thayer <tthayer@opensource.altera.com>

Some SPI masters require the slave to be selected before a
transaction can occur - even in the case of GPIO chip select.

This patch adds a GPIO slave select parameter to indicate
the slave needs to be selected in the GPIO CS case.

Signed-off-by: Thor Thayer <tthayer@opensource.altera.com>
---
v2  Add to SPI framework - add bindings.
---
 Documentation/devicetree/bindings/spi/spi-bus.txt |    1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/spi/spi-bus.txt b/Documentation/devicetree/bindings/spi/spi-bus.txt
index 4b1d6e7..3a006bc 100644
--- a/Documentation/devicetree/bindings/spi/spi-bus.txt
+++ b/Documentation/devicetree/bindings/spi/spi-bus.txt
@@ -24,6 +24,7 @@ support describing the chip select layout.
 Optional properties:
 - cs-gpios	  - gpios chip select.
 - num-cs	  - total number of chipselects.
+- gpio-ss	  - use internal slave select with gpio chip select.
 
 If cs-gpios is used the number of chip selects will be increased automatically
 with max(cs-gpios > hw cs).
-- 
1.7.9.5

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

end of thread, other threads:[~2016-10-07 19:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-07 14:56 [PATCHv2 1/2] Documentation: dt: spi: Add GPIO Slave Select Parameter tthayer
2016-10-07 14:56 ` [PATCHv2 2/2] spi: Add Flag to Enable Slave Select with GPIO Chip Select tthayer
2016-10-07 14:56   ` tthayer-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx
2016-10-07 19:33 ` [PATCHv2 1/2] Documentation: dt: spi: Add GPIO Slave Select Parameter Geert Uytterhoeven
2016-10-07 20:01   ` Thor Thayer

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.