Message ID | 1503607075-28970-9-git-send-email-roy.pledge@nxp.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> 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 BC71F600C5 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 24 Aug 2017 20:41:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AFA0C28BFE for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 24 Aug 2017 20:41:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A43C428C5B; Thu, 24 Aug 2017 20:41:46 +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=-2.6 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_LOW autolearn=ham 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 3833228BFE for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 24 Aug 2017 20:41:45 +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:Reply-To:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:To:From:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=9xWALZU/hEm/DdUM+A1STXgUhVkfyjpGywnQ/TRX32g=; b=D2xRryo717dZKg lLXbd0z5dyM1EGnzzUUSS35Y6yYs+JwLAkUZIWmXpmNQMSw1h58zdYDRUTIV7BT3DWPJEkmK1Zh/T E6LwyV8/Lb83kRGE3Ls4iVhI4NpI/oF7xrFOOE3H3NdDp2t1JwIiCeppDl9FzOqRTN2uUB0HHiLsX yA7EdCc8rmaCros9G//Kexu7f1alCjjLukMWs8vcPZzoqO84h3t1sxCVjyGnSKutZAk4nNPApMcdF K5ylAsLj0dUqOEhrOC8umuWpEsPe7GlQxeCtg/jVtViWaum3SuoDAc1KQWaC3hdoiXbqKqIiFMTot 1Hy+2l37Gr0pw7XLy0hA==; 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 1dkywd-0007jd-Jb; Thu, 24 Aug 2017 20:41:39 +0000 Received: from mail-by2nam01on0064.outbound.protection.outlook.com ([104.47.34.64] helo=NAM01-BY2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dkyu3-0003dy-4s for linux-arm-kernel@lists.infradead.org; Thu, 24 Aug 2017 20:39:01 +0000 Received: from BN6PR03CA0010.namprd03.prod.outlook.com (10.168.230.148) by DM5PR03MB3324.namprd03.prod.outlook.com (10.174.241.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1385.9; Thu, 24 Aug 2017 20:38:06 +0000 Received: from BL2FFO11FD005.protection.gbl (2a01:111:f400:7c09::151) by BN6PR03CA0010.outlook.office365.com (2603:10b6:404:23::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1362.18 via Frontend Transport; Thu, 24 Aug 2017 20:38:06 +0000 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; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BL2FFO11FD005.mail.protection.outlook.com (10.173.161.1) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1341.15 via Frontend Transport; Thu, 24 Aug 2017 20:38:06 +0000 Received: from otc-sw1.am.freescale.net (otc-sw1.am.freescale.net [10.29.200.182]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v7OKbv0p004767; Thu, 24 Aug 2017 13:38:05 -0700 From: Roy Pledge <roy.pledge@nxp.com> To: <leoyang.li@nxp.com>, <linuxppc-dev@lists.ozlabs.org>, <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org> Subject: [v4 08/11] soc/fsl/qbman: add QMAN_REV32 Date: Thu, 24 Aug 2017 16:37:52 -0400 Message-ID: <1503607075-28970-9-git-send-email-roy.pledge@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1503607075-28970-1-git-send-email-roy.pledge@nxp.com> References: <1503607075-28970-1-git-send-email-roy.pledge@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131480806863644210; (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)(39380400002)(39860400002)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(33646002)(2201001)(106466001)(105606002)(76176999)(50986999)(86362001)(43066003)(2906002)(7416002)(8656003)(104016004)(5660300001)(626005)(498600001)(3450700001)(54906002)(53936002)(8676002)(356003)(50226002)(81166006)(81156014)(8936002)(4326008)(47776003)(5003940100001)(305945005)(36756003)(68736007)(48376002)(189998001)(50466002)(6666003)(2950100002)(77096006)(85426001)(97736004)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR03MB3324; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD005; 1:oMB6UzkWxcjRFTIRBI1lc3IvjeNh4spB6C+xRrEnyd5zt0MVSNTl2a1qtoOmG9AqkElGxtmzhADuTWbFKjoJ+u+ur1VxHcUZla/MB01zNeVVEUi5degAboJlDrHdnI7j MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 084dcbfb-ee9e-4854-44d1-08d4eb300658 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(300000502095)(300135100095)(22001)(300000503095)(300135400095)(2017052603199)(201703131430075)(201703131517081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:DM5PR03MB3324; X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB3324; 3:lI3wVXecSjejSg+QSpTpG0F9FGZC/TktOSNJkXBRr3NlRzqHgk2OIdd4gt7Xu/Q03tDBBGOVtCEeRu3xCQKYVEVyLykd6m8yYh8j+6RuKwNts5lxOm29Wp9GqIejgTBWOyn0JBw4btdkeV7wv354Phpdw/5bwV7FYzK5135JC39MhKuJ4mmNWrqRv4S7GhBOehdPMEq8gC4Z6Xu29ll+SZ5UTTaXJOJNZ0UAJRdDF6+JfB3SpnC6VKWJ+I4irPFdgfOP+IFOvcDy+MN14z7xLJAWGKK4P4hOnwL8Hdpm73cQrrYaoR4NIvfqzhO0MbxwP/stcNRgW7t8LLvDIRalYuB24EUvGTusJrnts4W30lA=; 25:wK5WzoA7IwfTZlOVcASEasbWx+o14EMepi5Ft/1pnzGE9h7N9XpKJ8o7yvJ9149GBhAcdL4JcwHUrawMSbJeIej4kR+XOMx9Q/+LNNvuBcsifNbP+wjc4vj7B+TGzC2m6WGP5rj/V7zrA8ZhNAkL2FYnlACfgeAkM3E0DdYwUmi9RzUosBp+3eU/5k/f7qL3UjxwQNHiyFqOiWZbAMpX2kBD8o56ReimKaX1FNoUAdtXgEdFBzT47dCZFvpC80EddQJ2EGNmEt1df8JhhmBPcDFP0Sy/lvFrUnzSBQCfXo2+RX9Gqj52eVSuRvcSYjqfA0LoQJ4C1NlRbs8ONuuXhA== X-MS-TrafficTypeDiagnostic: DM5PR03MB3324: X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB3324; 31:68r6jzlsdjng+Jln+x5+hppsRprJoH6E04RJ25pZ6wKEtcoJoGb0q0mbbvWz9UEdpys4yLwRFXHw4auA/8TDRn1hA5MCU9gZLYTzlfUl0WyuoXiuH2wh5CoUeENMXW+nJ6kNbhkbldvF+Arnt6p47Zxdf+MNWKkZLZxLFDGL1WcinI3YJNrf6NTVg7MXvHm1ZGaV/je1v5ede42NpXeLXGibEF2KTyv/tzo6J0kTl8o=; 4:N/xOZ/kHj+lbhxoH9AEB9Oh0MTv9sIaouk9lDS7g/3p+lfOllWDXK3E0j9wWHjzZXJjd2LFFrlped+ufWaJ+XodvLZ0ZplZ3rbiM4s+nyz7nnLAPRT0wad0cJTxalt+RuJxFFHNsmWWiGSaf7cwwuvc9lFQ+Uwykrw1NKaRf8ORpPqZXBlMV1tUAujRbU6EjsS+obal7sHNj+s+YhHt9zYl+l1LN8LjUz1I5N0JlLPBYVXs2il0LyUJga1zW8K8B0tmfBJTRptPdULjwnORk6VfHnZB2+MMv2BWRD5kh4EY= X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Microsoft-Antispam-PRVS: <DM5PR03MB332445A7BD7391FE0DE6165B869A0@DM5PR03MB3324.namprd03.prod.outlook.com> X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(601004)(2401047)(8121501046)(5005006)(13016025)(13018025)(3002001)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(6055026)(6096035)(20161123565025)(201703131430075)(201703131433075)(201703131441075)(201703131448075)(201703161259150)(20161123563025)(20161123559100)(20161123556025)(20161123561025)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DM5PR03MB3324; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DM5PR03MB3324; X-Forefront-PRVS: 04097B7F7F X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM5PR03MB3324; 23:2VmUYKHwY/rwt4buvRmFYDJIdMpkRUjUMhPaUcUzV?= =?us-ascii?Q?eWQy3a2lV7+cxL+HmydE+n/ZD62nhvx8qUpoa1b9Q6NzZ61A2GbUTww7uVzz?= =?us-ascii?Q?mlW4TdZMLXBXLVOFisa34zKKaoI8Du3h1HZC5zxnv2+I8IVew9+jpVhw5Xbd?= =?us-ascii?Q?ZhHqClf0UZz/sut9Rqp7zbSzAXekbMSJh5a7ozZMDgInI3Ry8u8SXt1ME4+H?= =?us-ascii?Q?O4CpyUbAAKZg3oty3Y5qVlXX4/+bksqQlI5iKeSO8UxaC/Oakq52AprzJRer?= =?us-ascii?Q?uxzTvEs5ITjOKFZ+XJwdrrTjZLUe+hs7DMkqceAa/m5YyZDYA0Qy5RmIFaLY?= =?us-ascii?Q?3YTN8owae9xHxY1tAkwBK7+RBg4GekeyLBIr2GFYbsW/uYpJ3lYeb8ylV6QW?= =?us-ascii?Q?j2qQsM5s7quw0YuFrnUVvM/q3yLn2ZUdn1F88sgI6EbyOhpii8vZ6nAXKxjh?= =?us-ascii?Q?anqZA9WPa8QsFpIZa5rjb75w5nqH2Me+aAOjJExSUcc1xuo2DFnujnAbT2PU?= =?us-ascii?Q?3/QT0m2W8xMQ5D6fGSQmak13dzDC3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8/W8L2jcgeYSxzRqpPBX3rYgUReGpbx0F3oI5KAgyGcgOVStrF03fK+yXp+7UywwUFr998FwIvQYJQIHDHCIKb7fc8R3WSF1nsvGVJSA==; 5:Ib88DYSuIEyJET0lkKtoZDLyXC8lN8YwFOVJLoPxj3PXJKeAXiw+yce9OIVjYa46iP8ozvlNgNVGm6OIhctD/gGH2sXBothY8vzFfWtoJegsShZhRCv/cqpB1iA01rMhReAGsaMDmGdGOyy5iM1ZrA==; 24:10uhTpSrUMIfXdTYvNiSFHg7wqeChVLHyHT6oa5rbTfiT21RvQ2JpCJo48J6EB1MX+Bh/4vjOHZjRs87aoKHRpUUxnRCOC32LKaNUMW8Xkg=; 7:vW5Ggj+NRbVrIqwsQReb29zoLSV3t0QgVot1ChkCq/+9iTrgfktXWw9uLs/O+uzHY4+vdGZDVSPw1Ss4CU7qbIrjNQ6zVse4z+32oqXekYi+xwlHX0rsW5v9yZHLKihFSt1IPlljU3qiX4DO8SoqagpaRJ/nRuj9+9K59en1s4umvQ27R5Cs79+ixBPL3lLlnlp7s/jmr2dyvVAGmq2qI70taJZvNvBDmPMPiq/u8OY= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Aug 2017 20:38:06.1928 (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: DM5PR03MB3324 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170824_133859_279776_FD3706AE X-CRM114-Status: GOOD ( 12.16 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Reply-To: roy.pledge@nxp.com Cc: mark.rutland@arm.com, arnd@arndb.de, madalin.bucur@nxp.com, catalin.marinas@arm.com, Roy Pledge <roy.pledge@nxp.com>, linux@armlinux.org.uk, oss@buserror.net Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/soc/fsl/qbman/qman_ccsr.c b/drivers/soc/fsl/qbman/qman_ccsr.c index 20a1ebd..bbe3975 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 bab7f15..8f715fa 100644 --- a/drivers/soc/fsl/qbman/qman_priv.h +++ b/drivers/soc/fsl/qbman/qman_priv.h @@ -185,6 +185,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 */