From patchwork Thu Feb 14 18:27:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 158418 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp1706961jaa; Thu, 14 Feb 2019 10:28:46 -0800 (PST) X-Google-Smtp-Source: AHgI3Ibo6SpD0JjgELfHrq1MUlqIs4oHUKUDtdr6iyQe70FODVhNGsk6qMGWC6PWmT576NNKj+u+ X-Received: by 2002:a62:ee0e:: with SMTP id e14mr5455994pfi.201.1550168926619; Thu, 14 Feb 2019 10:28:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550168926; cv=none; d=google.com; s=arc-20160816; b=ur2B+jP7sgT88DngZhuiVk90P2NNSoWqmL+dflUO/eFfRRYREl9e4sskllkjNlaykg rR+WU3gTOzo6ygztCkFK4lDj0zZ30L2gJ6HODFxEsBT0P19G8vzWR9009/xGoIrjoG0Q w7w1xl5sycm/+cZtFlJ4elt9kV/C8vTnKdjtqwIXV1V3+R7XyZsIGvwIkPJoovW6Y7UI n3+RiUi8/QjOHXgaHAgoDIFZ6DSy/8Z21nZ4KoFurbiF89xVseUJFA4v9l7FJYjahMsN ckMqg1W9JcsSHH17khyReWOdyhnHPT7WW/bSdqaF1ZkrnROd9o3DvTQSz8nEUePbh+Ei 2aDA== 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=YsjwZpbQbe0xs1O7DEzDwnvSqaLup+bjvAEDOMyIzpc=; b=HA9sjKcOWnLgC+jMvfbfpazcj0r+NIg9MaW7M5mY1L9Yk1xpl3xqjV+NLYgW6G/LmQ 8fqiAMI3x3DKica137NrtoENHVJv7ksg1pkm8c9ru2DJpd/CsMPB37Rg6/WuUnlB0Abi n2JsXLwpPEYd6TQIVwelqcqDEZeV/pa51quK/mwyhzFeZ1QBaVw1kCnIRPb9JhvMNw1Z UE15bVbXj+W0XpamvJHR+duNbEn4uRilO4arhrD4/QIwrVbC4sH259tRU6dfZCXtTQEU I64CMAYuVhs+GuiI1JwBYBkrj6C7Tm0thAljtRW+JXQ7Qk52BVgUmkNVD2wb4dV+qbRO wSwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=C7vQ+4AY; 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 h98si3535084plb.93.2019.02.14.10.28.46; Thu, 14 Feb 2019 10:28:46 -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=C7vQ+4AY; 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 S2438118AbfBNS2n (ORCPT + 31 others); Thu, 14 Feb 2019 13:28:43 -0500 Received: from lelv0142.ext.ti.com ([198.47.23.249]:53142 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2394268AbfBNS2T (ORCPT ); Thu, 14 Feb 2019 13:28:19 -0500 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id x1EISD8c055186; Thu, 14 Feb 2019 12:28:13 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1550168893; bh=YsjwZpbQbe0xs1O7DEzDwnvSqaLup+bjvAEDOMyIzpc=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=C7vQ+4AYV5wWAZEKWUGIzPn4hbW0xV+dgvBLgxgRSb/AAGQEdHzVmuS43dbzTIqX2 JzBpEs3mvgj/Tt2t0ST8wXZIFMZIvBcEIR59feTs0Sdwm7QABCdRCZBX6uxye1SJk8 ZtE/d87wG+1s76Lbke36N4DkXU7pmmQUmF2vLgOE= Received: from DLEE109.ent.ti.com (dlee109.ent.ti.com [157.170.170.41]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x1EISDlP117652 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 14 Feb 2019 12:28:13 -0600 Received: from DLEE101.ent.ti.com (157.170.170.31) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Thu, 14 Feb 2019 12:28:12 -0600 Received: from dlep33.itg.ti.com (157.170.170.75) by DLEE101.ent.ti.com (157.170.170.31) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1591.10 via Frontend Transport; Thu, 14 Feb 2019 12:28:12 -0600 Received: from legion.dal.desgin.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id x1EISCaH011782; Thu, 14 Feb 2019 12:28:12 -0600 Received: from localhost (a0272616local-lt.dhcp.ti.com [172.22.120.181]) by legion.dal.desgin.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id x1EISCU11376; Thu, 14 Feb 2019 12:28:12 -0600 (CST) From: Dan Murphy To: , , CC: , , , Dan Murphy Subject: [PATCH v5 4/5] dt-bindings: can: tcan4x5x: Add DT bindings for TCAN4x5X driver Date: Thu, 14 Feb 2019 12:27:53 -0600 Message-ID: <20190214182754.30721-5-dmurphy@ti.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20190214182754.30721-1-dmurphy@ti.com> References: <20190214182754.30721-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 --- v5 - No changes - https://lore.kernel.org/patchwork/patch/1033097/ .../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.390.gb5101f9297 diff --git a/Documentation/devicetree/bindings/net/can/tcan4x5x.txt b/Documentation/devicetree/bindings/net/can/tcan4x5x.txt new file mode 100644 index 000000000000..781c19887538 --- /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>; +};