Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936062AbcKPURt (ORCPT ); Wed, 16 Nov 2016 15:17:49 -0500 Received: from mail-sn1nam01on0073.outbound.protection.outlook.com ([104.47.32.73]:43104 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S934454AbcKPUQw (ORCPT ); Wed, 16 Nov 2016 15:16:52 -0500 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com;nxp.com; dkim=none (message not signed) header.d=none; X-IncomingTopHeaderMarker: OriginalChecksum:;UpperCasedChecksum:;SizeAsReceived:924;Count:10 From: Stuart Yoder To: CC: , , , , , , , , Stuart Yoder , Laurentiu Tudor Subject: [PATCH v2 1/9] staging: fsl-mc: move bus driver out of staging Date: Wed, 16 Nov 2016 14:09:51 -0600 Message-ID: <1479326999-29340-2-git-send-email-stuart.yoder@nxp.com> X-Mailer: git-send-email 1.9.0 In-Reply-To: <1479326999-29340-1-git-send-email-stuart.yoder@nxp.com> References: <1479326999-29340-1-git-send-email-stuart.yoder@nxp.com> X-IncomingHeaderCount: 10 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131238010094044319;(91ab9b29-cfa4-454e-5278-08d120cd25b8);() X-Forefront-Antispam-Report: CIP:192.88.168.50;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(7916002)(2980300002)(1109001)(1110001)(339900001)(336004)(199003)(189002)(2950100002)(36756003)(50466002)(6916009)(6666003)(110136003)(68736007)(626004)(189998001)(8676002)(5003940100001)(2906002)(5660300001)(87936001)(8936002)(50226002)(76176999)(33646002)(106466001)(7846002)(48376002)(2351001)(85426001)(104016004)(105606002)(575784001)(8666005)(97736004)(356003)(4326007)(81156014)(7416002)(77096005)(92566002)(305945005)(81166006)(47776003)(86362001)(50986999)(7059030);DIR:OUT;SFP:1101;SCL:1;SRVR:MWHPR03MB2480;H:tx30smr01.am.freescale.net;FPR:;SPF:Fail;PTR:InfoDomainNonexistent;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BY2FFO11FD021;1:n6zfK//HSDWa2cos1Dsa+5CsausrGHTXYIZeKIPocBQpEMPtf50OsgZCuYkMHAWT9OJzZiNHrHHHfih61NvW/W+psBRKaTl00Tm4iuRWALRq5BH5RE6gZVqCPtB9iUrAtwUk4gLUBo3g0QMaXBbLwi54DEWjorON0Ozd7+W9gIUae9JGFv6YgoiBHbW+mSfyjcbSpxjb2BlUNQvAUEgjJeF+6TswLicFxmeNoWkmewXOAv+8w8u2CcGmAQofakxcRJIquDDHUUElulXBuwznQZAGGBO/mUIA//mdVXX8+XqXnYTx0fOzHa7YRK01eEeRh977Oud4nbGD9tFOzTOQAhIc0TrDHUbaCR6MXUbdDCFv/mqq9QzRQCRq+DfjI0nfDla7M4e6MzVuz2YzV17WIjy8Rhw/u2wSnBAZ2N7Acozg81ATTWRtPbUUomMXZ2QawIbXuurKD7StQpxrMACQx9JnmCDcCCO3D24dvuhcQac8uBBmUmaqppK311ASCbNcf4C69SkFHnuNMbEeI3QGGQI8SMZn0u1eTr+A7CUpI20yrSOIEBzz302Pry93h5GtDVI66bDxHOD5GNMDklNpb79iGfFlDsJUdGsrl2Skk4/8FCLJ92muurhkJaVbRvD5JV09fbNFy3aAcswzh/+A3AP3ms8S/aAFRvYCz4KWxkhs5HL5KWJoZTQg9dMC55lFxlH5oJT1bzJiMCsvoQlFbY50hbqNa1cNPxb2U6ywD4M= MIME-Version: 1.0 Content-Type: text/plain X-Microsoft-Exchange-Diagnostics: 1;MWHPR03MB2480;2:YKIiYp1KPltcTX+OyPLWTOMxrn+bcuPkI1ksXcMsAxQhMIFWhVVpkIkpnlzGXIK7NJtJvJ49aR7p4TsAqC7dyJe9RnZU3CGld0m+5owhGVXsK5uWh+JV74El6xVMIxg+DkZBJzLogCjud+ZXRfs8i/UbXi5aOprX4vXroeq2R+I=;3:ZOZOa19sI5LQ37AnQU56UsHwzPejPPoVbs2Zh2fOILxgSe2au5nF0vX1Tltfy2C3XixoOzkacsYIKiR5s569Lf93JrBZWYEthrO7I1hUgV0sYo3IqRBwB9H/ONuIwilj42VY4i/sij5848NCDor5qV7fVIUbmIIh+OQeCyTD+iEEkuOxV7bsd61XSSsfEr5Xfu2dDK8CN/sAHvlhElNA47F5WV3sbD3yVDCpQmeP2HclA8NeFJR4IDhs/+u6yje8j4ZOzLPJIk0JSs3OIuv64A==;25:aoaIqGD/K4pdGK1J+GGp33x+V/s2H9LG/R1DY63QNvkVzFEdeb0Ph0bQ4nVT3C47IdONKyNoN0EqIEvUtLxg3mjnyRoX4XkjxbDPesp3UHpfHfyVOsOFkvz1w3agjqI/a9wqSHjJj26AghGgH2opJDdZ+N+9zowJ8ILXUXj+tU9VJzGdWztYH4c+ho2K6GI2aqo8HusqjvpAR9o71AS6x6StcWGNqBq5D2lrlJNUvKsgoy1uzY8v5bCf85aZgJFAJiiLNxRtPxfBj2JqnKnn6jyVUJchVbBuvwScQ9c8YB5+iSr9QUcmszVteyRkd9rffy7F11N2jU11B1+pQ0qAYyi/jwH2cQgcCSXtYhMJbaCJB/AlVvgKnsv7NzcMCBQhZ/1LUtAMuTn/6ZZ/MfjpNPEHaxn0LXUNyqhgkhoamjMk2MSdPchVsVCh+qUZOFBL4fdlGVC+rUZ9VNa2/lqLYg== X-MS-Office365-Filtering-Correlation-Id: ebf05296-d5f6-4ddd-39a7-08d40e5d7f13 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:MWHPR03MB2480; X-Microsoft-Exchange-Diagnostics: 1;MWHPR03MB2480;31:NYWG97li5JBRmXFlOmQQFNtU9nsU8jwv5HTsryjFolwT3/9iaq03ZMNSgiDrCwjz8z8pqHoRbl6uwwzBvgR/5/nAFe02bbMbQVG2yIWhZcvLlNeRshwPl8VqRUakVYXQ+vRvJQu9Z/6GOfQdNbRGZIb1RpU15sTw5OwsxYT/cat5GQrqeCLCSFHSURQASzYtOKGr733FdoudDRFtL1tYRe3J4SnPGRmOQ8bjkSZ4vrUvRdyaOddScTTbtAatkG/JPHPDaoQLIE7+iJeROU9jR++sd9p6Q+yxV9Z2KI0aa68= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(9452136761055)(185117386973197)(101931422205132); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6095035)(601004)(2401047)(5005006)(13018025)(13017025)(13023025)(8121501046)(13015025)(13024025)(3002001)(10201501046)(6055026)(6096035);SRVR:MWHPR03MB2480;BCL:0;PCL:0;RULEID:(400006);SRVR:MWHPR03MB2480; X-Microsoft-Exchange-Diagnostics: 1;MWHPR03MB2480;4:VmsZfNgvjC2JvH/SH/OHALNo0IqMBk5rZcNEzhIQM8Ky6zuduzu0OmnbGiPPCdwZvnHS3xADmn7uk3Z0sqW69xfD8N32sDHeRDVyW0FS+Vzd0YlbMDwTOEXMnRlZewqwOdHo7yuT0GUviPuQu37Yuopb92X7TRvJ7acOA41Xd8w0M5T8UnRWZP/2BU1U6RmmwfYeJ95hEpbxS63p8vFigMvX5lEGWwZ2S+VzGl/1Sc5z0kQIDiH2iz/Nu/00L8PjPwpEuQjOj4ZBzgpGCbYgPOVOU3coKqiZa3cRTh3zIVvNzStvzV2TVk2trSC2KtrXYyjrBX/BdDhTLmJrE8WaRd2+crd6UaDJtzTaUp7fo/y5E3ApIzQYaNyZNqOLBnyqTsrmplX/1HzR8UwKevcLr/o6SI51VZ7VB0b+TIshxJIc/wbpr+tIXOunkkPf/15n2PFfYge7Z4Z5xdfxLX+8Uiy3mzk5bYfBKbxw8hY2MmIc718Z8T/pCDJkTgjLzSSLG4Po2BNzOqsB8q72XIGWp5gVBTJbN1UFDki8YNFfRMfKG0FfZsCgosdmKJCbCepIczGPv8/L+BVxx4r4cO/nSZKYcj6o20UA0ojbXQZbP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n59kXNMUz4Z2+4DpXMTukJWTYSmTXvtRHBPNPDwTg1GBw5oL/YJ727hXZLAbE+G1TuLP+MT90cRs01yikRfxZJILIl8= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;MWHPR03MB2480;7:1wxYNETEcAd+FnVN0jCZ1RRCqMaNXgaBYsDJECpIj1KU3aciHsCYEbuyyh1OBGWU6XxYSET9muzlOFeqRw7dlVqVOb/IChC5sqgmIj49mVLswmZPrp/0rJWi9KwSjESIR3AqaNGvWEUnMKkKKXywL2XjXbIlYRtr1BIKKSFtaxKXRUSQQ60bxhTpS8ycxSNTe2HuPygGpHPgILp3flV/ZU7sgsiOOAjx5xiXCJQXLGK0B/fmWbcS6vMrWLT/cuivUDe7zNn2CvWt1XSM6dg5+ZAWoj5trv3c+qsZvrsqzcjtQR034w2RiYZd3Fz117862/dc8S4MOlI7QIHF8SnAiaMYjrkVYia1z4Ey640Vmj8= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Nov 2016 20:16:49.0768 (UTC) 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: MWHPR03MB2480 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 20343 Lines: 521 Move the source files out of staging into their final locations: -include files in drivers/staging/fsl-mc/include go to include/linux/fsl -irq-gic-v3-its-fsl-mc-msi.c goes to drivers/irqchip -source in drivers/staging/fsl-mc/bus goes to drivers/bus/fsl-mc -README.txt, providing and overview of DPAA goes to Documentation/dpaa2/overview.txt -update MAINTAINERS with new location Delete other remaining staging files-- Makefile, Kconfig, TODO Signed-off-by: Stuart Yoder Cc: Laurentiu Tudor --- -v2 -updated MAINTAINERS file with proper location .../README.txt => Documentation/dpaa2/overview.txt | 0 MAINTAINERS | 2 +- drivers/bus/Kconfig | 3 +++ drivers/bus/Makefile | 3 +++ drivers/{staging/fsl-mc/bus => bus/fsl-mc}/Kconfig | 0 drivers/{staging/fsl-mc/bus => bus/fsl-mc}/Makefile | 1 - drivers/{staging/fsl-mc/bus => bus/fsl-mc}/dpbp-cmd.h | 0 drivers/{staging/fsl-mc/bus => bus/fsl-mc}/dpbp.c | 6 +++--- drivers/{staging/fsl-mc/bus => bus/fsl-mc}/dpcon-cmd.h | 0 drivers/{staging/fsl-mc/bus => bus/fsl-mc}/dpmcp-cmd.h | 0 drivers/{staging/fsl-mc/bus => bus/fsl-mc}/dpmcp.c | 5 +++-- drivers/{staging/fsl-mc/bus => bus/fsl-mc}/dpmcp.h | 0 drivers/{staging/fsl-mc/bus => bus/fsl-mc}/dpmng-cmd.h | 0 drivers/{staging/fsl-mc/bus => bus/fsl-mc}/dpmng.c | 6 +++--- drivers/{staging/fsl-mc/bus => bus/fsl-mc}/dprc-cmd.h | 0 .../{staging/fsl-mc/bus => bus/fsl-mc}/dprc-driver.c | 4 ++-- drivers/{staging/fsl-mc/bus => bus/fsl-mc}/dprc.c | 6 +++--- .../fsl-mc/bus => bus/fsl-mc}/fsl-mc-allocator.c | 4 ++-- .../{staging/fsl-mc/bus => bus/fsl-mc}/fsl-mc-bus.c | 6 +++--- .../{staging/fsl-mc/bus => bus/fsl-mc}/fsl-mc-msi.c | 2 +- .../fsl-mc/bus => bus/fsl-mc}/fsl-mc-private.h | 4 ++-- drivers/{staging/fsl-mc/bus => bus/fsl-mc}/mc-io.c | 4 ++-- drivers/{staging/fsl-mc/bus => bus/fsl-mc}/mc-sys.c | 6 +++--- drivers/irqchip/Makefile | 1 + .../fsl-mc/bus => irqchip}/irq-gic-v3-its-fsl-mc-msi.c | 2 +- drivers/staging/Kconfig | 2 -- drivers/staging/Makefile | 1 - drivers/staging/fsl-mc/Kconfig | 1 - drivers/staging/fsl-mc/Makefile | 2 -- drivers/staging/fsl-mc/TODO | 18 ------------------ .../fsl-mc/include => include/linux/fsl}/dpbp.h | 0 .../fsl-mc/include => include/linux/fsl}/dpmng.h | 0 .../fsl-mc/include => include/linux/fsl}/dprc.h | 0 .../fsl-mc/include => include/linux/fsl}/mc-bus.h | 2 +- .../fsl-mc/include => include/linux/fsl}/mc-cmd.h | 0 .../fsl-mc/include => include/linux/fsl}/mc-sys.h | 0 .../staging/fsl-mc/include => include/linux/fsl}/mc.h | 2 +- 37 files changed, 38 insertions(+), 55 deletions(-) rename drivers/staging/fsl-mc/README.txt => Documentation/dpaa2/overview.txt (100%) rename drivers/{staging/fsl-mc/bus => bus/fsl-mc}/Kconfig (100%) rename drivers/{staging/fsl-mc/bus => bus/fsl-mc}/Makefile (91%) rename drivers/{staging/fsl-mc/bus => bus/fsl-mc}/dpbp-cmd.h (100%) rename drivers/{staging/fsl-mc/bus => bus/fsl-mc}/dpbp.c (99%) rename drivers/{staging/fsl-mc/bus => bus/fsl-mc}/dpcon-cmd.h (100%) rename drivers/{staging/fsl-mc/bus => bus/fsl-mc}/dpmcp-cmd.h (100%) rename drivers/{staging/fsl-mc/bus => bus/fsl-mc}/dpmcp.c (99%) rename drivers/{staging/fsl-mc/bus => bus/fsl-mc}/dpmcp.h (100%) rename drivers/{staging/fsl-mc/bus => bus/fsl-mc}/dpmng-cmd.h (100%) rename drivers/{staging/fsl-mc/bus => bus/fsl-mc}/dpmng.c (96%) rename drivers/{staging/fsl-mc/bus => bus/fsl-mc}/dprc-cmd.h (100%) rename drivers/{staging/fsl-mc/bus => bus/fsl-mc}/dprc-driver.c (99%) rename drivers/{staging/fsl-mc/bus => bus/fsl-mc}/dprc.c (99%) rename drivers/{staging/fsl-mc/bus => bus/fsl-mc}/fsl-mc-allocator.c (99%) rename drivers/{staging/fsl-mc/bus => bus/fsl-mc}/fsl-mc-bus.c (99%) rename drivers/{staging/fsl-mc/bus => bus/fsl-mc}/fsl-mc-msi.c (99%) rename drivers/{staging/fsl-mc/bus => bus/fsl-mc}/fsl-mc-private.h (96%) rename drivers/{staging/fsl-mc/bus => bus/fsl-mc}/mc-io.c (99%) rename drivers/{staging/fsl-mc/bus => bus/fsl-mc}/mc-sys.c (99%) rename drivers/{staging/fsl-mc/bus => irqchip}/irq-gic-v3-its-fsl-mc-msi.c (99%) delete mode 100644 drivers/staging/fsl-mc/Kconfig delete mode 100644 drivers/staging/fsl-mc/Makefile delete mode 100644 drivers/staging/fsl-mc/TODO rename {drivers/staging/fsl-mc/include => include/linux/fsl}/dpbp.h (100%) rename {drivers/staging/fsl-mc/include => include/linux/fsl}/dpmng.h (100%) rename {drivers/staging/fsl-mc/include => include/linux/fsl}/dprc.h (100%) rename {drivers/staging/fsl-mc/include => include/linux/fsl}/mc-bus.h (99%) rename {drivers/staging/fsl-mc/include => include/linux/fsl}/mc-cmd.h (100%) rename {drivers/staging/fsl-mc/include => include/linux/fsl}/mc-sys.h (100%) rename {drivers/staging/fsl-mc/include => include/linux/fsl}/mc.h (99%) diff --git a/drivers/staging/fsl-mc/README.txt b/Documentation/dpaa2/overview.txt similarity index 100% rename from drivers/staging/fsl-mc/README.txt rename to Documentation/dpaa2/overview.txt diff --git a/MAINTAINERS b/MAINTAINERS index 2de970d..63b45f4 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -9973,7 +9973,7 @@ QORIQ DPAA2 FSL-MC BUS DRIVER M: Stuart Yoder L: linux-kernel@vger.kernel.org S: Maintained -F: drivers/staging/fsl-mc/ +F: drivers/bus/fsl-mc/ QT1010 MEDIA DRIVER M: Antti Palosaari diff --git a/drivers/bus/Kconfig b/drivers/bus/Kconfig index 7875105..2b4c334 100644 --- a/drivers/bus/Kconfig +++ b/drivers/bus/Kconfig @@ -167,4 +167,7 @@ config VEXPRESS_CONFIG help Platform configuration infrastructure for the ARM Ltd. Versatile Express. + +source "drivers/bus/fsl-mc/Kconfig" + endmenu diff --git a/drivers/bus/Makefile b/drivers/bus/Makefile index c6cfa6b..4521ab1 100644 --- a/drivers/bus/Makefile +++ b/drivers/bus/Makefile @@ -14,6 +14,9 @@ obj-$(CONFIG_MVEBU_MBUS) += mvebu-mbus.o # Interconnect bus driver for OMAP SoCs. obj-$(CONFIG_OMAP_INTERCONNECT) += omap_l3_smx.o omap_l3_noc.o +# DPAA2 fsl-mc bus +obj-$(CONFIG_FSL_MC_BUS) += fsl-mc/ + obj-$(CONFIG_OMAP_OCP2SCP) += omap-ocp2scp.o obj-$(CONFIG_QCOM_EBI2) += qcom-ebi2.o obj-$(CONFIG_SUNXI_RSB) += sunxi-rsb.o diff --git a/drivers/staging/fsl-mc/bus/Kconfig b/drivers/bus/fsl-mc/Kconfig similarity index 100% rename from drivers/staging/fsl-mc/bus/Kconfig rename to drivers/bus/fsl-mc/Kconfig diff --git a/drivers/staging/fsl-mc/bus/Makefile b/drivers/bus/fsl-mc/Makefile similarity index 91% rename from drivers/staging/fsl-mc/bus/Makefile rename to drivers/bus/fsl-mc/Makefile index 38716fd..d56afee 100644 --- a/drivers/staging/fsl-mc/bus/Makefile +++ b/drivers/bus/fsl-mc/Makefile @@ -15,6 +15,5 @@ mc-bus-driver-objs := fsl-mc-bus.o \ dprc-driver.o \ fsl-mc-allocator.o \ fsl-mc-msi.o \ - irq-gic-v3-its-fsl-mc-msi.o \ dpmcp.o \ dpbp.o diff --git a/drivers/staging/fsl-mc/bus/dpbp-cmd.h b/drivers/bus/fsl-mc/dpbp-cmd.h similarity index 100% rename from drivers/staging/fsl-mc/bus/dpbp-cmd.h rename to drivers/bus/fsl-mc/dpbp-cmd.h diff --git a/drivers/staging/fsl-mc/bus/dpbp.c b/drivers/bus/fsl-mc/dpbp.c similarity index 99% rename from drivers/staging/fsl-mc/bus/dpbp.c rename to drivers/bus/fsl-mc/dpbp.c index cf4782f..f70e509 100644 --- a/drivers/staging/fsl-mc/bus/dpbp.c +++ b/drivers/bus/fsl-mc/dpbp.c @@ -29,9 +29,9 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. */ -#include "../include/mc-sys.h" -#include "../include/mc-cmd.h" -#include "../include/dpbp.h" +#include +#include +#include #include "dpbp-cmd.h" diff --git a/drivers/staging/fsl-mc/bus/dpcon-cmd.h b/drivers/bus/fsl-mc/dpcon-cmd.h similarity index 100% rename from drivers/staging/fsl-mc/bus/dpcon-cmd.h rename to drivers/bus/fsl-mc/dpcon-cmd.h diff --git a/drivers/staging/fsl-mc/bus/dpmcp-cmd.h b/drivers/bus/fsl-mc/dpmcp-cmd.h similarity index 100% rename from drivers/staging/fsl-mc/bus/dpmcp-cmd.h rename to drivers/bus/fsl-mc/dpmcp-cmd.h diff --git a/drivers/staging/fsl-mc/bus/dpmcp.c b/drivers/bus/fsl-mc/dpmcp.c similarity index 99% rename from drivers/staging/fsl-mc/bus/dpmcp.c rename to drivers/bus/fsl-mc/dpmcp.c index e4d1651..00db8e9 100644 --- a/drivers/staging/fsl-mc/bus/dpmcp.c +++ b/drivers/bus/fsl-mc/dpmcp.c @@ -29,8 +29,9 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. */ -#include "../include/mc-sys.h" -#include "../include/mc-cmd.h" + +#include +#include #include "dpmcp.h" #include "dpmcp-cmd.h" diff --git a/drivers/staging/fsl-mc/bus/dpmcp.h b/drivers/bus/fsl-mc/dpmcp.h similarity index 100% rename from drivers/staging/fsl-mc/bus/dpmcp.h rename to drivers/bus/fsl-mc/dpmcp.h diff --git a/drivers/staging/fsl-mc/bus/dpmng-cmd.h b/drivers/bus/fsl-mc/dpmng-cmd.h similarity index 100% rename from drivers/staging/fsl-mc/bus/dpmng-cmd.h rename to drivers/bus/fsl-mc/dpmng-cmd.h diff --git a/drivers/staging/fsl-mc/bus/dpmng.c b/drivers/bus/fsl-mc/dpmng.c similarity index 96% rename from drivers/staging/fsl-mc/bus/dpmng.c rename to drivers/bus/fsl-mc/dpmng.c index ad5d5bb..312fa0ee 100644 --- a/drivers/staging/fsl-mc/bus/dpmng.c +++ b/drivers/bus/fsl-mc/dpmng.c @@ -29,9 +29,9 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. */ -#include "../include/mc-sys.h" -#include "../include/mc-cmd.h" -#include "../include/dpmng.h" +#include +#include +#include #include "dpmng-cmd.h" diff --git a/drivers/staging/fsl-mc/bus/dprc-cmd.h b/drivers/bus/fsl-mc/dprc-cmd.h similarity index 100% rename from drivers/staging/fsl-mc/bus/dprc-cmd.h rename to drivers/bus/fsl-mc/dprc-cmd.h diff --git a/drivers/staging/fsl-mc/bus/dprc-driver.c b/drivers/bus/fsl-mc/dprc-driver.c similarity index 99% rename from drivers/staging/fsl-mc/bus/dprc-driver.c rename to drivers/bus/fsl-mc/dprc-driver.c index 4e416d8..b20e060 100644 --- a/drivers/staging/fsl-mc/bus/dprc-driver.c +++ b/drivers/bus/fsl-mc/dprc-driver.c @@ -13,8 +13,8 @@ #include #include #include -#include "../include/mc-bus.h" -#include "../include/mc-sys.h" +#include +#include #include "dprc-cmd.h" #include "fsl-mc-private.h" diff --git a/drivers/staging/fsl-mc/bus/dprc.c b/drivers/bus/fsl-mc/dprc.c similarity index 99% rename from drivers/staging/fsl-mc/bus/dprc.c rename to drivers/bus/fsl-mc/dprc.c index 572edd4..e2ebfb7 100644 --- a/drivers/staging/fsl-mc/bus/dprc.c +++ b/drivers/bus/fsl-mc/dprc.c @@ -29,9 +29,9 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. */ -#include "../include/mc-sys.h" -#include "../include/mc-cmd.h" -#include "../include/dprc.h" +#include +#include +#include #include "dprc-cmd.h" diff --git a/drivers/staging/fsl-mc/bus/fsl-mc-allocator.c b/drivers/bus/fsl-mc/fsl-mc-allocator.c similarity index 99% rename from drivers/staging/fsl-mc/bus/fsl-mc-allocator.c rename to drivers/bus/fsl-mc/fsl-mc-allocator.c index ce07096..679574b 100644 --- a/drivers/staging/fsl-mc/bus/fsl-mc-allocator.c +++ b/drivers/bus/fsl-mc/fsl-mc-allocator.c @@ -10,8 +10,8 @@ #include #include -#include "../include/mc-bus.h" -#include "../include/mc-sys.h" +#include +#include #include "dpbp-cmd.h" #include "dpcon-cmd.h" diff --git a/drivers/staging/fsl-mc/bus/fsl-mc-bus.c b/drivers/bus/fsl-mc/fsl-mc-bus.c similarity index 99% rename from drivers/staging/fsl-mc/bus/fsl-mc-bus.c rename to drivers/bus/fsl-mc/fsl-mc-bus.c index f9fed63..0f81dad 100644 --- a/drivers/staging/fsl-mc/bus/fsl-mc-bus.c +++ b/drivers/bus/fsl-mc/fsl-mc-bus.c @@ -20,9 +20,9 @@ #include #include #include -#include "../include/mc-bus.h" -#include "../include/dpmng.h" -#include "../include/mc-sys.h" +#include +#include +#include #include "fsl-mc-private.h" #include "dprc-cmd.h" diff --git a/drivers/staging/fsl-mc/bus/fsl-mc-msi.c b/drivers/bus/fsl-mc/fsl-mc-msi.c similarity index 99% rename from drivers/staging/fsl-mc/bus/fsl-mc-msi.c rename to drivers/bus/fsl-mc/fsl-mc-msi.c index 7975c6e..f2d6a22 100644 --- a/drivers/staging/fsl-mc/bus/fsl-mc-msi.c +++ b/drivers/bus/fsl-mc/fsl-mc-msi.c @@ -16,7 +16,7 @@ #include #include #include -#include "../include/mc-bus.h" +#include /* * Generate a unique ID identifying the interrupt (only used within the MSI diff --git a/drivers/staging/fsl-mc/bus/fsl-mc-private.h b/drivers/bus/fsl-mc/fsl-mc-private.h similarity index 96% rename from drivers/staging/fsl-mc/bus/fsl-mc-private.h rename to drivers/bus/fsl-mc/fsl-mc-private.h index 5c49c9d..599425f 100644 --- a/drivers/staging/fsl-mc/bus/fsl-mc-private.h +++ b/drivers/bus/fsl-mc/fsl-mc-private.h @@ -10,8 +10,8 @@ #ifndef _FSL_MC_PRIVATE_H_ #define _FSL_MC_PRIVATE_H_ -#include "../include/mc.h" -#include "../include/mc-bus.h" +#include +#include int __must_check fsl_mc_device_add(struct dprc_obj_desc *obj_desc, struct fsl_mc_io *mc_io, diff --git a/drivers/staging/fsl-mc/bus/mc-io.c b/drivers/bus/fsl-mc/mc-io.c similarity index 99% rename from drivers/staging/fsl-mc/bus/mc-io.c rename to drivers/bus/fsl-mc/mc-io.c index d66b87f..501fba3 100644 --- a/drivers/staging/fsl-mc/bus/mc-io.c +++ b/drivers/bus/fsl-mc/mc-io.c @@ -31,8 +31,8 @@ */ #include -#include "../include/mc-bus.h" -#include "../include/mc-sys.h" +#include +#include #include "fsl-mc-private.h" #include "dpmcp.h" diff --git a/drivers/staging/fsl-mc/bus/mc-sys.c b/drivers/bus/fsl-mc/mc-sys.c similarity index 99% rename from drivers/staging/fsl-mc/bus/mc-sys.c rename to drivers/bus/fsl-mc/mc-sys.c index 4d82802..ac86226 100644 --- a/drivers/staging/fsl-mc/bus/mc-sys.c +++ b/drivers/bus/fsl-mc/mc-sys.c @@ -37,9 +37,9 @@ #include #include #include -#include "../include/mc-sys.h" -#include "../include/mc-cmd.h" -#include "../include/mc.h" +#include +#include +#include #include "dpmcp.h" diff --git a/drivers/irqchip/Makefile b/drivers/irqchip/Makefile index e4dbfc8..075709d 100644 --- a/drivers/irqchip/Makefile +++ b/drivers/irqchip/Makefile @@ -74,3 +74,4 @@ obj-$(CONFIG_LS_SCFG_MSI) += irq-ls-scfg-msi.o obj-$(CONFIG_EZNPS_GIC) += irq-eznps.o obj-$(CONFIG_ARCH_ASPEED) += irq-aspeed-vic.o obj-$(CONFIG_STM32_EXTI) += irq-stm32-exti.o +obj-$(CONFIG_FSL_MC_BUS) += irq-gic-v3-its-fsl-mc-msi.o diff --git a/drivers/staging/fsl-mc/bus/irq-gic-v3-its-fsl-mc-msi.c b/drivers/irqchip/irq-gic-v3-its-fsl-mc-msi.c similarity index 99% rename from drivers/staging/fsl-mc/bus/irq-gic-v3-its-fsl-mc-msi.c rename to drivers/irqchip/irq-gic-v3-its-fsl-mc-msi.c index 6b1cd57..347a3ea 100644 --- a/drivers/staging/fsl-mc/bus/irq-gic-v3-its-fsl-mc-msi.c +++ b/drivers/irqchip/irq-gic-v3-its-fsl-mc-msi.c @@ -16,7 +16,7 @@ #include #include #include -#include "../include/mc-bus.h" +#include static struct irq_chip its_msi_irq_chip = { .name = "ITS-fMSI", diff --git a/drivers/staging/Kconfig b/drivers/staging/Kconfig index 58a7b35..8d7a13f 100644 --- a/drivers/staging/Kconfig +++ b/drivers/staging/Kconfig @@ -92,8 +92,6 @@ source "drivers/staging/clocking-wizard/Kconfig" source "drivers/staging/fbtft/Kconfig" -source "drivers/staging/fsl-mc/Kconfig" - source "drivers/staging/wilc1000/Kconfig" source "drivers/staging/most/Kconfig" diff --git a/drivers/staging/Makefile b/drivers/staging/Makefile index 3237532..b5e494e 100644 --- a/drivers/staging/Makefile +++ b/drivers/staging/Makefile @@ -35,7 +35,6 @@ obj-$(CONFIG_CRYPTO_SKEIN) += skein/ obj-$(CONFIG_UNISYSSPAR) += unisys/ obj-$(CONFIG_COMMON_CLK_XLNX_CLKWZRD) += clocking-wizard/ obj-$(CONFIG_FB_TFT) += fbtft/ -obj-$(CONFIG_FSL_MC_BUS) += fsl-mc/ obj-$(CONFIG_WILC1000) += wilc1000/ obj-$(CONFIG_MOST) += most/ obj-$(CONFIG_ISDN_I4L) += i4l/ diff --git a/drivers/staging/fsl-mc/Kconfig b/drivers/staging/fsl-mc/Kconfig deleted file mode 100644 index 32df07b..0000000 --- a/drivers/staging/fsl-mc/Kconfig +++ /dev/null @@ -1 +0,0 @@ -source "drivers/staging/fsl-mc/bus/Kconfig" diff --git a/drivers/staging/fsl-mc/Makefile b/drivers/staging/fsl-mc/Makefile deleted file mode 100644 index 9c6a001..0000000 --- a/drivers/staging/fsl-mc/Makefile +++ /dev/null @@ -1,2 +0,0 @@ -# Freescale Management Complex (MC) bus drivers -obj-$(CONFIG_FSL_MC_BUS) += bus/ diff --git a/drivers/staging/fsl-mc/TODO b/drivers/staging/fsl-mc/TODO deleted file mode 100644 index 54a8bc6..0000000 --- a/drivers/staging/fsl-mc/TODO +++ /dev/null @@ -1,18 +0,0 @@ -* Add at least one device driver for a DPAA2 object (child device of the - fsl-mc bus). Most likely candidate for this is adding DPAA2 Ethernet - driver support, which depends on drivers for several objects: DPNI, - DPIO, DPMAC. Other pre-requisites include: - - * MC firmware uprev. The MC firmware upon which the fsl-mc - bus driver and DPAA2 object drivers are based is continuing - to evolve, so minor updates are needed to keep in sync with binary - interface changes to the MC. - -* Cleanup - -Please send any patches to Greg Kroah-Hartman , -german.rivera@freescale.com, devel@driverdev.osuosl.org, -linux-kernel@vger.kernel.org - -[1] https://lkml.org/lkml/2015/7/9/93 -[2] https://lkml.org/lkml/2015/7/7/712 diff --git a/drivers/staging/fsl-mc/include/dpbp.h b/include/linux/fsl/dpbp.h similarity index 100% rename from drivers/staging/fsl-mc/include/dpbp.h rename to include/linux/fsl/dpbp.h diff --git a/drivers/staging/fsl-mc/include/dpmng.h b/include/linux/fsl/dpmng.h similarity index 100% rename from drivers/staging/fsl-mc/include/dpmng.h rename to include/linux/fsl/dpmng.h diff --git a/drivers/staging/fsl-mc/include/dprc.h b/include/linux/fsl/dprc.h similarity index 100% rename from drivers/staging/fsl-mc/include/dprc.h rename to include/linux/fsl/dprc.h diff --git a/drivers/staging/fsl-mc/include/mc-bus.h b/include/linux/fsl/mc-bus.h similarity index 99% rename from drivers/staging/fsl-mc/include/mc-bus.h rename to include/linux/fsl/mc-bus.h index 42700de..23c06e1 100644 --- a/drivers/staging/fsl-mc/include/mc-bus.h +++ b/include/linux/fsl/mc-bus.h @@ -11,7 +11,7 @@ #ifndef _FSL_MC_MCBUS_H_ #define _FSL_MC_MCBUS_H_ -#include "../include/mc.h" +#include #include struct irq_domain; diff --git a/drivers/staging/fsl-mc/include/mc-cmd.h b/include/linux/fsl/mc-cmd.h similarity index 100% rename from drivers/staging/fsl-mc/include/mc-cmd.h rename to include/linux/fsl/mc-cmd.h diff --git a/drivers/staging/fsl-mc/include/mc-sys.h b/include/linux/fsl/mc-sys.h similarity index 100% rename from drivers/staging/fsl-mc/include/mc-sys.h rename to include/linux/fsl/mc-sys.h diff --git a/drivers/staging/fsl-mc/include/mc.h b/include/linux/fsl/mc.h similarity index 99% rename from drivers/staging/fsl-mc/include/mc.h rename to include/linux/fsl/mc.h index 1c46c0c..929bfdb 100644 --- a/drivers/staging/fsl-mc/include/mc.h +++ b/include/linux/fsl/mc.h @@ -14,7 +14,7 @@ #include #include #include -#include "../include/dprc.h" +#include #define FSL_MC_VENDOR_FREESCALE 0x1957 -- 1.9.0