From patchwork Tue Dec 27 10:28:07 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emmanuel Vadot X-Patchwork-Id: 9489157 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1B09362AAF for ; Tue, 27 Dec 2016 10:30:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 03C3C1FFD6 for ; Tue, 27 Dec 2016 10:30:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E8BB8209CD; Tue, 27 Dec 2016 10:30:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7E73A1FFD6 for ; Tue, 27 Dec 2016 10:30:22 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1cLp03-0003LW-F3; Tue, 27 Dec 2016 10:28:55 +0000 Received: from mail.blih.net ([212.83.177.182]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cLozz-0003IN-Sn for linux-arm-kernel@lists.infradead.org; Tue, 27 Dec 2016 10:28:52 +0000 Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id df870d95 for ; Tue, 27 Dec 2016 11:28:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=from :to:cc:subject:date:message-id; s=mail; bh=jAdsVdhOtrskdGvb8qX6G ujpDHg=; b=Ko6bLpzGVWxBJuFz4k+qZ/omeF2sWqVC+QQNZfwKZ4CJcpj3CdknO uHt8dPZdV62u6QpL1dEPKRM78JoYJGJF/s1gmpSP66fMu2QaUfdiXjpIb8TdUOdr jkt5T89wlPxJ50AXHwqsszlsJ519r25Yi6a7ZGn+rgwXKvsuJpI5C8= 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= Received: from knuckles.blih.net (j1a01-1-78-205-69-41.fbx.proxad.net [78.205.69.41]) by mail.blih.net (OpenSMTPD) with ESMTPSA id 967a5f10 TLS version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO for ; Tue, 27 Dec 2016 11:28:18 +0100 (CET) Received: from elbarto (uid 1001) (envelope-from manu@bidouilliste.com) id 34180 by knuckles.blih.net (DragonFly Mail Agent v0.11); Tue, 27 Dec 2016 11:28:17 +0100 From: Emmanuel Vadot To: robh+dt@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk, maxime.ripard@free-electrons.com, wens@csie.org 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161227_022852_325642_FF583E85 X-CRM114-Status: UNSURE ( 9.12 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Emmanuel Vadot , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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 {