From patchwork Tue Oct 13 18:45:41 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Murali Karicheri X-Patchwork-Id: 54865 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 0062023001 for ; Tue, 13 Oct 2015 18:47:05 +0000 (UTC) Received: by wicgb1 with SMTP id gb1sf15017686wic.3 for ; Tue, 13 Oct 2015 11:47:04 -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=o/qwNHXBE/Wb6x61I7JrwIBwdhxmVVC1bJ+bx2FjRIE=; b=DlvHpMq0USiF8pUTHI81Ka1BOPSSiEWWoNAGnI2IwkELuPj7qNXi97P/APFDpyhXON qXRNyjMpUU0ANXZznKpWSSdessUNPLDexUqjfqnMv9/Wwk5aCA9r0BDro/pkuHm2KngN 91+MmHq2y4/nrRlr4V+9g68hQCQ8X2kWfnA5agqL9mcM/VJyKbel9lLROd0roWTLzQxz NSQftbHdTGp9r5HknATusma2vDQKXpBaWYoi8VtiRunWBVAmJ1gbjYlEWJoBzsr4eudX xmhgOzmq5nzzWMPg8gvxY5d55eWctfNnlwV8SKd4FodetmPHI26WTMFG7IdS2TzG2B6A NUuQ== X-Gm-Message-State: ALoCoQmqG0eFMUcHwbhhP9aJTv94exu3ahU9jlAiCKB+1WLATHUgxhQM/mZb84y7uqQVyGUC8foD X-Received: by 10.180.189.49 with SMTP id gf17mr4570885wic.6.1444762024341; Tue, 13 Oct 2015 11:47:04 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.44.12 with SMTP id s12ls679379lfs.90.gmail; Tue, 13 Oct 2015 11:47:04 -0700 (PDT) X-Received: by 10.25.23.99 with SMTP id n96mr5209739lfi.52.1444762024155; Tue, 13 Oct 2015 11:47:04 -0700 (PDT) Received: from mail-lb0-f171.google.com (mail-lb0-f171.google.com. [209.85.217.171]) by mx.google.com with ESMTPS id c3si2991146lfc.113.2015.10.13.11.47.04 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Oct 2015 11:47:04 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.171 as permitted sender) client-ip=209.85.217.171; Received: by lbbpp2 with SMTP id pp2so1241205lbb.0 for ; Tue, 13 Oct 2015 11:47:04 -0700 (PDT) X-Received: by 10.112.168.228 with SMTP id zz4mr16039186lbb.73.1444762024024; Tue, 13 Oct 2015 11:47:04 -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 w3csp2291895lbq; Tue, 13 Oct 2015 11:47:02 -0700 (PDT) X-Received: by 10.68.131.6 with SMTP id oi6mr42212740pbb.3.1444762022736; Tue, 13 Oct 2015 11:47:02 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id rt6si6929894pab.69.2015.10.13.11.47.02; Tue, 13 Oct 2015 11:47:02 -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; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752138AbbJMSrA (ORCPT + 30 others); Tue, 13 Oct 2015 14:47:00 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:57656 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750926AbbJMSqs (ORCPT ); Tue, 13 Oct 2015 14:46:48 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id t9DIjfvD013875; Tue, 13 Oct 2015 13:45:41 -0500 Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id t9DIjfQJ010121; Tue, 13 Oct 2015 13:45:41 -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:45:41 -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 t9DIjdjE006981; Tue, 13 Oct 2015 13:45:40 -0500 From: Murali Karicheri To: , , , , , , , , , , , , Subject: [PATCH v3 1/3] Documentation: dt: soc: Add description for knav qmss driver Date: Tue, 13 Oct 2015 14:45:41 -0400 Message-ID: <1444761943-726-2-git-send-email-m-karicheri2@ti.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1444761943-726-1-git-send-email-m-karicheri2@ti.com> References: <1444761943-726-1-git-send-email-m-karicheri2@ti.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@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.171 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 documentation for knav qmss driver. Signed-off-by: Murali Karicheri Acked-by: Arnd Bergmann --- v3: not removed description from DT document Documentation/arm/keystone/knav-qmss.txt | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/arm/keystone/knav-qmss.txt diff --git a/Documentation/arm/keystone/knav-qmss.txt b/Documentation/arm/keystone/knav-qmss.txt new file mode 100644 index 0000000..79946d1 --- /dev/null +++ b/Documentation/arm/keystone/knav-qmss.txt @@ -0,0 +1,24 @@ +* Texas Instruments Keystone Navigator Queue Management SubSystem driver + +Driver source code path + drivers/soc/ti/knav_qmss.c + drivers/soc/ti/knav_qmss_acc.c + +The QMSS (Queue Manager Sub System) found on Keystone SOCs is one of +the main hardware sub system which forms the backbone of the Keystone +multi-core Navigator. QMSS consist of queue managers, packed-data structure +processors(PDSP), linking RAM, descriptor pools and infrastructure +Packet DMA. +The Queue Manager is a hardware module that is responsible for accelerating +management of the packet queues. Packets are queued/de-queued by writing or +reading descriptor address to a particular memory mapped location. The PDSPs +perform QMSS related functions like accumulation, QoS, or event management. +Linking RAM registers are used to link the descriptors which are stored in +descriptor RAM. Descriptor RAM is configurable as internal or external memory. +The QMSS driver manages the PDSP setups, linking RAM regions, +queue pool management (allocation, push, pop and notify) and descriptor +pool management. + +knav qmss driver provides a set of APIs to drivers to open/close qmss queues, +allocate descriptor pools, map the descriptors, push/pop to queues etc. For +details of the available APIs, please refers to include/linux/soc/ti/knav_qmss.h