Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754056AbdHXUkH (ORCPT ); Thu, 24 Aug 2017 16:40:07 -0400 Received: from mail-by2nam01on0083.outbound.protection.outlook.com ([104.47.34.83]:63993 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753721AbdHXUiI (ORCPT ); Thu, 24 Aug 2017 16:38:08 -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: [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> Reply-To: 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 Content-Type: text/plain 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: 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/QT0m2W8xMQ5D6fGSQmak13dzDC3tnX05hxUCsGuH2F21NyJOSJgbRcJHTS?= =?us-ascii?Q?oQ08P779XQgQGyJ4czeSRJWa65iaV60lEi+peWpQmMNyjebKsFfLCzLmulr0?= =?us-ascii?Q?9THftLa2u5sq5FfNut8T8ghhl0JWgYINWAeOl4QpqJhNBk50XnIcYGPa1lH7?= =?us-ascii?Q?n0MdnbXmUVUUOXlGy+1yeMU2SeLOA0h8X6p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pB1iA01rMhReAGsaMDmGdGOyy5iM1ZrA==;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 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1357 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 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 */ -- 2.7.4