Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752078AbeAPNUK (ORCPT + 1 other); Tue, 16 Jan 2018 08:20:10 -0500 Received: from mail-sn1nam02on0077.outbound.protection.outlook.com ([104.47.36.77]:55982 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751433AbeAPNUG (ORCPT ); Tue, 16 Jan 2018 08:20:06 -0500 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; lists.infradead.org; dkim=none (message not signed) header.d=none;lists.infradead.org; dmarc=fail action=none header.from=nxp.com; From: Bogdan Purcareata To: , , CC: , , , , , , , , , , , , , Subject: [PATCH 7/8] staging: fsl-mc: README cleanup Date: Tue, 16 Jan 2018 15:19:09 +0200 Message-ID: <1516108750-24938-8-git-send-email-bogdan.purcareata@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516108750-24938-1-git-send-email-bogdan.purcareata@nxp.com> References: <1516108750-24938-1-git-send-email-bogdan.purcareata@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131605824038313239;(91ab9b29-cfa4-454e-5278-08d120cd25b8);() X-Forefront-Antispam-Report: CIP:192.88.168.50;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(346002)(39380400002)(396003)(39860400002)(376002)(2980300002)(1109001)(1110001)(339900001)(199004)(189003)(50466002)(97736004)(77096006)(2950100002)(104016004)(48376002)(36756003)(54906003)(305945005)(53936002)(110136005)(2906002)(6666003)(2201001)(6636002)(49486002)(4326008)(85426001)(5660300001)(86362001)(7416002)(39060400002)(8656006)(316002)(51416003)(105606002)(50226002)(8676002)(47776003)(498600001)(76176011)(356003)(106466001)(16586007)(81166006)(68736007)(81156014)(8936002)(26005);DIR:OUT;SFP:1101;SCL:1;SRVR:CY1PR03MB2362;H:tx30smr01.am.freescale.net;FPR:;SPF:Fail;PTR:InfoDomainNonexistent;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BN1BFFO11FD013;1:syNXjpZyG1u9xhej43gWKsE7/phmEFoTntm5m4zn4uY8ZauIgxR0c1CW/l3H/u8owNtG00cY6+BGmJY+nge6rma2oJXdDSPhXl5A6i1XquJ1+tG+sOhOwaCkGO6hYEJW MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 86bb545a-7244-4828-1d17-08d55ce3daa4 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(5600026)(4604075)(2017052603307);SRVR:CY1PR03MB2362; X-Microsoft-Exchange-Diagnostics: 1;CY1PR03MB2362;3:q6VTqccqR7JJGZPwgJ6a4ulwJWIxaq4PDqmFQTLs0HjriuCRVbey5vQav/L92dOccKQEdsAtqBgQvMlqpkjTG7Iz711CoYJC6ofOf2GQau3g2pSniV9OXApsnVypRUFFegWs6TsdwoAZGarFxIMbRB9MgSWkXDDi5Z/qGUrz4R9WhxQlC2edjX5p8yRxY50dkqNPFwIFWVB4tJ7O2pdEFg67wb+O8Nzxc9Gn4J69hs+7d4xzYUzIH5mDS7Q+Skdt7FYLUvR6W2dWlRism0g6meu4FAT7UbuXuLIcsSdrgti6SLO+3n+TGmGOcn4iCIbtzJjVzgfDbP+MxNLn9TNkNi4hrzTDGieUYAVS80Or97U=;25:GlpnG3fcR84XweYCqyGt1gxomnGVMXlgODYv1AeOJQd1AhMQvaB97+pU1mjVUq/zceMHRxGHiFzVkVN5OgxUBLlFZXpq7Ly3zdWSewdgjeKYXma40T1+XZPICpso2SaheNtLX7+1OwKmwxBOqGHRM7lkqLcRjtH/5+75QRWJUKeaHJyovXwGUokhyvZIODYz5TEYEAgt816p6ygb/yp8QrsSjxs9ipV2ZNtDHkIlYIg8J6CToSVAWw/lFom+0JE4BfihpwAcZixm2Cu9N6kyulTleqsfVNs24Ge59mB9DB2W8JH+2TYtUmeT3nLRIQwUUJ6zk8DApH4qDd2vy6mn8w== X-MS-TrafficTypeDiagnostic: CY1PR03MB2362: X-Microsoft-Exchange-Diagnostics: 1;CY1PR03MB2362;31:QgRWyUKRmWEwQohHfv64522hL4OCI58ivDlZaztjvr+E/bandt4JU0IY5TUp2aYFHawdA7pNeu1zX3OIjPcOn3s4AuqGRWZXulaPT4pNOvvtpAA0oHOTa3xr39BDedxhhmaZU2wkcprXhfKMpEmvbpkyyO5TIZ+MskNHBs6mevGbfuFhau/EAjT3dLSMG14sWwGaKATcW2UtNlh2ePh1sizxUbiVm4pI23BnpegnoJE=;4:PQHi27lyW9CFY4/luT/5JlHd2fuWGH6H51YLC+6ypkGrhtct/0Fssdm6KZ/kNiDQJ4JEYp0gs5j2Rvnpje+vyTXJSVQiRydARuqzmz8nRFDsiX22R2MMDG+s6xBiGy3LpSDJRRfSFU8EbayIKP/VfcOE8lRYlgPgcYRezdmCaZocl3mhAXkLatwwZIjjNxky+Lk5DiaptKesDUogUOzfEDoWscnMn2tEunswLaDepHKhbOyTE+qeO+aWx3ymPkQ9LhJIRKbWQgd8jIym5quv9kO+wzubUTO10upCGKcjail+4yiRl9sG6JJl6iYexpKxO15bwTruqk9gNb8QHZSOdGvsYvZXwlhjbot9gb6Ez4UyUHp0BtHt70JebawRnGpZ X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(227817650892897)(21532816269658); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6095135)(2401047)(8121501046)(5005006)(3231023)(944501161)(10201501046)(93006095)(93001095)(3002001)(6055026)(6096035)(20161123565025)(20161123561025)(201703131430075)(201703131433075)(201703131448075)(201703151042153)(20161123556025)(20161123563025)(20161123559100)(201708071742011);SRVR:CY1PR03MB2362;BCL:0;PCL:0;RULEID:(100000803101)(100110400095)(400006);SRVR:CY1PR03MB2362; X-Forefront-PRVS: 0554B1F54F X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CY1PR03MB2362;23:GMPVnr110dd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9sVnVfR3UBo8myg42rWh0TChlAemCZo7pAs3VpfjuvDPw+pIZH2ImYwiJwxtgCcgXvmbQzyO+Vg8+u6CpmEVzN3ckRpzIVW4ua9LNR718++xQh/xOyq5p5jyouwaDhzHXadW8QHiVQa7O+ELE1ZOvNeMF2HamnptMApScfrEIZydW/61njXIvkczHdQBgykVvxe0+ecvhLzirlDByRTShTSnPOX7zDi/phzANx7DYCfD SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Jan 2018 13:20:03.5037 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 86bb545a-7244-4828-1d17-08d55ce3daa4 X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e;Ip=[192.88.168.50];Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR03MB2362 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: From: Ioana Radulescu Minor cosmetic changes to the DPAA2 overview documentation file. Add a reference to the mc-bus driver sysfs documentation. Signed-off-by: Ioana Radulescu Reviewed-by: Laurentiu Tudor --- drivers/staging/fsl-mc/README.txt | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/drivers/staging/fsl-mc/README.txt b/drivers/staging/fsl-mc/README.txt index 524eda1..0ea5cd7 100644 --- a/drivers/staging/fsl-mc/README.txt +++ b/drivers/staging/fsl-mc/README.txt @@ -1,7 +1,7 @@ Copyright (C) 2015 Freescale Semiconductor Inc. -DPAA2 (Data Path Acceleration Architecture Gen2) ------------------------------------------------- +DPAA2 (Data Path Acceleration Architecture Gen2) Overview +--------------------------------------------------------- This document provides an overview of the Freescale DPAA2 architecture and how it is integrated into the Linux kernel. @@ -17,8 +17,8 @@ Contents summary -Ethernet -MAC -DPAA2 Overview --------------- +Introduction +------------ DPAA2 is a hardware architecture designed for high-speeed network packet processing. DPAA2 consists of sophisticated mechanisms for @@ -35,7 +35,7 @@ network ports to create functional objects/devices such as network interfaces, an L2 switch, or accelerator instances. The MC provides memory-mapped I/O command interfaces (MC portals) -which DPAA2 software drivers use to operate on DPAA2 objects: +which DPAA2 software drivers use to operate on DPAA2 objects. The diagram below shows an overview of the DPAA2 resource management architecture: @@ -130,8 +130,7 @@ in creating a network interfaces. level. DPRCs can be defined statically and populated with objects - via a config file passed to the MC when firmware starts - it. + via a config file passed to the MC when firmware starts it. -DPAA2 Objects for an Ethernet Network Interface @@ -217,8 +216,8 @@ in creating a network interfaces. -IRQs: command completion -commands: IRQ config, enable, reset - Object Connections - ------------------ +Object Connections +------------------ Some objects have explicit relationships that must be configured: @@ -242,8 +241,8 @@ in creating a network interfaces. Ethernet driver configures the DPBPs associated with the network interface. - Interrupts - ---------- +Interrupts +---------- All interrupts generated by DPAA2 objects are message interrupts. At the hardware level message interrupts generated by devices will normally have 3 components-- @@ -255,8 +254,8 @@ in creating a network interfaces. For ARM-based SoC this is the same as the stream ID. -DPAA2 Linux Driver Overview ---------------------------- +DPAA2 Linux Drivers Overview +---------------------------- This section provides an overview of the Linux kernel drivers for DPAA2-- 1) the bus driver and associated "DPAA2 infrastructure" @@ -291,7 +290,7 @@ of each driver follows. +----+--------------+ | +--+---+ | MC-bus driver | | | PHY | | | | |driver| - | /soc/fsl-mc | | +--+---+ + | /bus/fsl-mc | | +--+---+ +-------------------+ | | | | ================================ HARDWARE =========|=================|====== @@ -322,6 +321,8 @@ A brief description of each driver is provided below. a bind of the root DPRC to the DPRC driver The binding for the MC-bus device-tree node can be consulted here: Documentation/devicetree/bindings/misc/fsl,qoriq-mc.txt + The sysfs bind/unbind interfaces for the MC-bus can be consulted here: + Documentation/ABI/testing/sysfs-bus-fsl-mc* DPRC driver ----------- @@ -366,8 +367,8 @@ A brief description of each driver is provided below. active in the kernel-- Ethernet, crypto, compression, etc. - Ethernet - -------- + Ethernet driver + --------------- The Ethernet driver is bound to a DPNI and implements the kernel interfaces needed to connect the DPAA2 network interface to the network stack. -- 2.7.4