Devicetree
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: sunxi: Add num-cs for A20 spi nodes
@ 2016-11-22 17:06 Emmanuel Vadot
  2016-11-24 19:55 ` Maxime Ripard
       [not found] ` <20161122170616.29557-1-manu-xXdDKFdH5B3kFDPD4ZthVA@public.gmane.org>
  0 siblings, 2 replies; 10+ messages in thread
From: Emmanuel Vadot @ 2016-11-22 17:06 UTC (permalink / raw)
  To: robh+dt, mark.rutland, linux, maxime.ripard, wens
  Cc: devicetree, Emmanuel Vadot, linux-kernel, linux-arm-kernel

The spi0 controller on the A20 have up to 4 CS (Chip Select) while the
others three only have 1.
Add the num-cs property to each node.

Signed-off-by: Emmanuel Vadot <manu@bidouilliste.com>
---
 arch/arm/boot/dts/sun7i-a20.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi
index 94cf5a1..ed21982 100644
--- a/arch/arm/boot/dts/sun7i-a20.dtsi
+++ b/arch/arm/boot/dts/sun7i-a20.dtsi
@@ -871,6 +871,7 @@
 			status = "disabled";
 			#address-cells = <1>;
 			#size-cells = <0>;
+			num-cs = 4;
 		};
 
 		spi1: spi@01c06000 {
@@ -885,6 +886,7 @@
 			status = "disabled";
 			#address-cells = <1>;
 			#size-cells = <0>;
+			num-cs = 1;
 		};
 
 		emac: ethernet@01c0b000 {
@@ -1037,6 +1039,7 @@
 			status = "disabled";
 			#address-cells = <1>;
 			#size-cells = <0>;
+			num-cs = 1;
 		};
 
 		ahci: sata@01c18000 {
@@ -1079,6 +1082,7 @@
 			status = "disabled";
 			#address-cells = <1>;
 			#size-cells = <0>;
+			num-cs = 1;
 		};
 
 		pio: pinctrl@01c20800 {
-- 
2.9.2

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

end of thread, other threads:[~2016-12-05  9:39 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-22 17:06 [PATCH] ARM: dts: sunxi: Add num-cs for A20 spi nodes Emmanuel Vadot
2016-11-24 19:55 ` Maxime Ripard
2016-11-24 20:05   ` Emmanuel Vadot
2016-11-25 15:20     ` Maxime Ripard
2016-11-25 21:07       ` Emmanuel Vadot
2016-12-01  9:21         ` Maxime Ripard
2016-12-01 10:24           ` Emmanuel Vadot
2016-12-05  9:28             ` Maxime Ripard
2016-12-05  9:39               ` Emmanuel Vadot
     [not found] ` <20161122170616.29557-1-manu-xXdDKFdH5B3kFDPD4ZthVA@public.gmane.org>
2016-12-03 23:10   ` kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox