From patchwork Fri Jun 17 10:25:40 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivan Khoronzhuk X-Patchwork-Id: 70307 Delivered-To: patch@linaro.org Received: by 10.140.28.4 with SMTP id 4csp204632qgy; Fri, 17 Jun 2016 03:26:42 -0700 (PDT) X-Received: by 10.36.76.86 with SMTP id a83mr17097201itb.64.1466159202411; Fri, 17 Jun 2016 03:26:42 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b10si16495772pan.98.2016.06.17.03.26.42; Fri, 17 Jun 2016 03:26:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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 linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S1755621AbcFQK01 (ORCPT + 30 others); Fri, 17 Jun 2016 06:26:27 -0400 Received: from mail-lf0-f46.google.com ([209.85.215.46]:33420 "EHLO mail-lf0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755528AbcFQKZ5 (ORCPT ); Fri, 17 Jun 2016 06:25:57 -0400 Received: by mail-lf0-f46.google.com with SMTP id f6so57510136lfg.0 for ; Fri, 17 Jun 2016 03:25:56 -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=ktVbqS12VLTLDkPtrNUDS5IJFjBlcXoS/AosVrvRzyU=; b=bBGgUlh9XUu1cbs+eDgrA83sWYMkedTgCcYDR4nWLH4oj4GxGdX4E5VWI1L2+/r+mO VeLy1X3sUKMex0bgU/EQnf4DNqmSWDbPz6KA6SCrFjqUcAeVWjStwVBjH9m8ObLJ9LRK gySjxtoZ6PmlEzWFpZOfGc0ZlX5IzFlCp7/UY= 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=ktVbqS12VLTLDkPtrNUDS5IJFjBlcXoS/AosVrvRzyU=; b=anQxqQTTYAfVVrtMqHY0TlZGZ/4SXqtPHxFJm2uAayzqgjOGsTemCECHXtwXA12edH nuhXUHOzj9kIukefvkOF/JbJHlburVz+AZFQ0VKd6WosaHGbi8CPZ2a+4Oh73KEGaI/h zIi4wAsMjAIlQTFBdOTucoA1eF/vYe7+uz1pIokTy3AToxW1jh0d4zvFRj4JmLitbjaW o6sbZK2b56Mic8aPtMiJljKBNDCbsHWprUnOqOAMJPoH7xMXZS4s3GPi2r8+SF/Js77S ezW3AYBWfh9k7DjdeC/uJthfRazMwIjsOP7IGh16u0hZ5deZhHIsLoQzLcu8M8HCynsA 79Lw== X-Gm-Message-State: ALyK8tKnNTxBm3uiIOWQFujn/LjQK8m3H2bTH2SyI9bO7/OxAKjIGmyzbZfa+272IyOUOgvG X-Received: by 10.46.71.208 with SMTP id u199mr437612lja.17.1466159155471; Fri, 17 Jun 2016 03:25:55 -0700 (PDT) Received: from localhost.localdomain ([212.90.63.58]) by smtp.gmail.com with ESMTPSA id u124sm3553739lja.11.2016.06.17.03.25.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 17 Jun 2016 03:25:54 -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 v3 2/2] Documentation: DT: cpsw: remove rx_descs property Date: Fri, 17 Jun 2016 13:25:40 +0300 Message-Id: <1466159140-3329-3-git-send-email-ivan.khoronzhuk@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1466159140-3329-1-git-send-email-ivan.khoronzhuk@linaro.org> References: <1466159140-3329-1-git-send-email-ivan.khoronzhuk@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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. Acked-by: Rob Herring 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 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>;