Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933292AbdGSXiy (ORCPT ); Wed, 19 Jul 2017 19:38:54 -0400 Received: from fllnx209.ext.ti.com ([198.47.19.16]:37552 "EHLO fllnx209.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933166AbdGSXiw (ORCPT ); Wed, 19 Jul 2017 19:38:52 -0400 From: Franklin S Cooper Jr To: , , , , , , , , , CC: Franklin S Cooper Jr Subject: [PATCH 4/4] can: m_can: Add call to of_transceiver_is_fixed Date: Wed, 19 Jul 2017 18:36:54 -0500 Message-ID: <20170719233654.25908-5-fcooper@ti.com> X-Mailer: git-send-email 2.10.0 In-Reply-To: <20170719233654.25908-1-fcooper@ti.com> References: <20170719233654.25908-1-fcooper@ti.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 767 Lines: 24 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 --- 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..db1882c 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_transceiver_is_fixed(dev); + dev_info(&pdev->dev, "%s device registered (irq=%d, version=%d)\n", KBUILD_MODNAME, dev->irq, priv->version); -- 2.10.0