From: roy.pledge@nxp•com (Roy Pledge)
To: linux-arm-kernel@lists•infradead.org
Subject: [PATCH 07/10] soc/qbman: add QMAN_REV32
Date: Wed, 18 Jan 2017 17:39:37 -0500 [thread overview]
Message-ID: <1484779180-1344-8-git-send-email-roy.pledge@nxp.com> (raw)
In-Reply-To: <1484779180-1344-1-git-send-email-roy.pledge@nxp.com>
From: Madalin Bucur <madalin.bucur@nxp•com>
Add revision 3.2 of the QBMan block. This is the version
for LS1043A and LS1046A SoCs.
Signed-off-by: Madalin Bucur <madalin.bucur@nxp•com>
Signed-off-by: Roy Pledge <roy.pledge@nxp•com>
---
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 67ae073..e68793d 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 53685b5..554d5d4 100644
--- a/drivers/soc/fsl/qbman/qman_priv.h
+++ b/drivers/soc/fsl/qbman/qman_priv.h
@@ -247,6 +247,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 */
--
1.7.9.5
next prev parent reply other threads:[~2017-01-18 22:39 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-18 22:39 [PATCH 00/10] fsl/qbman: ARM Enablement Roy Pledge
2017-01-18 22:39 ` [PATCH 01/10] soc/qbman: Use portable mapping for the FQD reserved memory Roy Pledge
2017-01-18 22:39 ` [PATCH 02/10] soc/qbman: Drop set/clear_bits usage Roy Pledge
2017-01-18 22:39 ` [PATCH 03/10] soc/qbman: Drop L1_CACHE_BYTES compile time check Roy Pledge
2017-01-18 22:39 ` [PATCH 04/10] soc/qbman: Fix ARM32 typo Roy Pledge
2017-01-18 22:39 ` [PATCH 05/10] soc/qbman: Rework ioremap() calls for ARM/PPC Roy Pledge
2017-01-18 22:39 ` [PATCH 06/10] soc/qbman: Add ARM equivalent for flush_dcache_range() Roy Pledge
2017-01-18 23:12 ` Russell King - ARM Linux
2017-01-18 23:36 ` Scott Wood
2017-01-23 19:24 ` Roy Pledge
2017-01-25 21:20 ` Arnd Bergmann
2017-01-26 5:08 ` Scott Wood
2017-01-27 16:41 ` Arnd Bergmann
2017-01-28 2:34 ` Scott Wood
2017-01-30 15:31 ` Robin Murphy
2017-01-30 19:04 ` Roy Pledge
2017-02-01 13:03 ` Robin Murphy
2017-02-01 22:51 ` Scott Wood
2017-02-06 22:26 ` Roy Pledge
2017-02-06 22:37 ` Russell King - ARM Linux
2017-02-07 16:44 ` Roy Pledge
2017-02-07 18:25 ` Robin Murphy
2017-02-13 21:26 ` Roy Pledge
2017-03-16 0:43 ` Roy Pledge
2017-03-16 20:08 ` Scott Wood
2017-03-29 21:19 ` Roy Pledge
2017-01-30 15:19 ` Russell King - ARM Linux
2017-02-01 12:47 ` Arnd Bergmann
2017-02-01 23:16 ` Russell King - ARM Linux
2017-02-02 17:21 ` Roy Pledge
2017-01-30 15:04 ` Russell King - ARM Linux
2017-02-01 12:52 ` Arnd Bergmann
2017-01-30 15:12 ` Russell King - ARM Linux
2017-01-18 22:39 ` Roy Pledge [this message]
2017-01-18 22:39 ` [PATCH 08/10] soc/qbman: different register offsets on ARM Roy Pledge
2017-01-18 22:39 ` [PATCH 09/10] soc/qbman: Add missing headers " Roy Pledge
2017-01-18 22:39 ` [PATCH 10/10] fsl/qbman: Enable FSL_LAYERSCAPE config " Roy Pledge
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1484779180-1344-8-git-send-email-roy.pledge@nxp.com \
--to=roy.pledge@nxp$(echo .)com \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox