From patchwork Tue Oct 13 18:53:31 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Murali Karicheri X-Patchwork-Id: 54867 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f199.google.com (mail-wi0-f199.google.com [209.85.212.199]) by patches.linaro.org (Postfix) with ESMTPS id D425423001 for ; Tue, 13 Oct 2015 18:54:28 +0000 (UTC) Received: by wicid10 with SMTP id id10sf14939708wic.2 for ; Tue, 13 Oct 2015 11:54:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id :mime-version:content-type:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=BeFh+7XAYMNbROikjeQ3gbLQ9qiNbHkT7GWPetOuGao=; b=OIOn+TiDkrCTMWLWdnFVgfdhqOA8Z8lrfEr3X9LggCbO2gstGCTcDApwX96EXELJHI T33rWIUY648URsFxcUoQEJMzSDNqFuAf50zDrouw/KjrOlZeQhbEeNcV21SNjJleuw/R BgLVp1RpknR5Yzeub4R2Ij59nCz1ptZZbqCoH/DF3kkZbs+lUFE+Yq4FbrQq+hNtKTPQ RW/EuUwO31MRzV1M4AgfExbYQrw+qCMCWUbgrUez3YkVAk2gcqlbx4ePXn8HN6AgDfeX egTl/ek66rgs3k74YA0kC1Ku+1pnWkMePTcKVQTWKf4x0uYflcfFbptGR/OPsHrtG9g6 2/wQ== X-Gm-Message-State: ALoCoQl3pmRf/PNmRlgVnHRRALA5QS6hF9m1rX8XaeYC1YQFF8rs2Kpqt1H87iBFVtw8nLWUlziy X-Received: by 10.180.184.131 with SMTP id eu3mr69542wic.0.1444762468152; Tue, 13 Oct 2015 11:54:28 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.146.9 with SMTP id u9ls705169lfd.63.gmail; Tue, 13 Oct 2015 11:54:27 -0700 (PDT) X-Received: by 10.112.158.1 with SMTP id wq1mr15428043lbb.67.1444762467891; Tue, 13 Oct 2015 11:54:27 -0700 (PDT) Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com. [209.85.217.181]) by mx.google.com with ESMTPS id 29si1977826lfr.152.2015.10.13.11.54.27 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Oct 2015 11:54:27 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.181 as permitted sender) client-ip=209.85.217.181; Received: by lbbck17 with SMTP id ck17so30827679lbb.1 for ; Tue, 13 Oct 2015 11:54:27 -0700 (PDT) X-Received: by 10.112.64.72 with SMTP id m8mr15338870lbs.41.1444762467704; Tue, 13 Oct 2015 11:54:27 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp2294853lbq; Tue, 13 Oct 2015 11:54:26 -0700 (PDT) X-Received: by 10.68.227.227 with SMTP id sd3mr42558774pbc.116.1444762466433; Tue, 13 Oct 2015 11:54:26 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id yi1si6901154pbb.246.2015.10.13.11.54.26; Tue, 13 Oct 2015 11:54:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752071AbbJMSyZ (ORCPT + 7 others); Tue, 13 Oct 2015 14:54:25 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:57937 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751771AbbJMSyY (ORCPT ); Tue, 13 Oct 2015 14:54:24 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id t9DIrTbV014513; Tue, 13 Oct 2015 13:53:29 -0500 Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id t9DIrSnA027900; Tue, 13 Oct 2015 13:53:28 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.3.224.2; Tue, 13 Oct 2015 13:53:29 -0500 Received: from ula0868495.am.dhcp.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id t9DIrRtO023887; Tue, 13 Oct 2015 13:53:28 -0500 From: Murali Karicheri To: , , , , , , , , , Subject: [PATCH v3] ARM: dts: keystone: enable accumulator channels Date: Tue, 13 Oct 2015 14:53:31 -0400 Message-ID: <1444762411-854-1-git-send-email-m-karicheri2@ti.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: m-karicheri2@ti.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.181 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Add low priority accumulator channel that can monitor multiple QMSS queues. User for example could use the accumular queue for Netcp Rx completion. While at it, also add an extra line end of each top level node in DTS to make it more readable. Signed-off-by: Murali Karicheri --- - dependent on [PATCH v3} soc: ti: knav_qmss: enable accumulator queue support. Maintainer, please send this to v4.4 next after the above is merged. arch/arm/boot/dts/k2e-netcp.dtsi | 23 +++++++++++++++++++++++ arch/arm/boot/dts/k2hk-netcp.dtsi | 24 ++++++++++++++++++++++++ arch/arm/boot/dts/k2l-netcp.dtsi | 23 +++++++++++++++++++++++ 3 files changed, 70 insertions(+) diff --git a/arch/arm/boot/dts/k2e-netcp.dtsi b/arch/arm/boot/dts/k2e-netcp.dtsi index b13b3c9..ac990f6 100644 --- a/arch/arm/boot/dts/k2e-netcp.dtsi +++ b/arch/arm/boot/dts/k2e-netcp.dtsi @@ -72,7 +72,17 @@ qmss: qmss@2a40000 { qalloc-by-id; }; }; + accumulator { + acc-low-0 { + qrange = <480 32>; + accumulator = <0 47 16 2 50>; + interrupts = <0 226 0xf01>; + multi-queue; + qalloc-by-id; + }; + }; }; + descriptor-regions { #address-cells = <1>; #size-cells = <1>; @@ -83,6 +93,19 @@ qmss: qmss@2a40000 { link-index = <0x4000>; }; }; + + pdsps { + #address-cells = <1>; + #size-cells = <1>; + ranges; + pdsp0@0x2a10000 { + reg = <0x2a10000 0x1000 /*iram */ + 0x2a0f000 0x100 /*reg*/ + 0x2a0c000 0x3c8 /*intd */ + 0x2a20000 0x4000>; /*cmd*/ + id = <0>; + }; + }; }; /* qmss */ knav_dmas: knav_dmas@0 { diff --git a/arch/arm/boot/dts/k2hk-netcp.dtsi b/arch/arm/boot/dts/k2hk-netcp.dtsi index 77a32c3..f86d6dd 100644 --- a/arch/arm/boot/dts/k2hk-netcp.dtsi +++ b/arch/arm/boot/dts/k2hk-netcp.dtsi @@ -47,6 +47,7 @@ qmss: qmss@2a40000 { "region", "push", "pop"; }; }; + queue-pools { qpend { qpend-0 { @@ -88,7 +89,17 @@ qmss: qmss@2a40000 { qalloc-by-id; }; }; + accumulator { + acc-low-0 { + qrange = <480 32>; + accumulator = <0 47 16 2 50>; + interrupts = <0 226 0xf01>; + multi-queue; + qalloc-by-id; + }; + }; }; + descriptor-regions { #address-cells = <1>; #size-cells = <1>; @@ -99,6 +110,19 @@ qmss: qmss@2a40000 { link-index = <0x4000>; }; }; + + pdsps { + #address-cells = <1>; + #size-cells = <1>; + ranges; + pdsp0@0x2a10000 { + reg = <0x2a10000 0x1000 /*iram */ + 0x2a0f000 0x100 /*reg*/ + 0x2a0c000 0x3c8 /*intd */ + 0x2a20000 0x4000>; /*cmd*/ + id = <0>; + }; + }; }; /* qmss */ knav_dmas: knav_dmas@0 { diff --git a/arch/arm/boot/dts/k2l-netcp.dtsi b/arch/arm/boot/dts/k2l-netcp.dtsi index 6b95284..01aef23 100644 --- a/arch/arm/boot/dts/k2l-netcp.dtsi +++ b/arch/arm/boot/dts/k2l-netcp.dtsi @@ -72,7 +72,16 @@ qmss: qmss@2a40000 { qalloc-by-id; }; }; + accumulator { + acc-low-0 { + qrange = <480 32>; + accumulator = <0 47 16 2 50>; + interrupts = <0 226 0xf01>; + multi-queue; + }; + }; }; + descriptor-regions { #address-cells = <1>; #size-cells = <1>; @@ -83,6 +92,20 @@ qmss: qmss@2a40000 { link-index = <0x4000>; }; }; + + pdsps { + #address-cells = <1>; + #size-cells = <1>; + ranges; + pdsp0@0x2a10000 { + reg = <0x2a10000 0x1000 /*iram */ + 0x2a0f000 0x100 /*reg*/ + 0x2a0c000 0x3c8 /*intd */ + 0x2a20000 0x4000>; /*cmd*/ + id = <0>; + }; + }; + }; /* qmss */ knav_dmas: knav_dmas@0 {