Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1708119

[PATCH v4 4/4] can: m_can: Add call to of_can_transceiver

From Franklin S Cooper Jr <fcooper@ti.com>
Newsgroups linux.kernel
Subject [PATCH v4 4/4] can: m_can: Add call to of_can_transceiver
Date 2017-08-10 03:10 +0200
Message-ID <ucK94-704-21@gated-at.bofh.it> (permalink)
References <ucK93-704-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Add call to new generic functions that provides support via a binding
to limit the arbitration rate and/or data rate imposed by the physical
transceiver connected to the MCAN peripheral.

Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
---
 drivers/net/can/m_can/m_can.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/net/can/m_can/m_can.c b/drivers/net/can/m_can/m_can.c
index f4947a7..f72116e 100644
--- a/drivers/net/can/m_can/m_can.c
+++ b/drivers/net/can/m_can/m_can.c
@@ -1649,6 +1649,8 @@ static int m_can_plat_probe(struct platform_device *pdev)
 
 	devm_can_led_init(dev);
 
+	of_can_transceiver(dev);
+
 	dev_info(&pdev->dev, "%s device registered (irq=%d, version=%d)\n",
 		 KBUILD_MODNAME, dev->irq, priv->version);
 
-- 
2.9.4.dirty

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v4 0/4] can: Support transceiver based bit rate limit Franklin S Cooper Jr <fcooper@ti.com> - 2017-08-10 03:10 +0200
  [PATCH v4 1/4] can: dev: Add support for limiting configured bitrate Franklin S Cooper Jr <fcooper@ti.com> - 2017-08-10 03:10 +0200
    Re: [PATCH v4 1/4] can: dev: Add support for limiting configured  bitrate Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> - 2017-08-10 12:10 +0200
    Re: [PATCH v4 1/4] can: dev: Add support for limiting configured  bitrate Marc Kleine-Budde <mkl@pengutronix.de> - 2017-08-10 17:30 +0200
  [PATCH v4 4/4] can: m_can: Add call to of_can_transceiver Franklin S Cooper Jr <fcooper@ti.com> - 2017-08-10 03:10 +0200

csiph-web