From patchwork Thu Aug 10 00:59:15 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Franklin S Cooper Jr X-Patchwork-Id: 800058 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ti.com header.i=@ti.com header.b="xOzIOxcj"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3xSVF11FfKz9t2M for ; Thu, 10 Aug 2017 11:00:53 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752677AbdHJBAQ (ORCPT ); Wed, 9 Aug 2017 21:00:16 -0400 Received: from lelnx193.ext.ti.com ([198.47.27.77]:23973 "EHLO lelnx193.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752349AbdHJBAK (ORCPT ); Wed, 9 Aug 2017 21:00:10 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelnx193.ext.ti.com (8.15.1/8.15.1) with ESMTP id v7A0xdaV025996; Wed, 9 Aug 2017 19:59:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1502326779; bh=hRhSQap+1wXK4Brvt2El4EA3+ZXvP15nUsVNlzlzeMA=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=xOzIOxcjWmKnugxrh1BwLpiI7Ia//nc2XoaINuJfcbEQ6sdWSnjTlz+/q5DF83qT/ hfWxDmmFS57xFg3SY51o93rKM/0gn6gee7YJ+BR+RZGahbdxTo49YBpzgQl3G81O67 UvIrkp1Q4gd8d1JuvQkiWaLbHg5jjaAQE6D9aqVY= Received: from DLEE101.ent.ti.com (dlee101.ent.ti.com [157.170.170.31]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id v7A0xdbv001614; Wed, 9 Aug 2017 19:59:39 -0500 Received: from DLEE106.ent.ti.com (157.170.170.36) by DLEE101.ent.ti.com (157.170.170.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34; Wed, 9 Aug 2017 19:59:39 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DLEE106.ent.ti.com (157.170.170.36) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend Transport; Wed, 9 Aug 2017 19:59:39 -0500 Received: from dbdmail01.india.ti.com (dbdmail01.india.ti.com [172.24.162.206]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id v7A0xbXR008742; Wed, 9 Aug 2017 19:59:38 -0500 Received: from uda0273011.dhcp.ti.com (uda0273011.dhcp.ti.com [128.247.59.33]) by dbdmail01.india.ti.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id v7A0xJoR012385; Thu, 10 Aug 2017 06:29:33 +0530 From: Franklin S Cooper Jr To: , , , , , , , , , , , CC: Franklin S Cooper Jr Subject: [PATCH v4 3/4] dt-bindings: can: m_can: Document new can transceiver binding Date: Wed, 9 Aug 2017 19:59:15 -0500 Message-ID: <20170810005916.27163-4-fcooper@ti.com> X-Mailer: git-send-email 2.9.4.dirty In-Reply-To: <20170810005916.27163-1-fcooper@ti.com> References: <20170810005916.27163-1-fcooper@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add information regarding can-transceiver binding. This is especially important for MCAN since the IP allows CAN FD mode to run significantly faster than what most transceivers are capable of. Signed-off-by: Franklin S Cooper Jr Acked-by: Rob Herring --- Drop unit address. Switch from using fixed-transceiver to can-transceiver Indicate that can-transceiver is an optional subnode not a property. Documentation/devicetree/bindings/net/can/m_can.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/net/can/m_can.txt b/Documentation/devicetree/bindings/net/can/m_can.txt index 9e33177..ee90aac 100644 --- a/Documentation/devicetree/bindings/net/can/m_can.txt +++ b/Documentation/devicetree/bindings/net/can/m_can.txt @@ -43,6 +43,11 @@ Required properties: Please refer to 2.4.1 Message RAM Configuration in Bosch M_CAN user manual for details. +Optional Subnode: +- can-transceiver : Can-transceiver subnode describing maximum speed + that can be used for CAN/CAN-FD modes. See + Documentation/devicetree/bindings/net/can/can-transceiver.txt + for details. Example: SoC dtsi: m_can1: can@020e8000 { @@ -64,4 +69,8 @@ Board dts: pinctrl-names = "default"; pinctrl-0 = <&pinctrl_m_can1>; status = "enabled"; + + can-transceiver@ { + max-bitrate = <5000000>; + }; };