From patchwork Fri Sep 4 21:46:39 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Murali Karicheri X-Patchwork-Id: 53148 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f71.google.com (mail-la0-f71.google.com [209.85.215.71]) by patches.linaro.org (Postfix) with ESMTPS id A3CE72159E for ; Fri, 4 Sep 2015 21:47:49 +0000 (UTC) Received: by lagj9 with SMTP id j9sf11745395lag.0 for ; Fri, 04 Sep 2015 14:47:48 -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 :in-reply-to:references: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=LMMZRNOr61KxFNfBLzl1mPnf4zcAoMSuYQ9FIFNyucM=; b=DWznDIiEDtJVpaDJ0dN02jFSDXlRmUCoJAl4yAmzfTyLUGLktM5aQByr88AYSyJHmg jTSMSfjePyQDczP8b8GwpxeLii5gw68dn+yhkHSDfHi1XBO0FvmMJ5PCl92IMwi1nn2Q lczb/n+n1mTStjiyX1Uq7kum5aHj1hUgiIXSJVNjZheiyNuZ7XEXW0ZbQSmKuWmqchOy TLXkx8v1fHgsQwnh5hJk94S91jHppc8TxyNEb5rcD9yh9bTCXCuoDDdE6gHYwNQz6CcM DRtjcYekDDob4HOUnu/J5TXKHINND0Zxz5YFzgYYpI4H1c8z/GF47SHVWu8xuknLYlgN jkvg== X-Gm-Message-State: ALoCoQkZIqC4IQcF/lHKoW4/ta1xmR0tI5y8nB8N+i+JZ+BNsZcMkIDWFWNe8GK2lSUDl66YDjFl X-Received: by 10.152.29.36 with SMTP id g4mr1616359lah.3.1441403268340; Fri, 04 Sep 2015 14:47:48 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.5.39 with SMTP id p7ls371018lap.104.gmail; Fri, 04 Sep 2015 14:47:48 -0700 (PDT) X-Received: by 10.112.25.69 with SMTP id a5mr5515741lbg.16.1441403268181; Fri, 04 Sep 2015 14:47:48 -0700 (PDT) Received: from mail-lb0-f174.google.com (mail-lb0-f174.google.com. [209.85.217.174]) by mx.google.com with ESMTPS id n5si3368768lbl.45.2015.09.04.14.47.48 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Sep 2015 14:47:48 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.174 as permitted sender) client-ip=209.85.217.174; Received: by lbpo4 with SMTP id o4so18085843lbp.2 for ; Fri, 04 Sep 2015 14:47:48 -0700 (PDT) X-Received: by 10.112.219.70 with SMTP id pm6mr5385738lbc.41.1441403268079; Fri, 04 Sep 2015 14:47:48 -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 yn10csp169589lbb; Fri, 4 Sep 2015 14:47:47 -0700 (PDT) X-Received: by 10.66.63.99 with SMTP id f3mr13040723pas.6.1441403266971; Fri, 04 Sep 2015 14:47:46 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w13si6231936pdj.25.2015.09.04.14.47.46; Fri, 04 Sep 2015 14:47:46 -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 S933877AbbIDVrp (ORCPT + 8 others); Fri, 4 Sep 2015 17:47:45 -0400 Received: from arroyo.ext.ti.com ([192.94.94.40]:50960 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933638AbbIDVro (ORCPT ); Fri, 4 Sep 2015 17:47:44 -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 t84LkWig031284; Fri, 4 Sep 2015 16:46:32 -0500 Received: from DLEE70.ent.ti.com (dlee70.ent.ti.com [157.170.170.113]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id t84LkWLE017207; Fri, 4 Sep 2015 16:46:32 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.3.224.2; Fri, 4 Sep 2015 16:46:31 -0500 Received: from ula0868495.am.dhcp.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id t84LkVKt018457; Fri, 4 Sep 2015 16:46:32 -0500 From: Murali Karicheri To: , , , , , , , , , Subject: [PATCH v1 2/2] ARM: dts: keystone: enable accumulator channels Date: Fri, 4 Sep 2015 17:46:39 -0400 Message-ID: <1441403199-10936-2-git-send-email-m-karicheri2@ti.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1441403199-10936-1-git-send-email-m-karicheri2@ti.com> References: <1441403199-10936-1-git-send-email-m-karicheri2@ti.com> 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.174 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 --- v1 - No change from initial version 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 {