From patchwork Tue Jun 7 13:59:36 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivan Khoronzhuk X-Patchwork-Id: 69514 Delivered-To: patch@linaro.org Received: by 10.140.106.246 with SMTP id e109csp1993591qgf; Tue, 7 Jun 2016 07:00:21 -0700 (PDT) X-Received: by 10.98.20.211 with SMTP id 202mr32167261pfu.5.1465308021120; Tue, 07 Jun 2016 07:00:21 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g132si6167888pfc.38.2016.06.07.07.00.19; Tue, 07 Jun 2016 07:00:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of netdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of netdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755425AbcFGN77 (ORCPT + 4 others); Tue, 7 Jun 2016 09:59:59 -0400 Received: from mail-lf0-f44.google.com ([209.85.215.44]:33115 "EHLO mail-lf0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755111AbcFGN7v (ORCPT ); Tue, 7 Jun 2016 09:59:51 -0400 Received: by mail-lf0-f44.google.com with SMTP id s64so115858919lfe.0 for ; Tue, 07 Jun 2016 06:59:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=8u+a2vBlr9e1mZaksxHSbwHliI+l4BWbEFTD15xNnfA=; b=Tf3m3DQ3SMWUv0g/yZREO+/bPo6JdnqKxKd47Djz/VYlFyw7cCWhpWacG0ONM02j7s zhNSB8jVV0csA0+Bhn3Bex2Xn0ZwartWQi1DdoSLYFmPV2QQFu3CoMbwb84JKU6JkdUW NF5lTE0oedjEuPp54NNHYS6EJ7JJ+ScUjm1S8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=8u+a2vBlr9e1mZaksxHSbwHliI+l4BWbEFTD15xNnfA=; b=Q5LOkn1Id/qgqwtgeQUoi0F8gNCtY+AP2WbTY1YwJ6BYU+GwZ+HM/FwQDzkoDA5/xB d484OBR/DT8x2oM/sMHeQmTfZtoyZtzo1oWA4KmvosK6iAnhOl33clctYlyoNx3uj0gg qhfQw2nFoiyBllUUNXmXuhEcROXAphXpuM5tjEs0UN93k5CbuKnEYyv9Dmfc77SyxVMv qzY0WSmsozgaQFfTmsCuavPoknKZ5FJjokKqFY81xQDR0VA1xxubzBWnaRzxfEkcEyUu Zv/f37X48sVxy5BXp81Lj1nmf1Olhd2x79uDMJdV+OvGmlcQcUd7CZJFn9R1eDFAN5Rk uLqw== X-Gm-Message-State: ALyK8tIo0otA3b2cGgZgYZ02TEcQ8WiyVo1n6PXzL6Ey/1YZhU+vCuaN4//2rhG06xesTwjw X-Received: by 10.46.71.213 with SMTP id u204mr5453106lja.15.1465307989909; Tue, 07 Jun 2016 06:59:49 -0700 (PDT) Received: from khorivan.synapse.com ([212.90.63.58]) by smtp.gmail.com with ESMTPSA id g70sm2274758ljg.43.2016.06.07.06.59.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 07 Jun 2016 06:59:49 -0700 (PDT) From: Ivan Khoronzhuk To: mugunthanvnm@ti.com, linux-kernel@vger.kernel.org Cc: grygorii.strashko@ti.com, linux-omap@vger.kernel.org, netdev@vger.kernel.org, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, bcousson@baylibre.com, tony@atomide.com, devicetree@vger.kernel.org, Ivan Khoronzhuk Subject: [PATCH v2 2/2] Documentation: DT: cpsw: remove rx_descs property Date: Tue, 7 Jun 2016 16:59:36 +0300 Message-Id: <1465307976-12235-3-git-send-email-ivan.khoronzhuk@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1465307976-12235-1-git-send-email-ivan.khoronzhuk@linaro.org> References: <1465307976-12235-1-git-send-email-ivan.khoronzhuk@linaro.org> Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org There is no reason to hold s/w dependent parameter in device tree. Even more, there is no reason in this parameter because davinici_cpdma driver splits pool of descriptors equally between tx and rx channels anyway. Signed-off-by: Ivan Khoronzhuk --- Documentation/devicetree/bindings/net/cpsw.txt | 1 - arch/arm/boot/dts/am33xx.dtsi | 1 - arch/arm/boot/dts/am4372.dtsi | 1 - arch/arm/boot/dts/dm814x.dtsi | 1 - arch/arm/boot/dts/dra7.dtsi | 1 - 5 files changed, 5 deletions(-) -- 1.9.1 Acked-by: Rob Herring diff --git a/Documentation/devicetree/bindings/net/cpsw.txt b/Documentation/devicetree/bindings/net/cpsw.txt index 0ae0649..5ad439f 100644 --- a/Documentation/devicetree/bindings/net/cpsw.txt +++ b/Documentation/devicetree/bindings/net/cpsw.txt @@ -15,7 +15,6 @@ Required properties: - cpdma_channels : Specifies number of channels in CPDMA - ale_entries : Specifies No of entries ALE can hold - bd_ram_size : Specifies internal descriptor RAM size -- rx_descs : Specifies number of Rx descriptors - mac_control : Specifies Default MAC control register content for the specific platform - slaves : Specifies number for slaves diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index 52be48b..702126f 100644 --- a/arch/arm/boot/dts/am33xx.dtsi +++ b/arch/arm/boot/dts/am33xx.dtsi @@ -766,7 +766,6 @@ ale_entries = <1024>; bd_ram_size = <0x2000>; no_bd_ram = <0>; - rx_descs = <64>; mac_control = <0x20>; slaves = <2>; active_slave = <0>; diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi index 12fcde4..a10fa7f 100644 --- a/arch/arm/boot/dts/am4372.dtsi +++ b/arch/arm/boot/dts/am4372.dtsi @@ -626,7 +626,6 @@ ale_entries = <1024>; bd_ram_size = <0x2000>; no_bd_ram = <0>; - rx_descs = <64>; mac_control = <0x20>; slaves = <2>; active_slave = <0>; diff --git a/arch/arm/boot/dts/dm814x.dtsi b/arch/arm/boot/dts/dm814x.dtsi index d4537dc..f23cae0c 100644 --- a/arch/arm/boot/dts/dm814x.dtsi +++ b/arch/arm/boot/dts/dm814x.dtsi @@ -509,7 +509,6 @@ ale_entries = <1024>; bd_ram_size = <0x2000>; no_bd_ram = <0>; - rx_descs = <64>; mac_control = <0x20>; slaves = <2>; active_slave = <0>; diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi index e007401..b7ddc64 100644 --- a/arch/arm/boot/dts/dra7.dtsi +++ b/arch/arm/boot/dts/dra7.dtsi @@ -1626,7 +1626,6 @@ ale_entries = <1024>; bd_ram_size = <0x2000>; no_bd_ram = <0>; - rx_descs = <64>; mac_control = <0x20>; slaves = <2>; active_slave = <0>;