* [PATCH v2 3/3] spi: xilinx: Update devicetree bindings for spi-xilinx
@ 2016-05-30 9:47 Naga Sureshkumar Relli
[not found] ` <1464601627-5246-1-git-send-email-nagasure-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Naga Sureshkumar Relli @ 2016-05-30 9:47 UTC (permalink / raw)
To: broonie-DgEjT+Ai2ygdnm+yROfE0A,
michal.simek-gjFFaj9aHVfQT0dZR+AlfA,
punnaia-gjFFaj9aHVfQT0dZR+AlfA, harinik-gjFFaj9aHVfQT0dZR+AlfA
Cc: linux-spi-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
Naga Sureshkumar Relli
Update bindings for spi-xilinx.
as per spi-bus.txt rename num-ss-bits to num-cs.
and add fifo-size and bits-per-word properties.
Signed-off-by: Naga Sureshkumar Relli <nagasure-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
---
changes for v2
- none
---
Documentation/devicetree/bindings/spi/spi-xilinx.txt | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/spi/spi-xilinx.txt b/Documentation/devicetree/bindings/spi/spi-xilinx.txt
index c7b7856..539bbe9 100644
--- a/Documentation/devicetree/bindings/spi/spi-xilinx.txt
+++ b/Documentation/devicetree/bindings/spi/spi-xilinx.txt
@@ -7,9 +7,11 @@ Required properties:
- interrupts : Property with a value describing the interrupt
number.
- interrupt-parent : Must be core interrupt controller
+- fifo-size : Depth of TX/RX Fifos
Optional properties:
-- xlnx,num-ss-bits : Number of chip selects used.
+- num-cs : Number of chip selects used.
+- bits-per-word : Number of bits per word.
Example:
axi_quad_spi@41e00000 {
@@ -17,6 +19,8 @@ Example:
interrupt-parent = <&intc>;
interrupts = <0 31 1>;
reg = <0x41e00000 0x10000>;
- xlnx,num-ss-bits = <0x1>;
+ num-cs = <0x1>;
+ fifo-size = <256>;
+ bits-per-word = <8>;
};
--
2.1.1
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2 3/3] spi: xilinx: Update devicetree bindings for spi-xilinx
[not found] ` <1464601627-5246-1-git-send-email-nagasure-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
@ 2016-05-30 17:38 ` Mark Brown
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2016-05-30 17:38 UTC (permalink / raw)
To: Naga Sureshkumar Relli
Cc: michal.simek-gjFFaj9aHVfQT0dZR+AlfA,
punnaia-gjFFaj9aHVfQT0dZR+AlfA, harinik-gjFFaj9aHVfQT0dZR+AlfA,
linux-spi-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
Naga Sureshkumar Relli
[-- Attachment #1: Type: text/plain, Size: 376 bytes --]
On Mon, May 30, 2016 at 03:17:07PM +0530, Naga Sureshkumar Relli wrote:
> Update bindings for spi-xilinx.
> as per spi-bus.txt rename num-ss-bits to num-cs.
> and add fifo-size and bits-per-word properties.
This makes the new bindings backwards incompatible breaking existing
machine descriptions. It's fine to add new options but the driver
should accept the old options.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-05-30 17:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-30 9:47 [PATCH v2 3/3] spi: xilinx: Update devicetree bindings for spi-xilinx Naga Sureshkumar Relli
[not found] ` <1464601627-5246-1-git-send-email-nagasure-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
2016-05-30 17:38 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).