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


Groups > linux.kernel > #1695245 > unrolled thread

[PATCH v2 4/4] can: m_can: Add call to of_can_transceiver_fixed

Started byFranklin S Cooper Jr <fcooper@ti.com>
First post2017-07-25 01:10 +0200
Last post2017-07-25 01:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v2 4/4] can: m_can: Add call to of_can_transceiver_fixed Franklin S Cooper Jr <fcooper@ti.com> - 2017-07-25 01:10 +0200

#1695245 — [PATCH v2 4/4] can: m_can: Add call to of_can_transceiver_fixed

FromFranklin S Cooper Jr <fcooper@ti.com>
Date2017-07-25 01:10 +0200
Subject[PATCH v2 4/4] can: m_can: Add call to of_can_transceiver_fixed
Message-ID<u6UEa-3ig-37@gated-at.bofh.it>
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..bd75df1 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_fixed(dev);
+
 	dev_info(&pdev->dev, "%s device registered (irq=%d, version=%d)\n",
 		 KBUILD_MODNAME, dev->irq, priv->version);
 
-- 
2.10.0

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web