Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751615AbdIRUkH (ORCPT ); Mon, 18 Sep 2017 16:40:07 -0400 Received: from mail-by2nam01on0052.outbound.protection.outlook.com ([104.47.34.52]:4539 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751524AbdIRUkB (ORCPT ); Mon, 18 Sep 2017 16:40:01 -0400 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; From: Roy Pledge To: , , , , CC: , , , , , , Roy Pledge Subject: [v5 09/12] soc/fsl/qbman: add QMAN_REV32 Date: Mon, 18 Sep 2017 16:39:44 -0400 Message-ID: <1505767187-4596-10-git-send-email-roy.pledge@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1505767187-4596-1-git-send-email-roy.pledge@nxp.com> References: <1505767187-4596-1-git-send-email-roy.pledge@nxp.com> Reply-To: X-EOPAttributedMessage: 0 X-Matching-Connectors: 131502407996076710;(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)(336005)(376002)(346002)(39860400002)(39380400002)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(5660300001)(316002)(8936002)(77096006)(81156014)(81166006)(48376002)(8676002)(7416002)(50466002)(2950100002)(106466001)(6666003)(68736007)(54906002)(4326008)(5003940100001)(16586007)(97736004)(104016004)(47776003)(36756003)(53936002)(33646002)(43066003)(76176999)(50986999)(356003)(305945005)(2201001)(3450700001)(86362001)(189998001)(85426001)(498600001)(50226002)(8656003)(105606002)(2906002)(110136005)(2101003);DIR:OUT;SFP:1101;SCL:1;SRVR:CO2PR03MB2359;H:tx30smr01.am.freescale.net;FPR:;SPF:Fail;PTR:InfoDomainNonexistent;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BN1AFFO11FD024;1:BhePgtjTk6O6raPIL33ZmhedeYuy9Z45Ui2U7Hz0Gy5gK+RTxG6zN0IzE8amndziOzt6nd0wZbazH+h7IpSqL0+DDg3SDo9TsFJqL30xOSF7peIfDDgDd3iDod6+Wxq5 MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 18abf17f-44ba-45ec-9145-08d4fed56e2b X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(2017052603199)(201703131430075)(201703131517081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:CO2PR03MB2359; X-Microsoft-Exchange-Diagnostics: 1;CO2PR03MB2359;3:T4fR029Lnhy83PB4U669+Xo6ReYkHVJ/MTdEBI+LDR0+5HqJ4PPfKrSdXtkJWYW2tC8Wy3U7LBdLH4IZK+ZKjnfENZKC5bWyw3c5GO5NQ6S3fhMWEiv0OQNLNKN9i4z5lc3SZ98h7kWh9pwotXJFSb60jWKkFK14uB+fGCPX0uyZrSUPWxQtGtgPmZd1RLkjZWNuLfFfOMPGGGltcEpVytmVZAi5nIWMQuJ5DDpFm6sHnWaWW1PqAHHiZir39E/tdDhH8JcJsh6ccWDkkXsTnWRZtD1RgWAkGKjkAKfU89kZy9AqO1T4xXGbKT5VDXIwq3QZ1e1W+oMCtGIHERVxPhIaPFlAB0EWzE6eDtm+OAI=;25:JsWmkf8SvObwjtcCYf27jVCXiQkfqxtEtWVb/1ndGinZSoebKDihmCobnm+s22c6CUq9D88+ehJbhS2HhApv6O3hPscT9GNUnfjakraU4wrdkRO/UdXzdq7M0KPqzAuqUo5csc8EAx2v1kXSCwG9f35M++R1HKwfxEMRoYZdG4q3NuunERyCH1Ev3xhuvXoNt55yo2iMYXmqHIhrKOgmwO+TR3nLnuB6TxdjH1VW9916PoimaFN505RzEe6/M/bMJm8PmIpY/ojPf6MS9m6WQo1MIkkPLDRaeBQ36H2+OMOtC+2eZJ+NyRv0XPmehXlS+Di9IsGKMsl4SOKIHOkrtg== X-MS-TrafficTypeDiagnostic: CO2PR03MB2359: X-Microsoft-Exchange-Diagnostics: 1;CO2PR03MB2359;31:lOPwrYNksceSFoPA3VVwb35bc4I1GACbyurrcc8UwZX47PGS3Cd+Glw1ugwN694lFEonNHF0ll1O57bDgcenH46XZJj86MkovysjmcAq9qDwsnjbEW0HnZv8EYL1V8Y4eFSM2DKaUlbDelyMUd9QH9pNd3e738p1qGshsncx0jX/WwyY0gfbQNvvn2kDj+pDPhhqJR7vkLySA6ofNBLsep5daMiXeKNR8I9q19+GmiQ=;4:Vmms/voQotKixUNqugMNlw5QDMTcAOBEXDej1QQfmFo2p8FlThhFHoXkhc77eT56368YWutBVyHtuwGQuFR6rqTeMehUagsy4y2BPekAmybELF0m+a2cABI/YpGc1KXGyHqB+D9DBspeHDyHvFFayhTTG5fz9vN2FbNtOyw/WrdJ1vugxtE/CnaZ//bZr+jGoAszl0RA3x9mYaxermt+XuhM2dGM87Zxy4feyfC+hFvtJqOvBVdPDsIUKiuN9ZUwQIGAWaH9nKYIHCr1i+lWTsEcC4sAkT6OhmVM4JJWAJ4= X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(2401047)(8121501046)(5005006)(100000703101)(100105400095)(3002001)(93006095)(93001095)(10201501046)(6055026)(6096035)(20161123559100)(20161123563025)(201703131430075)(201703131433075)(201703131448075)(201703161259150)(201703151042153)(20161123565025)(20161123556025)(20161123561025)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:CO2PR03MB2359;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:CO2PR03MB2359; X-Forefront-PRVS: 04347F8039 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CO2PR03MB2359;23:wuoTP5p5A3vIw2zIY/4kj1u/ApBMufrJOcDJpZFw/?= =?us-ascii?Q?mL4Vo4ayzcNL8Hw6q3PPWOTuqaMoFhakcBhIE6aRdS5ETtLzNNJNBPeIytm1?= =?us-ascii?Q?x1WmJsB6wHwGd7cMnEQT+0/b2oW1tqUIjntcAVGe+Plk+k4TOS8qiuwADISZ?= =?us-ascii?Q?RONuI/tyIUNhT5UfFHBuluQ0NI9iXTIMPZvd5ngVukAWUJhqZUVwjPFkDVIX?= =?us-ascii?Q?v1QFgJ42+eo0WwttdWXht/Bn8OxPPmg3yVyF6oiVt+8y5WADJlDD0T3UFmXT?= =?us-ascii?Q?gBw/9nSbzR0IN5U8NZ26VYGuFOOPX4Yrtu6ksnKmy5oqSiLG8DCFKJCiLWJS?= =?us-ascii?Q?oPzCMQ5KUmldghicpWm2YhvK4EsSjnDdGZVgGfGn/WtZy/zuQVDL+fzCf4BL?= =?us-ascii?Q?6UQ7LIHcIdCWDaOU38lhvKaU2Yr6QtwP0OICao8QBW2xiiXm3Uc/hBGvgJYP?= =?us-ascii?Q?O+7EWj2+Wf669i3Qr2WlBkn/unGiyeZkDxnBrAnHbP9V4wiitDhdi39HORzg?= =?us-ascii?Q?JHTdZuqSSzxgdrx6WHKbIyBIAskDe3wtrTLK4O/M0CGv8gafBvl8Qbqm5swC?= =?us-ascii?Q?fhTMudTkZk2KMU9+eA8vJxAynWxTr4wH8nDZjUJGsVJmkFjCMvW0fz27fbbA?= =?us-ascii?Q?e/ksWo2kAp+ZVhxXEDyKWnu+0SZ7Jw5LkjAoWAA3KMaQ8X7auTUyH1FBD9Ea?= =?us-ascii?Q?XtjMyWjm2rlCO3oo5BVciT5a8JDYvBGEQRCtDQ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B0zT5iOMHMdJmiy1jU4F2ej+L9hugtf+SNLFOLzmIbRwBH05cRwy6hli6WTidaj9LSBUK2svIImlXR/FwTb03SVaypZAZBsAPjDO71jRwo3EyA==;24:Jp4sqBW+JKVR8zFrj/nCVp3oMlABtMQoFjncca7y4iM5BAqEJhmS+fW5bBQLpScX39nKKCZu+FU15PwyTATICSK4XLI9IiUbpuQQFCukV7g=;7:lSlgn4/cDRTLq7qhDMM/0lMYVVtYav8xwKUHSuwIj9ZScocEHsmcOwzxC1NstPdNQC0ERBF5Jb6wHO2UMpRbRh6zLDwXvPwE4pMj0wRaR9suNh27De6WMAjmrdfYduDqQfe11fjOvN9VbPW5p3FEn3XLys/bPceAwgi937y1aJwsK2irvc5hPVqftyI17AU1PchxwKisBQalVSt7K6Rx0SDKQRI2J6IGE57YsqIRmS4= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Sep 2017 20:39:59.4360 (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: CO2PR03MB2359 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1358 Lines: 39 From: Madalin Bucur Add revision 3.2 of the QBMan block. This is the version for LS1043A and LS1046A SoCs. Signed-off-by: Madalin Bucur Signed-off-by: Roy Pledge --- drivers/soc/fsl/qbman/qman_ccsr.c | 2 ++ drivers/soc/fsl/qbman/qman_priv.h | 1 + 2 files changed, 3 insertions(+) diff --git a/drivers/soc/fsl/qbman/qman_ccsr.c b/drivers/soc/fsl/qbman/qman_ccsr.c index 607355b9..79cba58 100644 --- a/drivers/soc/fsl/qbman/qman_ccsr.c +++ b/drivers/soc/fsl/qbman/qman_ccsr.c @@ -719,6 +719,8 @@ static int fsl_qman_probe(struct platform_device *pdev) qman_ip_rev = QMAN_REV30; else if (major == 3 && minor == 1) qman_ip_rev = QMAN_REV31; + else if (major == 3 && minor == 2) + qman_ip_rev = QMAN_REV32; else { dev_err(dev, "Unknown QMan version\n"); return -ENODEV; diff --git a/drivers/soc/fsl/qbman/qman_priv.h b/drivers/soc/fsl/qbman/qman_priv.h index 9407d2e..75a8f90 100644 --- a/drivers/soc/fsl/qbman/qman_priv.h +++ b/drivers/soc/fsl/qbman/qman_priv.h @@ -183,6 +183,7 @@ struct qm_portal_config { #define QMAN_REV20 0x0200 #define QMAN_REV30 0x0300 #define QMAN_REV31 0x0301 +#define QMAN_REV32 0x0302 extern u16 qman_ip_rev; /* 0 if uninitialised, otherwise QMAN_REVx */ #define QM_FQID_RANGE_START 1 /* FQID 0 reserved for internal use */ -- 2.7.4