From patchwork Fri Sep 4 21:00:58 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Murali Karicheri X-Patchwork-Id: 53147 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f72.google.com (mail-la0-f72.google.com [209.85.215.72]) by patches.linaro.org (Postfix) with ESMTPS id DFFC522E23 for ; Fri, 4 Sep 2015 21:01:42 +0000 (UTC) Received: by lanb10 with SMTP id b10sf10889491lan.3 for ; Fri, 04 Sep 2015 14:01:41 -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=NsrZKdG6Ce38aPiwi6+XsvYVJu+c84RW51ZZIhX1w3s=; b=cK04+kvCx942dJlQkhGnyw2LEmo1GA5P9dyryxsykxyrpp8g6Zn6JdAnOJLORNH30v xtPRwaLIgXWdCMDS5X3R8s8vT2j+6rUv+J9LyPNg5nELvABiIVz/1puJl1wVN85pOX0J Id6BGLQ1K3mpx0fbxE2wqVBWZXUFGgve0+qHbm35uytekAZTY7B06ehn8Iw32Npj2d6s sjjKYBNoQKeaaHoTnv9mo7L1Ml8LyM+FmRA2qcFxHL2BrzAR25nxGZLSYNC4OmRaLB/v zq+VGRNVAMo6RbXVBqGhePpkMiymVXnmuMG9SyBW17TbzPHXuNG6jTX/jQ63tEzWNW0u ZsgQ== X-Gm-Message-State: ALoCoQk2HjUgCc0xDNRd4qGwl2Q2Nc6gj6DcKcfwlL+8kI1hjDSJZGBvyi3Rc0YgaDOqtNNdGnVg X-Received: by 10.195.18.100 with SMTP id gl4mr1573835wjd.4.1441400501832; Fri, 04 Sep 2015 14:01:41 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.21.163 with SMTP id w3ls400018lae.21.gmail; Fri, 04 Sep 2015 14:01:41 -0700 (PDT) X-Received: by 10.152.21.103 with SMTP id u7mr5263396lae.49.1441400501662; Fri, 04 Sep 2015 14:01:41 -0700 (PDT) Received: from mail-la0-f50.google.com (mail-la0-f50.google.com. [209.85.215.50]) by mx.google.com with ESMTPS id 7si3248749lar.137.2015.09.04.14.01.41 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Sep 2015 14:01:41 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.50 as permitted sender) client-ip=209.85.215.50; Received: by laeb10 with SMTP id b10so21335923lae.1 for ; Fri, 04 Sep 2015 14:01:41 -0700 (PDT) X-Received: by 10.112.219.70 with SMTP id pm6mr5231704lbc.41.1441400501221; Fri, 04 Sep 2015 14:01:41 -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.164.42 with SMTP id yn10csp153202lbb; Fri, 4 Sep 2015 14:01:40 -0700 (PDT) X-Received: by 10.66.141.42 with SMTP id rl10mr12466742pab.18.1441400500188; Fri, 04 Sep 2015 14:01:40 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id yr4si6020809pbc.140.2015.09.04.14.01.39; Fri, 04 Sep 2015 14:01:40 -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 S933530AbbIDVBi (ORCPT + 8 others); Fri, 4 Sep 2015 17:01:38 -0400 Received: from arroyo.ext.ti.com ([192.94.94.40]:49784 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751117AbbIDVBh (ORCPT ); Fri, 4 Sep 2015 17:01:37 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id t84L0oss006163; Fri, 4 Sep 2015 16:00:50 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id t84L0o1p031463; Fri, 4 Sep 2015 16:00:50 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.224.2; Fri, 4 Sep 2015 16:00:49 -0500 Received: from ula0868495.am.dhcp.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id t84L0nbX007162; Fri, 4 Sep 2015 16:00:49 -0500 From: Murali Karicheri To: , , , , , , , , , Subject: [PATCH 2/2] ARM: dts: keystone: enable accumulator channels Date: Fri, 4 Sep 2015 17:00:58 -0400 Message-ID: <1441400458-14040-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.215.50 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 --- arch/arm/boot/dts/k2e-netcp.dtsi | 24 ++++++++++++++++++++++++ arch/arm/boot/dts/k2hk-netcp.dtsi | 25 +++++++++++++++++++++++++ arch/arm/boot/dts/k2l-netcp.dtsi | 24 ++++++++++++++++++++++++ 3 files changed, 73 insertions(+) diff --git a/arch/arm/boot/dts/k2e-netcp.dtsi b/arch/arm/boot/dts/k2e-netcp.dtsi index b13b3c9..1818929 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,20 @@ qmss: qmss@2a40000 { link-index = <0x4000>; }; }; + + pdsps { + #address-cells = <1>; + #size-cells = <1>; + ranges; + pdsp0@0x2a10000 { + firmware = "ks2_qmss_pdsp_acc48_k2_le_1_0_0_9.bin"; + 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..b9941b4 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,20 @@ qmss: qmss@2a40000 { link-index = <0x4000>; }; }; + + pdsps { + #address-cells = <1>; + #size-cells = <1>; + ranges; + pdsp0@0x2a10000 { + firmware = "ks2_qmss_pdsp_acc48_k2_le_1_0_0_9.bin"; + 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..8d7ddb3 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,21 @@ qmss: qmss@2a40000 { link-index = <0x4000>; }; }; + + pdsps { + #address-cells = <1>; + #size-cells = <1>; + ranges; + pdsp0@0x2a10000 { + firmware = "ks2_qmss_pdsp_acc48_k2_le_1_0_0_9.bin"; + reg = <0x2a10000 0x1000 /*iram */ + 0x2a0f000 0x100 /*reg*/ + 0x2a0c000 0x3c8 /*intd */ + 0x2a20000 0x4000>; /*cmd*/ + id = <0>; + }; + }; + }; /* qmss */ knav_dmas: knav_dmas@0 {