Received: by 10.213.65.68 with SMTP id h4csp1669056imn; Mon, 26 Mar 2018 12:07:31 -0700 (PDT) X-Google-Smtp-Source: AG47ELua870juKrKOUDis9ueJpgaQ4dQgokVi21QI8gXiKwCHbA/xJ7hk9LJU9eee1R2gzzKu+C8 X-Received: by 10.98.110.71 with SMTP id j68mr33771216pfc.93.1522091251338; Mon, 26 Mar 2018 12:07:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522091251; cv=none; d=google.com; s=arc-20160816; b=d9cgBRW6TheqptZ9WSfZoeRU/CSsVjR5FW2q3HcUi3/DRpIBwhb6yMF2ShVeP5/9h5 gM4reD8+o+2mBTfRPQgoBvNRT83fMm0IwqEctS4kkha1rVAGTCB7e3q5T58Z5lbn5RFn BcdgHVHC836K87za/c0w0J45vavKG2C2hPo85sX2vvNS1Vy88JYxo/iSnhpoZizC2+Pj 8id+kqqjVYwGWwvGVfV1Nh55PtYAAgcL28wF5RCbIQcgQFFA9LR9GuvSO0FCdIGfDZh3 xOXEEmB5ots2IW9JD8zg0Pbtq+t41ivtuoVRYng4yh27HF46aFXzHJJPOpO5qhoAMrS8 YTHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:reply-to:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=qQKjt/dRPtzXp8PSNI+2//ZDI5QglylNU+Ri1+qFE4M=; b=brDMFn/+8NB4Ajj9p9BVdVs/wzsRefw18adPq625WwJQi+vmmReCpUuqJ5ZYeGgUS8 +QpgeQs6DJo2AkR9QSfjnr+aaUXQkChz0Th0ZtB2LCfDlPhjdDGoPywNxu1n2q9G/AJm FMxipYZn0cjgAaKc7ETQ5uPf4MX6dwnOoTEHNYaneL3ICeberHNkTsY36/cnq3agmEAx Q7kD4E5mf5AonMoQ+xXJFbVYegRwfjb8zbTOn6fq6Y2vIQcdV73Se/sf8EqICPxJwN91 l+NdKk++sifjQbId3BcxcK+HbPa7GSwt5EY5hs94S0i8A1eETpNYtWQmrPfK3xjo5+H3 1jZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=uMKrNbNS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y72-v6si15882104plh.72.2018.03.26.12.07.16; Mon, 26 Mar 2018 12:07:31 -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; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=uMKrNbNS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752199AbeCZTGL (ORCPT + 99 others); Mon, 26 Mar 2018 15:06:11 -0400 Received: from mail-db5eur01on0089.outbound.protection.outlook.com ([104.47.2.89]:18289 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751903AbeCZTGG (ORCPT ); Mon, 26 Mar 2018 15:06:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=qQKjt/dRPtzXp8PSNI+2//ZDI5QglylNU+Ri1+qFE4M=; b=uMKrNbNSf0nIcJrVguuAiv1OlLJ2FtNxmVizn0HJqg3yfzERhbt1KnRf1PegfhGBdRMZ0bQGVHzlzNs8fkTYD39LvR6tp5RPnqAhnBjKiy7fY0v69ePazlUthJa8DsAPMMYR0Ph1yB2hG71KrCnKUqaOpd1KOzK0DZK47Myjk/Y= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=roy.pledge@nxp.com; Received: from otc-sw1.am.freescale.net (192.88.168.1) by AM5PR04MB2993.eurprd04.prod.outlook.com (2603:10a6:206:a::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.609.10; Mon, 26 Mar 2018 19:06:01 +0000 From: Roy Pledge To: devel@driverdev.osuosl.org, linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org, ruxandra.radulescu@nxp.com, arnd@arndb.de, gregkh@linuxfoundation.org, leoyang.li@nxp.com, laurentiu.tudor@nxp.com, stuyoder@gmail.com, catalin.marinas@arm.com, horia.geanta@nxp.com, Roy Pledge Subject: [PATCH v3 3/4] staging:fsl-mc: Move DPIO from staging to drivers/soc/fsl Date: Mon, 26 Mar 2018 15:05:33 -0400 Message-Id: <1522091134-24646-4-git-send-email-roy.pledge@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1522091134-24646-1-git-send-email-roy.pledge@nxp.com> References: <1522091134-24646-1-git-send-email-roy.pledge@nxp.com> Reply-to: roy.pledge@nxp.com MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [192.88.168.1] X-ClientProxiedBy: DM5PR1501CA0025.namprd15.prod.outlook.com (2603:10b6:4:9d::38) To AM5PR04MB2993.eurprd04.prod.outlook.com (2603:10a6:206:a::25) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: e3b69e98-6ac1-4f08-67be-08d5934c9f3f X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020);SRVR:AM5PR04MB2993; X-Microsoft-Exchange-Diagnostics: 1;AM5PR04MB2993;3:uqP8SAygJTr9P+IUm3YxTjTCDXX0Tgyyo3tI6hfcRkACaNMKS8wDu1AmwDRIwb8p+Uccac3pbaTe9Fir+QP5ijCcf+8S5ZJHoTjGp+eDDNwshLBC7qmMFXXW6vohW89zgqOPTkYhh2ftMLSnFQEEOhvF0HX+S8HUp4GoX9TE3pbterkqmhQAwOFOOIvLK0It2auJgXd9FFBhSaDA9u2j5LxobNNC0efDI3agg27azTdTWDe74texx+LExAWsssTC;25:SodqYpuHc5DSrpC2Mz+eLH+mWJWNvnzV0pA+8uldM/1VID+oar32M6ZT08gnzaqcS1pvplzUuqsCniTIKjKgoaztA4IgqPfxm2aGMjnDpVSKTbRPehAg8OlPxvXO2qnYccHRCj0V/gMZARXapv70DxK8VRKZolnlb1y0CLKpbA8O9XF6klzzcsCxMqE+lAHx7BWTpHOH25ikG96onwAIRxLyUcoCC6BQcR1m3f9m1cuVIviJ7oj6WqzpLbJIYdzy54+ZpmuZ/dmWqemJWD7KvUAPyz/zLbPHSujJd+i/qytY+xO10ctILOsV9pCPbRgG4XfgPDp5LhEn5Q2idEHV1Q==;31:vz1u5cjzPW/UUg4d0KcggSzmOgNjbGqe5v/WDU+VGlxdHIINFpWcRLyjmQDuheKW/WVLIyOLGD0FpjDcygR0fwXJdWhUJ5/WI+yu3mmSy048SlvmbQJK/mR85+5v7HpWNNV6/hTxo7Ie7XD+tYl8F4U6drneyc9LoEHxuSFr9bh1Eu5wSVPHd1hleRJV2P+apavaPeKufgkiZByENaBaSTSz+EAPRc9WaYbFJCOIN74= X-MS-TrafficTypeDiagnostic: AM5PR04MB2993: X-Microsoft-Exchange-Diagnostics: 1;AM5PR04MB2993;20:nvRgoNkd8a/qfxCpjUfkwoYri7vuqgMLyeb3eubHMJPNcDi88OtB05qeuj3VloQznJrMDbhgJbtuHPtdlHTdXBdHOrqeDOzg8XTmszsLFF1y7awE2xNPzrjCUNVe+Cy0mwlgG+4kCAo76E0QtPjHqVxxDca1phaqdcGKcoLOYym2c/T7pu4R1B/erefdlfEcYeRKHNAnE0rZRpLg0jJ18zbfrHF4x+MOThf7HmnjDBSAy0WnAqSckfpFaSmyGBi39+LT5UwkR82r3OOi2uRwQX7fueFPlJc+UTc1ct7aXvqtyAxCRwwHh7cyhMmejQWlupl/v7ULHqo20dk8HG1Co8H9BY9n+FR+KhzKgJUGGtvBWvVpMkJzFvQ9zUEJW5ZU0yGH91CvSQ8sRd/LCMPMgljrQAtj7reOqkl//s3MjTEVbf4VobyyfXFYOQiyQxKlrURjQ7E2h5Cw2eXQI4YYSdZgp/x9HlQVgYayj+RiGtxM3jZGbS40jwvYOI3CyKPx;4:QYs2pcATFLLgYBp0xJrajwUvYKQgxZoj9bod8rYjqN0eWqpua53JN0hGM/tGh8a/Az94KzRuoD0TQV+Rr5edMWNc2RyXESUWdPsFn6H1I3NLmAsklufV9OkfEXRy8+nQPfEm88rXvz5zzMEkaKhHKakLOvLboYa88GDT9Qf9J9BnoNuSSnWGd7iHTdjmWK2wX7iP5KD1hUSkFin50uI1MM4mfvtAi7xTy2dMjXOBJE09V1LgypXOj7Zsc4uGEe9Tv7BpW5pbQNsp9CZ6XWwGFBB1tTov+pmNTUpKTk5wkIW+q3tp4mQx/5NHpqV0kLcWaos2kZXCsAuK9fsbNt6YBP5bF6bygYiggGMugDtR0qmO4RVPRt404nVo+LyyYYEf X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(9452136761055)(35073007944872)(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(10201501046)(3231221)(944501327)(52105095)(93006095)(93001095)(6055026)(6041310)(20161123562045)(20161123558120)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(6072148)(201708071742011);SRVR:AM5PR04MB2993;BCL:0;PCL:0;RULEID:;SRVR:AM5PR04MB2993; X-Forefront-PRVS: 06237E4555 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(366004)(39860400002)(39380400002)(376002)(396003)(346002)(189003)(199004)(106356001)(66066001)(478600001)(47776003)(6116002)(3846002)(2906002)(186003)(16526019)(26005)(68736007)(51416003)(59450400001)(76176011)(86362001)(6666003)(36756003)(43066004)(25786009)(6506007)(305945005)(386003)(7736002)(316002)(50466002)(16586007)(105586002)(39060400002)(5660300001)(97736004)(6512007)(3450700001)(956004)(8936002)(8676002)(53936002)(2616005)(11346002)(446003)(4326008)(48376002)(6486002)(81156014)(81166006)(52116002)(50226002)(476003)(486005)(486005);DIR:OUT;SFP:1101;SCL:1;SRVR:AM5PR04MB2993;H:otc-sw1.am.freescale.net;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;AM5PR04MB2993;23:HSK1B6e1PfVIdR2LIcdishoOqVQ3wUGxX4mZ1SqAA?= =?us-ascii?Q?9jBgHvK5PE2CWRruhj8SmoC9U1SHEnkhR66QL7i7BFUorUXnttJgEu7KpjTl?= =?us-ascii?Q?hDzzMERm03ajP5RqwKORB4XBh8JxFiaJkpXTl2MAw1peE7/xIhJhAsapCq7b?= =?us-ascii?Q?dVoKDPTjD9dlM/rr0Yv1YYTQBG5fHV1Ufz/O1vhFqpjMMtSn0WzENSE1WKcO?= =?us-ascii?Q?iT+GehweRF08DoS1zMYJ8BE+ICdcagwN+dfXHAT7COXlaMw4MlBxSGIOcR9S?= =?us-ascii?Q?0XI4RxDulSFo+ZJ/k/OuG+qx68ZQh0UmgNBmZxZv2WeVIgNLTslHm9LKE/BI?= =?us-ascii?Q?lgCEYytV5Dqv0FA5GXyDT+mMbLvyDncDbKSzVp1a0w+bVMJWbXZErfoxR5R4?= =?us-ascii?Q?CT+myM4NFpQVF8Dl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2993;7:IZfXAEC1vSY5J80DpVFlQ8CPf/Bs/m6iTdsgkWt4vj3NeAPGv6KME95hlzOGcutK6pLKWOwdwe+ddHcWeHZ1mIEHpRkdoi72uew0PieHu9v0WwqUm0OCTAY6pbZL0xnOKYfq/YLHClPdd9vvl5F9UdHi4NM6bgR7T4vZ80WXy0C7S3hB4j+1f1U9zKOmFuJUVVmR+BjAZ0yUVnidKDzjGpCYIlCfpjNoDUjxq50Fxx1fiScPuUhgyrdw55FuwqAB X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Mar 2018 19:06:01.4514 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e3b69e98-6ac1-4f08-67be-08d5934c9f3f X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR04MB2993 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Move the NXP DPIO (Datapath I/O Driver) out of the drivers/staging directory and into the drivers/soc/fsl directory. The DPIO driver enables access to Queue and Buffer Manager (QBMAN) hardware on NXP DPAA2 devices. This is a prerequisite to moving the DPAA2 Ethernet driver out of staging. Signed-off-by: Roy Pledge --- MAINTAINERS | 2 +- drivers/crypto/caam/sg_sw_qm2.h | 2 +- drivers/crypto/caam/sg_sw_sec4.h | 2 +- drivers/soc/fsl/Kconfig | 10 ++++++++++ drivers/soc/fsl/Makefile | 1 + drivers/{staging/fsl-mc/bus => soc/fsl}/dpio/Makefile | 0 drivers/{staging/fsl-mc/bus => soc/fsl}/dpio/dpio-cmd.h | 0 drivers/{staging/fsl-mc/bus => soc/fsl}/dpio/dpio-driver.c | 2 +- drivers/{staging/fsl-mc/bus => soc/fsl}/dpio/dpio-driver.txt | 0 drivers/{staging/fsl-mc/bus => soc/fsl}/dpio/dpio-service.c | 2 +- drivers/{staging/fsl-mc/bus => soc/fsl}/dpio/dpio.c | 0 drivers/{staging/fsl-mc/bus => soc/fsl}/dpio/dpio.h | 0 drivers/{staging/fsl-mc/bus => soc/fsl}/dpio/qbman-portal.c | 2 +- drivers/{staging/fsl-mc/bus => soc/fsl}/dpio/qbman-portal.h | 2 +- drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h | 4 ++-- drivers/staging/fsl-mc/bus/Kconfig | 9 --------- drivers/staging/fsl-mc/bus/Makefile | 2 -- {drivers/staging/fsl-mc/include => include/soc/fsl}/dpaa2-fd.h | 0 .../staging/fsl-mc/include => include/soc/fsl}/dpaa2-global.h | 0 {drivers/staging/fsl-mc/include => include/soc/fsl}/dpaa2-io.h | 0 20 files changed, 20 insertions(+), 20 deletions(-) rename drivers/{staging/fsl-mc/bus => soc/fsl}/dpio/Makefile (100%) rename drivers/{staging/fsl-mc/bus => soc/fsl}/dpio/dpio-cmd.h (100%) rename drivers/{staging/fsl-mc/bus => soc/fsl}/dpio/dpio-driver.c (99%) rename drivers/{staging/fsl-mc/bus => soc/fsl}/dpio/dpio-driver.txt (100%) rename drivers/{staging/fsl-mc/bus => soc/fsl}/dpio/dpio-service.c (99%) rename drivers/{staging/fsl-mc/bus => soc/fsl}/dpio/dpio.c (100%) rename drivers/{staging/fsl-mc/bus => soc/fsl}/dpio/dpio.h (100%) rename drivers/{staging/fsl-mc/bus => soc/fsl}/dpio/qbman-portal.c (99%) rename drivers/{staging/fsl-mc/bus => soc/fsl}/dpio/qbman-portal.h (99%) rename {drivers/staging/fsl-mc/include => include/soc/fsl}/dpaa2-fd.h (100%) rename {drivers/staging/fsl-mc/include => include/soc/fsl}/dpaa2-global.h (100%) rename {drivers/staging/fsl-mc/include => include/soc/fsl}/dpaa2-io.h (100%) diff --git a/MAINTAINERS b/MAINTAINERS index dc74106..e2f234c 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4375,7 +4375,7 @@ DPAA2 DATAPATH I/O (DPIO) DRIVER M: Roy Pledge L: linux-kernel@vger.kernel.org S: Maintained -F: drivers/staging/fsl-mc/bus/dpio +F: drivers/soc/fsl/dpio DPAA2 ETHERNET DRIVER M: Ioana Radulescu diff --git a/drivers/crypto/caam/sg_sw_qm2.h b/drivers/crypto/caam/sg_sw_qm2.h index 31b4407..b5b4c12 100644 --- a/drivers/crypto/caam/sg_sw_qm2.h +++ b/drivers/crypto/caam/sg_sw_qm2.h @@ -35,7 +35,7 @@ #ifndef _SG_SW_QM2_H_ #define _SG_SW_QM2_H_ -#include "../../../drivers/staging/fsl-mc/include/dpaa2-fd.h" +#include static inline void dma_to_qm_sg_one(struct dpaa2_sg_entry *qm_sg_ptr, dma_addr_t dma, u32 len, u16 offset) diff --git a/drivers/crypto/caam/sg_sw_sec4.h b/drivers/crypto/caam/sg_sw_sec4.h index e586ffa..dbfa9fc 100644 --- a/drivers/crypto/caam/sg_sw_sec4.h +++ b/drivers/crypto/caam/sg_sw_sec4.h @@ -12,7 +12,7 @@ #include "ctrl.h" #include "regs.h" #include "sg_sw_qm2.h" -#include "../../../drivers/staging/fsl-mc/include/dpaa2-fd.h" +#include struct sec4_sg_entry { u64 ptr; diff --git a/drivers/soc/fsl/Kconfig b/drivers/soc/fsl/Kconfig index 7a9fb9b..c17bf38 100644 --- a/drivers/soc/fsl/Kconfig +++ b/drivers/soc/fsl/Kconfig @@ -16,3 +16,13 @@ config FSL_GUTS Initially only reading SVR and registering soc device are supported. Other guts accesses, such as reading RCW, should eventually be moved into this driver as well. + +config FSL_MC_DPIO + tristate "QorIQ DPAA2 DPIO driver" + depends on FSL_MC_BUS + help + Driver for the DPAA2 DPIO object. A DPIO provides queue and + buffer management facilities for software to interact with + other DPAA2 objects. This driver does not expose the DPIO + objects individually, but groups them under a service layer + API. diff --git a/drivers/soc/fsl/Makefile b/drivers/soc/fsl/Makefile index 44b3beb..803ef1b 100644 --- a/drivers/soc/fsl/Makefile +++ b/drivers/soc/fsl/Makefile @@ -6,3 +6,4 @@ obj-$(CONFIG_FSL_DPAA) += qbman/ obj-$(CONFIG_QUICC_ENGINE) += qe/ obj-$(CONFIG_CPM) += qe/ obj-$(CONFIG_FSL_GUTS) += guts.o +obj-$(CONFIG_FSL_MC_DPIO) += dpio/ diff --git a/drivers/staging/fsl-mc/bus/dpio/Makefile b/drivers/soc/fsl/dpio/Makefile similarity index 100% rename from drivers/staging/fsl-mc/bus/dpio/Makefile rename to drivers/soc/fsl/dpio/Makefile diff --git a/drivers/staging/fsl-mc/bus/dpio/dpio-cmd.h b/drivers/soc/fsl/dpio/dpio-cmd.h similarity index 100% rename from drivers/staging/fsl-mc/bus/dpio/dpio-cmd.h rename to drivers/soc/fsl/dpio/dpio-cmd.h diff --git a/drivers/staging/fsl-mc/bus/dpio/dpio-driver.c b/drivers/soc/fsl/dpio/dpio-driver.c similarity index 99% rename from drivers/staging/fsl-mc/bus/dpio/dpio-driver.c rename to drivers/soc/fsl/dpio/dpio-driver.c index e7a0009..3fd34e9 100644 --- a/drivers/staging/fsl-mc/bus/dpio/dpio-driver.c +++ b/drivers/soc/fsl/dpio/dpio-driver.c @@ -16,7 +16,7 @@ #include #include -#include "../../include/dpaa2-io.h" +#include #include "qbman-portal.h" #include "dpio.h" diff --git a/drivers/staging/fsl-mc/bus/dpio/dpio-driver.txt b/drivers/soc/fsl/dpio/dpio-driver.txt similarity index 100% rename from drivers/staging/fsl-mc/bus/dpio/dpio-driver.txt rename to drivers/soc/fsl/dpio/dpio-driver.txt diff --git a/drivers/staging/fsl-mc/bus/dpio/dpio-service.c b/drivers/soc/fsl/dpio/dpio-service.c similarity index 99% rename from drivers/staging/fsl-mc/bus/dpio/dpio-service.c rename to drivers/soc/fsl/dpio/dpio-service.c index 14ed2be..9b17f72 100644 --- a/drivers/staging/fsl-mc/bus/dpio/dpio-service.c +++ b/drivers/soc/fsl/dpio/dpio-service.c @@ -6,7 +6,7 @@ */ #include #include -#include "../../include/dpaa2-io.h" +#include #include #include #include diff --git a/drivers/staging/fsl-mc/bus/dpio/dpio.c b/drivers/soc/fsl/dpio/dpio.c similarity index 100% rename from drivers/staging/fsl-mc/bus/dpio/dpio.c rename to drivers/soc/fsl/dpio/dpio.c diff --git a/drivers/staging/fsl-mc/bus/dpio/dpio.h b/drivers/soc/fsl/dpio/dpio.h similarity index 100% rename from drivers/staging/fsl-mc/bus/dpio/dpio.h rename to drivers/soc/fsl/dpio/dpio.h diff --git a/drivers/staging/fsl-mc/bus/dpio/qbman-portal.c b/drivers/soc/fsl/dpio/qbman-portal.c similarity index 99% rename from drivers/staging/fsl-mc/bus/dpio/qbman-portal.c rename to drivers/soc/fsl/dpio/qbman-portal.c index 116fafb..cf1d448 100644 --- a/drivers/staging/fsl-mc/bus/dpio/qbman-portal.c +++ b/drivers/soc/fsl/dpio/qbman-portal.c @@ -8,7 +8,7 @@ #include #include #include -#include "../../include/dpaa2-global.h" +#include #include "qbman-portal.h" diff --git a/drivers/staging/fsl-mc/bus/dpio/qbman-portal.h b/drivers/soc/fsl/dpio/qbman-portal.h similarity index 99% rename from drivers/staging/fsl-mc/bus/dpio/qbman-portal.h rename to drivers/soc/fsl/dpio/qbman-portal.h index 69db3c8..89d1dd9 100644 --- a/drivers/staging/fsl-mc/bus/dpio/qbman-portal.h +++ b/drivers/soc/fsl/dpio/qbman-portal.h @@ -7,7 +7,7 @@ #ifndef __FSL_QBMAN_PORTAL_H #define __FSL_QBMAN_PORTAL_H -#include "../../include/dpaa2-fd.h" +#include struct dpaa2_dq; struct qbman_swp; diff --git a/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h b/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h index b8990cf..24ae387 100644 --- a/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h +++ b/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h @@ -37,8 +37,8 @@ #include #include -#include "../../fsl-mc/include/dpaa2-io.h" -#include "../../fsl-mc/include/dpaa2-fd.h" +#include +#include #include "dpni.h" #include "dpni-cmd.h" diff --git a/drivers/staging/fsl-mc/bus/Kconfig b/drivers/staging/fsl-mc/bus/Kconfig index 3424530..90f234d 100644 --- a/drivers/staging/fsl-mc/bus/Kconfig +++ b/drivers/staging/fsl-mc/bus/Kconfig @@ -5,12 +5,3 @@ # Copyright (C) 2014-2016 Freescale Semiconductor, Inc. # -config FSL_MC_DPIO - tristate "QorIQ DPAA2 DPIO driver" - depends on FSL_MC_BUS - help - Driver for the DPAA2 DPIO object. A DPIO provides queue and - buffer management facilities for software to interact with - other DPAA2 objects. This driver does not expose the DPIO - objects individually, but groups them under a service layer - API. diff --git a/drivers/staging/fsl-mc/bus/Makefile b/drivers/staging/fsl-mc/bus/Makefile index 21d8ebc..2141e4b 100644 --- a/drivers/staging/fsl-mc/bus/Makefile +++ b/drivers/staging/fsl-mc/bus/Makefile @@ -5,5 +5,3 @@ # Copyright (C) 2014 Freescale Semiconductor, Inc. # -# MC DPIO driver -obj-$(CONFIG_FSL_MC_DPIO) += dpio/ diff --git a/drivers/staging/fsl-mc/include/dpaa2-fd.h b/include/soc/fsl/dpaa2-fd.h similarity index 100% rename from drivers/staging/fsl-mc/include/dpaa2-fd.h rename to include/soc/fsl/dpaa2-fd.h diff --git a/drivers/staging/fsl-mc/include/dpaa2-global.h b/include/soc/fsl/dpaa2-global.h similarity index 100% rename from drivers/staging/fsl-mc/include/dpaa2-global.h rename to include/soc/fsl/dpaa2-global.h diff --git a/drivers/staging/fsl-mc/include/dpaa2-io.h b/include/soc/fsl/dpaa2-io.h similarity index 100% rename from drivers/staging/fsl-mc/include/dpaa2-io.h rename to include/soc/fsl/dpaa2-io.h -- 2.7.4