From: Bhupesh Sharma <bhupesh.sharma@freescale.com>
To: linux-can@vger.kernel.org, mkl@pengutronix.de
Cc: arnd@arndb.de, bhupesh.linux@gmail.com,
bhupesh.sharma@freescale.com, Sakar.Arora@freescale.com
Subject: [PATCH 1/3] can: flexcan: Add ls1021a flexcan device entry
Date: Thu, 9 Apr 2015 20:54:14 +0530 [thread overview]
Message-ID: <1428593056-13701-1-git-send-email-bhupesh.sharma@freescale.com> (raw)
This patch adds ls1021a flexcan device entry to the flexcan driver code.
Signed-off-by: Bhupesh Sharma <bhupesh.sharma@freescale.com>
---
drivers/net/can/flexcan.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/drivers/net/can/flexcan.c b/drivers/net/can/flexcan.c
index 80c46ad..437d6bd 100644
--- a/drivers/net/can/flexcan.c
+++ b/drivers/net/can/flexcan.c
@@ -267,10 +267,15 @@ static struct flexcan_devtype_data fsl_imx28_devtype_data;
static struct flexcan_devtype_data fsl_imx6q_devtype_data = {
.features = FLEXCAN_HAS_V10_FEATURES,
};
+
static struct flexcan_devtype_data fsl_vf610_devtype_data = {
.features = FLEXCAN_HAS_V10_FEATURES | FLEXCAN_HAS_MECR_FEATURES,
};
+static struct flexcan_devtype_data fsl_ls1021a_devtype_data = {
+ .features = FLEXCAN_HAS_V10_FEATURES | FLEXCAN_HAS_MECR_FEATURES,
+};
+
static const struct can_bittiming_const flexcan_bittiming_const = {
.name = DRV_NAME,
.tseg1_min = 4,
@@ -1140,6 +1145,8 @@ static void unregister_flexcandev(struct net_device *dev)
static const struct of_device_id flexcan_of_match[] = {
{ .compatible = "fsl,imx6q-flexcan", .data = &fsl_imx6q_devtype_data, },
{ .compatible = "fsl,imx28-flexcan", .data = &fsl_imx28_devtype_data, },
+ { .compatible = "fsl,ls1021a-flexcan",
+ .data = &fsl_ls1021a_devtype_data, },
{ .compatible = "fsl,p1010-flexcan", .data = &fsl_p1010_devtype_data, },
{ .compatible = "fsl,vf610-flexcan", .data = &fsl_vf610_devtype_data, },
{ /* sentinel */ },
--
1.7.9.5
next reply other threads:[~2015-04-09 15:39 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-09 15:24 Bhupesh Sharma [this message]
2015-04-09 15:24 ` [PATCH 2/3] net: can: Remodel FlexCAN register read/write APIs for BE instances Bhupesh Sharma
2015-04-09 15:24 ` [PATCH 3/3] can: flexcan: Add support for non RX-FIFO mode and ERRATA ERR005829 Bhupesh Sharma
2015-04-09 15:40 ` Marc Kleine-Budde
2015-04-09 15:45 ` bhupesh.sharma
2015-04-09 15:46 ` Marc Kleine-Budde
2015-04-09 15:53 ` bhupesh.sharma
2015-04-09 16:12 ` Marc Kleine-Budde
2015-04-09 16:17 ` bhupesh.sharma
2015-04-09 16:33 ` Marc Kleine-Budde
2015-04-27 6:38 ` bhupesh.sharma
2015-04-27 6:45 ` Marc Kleine-Budde
2015-04-27 6:51 ` bhupesh.sharma
2015-04-27 7:10 ` Marc Kleine-Budde
2015-04-27 7:11 ` bhupesh.sharma
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=1428593056-13701-1-git-send-email-bhupesh.sharma@freescale.com \
--to=bhupesh.sharma@freescale.com \
--cc=Sakar.Arora@freescale.com \
--cc=arnd@arndb.de \
--cc=bhupesh.linux@gmail.com \
--cc=linux-can@vger.kernel.org \
--cc=mkl@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).