From patchwork Wed Oct 10 14:20:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 148550 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp923931lji; Wed, 10 Oct 2018 07:21:11 -0700 (PDT) X-Google-Smtp-Source: ACcGV626XBvmoSE5fJx9PK+iFfqI1PeYlTVU1DizDWfeN62LtD76k2N0BvhdXzu+JOmsIWydFOrJ X-Received: by 2002:a62:a116:: with SMTP id b22-v6mr34212453pff.99.1539181271669; Wed, 10 Oct 2018 07:21:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539181271; cv=none; d=google.com; s=arc-20160816; b=hI0RGGY52t5xrT0yT1kjimOPYNCvc1WsxHJaRCM1cVXkmVY5LcMSUEM4/+II9JWEwo aFloHs8uiInRCwTxuohZ52uEiqxwf8wD47/92XT9yS41yRjS8UDGQdAzfcWdSS9WKtR+ AM6xGKL1Rk+UuTO35j39WOqip/I7yDYPOiBs2bZYm9wNX/VQtQ3mIEOtBcxX0+JeDomx 5L5esiIkpFCpIP4wytzAlPdOI+8HhGOj/FtAYK09us4Un4SSpWDnSekzPKcQFJUoBEkI iCQZsug2kOKnwzdF0DZeWXbdyEaFCl8p6pEFoGyUCyEz/hxtA1spnQ2IZkoPI7FErWQq 3+Yg== 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=HE7ABMUx1wvj+J294dzTGz2iOLnWA4n7jcsp6hn/nC8=; b=OCtvPZB7kiNsv39B0igCdgJdE8F5vlTNloOM8zekd809pvvW8nhdodNTolc/fMQq8c oO5HFsmrou24GeQ5EplJxOw7cyhJTKFrkS+PTvCnJMxyhYpk1M7i/DV5OMCUYSZVaawL ImcMJzC9xTs4eKZq4FQO3gb6n7q5NWuMjyLQD2XubIPAhqa38ExJ6Rd6yUUw0ZOpM1Qo mMq1SW3Tm8qmrYw31ghrmQJo4hzmQbehExuJj9sMHq+sOst71TesSL9ZLQh7NNRd6Udr amMbvA0n8iOMGg8bnIDkdSQgKUaPUO5MTg3ESj9hPpEdjuUZhLNgjpFZianIMK4xZQJR F9HQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=NfveJJE0; 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 r59-v6si23341203plb.39.2018.10.10.07.21.11; Wed, 10 Oct 2018 07:21:11 -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=NfveJJE0; 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 S1727148AbeJJVnc (ORCPT + 32 others); Wed, 10 Oct 2018 17:43:32 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:45398 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726649AbeJJVnb (ORCPT ); Wed, 10 Oct 2018 17:43:31 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id w9AEKxtk107318; Wed, 10 Oct 2018 09:20:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1539181259; bh=HE7ABMUx1wvj+J294dzTGz2iOLnWA4n7jcsp6hn/nC8=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=NfveJJE0N0vEpSnVNeTHJVWSKxocEw5KjjP6hWl/yMxz/a+F958ivTNs4Z8yj2Gag kQAvrm8gPm6VAtzNRjrcALK4F0S45aE4BKKQczNtpc8GlOiWf5SYM8p8xfqpbNvRox iu9xYtyhF+jPZrD7dWhS3XDPNNGx05QhamrNd3zQ= Received: from DFLE108.ent.ti.com (dfle108.ent.ti.com [10.64.6.29]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w9AEKx5t028456; Wed, 10 Oct 2018 09:20:59 -0500 Received: from DFLE100.ent.ti.com (10.64.6.21) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Wed, 10 Oct 2018 09:20:59 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Wed, 10 Oct 2018 09:20:59 -0500 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w9AEKxFa004898; Wed, 10 Oct 2018 09:20:59 -0500 Received: from localhost (a0272616local-lt.dhcp.ti.com [172.22.138.183]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id w9AEKwx06342; Wed, 10 Oct 2018 09:20:58 -0500 (CDT) From: Dan Murphy To: , , CC: , , , Dan Murphy Subject: [RFC PATCH 2/3] dt-bindings: can: tcan4x5x: Add DT bindings for TCAN4x5X driver Date: Wed, 10 Oct 2018 09:20:54 -0500 Message-ID: <20181010142055.25271-3-dmurphy@ti.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20181010142055.25271-1-dmurphy@ti.com> References: <20181010142055.25271-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 | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/can/tcan4x5x.txt -- 2.19.0 diff --git a/Documentation/devicetree/bindings/net/can/tcan4x5x.txt b/Documentation/devicetree/bindings/net/can/tcan4x5x.txt new file mode 100644 index 000000000000..c742d0f10861 --- /dev/null +++ b/Documentation/devicetree/bindings/net/can/tcan4x5x.txt @@ -0,0 +1,34 @@ +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 + +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>; + 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>; + };