Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965505AbdDSUvB (ORCPT ); Wed, 19 Apr 2017 16:51:01 -0400 Received: from mail-dm3nam03on0075.outbound.protection.outlook.com ([104.47.41.75]:47584 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S969377AbdDSUtK (ORCPT ); Wed, 19 Apr 2017 16:49:10 -0400 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; From: Roy Pledge To: , , , , CC: , Roy Pledge Subject: [PATCH v2 08/11] soc/fsl/qbman: add QMAN_REV32 Date: Wed, 19 Apr 2017 16:48:47 -0400 Message-ID: <1492634930-10765-9-git-send-email-roy.pledge@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1492634930-10765-1-git-send-email-roy.pledge@nxp.com> References: <1492634930-10765-1-git-send-email-roy.pledge@nxp.com> Reply-To: X-EOPAttributedMessage: 0 X-Matching-Connectors: 131371085439459072;(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)(39410400002)(39850400002)(39840400002)(39860400002)(39400400002)(39380400002)(39450400003)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(9170700003)(5660300001)(76176999)(50466002)(3450700001)(86362001)(5003940100001)(50986999)(33646002)(38730400002)(48376002)(105606002)(2906002)(53936002)(106466001)(54906002)(4326008)(47776003)(356003)(77096006)(6666003)(8656002)(189998001)(8676002)(305945005)(85426001)(2201001)(50226002)(81166006)(36756003)(2950100002)(104016004)(43066003)(8936002)(2101003);DIR:OUT;SFP:1101;SCL:1;SRVR:BLUPR03MB248;H:az84smr01.freescale.net;FPR:;SPF:Fail;MLV:ovrnspm;A:1;MX:1;PTR:InfoDomainNonexistent;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BN1BFFO11FD045;1:q3tNSPgz0Bqg1lzBLDHMu+UsfP4tL4gZBAReSJMJUsbYJbyzYf99Vp9soTVOnaUoWsK1/b8ZpICKY0CZkw9wM8m3rdtEbsN8Du9Mte+xHv2maKceFMftsuk36q4By1BL7lr2Jx3tX4fT3zKWM4H9/ae2/y+ELcf6SvL/3QzzngVdpAXBDvled4XuUkE26lAmI6VVFLjmTgEVf2IkOrYMxVvHmILLA73N2vBYJtinTPXM3R4iVn8hMSmt9d6Rt8L9Hf3Sh5HdcyJO2ypEC8nsCqKML2YqkqUyOLhSFLkjOnScuoxIVuXmdj5bCkqatMRUeO/CoaDkdD5+SlZeeTBgKs0CwZvKbVPNJX6r6bdqmHxQ0Dknxckxb2OfpJU4M8CZ2jEy5sMAaLSkzVBtNn/AXPoqxLESZ0yHKov5OfKgx2gdOSKJg88e9UAPzTo5AWQZ6ksS4mi7obP+mym54wsGBgUCKDSu3+isdM0YfPZkxQFac4ww/VFydrFNkAWHh2BI6ZHY7A++dG5XmqHqg52fXXvlaXreSov+/V9FFcOxfvBwXxWXQa4TcDyEOSLokC/mJXmUe439G6bwcwQXLwMnmb8Ff3Yw5gNOK1wScm1X92OMgaOHRsk4ydIraO1hvw8kE/tTjnvxW4pNPLPullFOb5o2ZJNdd/c+nFmRjjUjFBZ0L2dfUQ583H4QcdjZdQN/z4NtPmXB+dfUVj8fZAFW5ejMtmuDxTa1XqCytEwgflBH+i76PY5MGTzLqYaqDQa0 MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 409c3b35-f711-4199-fda1-08d4876583d4 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(201703131430075)(201703131517081);SRVR:BLUPR03MB248; X-Microsoft-Exchange-Diagnostics: 1;BLUPR03MB248;3:eZmESTbcliUHIf3p1ij50OEs4KHooc9ZCF2WvG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Hy9JsK/BrBMq+d5yGPcWTy76pJ+Hfvz+OA/3Dajzt0BGRPIc6L0owGSuRPqSntOrZV7Y+YL/wTdFBIN8dOx4D9uQ6yyzIqsvz1/r94vfEpZFCjU9jbq/s79OLUqurCUGg== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6095135)(601004)(2401047)(8121501046)(5005006)(13017025)(13023025)(13024025)(13015025)(13018025)(10201501046)(3002001)(93006095)(93001095)(6055026)(6096035)(20161123563025)(20161123565025)(20161123556025)(20161123561025)(201703131430075)(201703131433075)(201703131441075)(201703131448075)(201703161259150);SRVR:BLUPR03MB248;BCL:0;PCL:0;RULEID:(400006);SRVR:BLUPR03MB248; X-Microsoft-Exchange-Diagnostics: 1;BLUPR03MB248;4:2ZERgwEoWCwAq4auvJJiCosW5Ugp9IaksOZq37qJtipgfIgUEgPHJEfIP3qIXa1MgOATUmlaL6BDOgHxXFhASySldJYGYK8QPVzWqu18VGG4CY0rgOaUMUoDlF4yjLemGOXRupcjawxvzyxNOBxX8WfGCCmt7t1DPavng01hiCI1lEka8nmTNjkE5mkweD36+dwbqVsJUBXpGZoEh70RVKtoKnSVTl0jwYBGY9zSO/Dni1dR6f1aaqAbybxG/aHYQxk3kLJdiRfJrK5/SPn/RXBnorFvSjLRXhTA6Qt+AIYIIw1CHx7/Sn/Mc3DN8MpWT8+WO9RIajfC2bKE7T9U7MG8WEqt3afkrxcGRZ5dBLCTWhrmDY+3pTzi5cC+i5tojjD9pKd6NNWmORAE7lYr3WkUaELCD1/6ZkGt6BFfZtxGBikuHqjsHCcwA7BHzuyRa1y9w/14B7PjCLVT5V0CZaJSS7GpdfPTjxIsa7Y81ph1u5fT3vjf2Ejq/IjV77Uuz8hqPTvVe7Y7sbBrNNrNXRbnYdFD/XMkygvN2ROjcMMpPaQvcANHlBPogACBmrLGNSzOoLO0CwY+mTjMC31MK9wNqcHdW0VkzogzShXqFzw7uhO4BFe6lFqTQPz1UeDgvpy0/O7OJ64DddiNd1RsqSMzbo8YtqJzDBvmAJ3YdHD4d+cQ3VEPOIL115104RU7kc5ryt745+HdpD84PwaIaO+pOjA3RkbtACzpI7rhegf4HvucXazP61UHn4LvBzrD7DA3zOKjTVHt7T9yHoCLcb82XD+RVUK8OhSsWfX+BLkRjKid5BwlvlYT4LI+uk9CNtfriKW4cgAr9tJy7bPtqofaGXFFxPMsMsMXRVi5CBDMOcqpsKAO1dzrTFTbuhpcdj+cbnZWo/4v9w8yj8/qQLHvYBcNaIvGWVE1I2iR640= X-Forefront-PRVS: 028256169F X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BLUPR03MB248;23:c6ggrpRYzJ/i+1HWFGvD3UNt2Z/je0WCET69yPC4u0?= =?us-ascii?Q?nE8HgX1Bdiaeq0X72nn/BGGb9IxLYfLJO30HXTuEedWdj1xp0X3pCRPZsqqc?= =?us-ascii?Q?+IXe3A6hYi/dAb46uPGinTq2uZDcq8W8BBMk/rxgvf7UsAxJ/py9qV53AVoK?= =?us-ascii?Q?KSMTrg+RelQECwY47jWrd7/pbcg7yDSEziiTmMnhVAEpvC/s5Z16rqsa0G9Q?= =?us-ascii?Q?NsabC9Kvm0aCpWoCIQMqUEVaQvcyVzEx5/9DCurDVuMC5Q/utZONDovBYzFL?= =?us-ascii?Q?YCy6629aItLYp0KCgArX0+llyWOf+l9sYzpt7NfnGGiYs45P/v24620D5Roe?= =?us-ascii?Q?1brDoG21uzcEXN7H8Q80K5zzLVfIrduwdn+yFLz7g1g0Qp24yIas8uHEMm+a?= =?us-ascii?Q?gU9E+vA09XjRe7s6L5AMRaS5D8Uy4QayqdUOvx2yoVtMtBJhLrvSroZser32?= =?us-ascii?Q?A1nYi8KT3Jj5vmPW6m311Jx02ujeV14AygveSFp0oSnLh9d1lw2GijcuLSuK?= =?us-ascii?Q?eWLTQ8y4GeNnmdfVZF7ZVw/aSAjzymEgIm9ILda9x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MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Apr 2017 20:49:03.6963 (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: BLUPR03MB248 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 39ad7c4..9327374 100644 --- a/drivers/soc/fsl/qbman/qman_ccsr.c +++ b/drivers/soc/fsl/qbman/qman_ccsr.c @@ -720,6 +720,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 1e998ea5..96f58c4 100644 --- a/drivers/soc/fsl/qbman/qman_priv.h +++ b/drivers/soc/fsl/qbman/qman_priv.h @@ -186,6 +186,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