From patchwork Mon Sep 10 20:12:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 146347 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp2883348ljw; Mon, 10 Sep 2018 13:13:04 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdazv9zoOLzTTNsm8sJbO8udXVLiImHDTRe5GU68Zio/pyOFrFc4bukHrxpPYCHWf3fBppCm X-Received: by 2002:a17:902:1c5:: with SMTP id b63-v6mr24012109plb.82.1536610384310; Mon, 10 Sep 2018 13:13:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536610384; cv=none; d=google.com; s=arc-20160816; b=HnIGyhYiNu4Zao5ELwI03gpZ1aKz0p1ItHF0ujhwgDr6kSTqBjRjCliKLghqP0c2YC 6ErLjZON9yrf8cYZZ7lH19dxhkt6gX/x1jOS06NGdQpaXEPJnfBlgRUup3JuqNLL9Ya0 Welt6+jyaDaairnt9WcfR9fmJGc1uChiwzrZ4vX0DZB/dgsqn+uFWfoJcfGQnLA2pVYl BLktktI6H31QBxS594g1pRIjePnpX4kCBa2IeV3t/Dxqm154bnTWW+0CXr31QgojhYJj Zs/I48dIFVfQ1jU9KCKAJNXAHnXhA0K/SLixcJCebikxegtTdCvdZSoaWt67ZhJVZ4Fw tTUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=NpOfsU5ZsxnrqjCmCUWaxikiWFKsH97Gl9NXdvubZSA=; b=X8d8NULntEeMcp3QxWoErvPjvEJWpvd9bvvgCd4LNq0WPHOE6c5wK0qTvpmj2hlH2F SxbPETpFrrmrHatP7jZ2cgrHXVFvmd+hInxCdJC1fbXZ4uIyNVLZaR0dxI5u7vYzV/24 mjQgE/1mCZB9I4yafZ6poBdE0CWjKHeowdwvDBR2GmUvUiEmIddbIsodDie/oWma3MJu WrbMu40yXJuqNZRgMSk44idJuphlucV1PSoocmAqiZFCHSO1FqdaDsC/aa6jibw03Tf2 htpC1DZraY26kuAKbeo9tQvK1JHUOSmv1mKaVrgQmGRyKhu/dzLGS+aASlQ/0R7q4FNI Ln8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=klT+euW+; 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 c8-v6si16186577pls.407.2018.09.10.13.13.03; Mon, 10 Sep 2018 13:13:04 -0700 (PDT) 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=klT+euW+; 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 S1728399AbeIKBIq (ORCPT + 32 others); Mon, 10 Sep 2018 21:08:46 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:33096 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726207AbeIKBIq (ORCPT ); Mon, 10 Sep 2018 21:08:46 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id w8AKCoxc116948; Mon, 10 Sep 2018 15:12:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1536610370; bh=NpOfsU5ZsxnrqjCmCUWaxikiWFKsH97Gl9NXdvubZSA=; h=From:To:CC:Subject:Date; b=klT+euW+Il0qLe1h04OKdnRLrcu1rJWJ6VJRcQ21aE3298swucCnz2I1HfUCezQcz sin6QSi1YNjqbwwLxmc9bm8ftTacwRcSWgdTZnuoN1LNJJiLtVK53wV2ms15AVnjFM Q/qJH/pBwq7AiyZNZweKddNM7Rz3i6W7tMVIi3NA= Received: from DLEE108.ent.ti.com (dlee108.ent.ti.com [157.170.170.38]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w8AKCoIR003201; Mon, 10 Sep 2018 15:12:50 -0500 Received: from DLEE114.ent.ti.com (157.170.170.25) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Mon, 10 Sep 2018 15:12:50 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Mon, 10 Sep 2018 15:12:50 -0500 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w8AKCnPg021574; Mon, 10 Sep 2018 15:12:50 -0500 Received: from localhost (a0272616local-lt.dhcp.ti.com [172.22.175.150]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id w8AKCnx05726; Mon, 10 Sep 2018 15:12:49 -0500 (CDT) From: Dan Murphy To: , , CC: , , , Dan Murphy Subject: [PATCH 1/2] dt-bindings: can: tcan4x5x: Add DT bindings for TCAN4x5X driver Date: Mon, 10 Sep 2018 15:12:40 -0500 Message-ID: <20180910201241.24092-1-dmurphy@ti.com> X-Mailer: git-send-email 2.12.2 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 | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/can/tcan4x5x.txt -- 2.17.0.1855.g63749b2dea diff --git a/Documentation/devicetree/bindings/net/can/tcan4x5x.txt b/Documentation/devicetree/bindings/net/can/tcan4x5x.txt new file mode 100644 index 000000000000..3eea2f2bb8a7 --- /dev/null +++ b/Documentation/devicetree/bindings/net/can/tcan4x5x.txt @@ -0,0 +1,33 @@ +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. + - wake-up-gpios: Wake up GPIO to wake up the TCAN device + +Optional properties: + - clocks: Processor clock phandles (see clock bindings for details) + If no clock is defined then the default 40MHz freq is set. + - 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>; + clocks = <&tclkin_ck>; + spi-max-frequency = <10000000>; + data-ready-gpios = <&gpio1 16 GPIO_ACTIVE_LOW>; + wake-up-gpios = <&gpio1 17 GPIO_ACTIVE_LOW>; + reset-gpios = <&gpio1 27 GPIO_ACTIVE_LOW>; + };