From patchwork Fri Jan 11 17:32:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 155354 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp834058jaa; Fri, 11 Jan 2019 09:33:10 -0800 (PST) X-Google-Smtp-Source: ALg8bN6U0ly0iTJfBw7XJ9B22lNujifD7X0Nbjc/3g7bC/yAV2eHSxYU5ncSiB6p/zU/olurfYlO X-Received: by 2002:a17:902:59c8:: with SMTP id d8mr15510114plj.116.1547227990416; Fri, 11 Jan 2019 09:33:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547227990; cv=none; d=google.com; s=arc-20160816; b=mxKSBDyOJf5k/N9l9pDip93uNPYC10lstLf1WWylzFAzS16zjfWdNllfpmPBZow3lU al+bYC58+0WL4Q4FX9uhtsdL6oXhAa15mcOuGMZ5wumTKgRENLzBcHPKt9NjTxMilr75 oSv2P6Dg5mQhymuSF2w8y2vgmOahZ+HMUzYlgDw+My8dtf8tUNBut44MUyw0pOXscE1u TbmEYYitqx2gslLWwF1WTMDN+BAcB60Os8bc5cMCgy3Uw8nWijaoM2VQ9bu91R9Zekcb D6nQx7MYRveje20ANqU6hKk+4kFqhx92MPkkx388Ipqb3l3kFfMbGaNVRlY2fdv6UAM2 2oMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=FDpsBy698oT6HSGEWbWe2L3cxc6dNchCiWH6U/QaRHg=; b=je/o3vHrz7BQAUyq2BTke4MpBdVB3xxiGxJlpMlZNYZ/LstVcO4i4xfAlFqYUW6kT6 z6tTmYxaGhSmT93KpQmsA1NJPzNf9LRv/Fpbcc4th7cNnbYO5m3yppZnRSHQhUsQ+vmv qMkRzGQhNfBN3gzqwWg0wgSvJZq6IbDodmor1TRSKH0ICYhiSxuq8gHgjEXpKZ6S7XJy DUi5ZNOW0EkR4Fmc/ED3r9YcO6v8Y/VYJgnt5ARyMK5gGtCs6Kob02GacrhoWcvJVCsq +EM7MTWFNC/Nkmr13c81/LYyE2N3FHeijSPhOwiqcBIFAGOCb1o/WZWG12+ATAmm2QUn o1AQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=HXjVb1CX; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a10si69227094pgq.270.2019.01.11.09.33.10; Fri, 11 Jan 2019 09:33:10 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=HXjVb1CX; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387771AbfAKRdD (ORCPT + 31 others); Fri, 11 Jan 2019 12:33:03 -0500 Received: from lelv0142.ext.ti.com ([198.47.23.249]:47014 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387537AbfAKRdB (ORCPT ); Fri, 11 Jan 2019 12:33:01 -0500 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id x0BHWqQ8096426; Fri, 11 Jan 2019 11:32:52 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1547227972; bh=FDpsBy698oT6HSGEWbWe2L3cxc6dNchCiWH6U/QaRHg=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=HXjVb1CXf1L3g9b8Pq3/tyJa3PXHFbZrsQsIm2J5yjHOna34usRAKfv8xBX6XGwhN Ptdq6gYe8B+pEzP8IH1mr7jENmLiyWuCj5IkjtB8uAcHYhGQ/4YaLxwv7JhzV7wrre BPzsSppzc4jfYBbZf3ybo9lmf5vaNUXkRtDyefQU= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x0BHWq34081812 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 11 Jan 2019 11:32:52 -0600 Received: from DFLE103.ent.ti.com (10.64.6.24) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Fri, 11 Jan 2019 11:32:52 -0600 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1591.10 via Frontend Transport; Fri, 11 Jan 2019 11:32:52 -0600 Received: from legion.dal.desgin.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id x0BHWpvU011034; Fri, 11 Jan 2019 11:32:51 -0600 Received: from localhost (a0272616local-lt.dhcp.ti.com [172.22.88.224]) by legion.dal.desgin.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id x0BHWpU03651; Fri, 11 Jan 2019 11:32:51 -0600 (CST) From: Dan Murphy To: , , , CC: , , , Dan Murphy Subject: [PATCH v3 3/4] dt-bindings: can: tcan4x5x: Add DT bindings for TCAN4x5X driver Date: Fri, 11 Jan 2019 11:32:35 -0600 Message-ID: <20190111173236.14329-4-dmurphy@ti.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20190111173236.14329-1-dmurphy@ti.com> References: <20190111173236.14329-1-dmurphy@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DT binding documentation for TI TCAN4x5x driver. Signed-off-by: Dan Murphy --- .../devicetree/bindings/net/can/tcan4x5x.txt | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/can/tcan4x5x.txt -- 2.20.1.98.gecbdaf0899 diff --git a/Documentation/devicetree/bindings/net/can/tcan4x5x.txt b/Documentation/devicetree/bindings/net/can/tcan4x5x.txt new file mode 100644 index 000000000000..fb923274b756 --- /dev/null +++ b/Documentation/devicetree/bindings/net/can/tcan4x5x.txt @@ -0,0 +1,37 @@ +Texas Instruments TCAN4x5x CAN Controller +================================================ + +This file provides device node information for the TCAN4x5x interface contains. + +Required properties: + - compatible: "ti,tcan4x5x" + - reg: 0 + - #address-cells: 1 + - #size-cells: 0 + - spi-max-frequency: Maximum frequency of the SPI bus the chip can + operate at should be less than or equal to 18 MHz. + - data-ready-gpios: Interrupt GPIO for data and error reporting. + - device-wake-gpios: Wake up GPIO to wake up the TCAN device. + - device-state-gpios: Input GPIO that indicates if the device is in + a sleep state or if the device is active. + +See Documentation/devicetree/bindings/net/can/m_can.txt for additional +required property details. + +Optional properties: + - reset-gpios: Hardwired output GPIO. If not defined then software + reset. + +Example: +tcan4x5x: tcan4x5x@0 { + compatible = "ti,tcan4x5x"; + reg = <0>; + #address-cells = <1>; + #size-cells = <1>; + spi-max-frequency = <10000000>; + bosch,mram-cfg = <0x0 0 0 32 0 0 1 1>; + data-ready-gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; + device-state-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>; + device-wake-gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>; + reset-gpios = <&gpio1 27 GPIO_ACTIVE_LOW>; +};