From patchwork Thu Jun 22 13:35:56 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurentiu Tudor X-Patchwork-Id: 9804453 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B8D1560329 for ; Thu, 22 Jun 2017 13:39:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A75DE285EE for ; Thu, 22 Jun 2017 13:39:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9BD492867B; Thu, 22 Jun 2017 13:39:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,DKIM_VALID autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E73B0285EE for ; Thu, 22 Jun 2017 13:39:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=3a2cAZdrhL3/QGPwfDOXtP2gfOONSyIAVeu5GOszpDU=; b=nb+U6W6cR/efQo GRFcplZL9bnNQ50cUJby1eX9qREaahdXGSLBNJC/UnBCvWSLrTJOEMhRmWYLytRUDaBUUMyter8k0 KqWj2FczfxVXrfH+wZ0cPMv/ylZuNxr3/QQsN44D5M1CdDWuDUlGEAWFY5bbHHGH5S4q+00EVN1li /7BGUwL8pZMoBRuXWuIJXQ9QZUy3faeK0AyE6lsWDabzIbjR6ML+fgpJeZc5XHLoIEsI+t9UW9Pst 4Aqraoxnt5od/A92HNg1SDV7nk8zdQnrMnNe4NVPrWJMIhr/x5fXeDyvsMpkmDfGG8+vTFLCkOK4k Hti6/tNjB02t+UONFM7g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dO2Ka-0003bW-2T; Thu, 22 Jun 2017 13:39:32 +0000 Received: from mail-bn3nam01on060d.outbound.protection.outlook.com ([2a01:111:f400:fe41::60d] helo=NAM01-BN3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dO2IQ-0001H2-Ft for linux-arm-kernel@lists.infradead.org; Thu, 22 Jun 2017 13:37:59 +0000 Received: from CY1PR03CA0005.namprd03.prod.outlook.com (10.174.128.15) by CY1PR0301MB0604.namprd03.prod.outlook.com (10.160.142.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1199.15; Thu, 22 Jun 2017 13:36:55 +0000 Received: from BN1AFFO11FD020.protection.gbl (2a01:111:f400:7c10::187) by CY1PR03CA0005.outlook.office365.com (2603:10b6:600::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1199.15 via Frontend Transport; Thu, 22 Jun 2017 13:36:55 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BN1AFFO11FD020.mail.protection.outlook.com (10.58.52.80) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1178.14 via Frontend Transport; Thu, 22 Jun 2017 13:36:54 +0000 Received: from fsr-fed1964-102.ea.freescale.net (fsr-fed1964-102.ea.freescale.net [10.171.73.86]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id v5MDa5BM016929; Thu, 22 Jun 2017 06:36:50 -0700 From: To: , Subject: [PATCH 10/14] staging: fsl-mc: remove dpmng API files Date: Thu, 22 Jun 2017 16:35:56 +0300 Message-ID: <20170622133600.31694-11-laurentiu.tudor@nxp.com> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20170622133600.31694-1-laurentiu.tudor@nxp.com> References: <20170622133600.31694-1-laurentiu.tudor@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131426122151109565; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.158.2; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(39450400003)(39840400002)(39850400002)(39380400002)(39860400002)(39410400002)(39400400002)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(9170700003)(48376002)(2876002)(4326008)(2906002)(85426001)(356003)(86362001)(305945005)(8656002)(54906002)(5660300001)(1076002)(50466002)(86152003)(7416002)(53936002)(189998001)(39060400002)(105606002)(33646002)(498600001)(104016004)(47776003)(5003940100001)(36756003)(38730400002)(76176999)(50986999)(8676002)(2950100002)(50226002)(77096006)(81166006)(81156014)(8936002)(106466001)(2004002); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0301MB0604; H:az84smr01.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; A:1; MX:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD020; 1:CNvrYmRCTSAIy3hXHJymEda0vTPAXJodOBrHZoN+Pb/JwXm2qPuPMevSMEkV8GyG6caDmwRpqCFIqs0SkRqdz7va22vGOE2XgIfmOEimmUCegrIoztbkq9E7wtLE3yMN8KurlijzDzR3jiRn5c/s75akMoACgYvom72zFFS3ysyGK62gIBnNSH1bAvd+e5g3v3pQhn7kN4p0kS+4OxSpR2yl3/hk63w+GQcr60O5UcA0nGtn+5nCcZ4m7L05uWAaHl/2kPmA9IDKsqIT9drshKd1MvEBIdIGWD9R/3lS/wzmWE1vA2T0pkNIeeu2Ki993mHZMNm68BguZqpQhG/rDguBftY1V3RUNDYBIUqLgzzdo/5BOr3ghykmEzvJCq1E8D6i6OTcz8BFQQoNz/RYIb+rDNKa96o/W08Ui6GqP61zIPJMpicrfgHnFOoO7LK7aiGaGrFSx2IXtsS7QqPm50UkdrxtXZtH6R73H/W6SwVLblh3cLhClSWa4AZ1tvJzjF8eHpwLGADhpXLWSF27lgdPHn7WG3UlChHnojamfwVIWwKfk4pNvlbXm8xe3JRkfFl1BvbXIS3SthUiAh7Qp1TbFlssgG06AmFAvwtjVdbYBTg+/5OEbACFQaWwpBciZsjMpGNL9tzX80WHnfK2R/irjJ1QGVHJjOcEXThbd1mCxiVx+uRtkgA3+24wlzGa803qI9ehpcsXWVwOtpcuCA== MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 1ff3992e-9ffa-4046-c25d-08d4b973bf7a X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131430075)(201703131517081); SRVR:CY1PR0301MB0604; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0604; 3:URo6lsK60LftXH7oejyyIZQW/61g7NepLJN1FPIzP/Ze9ZRfXuedfS0SeK+lllYSA5byOVyzeVDS9OmEO0t48VbkNNMHU3ml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rFNRpwtjei6SEdKPMgPDPyFMa6D5JazJrBn66BDqmTgaOpCuWKTCa3C+r7NzCjbjDQ5k1ZFuPNbsVT9Oz+jDp7Xp18eJc4QJ5ccz50kTBprkHprnxA== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(601004)(2401047)(13016025)(5005006)(13018025)(8121501046)(3002001)(93006095)(93001095)(10201501046)(100000703101)(100105400095)(6055026)(6096035)(20161123563025)(20161123561025)(201703131430075)(201703131433075)(201703131441075)(201703131448075)(201703161259150)(20161123559100)(20161123556025)(20161123565025)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY1PR0301MB0604; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY1PR0301MB0604; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0301MB0604; 4:yKV7DIOzh6pagaBdiI6i903edi1or/Jv8VdC/QPT?= =?us-ascii?Q?XoSfJtXK7zU+n7QArzZZ8GHMaEFW4UirzhDqPv5K4vXpt5/rImu/I6aPK6Hd?= =?us-ascii?Q?1BRj+BEZA+GAcBo8LBEF08rJVy37j/KRT0HlU/cNKqYbrDA7ziotxp+w82F6?= =?us-ascii?Q?s5y+OV5VEtNF3RD0ZhLORdf9MF9ZVnP6aPIOcjqKY+VHxA0kZmJ0EmD5I4o2?= =?us-ascii?Q?o7QUYdtQbOrzV3LR4DTwabfgu4Na7yjAM8orfgclVNArfu9Wux/m0p2Fki1w?= =?us-ascii?Q?tBHM1Fd0FY9aho3p6yPfpofx00Tc/tUL5zZMm5FaBHhjoDxBJsepZH+wIAV6?= =?us-ascii?Q?gWQuZkuDSlox9A1Q1mL6Ycpy5bZ5bzugXPC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vpY2UHOuGqslnmsDRWeU300NLnw/TMqvEs?= X-Forefront-PRVS: 03468CBA43 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0301MB0604; 23:z7RETaOHK0Rs5Yi/4GXnHaZeL5F5HMABA8CVvrx?= =?us-ascii?Q?+u3C039gz4uW4faer4+qgM2rqbxwQ2KTrQReVgepclJ+shU+UrGq2T9WgmOm?= =?us-ascii?Q?DIo1M4SoumfiZZ5oc56rpWPCXYdOUSD4AMzESHw6/5pzD5GBQO94GcA7ijKj?= =?us-ascii?Q?N7Cb3InmdDLOo2910W4p0T5MmplUJdORFz5kXGH376n0uzsJQlw+hYkm6Ho+?= =?us-ascii?Q?+07HAwVw3SbK/kyeLIcuPyc0KRSoUbf+YN/Rwz0OXMd7dUyBV1Rh9BUbDISj?= =?us-ascii?Q?qsmCq7jZjnQBNj6PwkJBLwBmh36IE195C86k8MfpAq69o09SKUuD0rZe/h3i?= =?us-ascii?Q?nDJoElEv704C4hNnw2XZ0cWr+5i18rP1bX6xfcIUluJo+8pD2u6Fnz403gwk?= =?us-ascii?Q?RRQoegEVkHgTdGl6c3YpVYb/Ej0guvQhZfI+56FH+wA6BcLlTrFHYECNzu7Y?= =?us-ascii?Q?kj9p7Aw0m4HMJqDwq4Aa9a3YNGkpOg/DsJPakTzvRI1Oe4lIh7Q0NmfJsQGt?= =?us-ascii?Q?7Ivho8MFbt9QUe9iRi5YKCRf0fepsfACjT4SbJVq/7EmqUsPGConMiqsRsZu?= =?us-ascii?Q?N6Gwi9RGOsB/gpmRjH3blaw8IndS+V7gIuOpXfVZy/NIDYuFYLEVQSm7/Q4X?= =?us-ascii?Q?yVu/HPfGhTwd0zDDFutSj7MPlgJIfbND0HaQTK4xWpDkvupBGjh53i6LFNb5?= =?us-ascii?Q?dGo4HXm6BfyqlkdkAFddrY6TkEvi4crOvK7IWNkY87n2RLwvkIJYg7rXrf3b?= =?us-ascii?Q?FHLkyHBr3BNhVa8KemXcM03oZ/VIzRUGP9x9B/NclvjeoIpZ77pDB3yF39wa?= =?us-ascii?Q?QQ0jVluFAzSUJVY63WmsjByq4WavfpbR/BY4zByhO9m0Uk9uPCI2GruqwgWu?= =?us-ascii?Q?pS6bMrzggJr1V+A343gW6BkLvczMAkJYDb7pdYgKqektKDEUZL6hqXXvKn/+?= =?us-ascii?Q?hNbd6y2SLoMFLHUfHMVxR3aUaG4Jb+5q6uXXUeXuSMPRGvS5MRVsMCAI3icq?= =?us-ascii?Q?ei/mBQGauv76SgiXRjjEjtEKAxRmwUdUaoDSN0KiPjf5cGDu0VDBD73B9wBo?= =?us-ascii?Q?R5heuedw0Epgi7zCuUEyQ6ayD2E4Z5NfPq6KgmL9xfyNA5Ah+UWF9O0lM3hc?= =?us-ascii?Q?n/xcosdxtSBhGo1a0x1SvtA7AdP9+seXGZHySAk/7jg2lL+dQBwXBpsp8OYj?= =?us-ascii?Q?UBA74XPoCndHMegWlGgU4en76UlB6Z74RfoYSbRB/o6LpGRCsJPiGv5eisa4?= =?us-ascii?Q?jGMiRDdp41yLv1Qacx3LAjelOjlJEjoYrFasL80pcEJwPRrEUNHufBeX82Sw?= =?us-ascii?Q?KCFlXPs4XXG6eO+892WZZxAc=3D?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0301MB0604; 6:HGGkKLVC7MDg9vGw8tCTAXi+HzhLr6nZRlOlry+j?= =?us-ascii?Q?sHL/hArIblHrT6n4unmfkZLsgkFPYF9HegSPYu5qDFhpqJdi7GnKrMk7CjEn?= =?us-ascii?Q?7bghBEcW9RPI58GOvrlikXEdBKvDiPFQEJcXVEMZhJuezte7QdjoGKAtDzdU?= =?us-ascii?Q?6yq4L8kMRqM4rETPFRFpdfevt83XaIZ9GgJJvpohvpgSGPLTAkF9Ehl3Kncm?= =?us-ascii?Q?J3Ylmlmq3xuvFRyXihKkZaupNSYw6K1bE7EhJPt8gFAMK9IEMXUDJkzg6msL?= =?us-ascii?Q?+OLRhw7RdSTYtg5QMcLj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9YYcihRVS7nV/zf6gklb0lQgJDZ/sb8cUG23m0nHoG9dRwP7PvutF1VWEG8KKa0MmlxgJIzlIBWRS6pK8f4qCzB6Z9XdPHZvhxXOTNZk00XGafnVDSx8p42/UjHVaE0xd8kh1gn9zOPYQMnOBA+ri4DJUZSzuBunaCimVviobHDvnX/KLPo3Dv6OOY7ghYOrrwvsfbaC7zx9yjI9tP10LJxLQOS7bmN/7dIrLF8Rr69z+hgHrAFH2EjZxC5t16Uf+SRYbTlz7c8/Kd7FjM3x+wkn3Q3c= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Jun 2017 13:36:54.8457 (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.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0301MB0604 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170622_063720_224898_A0598456 X-CRM114-Status: UNSURE ( 9.58 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devel@driverdev.osuosl.org, ruxandra.radulescu@nxp.com, arnd@arndb.de, marc.zyngier@arm.com, roy.pledge@nxp.com, linux-kernel@vger.kernel.org, agraf@suse.de, catalin.horghidan@nxp.com, ioana.ciornei@nxp.com, leoyang.li@nxp.com, bharat.bhushan@nxp.com, linux-arm-kernel@lists.infradead.org, Laurentiu Tudor Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Laurentiu Tudor dpmng.h & dpmng.c files expose an API of just one function which is only used by the bus driver. Move that single API in the bus source as static and remove the two files. Signed-off-by: Laurentiu Tudor --- drivers/staging/fsl-mc/bus/dpmng.c | 74 --------------------------------- drivers/staging/fsl-mc/bus/fsl-mc-bus.c | 53 ++++++++++++++++++++++- drivers/staging/fsl-mc/include/dpmng.h | 67 ----------------------------- 3 files changed, 52 insertions(+), 142 deletions(-) delete mode 100644 drivers/staging/fsl-mc/bus/dpmng.c delete mode 100644 drivers/staging/fsl-mc/include/dpmng.h diff --git a/drivers/staging/fsl-mc/bus/dpmng.c b/drivers/staging/fsl-mc/bus/dpmng.c deleted file mode 100644 index ad5d5bb..0000000 --- a/drivers/staging/fsl-mc/bus/dpmng.c +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Copyright 2013-2016 Freescale Semiconductor Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * * Neither the name of the above-listed copyright holders nor the - * names of any contributors may be used to endorse or promote products - * derived from this software without specific prior written permission. - * - * ALTERNATIVELY, this software may be distributed under the terms of the - * GNU General Public License ("GPL") as published by the Free Software - * Foundation, either version 2 of that License or (at your option) any - * later version. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * 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 "dpmng-cmd.h" - -/** - * mc_get_version() - Retrieves the Management Complex firmware - * version information - * @mc_io: Pointer to opaque I/O object - * @cmd_flags: Command flags; one or more of 'MC_CMD_FLAG_' - * @mc_ver_info: Returned version information structure - * - * Return: '0' on Success; Error code otherwise. - */ -int mc_get_version(struct fsl_mc_io *mc_io, - u32 cmd_flags, - struct mc_version *mc_ver_info) -{ - struct mc_command cmd = { 0 }; - struct dpmng_rsp_get_version *rsp_params; - int err; - - /* prepare command */ - cmd.header = mc_encode_cmd_header(DPMNG_CMDID_GET_VERSION, - cmd_flags, - 0); - - /* send command to mc*/ - err = mc_send_command(mc_io, &cmd); - if (err) - return err; - - /* retrieve response parameters */ - rsp_params = (struct dpmng_rsp_get_version *)cmd.params; - mc_ver_info->revision = le32_to_cpu(rsp_params->revision); - mc_ver_info->major = le32_to_cpu(rsp_params->version_major); - mc_ver_info->minor = le32_to_cpu(rsp_params->version_minor); - - return 0; -} -EXPORT_SYMBOL(mc_get_version); - diff --git a/drivers/staging/fsl-mc/bus/fsl-mc-bus.c b/drivers/staging/fsl-mc/bus/fsl-mc-bus.c index 3dec3e9..75f8dc3 100644 --- a/drivers/staging/fsl-mc/bus/fsl-mc-bus.c +++ b/drivers/staging/fsl-mc/bus/fsl-mc-bus.c @@ -20,11 +20,12 @@ #include #include #include -#include "../include/dpmng.h" #include "../include/mc-sys.h" +#include "../include/mc-cmd.h" #include "fsl-mc-private.h" #include "dprc-cmd.h" +#include "dpmng-cmd.h" /** * Default DMA mask for devices on a fsl-mc bus @@ -60,6 +61,20 @@ struct fsl_mc_addr_translation_range { }; /** + * struct mc_version + * @major: Major version number: incremented on API compatibility changes + * @minor: Minor version number: incremented on API additions (that are + * backward compatible); reset when major version is incremented + * @revision: Internal revision number: incremented on implementation changes + * and/or bug fixes that have no impact on API + */ +struct mc_version { + u32 major; + u32 minor; + u32 revision; +}; + +/** * fsl_mc_bus_match - device to driver matching callback * @dev: the fsl-mc device to match against * @drv: the device driver to search for matching fsl-mc object type @@ -238,6 +253,42 @@ void fsl_mc_driver_unregister(struct fsl_mc_driver *mc_driver) EXPORT_SYMBOL_GPL(fsl_mc_driver_unregister); /** + * mc_get_version() - Retrieves the Management Complex firmware + * version information + * @mc_io: Pointer to opaque I/O object + * @cmd_flags: Command flags; one or more of 'MC_CMD_FLAG_' + * @mc_ver_info: Returned version information structure + * + * Return: '0' on Success; Error code otherwise. + */ +static int mc_get_version(struct fsl_mc_io *mc_io, + u32 cmd_flags, + struct mc_version *mc_ver_info) +{ + struct mc_command cmd = { 0 }; + struct dpmng_rsp_get_version *rsp_params; + int err; + + /* prepare command */ + cmd.header = mc_encode_cmd_header(DPMNG_CMDID_GET_VERSION, + cmd_flags, + 0); + + /* send command to mc*/ + err = mc_send_command(mc_io, &cmd); + if (err) + return err; + + /* retrieve response parameters */ + rsp_params = (struct dpmng_rsp_get_version *)cmd.params; + mc_ver_info->revision = le32_to_cpu(rsp_params->revision); + mc_ver_info->major = le32_to_cpu(rsp_params->version_major); + mc_ver_info->minor = le32_to_cpu(rsp_params->version_minor); + + return 0; +} + +/** * fsl_mc_get_root_dprc - function to traverse to the root dprc */ static void fsl_mc_get_root_dprc(struct device *dev, diff --git a/drivers/staging/fsl-mc/include/dpmng.h b/drivers/staging/fsl-mc/include/dpmng.h deleted file mode 100644 index 170c07d..0000000 --- a/drivers/staging/fsl-mc/include/dpmng.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright 2013-2016 Freescale Semiconductor Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * * Neither the name of the above-listed copyright holders nor the - * names of any contributors may be used to endorse or promote products - * derived from this software without specific prior written permission. - * - * - * ALTERNATIVELY, this software may be distributed under the terms of the - * GNU General Public License ("GPL") as published by the Free Software - * Foundation, either version 2 of that License or (at your option) any - * later version. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ -#ifndef __FSL_DPMNG_H -#define __FSL_DPMNG_H - -/* - * Management Complex General API - * Contains general API for the Management Complex firmware - */ - -struct fsl_mc_io; - -/** - * Management Complex firmware version information - */ -#define MC_VER_MAJOR 8 -#define MC_VER_MINOR 0 - -/** - * struct mc_version - * @major: Major version number: incremented on API compatibility changes - * @minor: Minor version number: incremented on API additions (that are - * backward compatible); reset when major version is incremented - * @revision: Internal revision number: incremented on implementation changes - * and/or bug fixes that have no impact on API - */ -struct mc_version { - u32 major; - u32 minor; - u32 revision; -}; - -int mc_get_version(struct fsl_mc_io *mc_io, - u32 cmd_flags, - struct mc_version *mc_ver_info); - -#endif /* __FSL_DPMNG_H */