Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754106AbcL0K2b (ORCPT ); Tue, 27 Dec 2016 05:28:31 -0500 Received: from mail.blih.net ([212.83.177.182]:55468 "EHLO mail.blih.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753384AbcL0K2Y (ORCPT ); Tue, 27 Dec 2016 05:28:24 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=from:to :cc:subject:date:message-id; q=dns; s=mail; b=tN+Z4Vaz7cCdNYiMgC Wkk3NH9tGvL+IWDqS9JtKg5Ru0avMna/rjakgJKK4YHeMfg21hIrt/Wgg7dJ5Vmt d4/B5N5n4/I8qgolZ2vqzRtId9X+PCGmP4hVcfZsL22iGwXfklFLJ5rLwfwMvM6M cIlkeMFGa/1/qgy8yej3kGMCw= From: Emmanuel Vadot To: robh+dt@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk, maxime.ripard@free-electrons.com, wens@csie.org Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Emmanuel Vadot Subject: [PATCH v3] ARM: dts: sunxi: Add num-cs for A20 spi nodes Date: Tue, 27 Dec 2016 11:28:07 +0100 Message-Id: <20161227102807.20244-1-manu@bidouilliste.com> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1340 Lines: 56 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. The current driver doesn't read this property but this is useful for downstream user of DTS (FreeBSD for example). Signed-off-by: Emmanuel Vadot --- Changes in v3: * Put number in bracket Changes in v2: * Explain that driver doesn't support this but that it is useful for downstream users of DTS. 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 94cf5a1c7172..f67bea5d0710 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.11.0